FastLED 3.10.8
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 841 of file unordered_map.h.

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