FastLED 3.9.15
Loading...
Searching...
No Matches

◆ hash_pair()

static u32 fl::hash_pair ( u32 a,
u32 b,
u32 seed = 0 )
inlinestaticnoexcept

Definition at line 92 of file hash.h.

93 {
94 // mix in 'a', then mix in 'b'
95 u32 h = fast_hash32(seed ^ a);
96 return fast_hash32(h ^ b);
97}
static u32 fast_hash32(u32 x) noexcept
Definition hash.h:82

References fast_hash32().

Referenced by fast_hash64(), and fl::FastHash< vec2< T > >::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: