int64_fnv_1 Module Function

private pure module function int64_fnv_1(key) result(hash_code)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: key(:)

Return Value integer(kind=int_hash)


Source Code

      pure module function int64_fnv_1(key) result(hash_code)
!! FNV_1 hash function for rank 1 array keys of kind int64
         implicit none
         integer(int64), intent(in) :: key(:)
         integer(int_hash)           :: hash_code
      end function int64_fnv_1