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

Method get

src/fl/stl/unordered_map_small.h:411–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409 // ---- FastLED-specific methods (matching flat_map API) ----
410
411 Value get(const Key& key, const Value& defaultValue) const FL_NOEXCEPT {
412 size_type idx = find_index(key);
413 return idx != npos() ? mData[idx].second : defaultValue;
414 }
415
416 bool get(const Key& key, Value* out_value) const FL_NOEXCEPT {
417 size_type idx = find_index(key);

Callers

nothing calls this directly

Calls 1

find_indexFunction · 0.85

Tested by

no test coverage detected