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

Method ReadLine

util/generic/strbuf.h:430–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 }
429
430 bool ReadLine(TdSelf& tok) {
431 if (NextTok('\n', tok)) {
432 while (!tok.empty() && tok.back() == '\r') {
433 tok.remove_suffix(1);
434 }
435
436 return true;
437 }
438
439 return false;
440 }
441
442 TdSelf NextTok(TCharType delim) {
443 return NextTokTemplate(delim);

Callers 2

Y_UNIT_TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 2

emptyMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected