1HASHKIT_FUNCTIONS(3)         libmemcached-awesome         HASHKIT_FUNCTIONS(3)
2
3
4

NAME

6       hashkit_functions - libhashkit Documentation
7

SYNOPSIS

9       #include <libhashkit-1.0/hashkit.h>
10              Compile and link with -lhashkit
11
12       uint32_t hashkit_default(const char *key, size_t key_length)
13
14       uint32_t hashkit_fnv1_64(const char *key, size_t key_length)
15
16       uint32_t hashkit_fnv1a_64(const char *key, size_t key_length)
17
18       uint32_t hashkit_fnv1_32(const char *key, size_t key_length)
19
20       uint32_t hashkit_fnv1a_32(const char *key, size_t key_length)
21
22       uint32_t hashkit_crc32(const char *key, size_t key_length)
23
24       uint32_t hashkit_hsieh(const char *key, size_t key_length)
25
26       uint32_t hashkit_murmur(const char *key, size_t key_length)
27
28       uint32_t hashkit_murmur3(const char *key, size_t key_length)
29
30       uint32_t hashkit_jenkins(const char *key, size_t key_length)
31
32       uint32_t hashkit_md5(const char *key, size_t key_length)
33

DESCRIPTION

35       These  functions generate hash values from a key using a variety of al‐
36       gorithms. These functions can be used standalone, or will be  used  ac‐
37       cording   to   the   algorithm   set   with  hashkit_set_function()  or
38       hashkit_set_distribution_function().
39
40       The hashkit_hsieh(), hashkit_murmur() and  hashkit_murmur3()  functions
41       are  only  available  if the library is built with the appropriate flag
42       enabled.
43

RETURN VALUE

45       A 32-bit hash value.
46

SEE ALSO

48       libhashkit(3) hashkit_create(3) hashkit_function(3)
49
50
51
52
531.1                              Sep 20, 2021             HASHKIT_FUNCTIONS(3)
Impressum