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

Method count

src/fl/stl/multi_map.h:393–400  ·  view source on GitHub ↗

Lookup

Source from the content-addressed store, hash-verified

391
392 // Lookup
393 fl::size count(const Key& key) const {
394 auto range = equal_range(key);
395 fl::size count = 0;
396 for (auto it = range.first; it != range.second; ++it) {
397 ++count;
398 }
399 return count;
400 }
401
402 iterator find(const Key& key) {
403 ValueWithId search_key(value_type(key, Value()), 0);

Callers

nothing calls this directly

Calls 1

equal_rangeFunction · 0.85

Tested by

no test coverage detected