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

Method Flush

library/cpp/tokenizer/split.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 void Flush() {
43 if (!CurToken.empty()) {
44 Sentences->push_back(CurToken);
45
46 CurToken = TUtf16String();
47 }
48 }
49
50 private:
51 TUtf16String CurToken;

Callers 5

FancyTerminateHandlerFunction · 0.45
TraceSubtestFinishedMethod · 0.45
OnBeforeTestMethod · 0.45
AddEntryToCoreSearchFileFunction · 0.45
SplitIntoSentencesFunction · 0.45

Calls 2

emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected