MCPcopy Create free account
hub / github.com/catboost/catboost / contains

Method contains

util/generic/hash_set.h:205–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203
204 template <class TheKey>
205 bool contains(const TheKey& key) const {
206 return rep.find(key) != rep.end();
207 }
208 template <class TheKey>
209 bool contains(const TheKey& key, insert_ctx& ins) {
210 return rep.find_i(key, ins) != rep.end();

Callers

nothing calls this directly

Calls 3

find_iMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected