water_hash Interface

public interface water_hash

WATER_HASH interfaces (Specification)


Functions

private elemental module function character_water_hash(key, seed) result(hash_code)

WATER hash function for default character string keys

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key
integer(kind=int64), intent(in) :: seed

Return Value integer(kind=int_hash)

private pure module function int16_water_hash(key, seed) result(hash_code)

WATER HASH function for rank 1 array keys of kind int16

Arguments

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

Return Value integer(kind=int_hash)

private pure module function int32_water_hash(key, seed) result(hash_code)

WATER HASH function for rank 1 array keys of kind int32

Arguments

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

Return Value integer(kind=int_hash)

private pure module function int64_water_hash(key, seed) result(hash_code)

WATER HASH function for rank 1 array keys of kind int64

Arguments

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

Return Value integer(kind=int_hash)

private pure module function int8_water_hash(key, seed) result(hash_code)

WATER HASH function for rank 1 array keys of kind int8

Arguments

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

Return Value integer(kind=int_hash)