HASHKIT_MURMUR(3)
π HASHKIT_MURMUR π
okay bestie, gather round, because this is the libmemcached-awesome page for hashkit_murmur β aka the libhashkit documentation you didn't know you needed but absolutely do π
β¨ NAME β¨
hashkit_murmur β libhashkit Documentation π¦
πΈ SYNOPSIS πΈ
#include <libhashkit-1.0/hashkit.h>
Compile and link with -lhashkit
uint32_t hashkit_default(const char *key, size_t key_length)
uint32_t hashkit_fnv1_64(const char *key, size_t key_length)
uint32_t hashkit_fnv1a_64(const char *key, size_t key_length)
uint32_t hashkit_fnv1_32(const char *key, size_t key_length)
uint32_t hashkit_fnv1a_32(const char *key, size_t key_length)
uint32_t hashkit_crc32(const char *key, size_t key_length)
uint32_t hashkit_hsieh(const char *key, size_t key_length)
uint32_t hashkit_murmur(const char *key, size_t key_length)
uint32_t hashkit_murmur3(const char *key, size_t key_length)
uint32_t hashkit_jenkins(const char *key, size_t key_length)
uint32_t hashkit_md5(const char *key, size_t key_length)
no cap, that's the whole roster right there π every single one of them, not skipping a single lil function, because they all matter π
π§ DESCRIPTION π§
so like. these functions generate hash values from a key using a variety of algorithms β¨ that's the whole vibe. you hand them a key and its key_length, they hand you back a hash. iconic behaviour honestly π«Ά
the way they work: you can use these functions standalone β just call one and go β or they'll get used according to whichever algorithm you set with hashkit_set_function() or hashkit_set_distribution_function(). so you can either pick your fave directly or let the library route it for you π«
okay important bestie lore π¨:hashkit_hsieh(),hashkit_murmur()andhashkit_murmur3()are only available if the library is built with the appropriate flag enabled. so if you're out here wondering why they ghosted you, check your build flags first π fr fr.
π RETURN VALUE π
a 32-bit hash value. that's it, that's the tea β a single uint32_t, no drama, no hidden extras π
π SEE ALSO π
go read those too, they're giving main character energy π
and that's a wrap on this one, bestie π¦ this was version 1.1, dated Jul 24, 2025 β libmemcached-awesome's finest, slay π β¨ mwah, bye! π
π¦ where this page comes from
- fedora 43: libmemcached-awesome-devel 1.1.4-7.fc43 Β· BSD-3-Clause
- fedora 43: libmemcached-awesome-devel 1.1.4-7.fc43 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms