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

Method Contains

library/cpp/cache/thread_safe_cache.h:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 bool Contains(const Key& key) const {
97 TReadGuard r(Mutex);
98 auto iter = Cache.FindWithoutPromote(key);
99 return iter != Cache.End();
100 }
101
102 template <class TCallbacks>
103 static const TPtr Get(TArgs... args) {

Callers 2

Y_UNIT_TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 2

FindWithoutPromoteMethod · 0.80
EndMethod · 0.45

Tested by

no test coverage detected