Hashes a key with the FNV_1 algorithm Arguments: key - the key to be hashed
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(key_type), | intent(in) | :: | key |
pure function fnv_1_hasher( key ) !! Version: Experimental !! !! Hashes a key with the FNV_1 algorithm !! Arguments: !! key - the key to be hashed type(key_type), intent(in) :: key integer(int_hash) :: fnv_1_hasher fnv_1_hasher = fnv_1_hash( key % value ) end function fnv_1_hasher