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

Function find

src/fl/stl/vector.h:276–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274 }
275
276 iterator find(const T &value) FL_NOEXCEPT {
277 for (iterator it = begin(); it != end(); ++it) {
278 if (*it == value) {
279 return it;
280 }
281 }
282 return end();
283 }
284
285 template <typename Predicate> iterator find_if(Predicate pred) FL_NOEXCEPT {
286 for (iterator it = begin(); it != end(); ++it) {

Callers 15

eraseMethod · 0.70
countMethod · 0.70
containsMethod · 0.70
insertMethod · 0.70
eraseMethod · 0.70
containsMethod · 0.70
getMethod · 0.70
insertMethod · 0.70
updateMethod · 0.70
unsorted_map_fixedClass · 0.70
nextMethod · 0.70
prevMethod · 0.70

Calls 4

beginFunction · 0.70
endFunction · 0.70
lower_boundFunction · 0.70
findMethod · 0.45

Tested by

no test coverage detected