Man page - hashkit_value(3)
Packages contains this manual
- hashkit_hsieh(3)
- hashkit_crc32(3)
- hashkit_create(3)
- hashkit_clone(3)
- hashkit_value(3)
- hashkit_set_custom_function(3)
- hashkit_free(3)
- hashkit_fnv1_32(3)
- hashkit_set_custom_distribution_function(3)
- hashkit_set_function(3)
- hashkit_jenkins(3)
- hashkit_fnv1a_32(3)
- hashkit_functions(3)
- hashkit_is_allocated(3)
- hashkit_fnv1a_64(3)
- hashkit_get_function(3)
- hashkit_md5(3)
- hashkit_set_distribution_function(3)
- libhashkit(3)
- hashkit_fnv1_64(3)
- hashkit_function(3)
- hashkit_get_distribution_function(3)
- hashkit_murmur(3)
apt-get install libhashkit-dev
Manual
HASHKIT_VALUE
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NAME
hashkit_value - libhashkit Documentation
SYNOPSIS
#include <libhashkit-1.0/hashkit.h>
Compile and link with -lhashkit
uint32_t
hashkit_value(
hashkit_st
*hash, const char
*key, size_t
key_length)
Parameters
|
• |
hash -- 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 |
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.
RETURN VALUE
A 32-bit hash value.
SEE ALSO
libhashkit(3) hashkit_create(3) hashkit_function(3) - hashkit_functions(3)