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

Method Next

util/stream/buffered.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 inline ~TImpl() = default;
17
18 inline size_t Next(const void** ptr, size_t len) {
19 if (MemInput_.Exhausted()) {
20 MemInput_.Reset(Buf(), Slave_->Read(Buf(), BufLen()));
21 }
22
23 return MemInput_.Next(ptr, len);
24 }
25
26 inline size_t Read(void* buf, size_t len) {
27 if (MemInput_.Exhausted()) {

Callers 2

DoNextMethod · 0.45
NextMethod · 0.45

Calls 3

ExhaustedMethod · 0.45
ResetMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected