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

Function find_value

src/fl/stl/unordered_map.h:617–620  ·  view source on GitHub ↗

find pointer to value or nullptr

Source from the content-addressed store, hash-verified

615
616 // find pointer to value or nullptr
617 T *find_value(const Key &key) {
618 auto idx = find_index(key);
619 return idx == npos() ? nullptr : &_buckets[idx].value;
620 }
621
622 const T *find_value(const Key &key) const {
623 auto idx = find_index(key);

Callers 2

unordered_map.hFile · 0.85
FL_TEST_FILEFunction · 0.85

Calls 1

find_indexFunction · 0.85

Tested by

no test coverage detected