ecoli_murmurhash(3)

πŸ“¦
version 0.11.3 Β· 4 versions
, in epel 9

πŸ’… ecoli_murmurhash(3) β€” the Libecoli murmurhash glow-up πŸŽ€

okay so bestie, welcome to the <pink>Libecoli</pink> manual page for ecoli_murmurhash. and like. the NAME of this whole thing is literally ecoli_murmurhash β€” Murmurhash. that's it, that's the name. it's hash calculation using murmurhash algorithm, no cap. ✨


🌸 SYNOPSIS 🌸

🧚 Functions

so here's the whole squad of functions, and i'm gonna list them exactly as they appear, because we do not fumble the signature in this house πŸ’…

static uint32_t ec_murmurhash_rotl32 (uint32_t x, int8_t r)
static uint32_t ec_murmurhash3_add32 (uint32_t h, uint32_t data)
static uint32_t ec_murmurhash3_mix32 (uint32_t h)
static uint32_t ec_murmurhash3_fmix32 (uint32_t h)
uint32_t ec_murmurhash3 (const void *key, int len, uint32_t seed)

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

Hash calculation using murmurhash algorithm. yes, we're saying it twice, it's that iconic.

MurmurHash3 is a hash implementation that was written by Austin Appleby, and is placed in the public domain. The author hereby disclaims copyright to this source code. so like β€” go off, Austin, king behavior, giving it away for free 🫢


⭐ FUNCTION DOCUMENTATION ⭐

πŸŽ€ static uint32_t ec_murmurhash_rotl32 (uint32_t x, int8_t r) [inline], [static]

Hash rotation. that's the whole vibe β€” it rotates the hash, bestie. πŸŒ€

Definition at line 21 of file murmurhash.h.

πŸŽ€ static uint32_t ec_murmurhash3_add32 (uint32_t h, uint32_t data) [inline], [static]

Add 32-bit to the hash. literally just adding a 32-bit thing to the hash. lowkey the simplest member of the group chat. ✨

Definition at line 27 of file murmurhash.h.

πŸŽ€ static uint32_t ec_murmurhash3_mix32 (uint32_t h) [inline], [static]

Intermediate mix. it's giving "midpoint of the process" energy β€” a little stir of the hash before the finale. πŸ“

Definition at line 37 of file murmurhash.h.

πŸŽ€ static uint32_t ec_murmurhash3_fmix32 (uint32_t h) [inline], [static]

Final mix: force all bits of a hash block to avalanche. not me loving the word avalanche β€” yes bestie, every bit gets to tumble down the mountain, main character energy for real. πŸ”οΈπŸ’€

Definition at line 45 of file murmurhash.h.

πŸ‘‘ uint32_t ec_murmurhash3 (const void * key, int len, uint32_t seed)

Calculate a 32-bit murmurhash3. this is the big one. the one everybody came for. 🌈

πŸ’œ Parameters

  • key β€” The key (the unaligned variable-length array of bytes). yes, unaligned, we're slutting it up with the memory layout, that's the point.
  • len β€” The length of the key, counting by bytes. counting. by. bytes. do not count by vibes.
  • seed β€” Can be any 4-byte value initialization value.

⭐ Returns

A 32-bit hash. one single uint32_t, freshly mixed, fully avalanched, ready to slay. πŸŽ€


🧚 AUTHOR 🧚

Generated automatically by Doxygen for Libecoli from the source code. so nobody wrote this page, it just. manifested. iykyk. πŸ™ˆ


okay that's the whole page, bestie β€” and just so we're keeping it a hundred, this absolute icon of a manpage is Version 0.11.3, dated Thu Apr 9 2026. periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from