xxh64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xxh64(9) β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the Kernel API Manual entry for xxh64 πŸ’… this is the 64-bit hash girlie and she is literally here to calculate the 64-bit hash of your input with a given seed. no cap.


🌸 NAME 🌸

xxh64 β€” calculate the 64-bit hash of the input with a given seed πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

uint64_t xxh64 (const void *input , size_t length , uint64_t seed );

like, that's the whole vibe. three args, one uint64_t coming back at you πŸ’–


πŸ“ ARGUMENTS πŸ“

  • input β€” the data to hash. give her the goods, bestie 🫢
  • length β€” the length of the data to hash. she needs to know how much of the goods to look at ✨
  • seed β€” the seed can be used to alter the result predictably. yes, predictably, it's giving controlled chaos πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea: this function runs 2x faster on 64-bit systems, but slower on 32-bit systems. highkey important to know before you go around hashing things on your vintage 32-bit machine 😭 it's not a vibe check fail, it's just the way that it is.


⭐ RETURN ⭐

the 64-bit hash of the data. that's it, that's the reward πŸ‘‘ she ate and left no crumbs.


πŸ’œ SEE ALSO πŸ’œ

go read the whole family, iykyk 🌈


fr fr bestie, don't @ me if you skip the SEE ALSO section β€” those girls are important πŸ’€

and that's the page, mwah πŸ’‹ this iconic little manual came to you from ./include/linux, dated October 2026, and it's filed under xxh64(9) β€” periodt. πŸ§šπŸ’–

πŸ“¦ where this page comes from