spooky_hash Interface

public interface spooky_hash

SPOOKY_HASH interfaces (Specification)


Functions

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

SPOOKY hash function for character strings

Arguments

Type IntentOptional Attributes Name
character(len=*), 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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

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

Return Value integer(kind=int_hash), (2)