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

Method Reserve

library/cpp/yt/memory/blob.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void TBlob::Reserve(size_t newCapacity)
75{
76 if (newCapacity > Capacity_) {
77 Reallocate(newCapacity);
78 }
79}
80
81void TBlob::Resize(size_t newSize, bool initializeStorage)
82{

Callers 11

FlushImplMethod · 0.45
EncodeMethod · 0.45
DecodeMethod · 0.45
ReserveNewChunkMethod · 0.45
DoWriteMethod · 0.45
DoNextMethod · 0.45
PreallocateMethod · 0.45
BuildRequestFunction · 0.45
LoadBaseHeaderMethod · 0.45
AddMethod · 0.45

Calls 1

ReallocateFunction · 0.85

Tested by

no test coverage detected