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

Method DoSkip

util/stream/length.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12size_t TLengthLimitedInput::DoSkip(size_t len) {
13 len = (size_t)Min<ui64>((ui64)len, Length_);
14 len = Slave_->Skip(len);
15 Length_ -= len;
16 return len;
17}
18
19size_t TCountingInput::DoRead(void* buf, size_t len) {
20 const size_t ret = Slave_->Read(buf, len);

Callers

nothing calls this directly

Calls 1

SkipMethod · 0.45

Tested by

no test coverage detected