spooky_hash Interface

public interface spooky_hash

SPOOKY_HASH interfaces (Specification)


Contents


Functions

private module function character_spooky_hash(key, seed) result(hash_code)

SPOOKY hash function for character strings

Arguments

TypeIntentOptionalAttributesName
character, intent(in) :: key
integer(kind=int_hash), intent(in) :: seed(2)

Return Value integer(kind=int_hash)(2)

private module function int16_spooky_hash(key, seed) result(hash_code)

SPOOKY HASH function for rank 1 arrays of kind int16

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: key(0:)
integer(kind=int_hash), intent(in) :: seed(2)

Return Value integer(kind=int_hash)(2)

private module function int32_spooky_hash(key, seed) result(hash_code)

SPOOKY HASH function for rank 1 arrays of kind int32

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: key(0:)
integer(kind=int_hash), intent(in) :: seed(2)

Return Value integer(kind=int_hash)(2)

private module function int64_spooky_hash(key, seed) result(hash_code)

SPOOKY HASH function for rank 1 arrays of kind int64

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: key(0:)
integer(kind=int_hash), intent(in) :: seed(2)

Return Value integer(kind=int_hash)(2)

private module function int8_spooky_hash(key, seed) result(hash_code)

SPOOKY HASH function for rank 1 arrays of kind int8

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: key(0:)
integer(kind=int_hash), intent(in) :: seed(2)

Return Value integer(kind=int_hash)(2)