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

Method Clear

util/folder/filelist.h:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 void Clear() {
29 Cur = nullptr;
30 FileNamesSize = CurName = 0;
31 FileNames.Clear();
32 FileNames.Append("", 1);
33 }
34
35 const char* Next() {
36 return Cur = (CurName++ < FileNamesSize ? strchr(Cur, 0) + 1 : nullptr);

Callers 1

Y_UNIT_TESTFunction · 0.45

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected