MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / exists

Method exists

src/semiorderedset.h:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 bool exists(const T_KEY &key) const
127 {
128 auto itr = const_cast<semiorderedset<T,T_KEY,MEMMOVE_SAFE>*>(this)->find(key);
129 return itr != this->end();
130 }
131
132 setiter end() const
133 {

Callers 3

testitFunction · 0.80
save_plotFunction · 0.80
draw_plots.pyFile · 0.80

Calls 2

endMethod · 0.95
findMethod · 0.45

Tested by 1

testitFunction · 0.64