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

Method Contains

library/cpp/containers/comptrie/minimize.cpp:59–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 bool Contains(size_t key) const {
60 return (Get(key) != 0);
61 }
62
63 size_t Get(size_t key) const {
64 size_t hikey = key & 0xFFFF;

Callers 3

TestZeroMethod · 0.45
NextNodeMethod · 0.45
PrepareOffsetMethod · 0.45

Calls 1

GetFunction · 0.50

Tested by 1

TestZeroMethod · 0.36