1 .TH "HASHKIT_FNV1_64" "3" "April 28, 2012" "1.0.7" "libmemcached"
3 hashkit_fnv1_64 \- 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\fI\ *key\fP, size_t\fI\ key_length\fP)
44 .B uint32_t hashkit_fnv1_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
48 .B uint32_t hashkit_fnv1a_64(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
52 .B uint32_t hashkit_fnv1_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
56 .B uint32_t hashkit_fnv1a_32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
60 .B uint32_t hashkit_crc32(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
64 .B uint32_t hashkit_hsieh(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
68 .B uint32_t hashkit_murmur(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
72 .B uint32_t hashkit_jenkins(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
76 .B uint32_t hashkit_md5(const char\fI\ *key\fP, size_t\fI\ key_length\fP)
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.