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

Method RefreshBlock

library/cpp/yson/detail.h:779–784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777 }
778
779 void RefreshBlock() {
780 size_t bytes = Stream->Read(Buffer, BufferSize);
781 BeginPtr = Buffer;
782 EndPtr = Buffer + bytes;
783 FinishFlag = (bytes == 0);
784 }
785
786 void Advance(size_t bytes) {
787 BeginPtr += bytes;

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected