fnv_1_hash Interface

public interface fnv_1_hash

FNV_1 interfaces (Specification)


Functions

private elemental module function character_fnv_1(key) result(hash_code)

FNV_1 hash function for default character string keys

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key

Return Value integer(kind=int_hash)

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

FNV_1 hash function for rank 1 array keys of kind int16

Arguments

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

Return Value integer(kind=int_hash)

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

FNV_1 hash function for rank 1 array keys of kind int32

Arguments

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

Return Value integer(kind=int_hash)

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

FNV_1 hash function for rank 1 array keys of kind int64

Arguments

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

Return Value integer(kind=int_hash)

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

FNV_1 hash function for rank 1 array keys of kind int8

Arguments

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

Return Value integer(kind=int_hash)