MCPcopy Create free account
hub / github.com/apache/qpid-proton / exists

Method exists

cpp/src/map.cpp:177–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176template <class K, class T>
177bool map<K,T>::exists(const K& k) const {
178 return this->empty() ? 0 : cache().find(k) != cache().end();
179}
180
181template <class K, class T>
182size_t map<K,T>::size() const {

Callers 8

findfileinpathFunction · 0.80
_cyrusSetupFunction · 0.80
test_emptyFunction · 0.80
test_useFunction · 0.80
on_messageMethod · 0.80
GetMethod · 0.80

Calls 3

emptyMethod · 0.95
findMethod · 0.80
endMethod · 0.45

Tested by 3

test_emptyFunction · 0.64
test_useFunction · 0.64
on_messageMethod · 0.64