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

Method find

src/fl/stl/multi_map.h:402–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401
402 iterator find(const Key& key) {
403 ValueWithId search_key(value_type(key, Value()), 0);
404 auto it = mTree.lower_bound(search_key);
405 if (it != mTree.end() && it->value.first == key) {
406 return iterator(it);
407 }
408 return end();
409 }
410
411 const_iterator find(const Key& key) const {
412 ValueWithId search_key(value_type(key, Value()), 0);

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected