MCPcopy Create free account
hub / github.com/FastLED/FastLED / fast_hash64

Function fast_hash64

src/fl/stl/hash.h:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static inline u32 fast_hash64(u64 x) FL_NOEXCEPT {
99 u32 x1 = static_cast<u32>(x & 0x00000000FFFFFFFF);
100 u32 x2 = static_cast<u32>(x >> 32);
101 return hash_pair(x1, x2);
102}
103
104//-----------------------------------------------------------------------------
105// Functor for hashing arbitrary byte‐ranges to a 32‐bit value

Callers 1

hash.cppFile · 0.85

Calls 1

hash_pairFunction · 0.85

Tested by

no test coverage detected