dm_hash_fnv1 Function

public pure elemental function dm_hash_fnv1(str) result(hash)

32-bit Fowler–Noll–Vo hash function (FNV-1). Uses a 64-bit signed integer to store the unsigned 32-bit hash.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

Input string.

Return Value integer(kind=i8)