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

Definition at line 842 of file unordered_map.h.

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