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

NAME

6       hashkit_value - libhashkit Documentation
7

SYNOPSIS

9       #include <libhashkit-1.0/hashkit.h>
10              Compile and link with -lhashkit
11
12       uint32_t   hashkit_value(hashkit_st  *hash,  const  char  *key,  size_t
13       key_length)
14
15              Parameters
16
17hash -- pointer to an initialized hashkit_st struct
18
19key -- the key to genereate a hash of
20
21key_length -- the length of the key without any  termi‐
22                       nating zero byte
23

DESCRIPTION

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

RETURN VALUE

31       A 32-bit hash value.
32

SEE ALSO

34       libhashkit(3)   hashkit_create(3)   hashkit_function(3)   hashkit_func‐
35       tions(3)
36
37
38
39
401.1                              Nov 09, 2022                 HASHKIT_VALUE(3)
Impressum