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_value - libhashkit Documentation

Description

The hashkit_value() function generates a 32-bit hash value from the given key and key_length. The hash argument is an initialized hashkit object, and distribution type and hash function is used from this object while generating the value.

Name

hashkit_value - libhashkit Documentation

Return Value

A 32-bit hash value.

See Also

libhashkit(3)hashkit_create(3)hashkit_function(3)hashkit_functions(3) 1.1 Mar 31, 2024 HASHKIT_VALUE(3)

Synopsis

#include<libhashkit-1.0/hashkit.h> Compile and link with -lhashkit uint32_thashkit_value(hashkit_st*hash,constchar*key,size_tkey_length)Parametershash -- pointer to an initialized hashkit_st struct • key -- the key to genereate a hash of • key_length -- the length of the key without any terminating zero byte

See Also