hashkit_value - Man Page


hashkit_value — libhashkit Documentation

Generate a value for the given key


#include <libhashkit/hashkit.h>

uint32_t hashkit_value(hashkit_st *hash, const char *key, size_t key_length)

Compile and link with -lhashkit


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.


To find out more information please check: http://libmemcached.org/

See Also

hashkit_create(3) hashkit_set_distribution(3) hashkit_set_hash_fn(3)


Brian Aker

Referenced By

hashkit_clone(3), hashkit_crc32(3), hashkit_create(3), hashkit_fnv1_32(3), hashkit_fnv1_64(3), hashkit_fnv1a_32(3), hashkit_fnv1a_64(3), hashkit_free(3), hashkit_functions(3), hashkit_hsieh(3), hashkit_is_allocated(3), hashkit_jenkins(3), hashkit_md5(3), hashkit_murmur(3).

February 09, 2014 1.0.18 libmemcached