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

◆ find_free_slot()

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
size_type fl::unordered_map_small< Key, Value, Equal >::find_free_slot ( ) const
inlineprivate

Definition at line 122 of file unordered_map_small.h.

122 {
123 for (size_type i = 0; i < mData.size(); ++i) {
124 if (!mOccupied.test(i)) return i;
125 }
126 return npos();
127 }
static size_type npos() FL_NOEXCEPT

References FL_NOEXCEPT, mData, mOccupied, and npos().

Referenced by do_insert(), and do_insert().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: