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

Method DoUndo

library/cpp/yt/memory/chunked_output_stream.cpp:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void TChunkedOutputStream::DoUndo(size_t len)
104{
105 YT_VERIFY(CurrentChunk_.Size() >= len);
106 CurrentChunk_.Resize(CurrentChunk_.Size() - len);
107 UpdateCurrentChunkMemoryUsage();
108}
109
110char* TChunkedOutputStream::Preallocate(size_t size)
111{

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
ResizeMethod · 0.45

Tested by

no test coverage detected