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

Method find

src/fl/stl/multi_set.h:292–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 iterator find(const Key& key) {
293 ValueWithId search_key(key, 0);
294 auto it = mTree.lower_bound(search_key);
295 if (it != mTree.end() && it->value == key) {
296 return iterator(it);
297 }
298 return end();
299 }
300
301 const_iterator find(const Key& key) const {
302 ValueWithId search_key(key, 0);

Callers

nothing calls this directly

Calls 5

iteratorClass · 0.70
endFunction · 0.70
const_iteratorClass · 0.70
lower_boundMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected