MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / count

Method count

Source/Utils/json.hpp:16505–16515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16503 }
16504
16505 size_type count(const Key& key) const
16506 {
16507 for (auto it = this->begin(); it != this->end(); ++it)
16508 {
16509 if (it->first == key)
16510 {
16511 return 1;
16512 }
16513 }
16514 return 0;
16515 }
16516
16517 iterator find(const Key& key)
16518 {

Callers 5

RunTestsMethod · 0.45
StartMethod · 0.45
FromJsonMethod · 0.45
ProcessCLIMethod · 0.45
countFunction · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 2

RunTestsMethod · 0.36
StartMethod · 0.36