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

Method Next

util/stream/buffered.cpp:166–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 inline size_t Next(void** ptr) {
167 if (MemOut_.Avail() == 0) {
168 Slave_->Write(Buf(), Stored());
169 OnBufferExhausted();
170 Reset();
171 }
172
173 return MemOut_.Next(ptr);
174 }
175
176 inline void Undo(size_t len) {
177 Y_ABORT_UNLESS(len <= Stored(), "trying to undo more bytes than actually written");

Callers

nothing calls this directly

Calls 4

ResetFunction · 0.50
AvailMethod · 0.45
WriteMethod · 0.45
NextMethod · 0.45

Tested by

no test coverage detected