This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Private Function
avalanche
Private Function
std.hash.xxhash.XxHash64.avalanche
fnavalanche(value: u64) u64
Params
value: u64
File
hash/xxhash.zig:165
165166167168169170171172173
fnavalanche(value: u64) u64 {
varresult = value ^ (value >> 33);
result *%= prime_2;
result ^= result >> 29;
result *%= prime_3;
result ^= result >> 32;
returnresult;
}