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

◆ next_power_of_two()

template<typename Key, typename T, typename Hash = Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
static fl::size fl::HashMap< Key, T, Hash, KeyEqual, INLINED_COUNT >::next_power_of_two ( fl::size n)
inlinestaticprivate

Definition at line 445 of file hash_map.h.

445 {
446 fl::size p = 1;
447 while (p < n)
448 p <<= 1;
449 return p;
450 }