1 .TH "HASHKIT_FUNCTIONS" "3" "January 26, 2012" "1.0.3" "libmemcached"
3 hashkit_functions \- libhashkit Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
34 Various hash functions to use for calculating values for keys
37 #include <libhashkit/hashkit.h>
40 .B uint32_t hashkit_default(const char *key, size_t key_length);
44 .B uint32_t hashkit_fnv1_64(const char *key, size_t key_length);
48 .B uint32_t hashkit_fnv1a_64(const char *key, size_t key_length);
52 .B uint32_t hashkit_fnv1_32(const char *key, size_t key_length);
56 .B uint32_t hashkit_fnv1a_32(const char *key, size_t key_length);
60 .B uint32_t hashkit_crc32(const char *key, size_t key_length);
64 .B uint32_t hashkit_hsieh(const char *key, size_t key_length);
68 .B uint32_t hashkit_murmur(const char *key, size_t key_length);
72 .B uint32_t hashkit_jenkins(const char *key, size_t key_length);
76 .B uint32_t hashkit_md5(const char *key, size_t key_length);
79 Compile and link with \-lhashkit
82 These functions generate hash values from a key using a variety of
83 algorithms. These functions can be used standalone, or as arguments
84 to hashkit_set_hash_fn(3) or hashkit_set_continuum_hash_fn(3).
86 The hashkit_hsieh() is only available if the library is built with
87 the appropriate flag enabled.
93 To find out more information please check:
94 \fI\%http://libmemcached.org/\fP
97 \fIhashkit_create(3)\fP \fIhashkit_value(3)\fP \fIhashkit_set_hash_fn(3)\fP \fIhashkit_set_continuum_hash_fn(3)\fP
101 2011, Brian Aker DataDifferential, http://datadifferential.com/
102 .\" Generated by docutils manpage writer.