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

Method Inc

library/cpp/containers/comptrie/make_fast_layout.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void Inc(size_t offset) {
99 if (IsTree) {
100 return;
101 }
102 ui8& count = Body.at(offset / MinNodeSize);
103 if (count != MaxCount) {
104 ++count;
105 }
106 }
107
108 size_t Dec(size_t offset) {
109 if (IsTree) {

Callers 1

MeasureSubtrieMethod · 0.45

Calls 1

atMethod · 0.45

Tested by

no test coverage detected