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

Method ReadTo

util/stream/input.cpp:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112TString IInputStream::ReadTo(char ch) {
113 TString ret;
114
115 if (!ReadTo(ret, ch)) {
116 ythrow yexception() << "can not read from stream";
117 }
118
119 return ret;
120}
121
122size_t IInputStream::Skip(size_t sz) {
123 return DoSkip(sz);

Callers 12

Y_UNIT_TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45
DoReadToMethod · 0.45
DoReadToMethod · 0.45
Y_UNIT_TESTFunction · 0.45
DoReadToMethod · 0.45
TestReadToResultMethod · 0.45
Y_UNIT_TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45
TestStreamReadTo1Function · 0.45
TestStreamReadTo4Function · 0.45

Calls

no outgoing calls

Tested by 3

TestReadToResultMethod · 0.36
TestStreamReadTo1Function · 0.36
TestStreamReadTo4Function · 0.36