MCPcopy Create free account
hub / github.com/FastLED/FastLED / advance_to_occupied

Method advance_to_occupied

src/fl/stl/unordered_map.h:228–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 bool operator!=(const iterator &o) const { return !(*this == o); }
227
228 void advance_to_occupied() {
229 if (!_map)
230 return;
231 fl::size cap = _map->_buckets.size();
232 while (_idx < cap && !_map->is_occupied(_idx))
233 ++_idx;
234 }
235
236 private:
237 unordered_map *_map;

Callers 1

eraseFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected