nmhash32 Interface

public interface nmhash32

NMHASH32 interfaces (Specification)


Functions

private elemental module function character_nmhash32(key, seed) result(hash_value)

NMHASH32 hash function for default character string keys

Arguments

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

Return Value integer(kind=int32)

private pure module function int16_nmhash32(key, seed) result(hash_value)

NMHASH32 hash function for rank 1 array keys of kind int16

Arguments

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

Return Value integer(kind=int32)

private pure module function int32_nmhash32(key, seed) result(hash_value)

NMHASH32 hash function for rank 1 array keys of kind int32

Arguments

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

Return Value integer(kind=int32)

private pure module function int64_nmhash32(key, seed) result(hash_value)

NMHASH32 hash function for rank 1 array keys of kind int64

Arguments

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

Return Value integer(kind=int32)

private pure module function int8_nmhash32(key, seed) result(hash_value)

NMHASH32 hash function for rank 1 array keys of kind int8

Arguments

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

Return Value integer(kind=int32)