Hashes a key with the NMHASH32X hash algorithm (Specifications) Arguments: key - the key to be hashed seed - the seed (unused) for the hashing algorithm
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(key_type), | intent(in) | :: | key |
pure function seeded_nmhash32x_hasher( key ) !! Version: Experimental !! !! Hashes a key with the NMHASH32X hash algorithm !! ([Specifications](../page/specs/stdlib_hashmaps.html#seeded_nmhash32x_hasher-calculates-a-hash-code-from-a-key)) !! Arguments: !! key - the key to be hashed !! seed - the seed (unused) for the hashing algorithm type(key_type), intent(in) :: key integer(int_hash) :: seeded_nmhash32x_hasher seeded_nmhash32x_hasher = nmhash32x( key % value, & int( z'DEADBEEF', int32 ) ) end function seeded_nmhash32x_hasher