xxhash(9)
β¨ xxhash(9) β¨
okay bestie, so this is a page from the Kernel API Manual and it's literally all about xxhash β the little function that hashes your stuff π
πΈ NAME πΈ
xxhash β calculates a wordsize hash of the input, with a seed you get to pick π
π¦ SYNOPSIS π¦
unsigned long xxhash (const void *input , size_t length , uint64_t seed );
π ARGUMENTS π
inputβ the data you wanna hash. that's it, that's the vibe π«Άlengthβ how long that data is, in case you were wondering how much of it there is β¨seedβ a seed! you can use it to alter the result predictably, so like, on purpose and repeatably, not in a chaos way π
π₯ DESCRIPTION π₯
so here's the tea: if your hash does not need to be comparable between machines with different word sizes, this function will call whichever of xxh32 or xxh64 is faster β‘ like it literally picks the speedy one for you, main character energy fr fr π
π RETURN π
it hands you back a wordsize hash of the data β that's the whole gift π
π SEE ALSO π
- Kernel file
./include/linux/xxhash.h xxh32(9)xxh64(9)struct xxh64_state(9)xxh64_reset(9)xxh64_update(9)xxh64_digest(9)
go read those too bestie, they're the rest of the friend group π
and that's the whole page!! sign-off szn: this one lives in ./include/linux, dated October 2026, from the Kernel API Manual β mwah, slay, periodt π
ππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms