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

Method PrevDirection

library/cpp/containers/comptrie/opaque_trie_iterator.cpp:200–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 }
199
200 inline bool TFork::PrevDirection() {
201 if (CurrentDirection == TDirection(0)) {
202 return false;
203 }
204 do {
205 --CurrentDirection;
206 } while (CurrentDirection > 0 && !HasDirection(CurrentDirection));
207 return HasDirection(CurrentDirection);
208 }
209
210 void TFork::LastDirection() {
211 CurrentDirection = D_MAX;

Callers 1

BackwardMethod · 0.80

Calls 1

TDirectionEnum · 0.85

Tested by

no test coverage detected