MCPcopy Create free account
hub / github.com/cinder/Cinder / count

Method count

include/nlohmann/ordered_map.hpp:161–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 }
160
161 size_type count(const Key& key) const
162 {
163 for (auto it = this->begin(); it != this->end(); ++it)
164 {
165 if (it->first == key)
166 {
167 return 1;
168 }
169 }
170 return 0;
171 }
172
173 iterator find(const Key& key)
174 {

Callers 2

last_write_timeFunction · 0.45
countFunction · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected