logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hashkit_fnv1_64 - libhashkit Documentation

Description

These functions generate hash values from a key using a variety of algorithms. These functions can be used standalone, or will be used according to the algorithm set with hashkit_set_function() or hashkit_set_distribution_function(). The hashkit_hsieh(), hashkit_murmur() and hashkit_murmur3() functions are only available if the library is built with the appropriate flag enabled.

Name

hashkit_fnv1_64 - libhashkit Documentation

Return Value

A 32-bit hash value.

See Also

libhashkit(3)hashkit_create(3)hashkit_function(3) 1.1 Mar 31, 2024 HASHKIT_FNV1_64(3)

Synopsis

#include<libhashkit-1.0/hashkit.h> Compile and link with -lhashkit uint32_thashkit_default(constchar*key,size_tkey_length)uint32_thashkit_fnv1_64(constchar*key,size_tkey_length)uint32_thashkit_fnv1a_64(constchar*key,size_tkey_length)uint32_thashkit_fnv1_32(constchar*key,size_tkey_length)uint32_thashkit_fnv1a_32(constchar*key,size_tkey_length)uint32_thashkit_crc32(constchar*key,size_tkey_length)uint32_thashkit_hsieh(constchar*key,size_tkey_length)uint32_thashkit_murmur(constchar*key,size_tkey_length)uint32_thashkit_murmur3(constchar*key,size_tkey_length)uint32_thashkit_jenkins(constchar*key,size_tkey_length)uint32_thashkit_md5(constchar*key,size_tkey_length)

See Also