MCPcopy Create free account
hub / github.com/apache/arrow / Avalanche

Method Avalanche

cpp/src/arrow/compute/key_hash_internal.cc:480–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480inline uint64_t Hashing64::Avalanche(uint64_t acc) {
481 acc ^= (acc >> 33);
482 acc *= PRIME64_2;
483 acc ^= (acc >> 29);
484 acc *= PRIME64_3;
485 acc ^= (acc >> 32);
486 return acc;
487}
488
489inline uint64_t Hashing64::Round(uint64_t acc, uint64_t input) {
490 acc += input * PRIME64_2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected