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

Method Round

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

Source from the content-addressed store, hash-verified

31namespace compute {
32
33inline uint32_t Hashing32::Round(uint32_t acc, uint32_t input) {
34 acc += input * PRIME32_2;
35 acc = ROTL(acc, 13);
36 acc *= PRIME32_1;
37 return acc;
38}
39
40inline uint32_t Hashing32::CombineAccumulators(uint32_t acc1, uint32_t acc2,
41 uint32_t acc3, uint32_t acc4) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected