FastLED 3.10.9
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::unordered_map< Key, T, Hash, KeyEqual, INLINED_COUNT >::next_power_of_two ( fl::size n)
inlinestaticprivate

Definition at line 843 of file unordered_map.h.

843 {
844 fl::size p = 1;
845 while (p < n)
846 p <<= 1;
847 return p;
848 }