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

Method DoRead

util/stream/multi.cpp:12–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10TMultiInput::~TMultiInput() = default;
11
12size_t TMultiInput::DoRead(void* buf, size_t len) {
13 const size_t ret = C_->Read(buf, len);
14
15 if (ret) {
16 return ret;
17 }
18
19 C_ = N_;
20 N_ = &Cnull;
21
22 return C_->Read(buf, len);
23}
24
25size_t TMultiInput::DoReadTo(TString& st, char ch) {
26 size_t ret = C_->ReadTo(st, ch);

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected