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

Method count

src/fl/stl/unordered_map_small.h:280–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 }
279
280 size_type count(const Key& key) const FL_NOEXCEPT {
281 return find_index(key) != npos() ? 1 : 0;
282 }
283
284 bool contains(const Key& key) const FL_NOEXCEPT {
285 return find_index(key) != npos();

Callers

nothing calls this directly

Calls 1

find_indexFunction · 0.85

Tested by

no test coverage detected