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

Function hash_combine_impl

cpp/src/arrow/util/hash_util.h:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34template <typename SizeT>
35inline void hash_combine_impl(SizeT& seed, SizeT value) {
36 seed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);
37}
38
39inline void hash_combine_impl(uint32_t& h1, uint32_t k1) {
40 const uint32_t c1 = 0xcc9e2d51;

Callers 1

hash_combineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected