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

◆ fast_hash32()

static uint32_t fl::fast_hash32 ( uint32_t x)
inlinestaticnoexcept

Definition at line 76 of file hash.h.

76 {
77 x = (x ^ 61u) ^ (x >> 16);
78 x = x + (x << 3);
79 x = x ^ (x >> 4);
80 x = x * 0x27d4eb2dU;
81 x = x ^ (x >> 15);
82 return x;
83}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:82

References x.

Referenced by hash_pair(), fl::FastHash< Key >::operator()(), fl::FastHash< vec2< T > >::operator()(), and fl::Hash< T * >::operator()().

+ Here is the caller graph for this function: