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

Method Stop

util/string/split.h:1025–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1023
1024 template <class TToken>
1025 inline bool Stop(TToken* token) noexcept {
1026 if (Count > 1) {
1027 --Count;
1028 return false;
1029 } else if (Count == 1) {
1030 token->DelimiterEnd_ = token->OriginEnd_;
1031 token->UpdateParentBuf(token->TokenStart(), token->DelimiterEnd_);
1032 return false;
1033 }
1034 return true;
1035 }
1036
1037 size_t Count = 0;
1038 };

Callers

nothing calls this directly

Calls 2

UpdateParentBufMethod · 0.80
TokenStartMethod · 0.80

Tested by

no test coverage detected