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

Method Advance

library/cpp/yt/memory/chunked_output_stream.cpp:127–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void TChunkedOutputStream::Advance(size_t size)
128{
129 YT_ASSERT(CurrentChunk_.Size() + size <= CurrentChunk_.Capacity());
130 CurrentChunk_.Resize(CurrentChunk_.Size() + size, false);
131 UpdateCurrentChunkMemoryUsage();
132}
133
134void TChunkedOutputStream::UpdateCurrentChunkMemoryUsage()
135{

Callers

nothing calls this directly

Calls 3

SizeMethod · 0.45
CapacityMethod · 0.45
ResizeMethod · 0.45

Tested by

no test coverage detected