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

◆ fast_hash32()

static u32 fl::fast_hash32 ( u32 x)
inlinestaticnoexcept

Definition at line 82 of file hash.h.

82 {
83 x = (x ^ 61u) ^ (x >> 16);
84 x = x + (x << 3);
85 x = x ^ (x >> 4);
86 x = x * 0x27d4eb2dU;
87 x = x ^ (x >> 15);
88 return x;
89}
int x
Definition simple.h:92

References x.

Referenced by hash_pair(), fl::FastHash< Key >::operator()(), fl::FastHash< vec2< T > >::operator()(), fl::Hash< bool >::operator()(), fl::Hash< fl::u8 >::operator()(), fl::Hash< float >::operator()(), fl::Hash< i16 >::operator()(), fl::Hash< i32 >::operator()(), fl::Hash< i8 >::operator()(), fl::Hash< T * >::operator()(), fl::Hash< u16 >::operator()(), and fl::Hash< u32 >::operator()().

+ Here is the caller graph for this function: