MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / find

Function find

examples/server/json.hpp:19166–19176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19164 }
19165
19166 iterator find(const key_type& key)
19167 {
19168 for (auto it = this->begin(); it != this->end(); ++it)
19169 {
19170 if (m_compare(it->first, key))
19171 {
19172 return it;
19173 }
19174 }
19175 return Container::end();
19176 }
19177
19178 template<class KeyType, detail::enable_if_t<
19179 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0>

Callers 6

write_ubjsonMethod · 0.70
dump_floatFunction · 0.70
json.hppFile · 0.70
valueFunction · 0.70
mainFunction · 0.50
mainFunction · 0.50

Calls 6

is_objectFunction · 0.85
cendFunction · 0.85
findMethod · 0.80
endFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by 1

mainFunction · 0.40