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

Method Has

library/cpp/containers/comptrie/set.h:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 }
32
33 bool Has(const typename TBase::TKeyBuf& key) const {
34 return TBase::Find(key.data(), key.size());
35 }
36
37 bool FindTails(const typename TBase::TKeyBuf& key, TCompactTrieSet<T>& res) const {
38 return TBase::FindTails(key, res);

Callers 1

TestTrieSetMethod · 0.45

Calls 3

FindFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TestTrieSetMethod · 0.36