Lines Matching full:hash
26 .\" $OpenBSD: hash.9,v 1.5 2003/04/17 05:08:39 jmc Exp $
32 .Nm hash ,
47 .Fn hash32_buf "const void *buf" "size_t len" "uint32_t hash"
49 .Fn hash32_str "const void *buf" "uint32_t hash"
51 .Fn hash32_strn "const void *buf" "size_t len" "uint32_t hash"
53 .Fn hash32_stre "const void *buf" "int end" "const char **ep" "uint32_t hash"
55 .Fn hash32_strne "const void *buf" "size_t len" "int end" "const char **ep" "uint32_t hash"
57 .Fn jenkins_hash "const void *buf" "size_t len" "uint32_t hash"
59 .Fn jenkins_hash32 "const uint32_t *buf" "size_t count" "uint32_t hash"
61 .Fn murmur3_32_hash "const void *buf" "size_t len" "uint32_t hash"
63 .Fn murmur3_32_hash32 "const uint32_t *buf" "size_t count" "uint32_t hash"
69 These functions can be used to hash
90 .Fa hash
91 is used to extend an existing hash, or is passed the initial value
93 to start a new hash.
97 function is used to hash a
101 with initial hash value given in
102 .Fa hash .
116 functions are helper functions used by the kernel to hash pathname
126 it is set to the point in the buffer at which the hash function
158 functions return a 32 bit hash value of the buffer or string.
174 uint32_t hash;
176 hash = hash32_str(str, HASHINIT);
177 hash = hash32_buf(&len, sizeof(len), hash);
178 hashtbl[hash & mask] = len;
192 hash values are usually used to index into an array.
193 Should these hash values be used for other means, this limitation should