MCPcopy Create free account
hub / github.com/beefytech/Beef / GrowReserve

Method GrowReserve

BeefySysLib/util/BeefPerf.cpp:216–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void CircularBuffer::GrowReserve(int addSize)
217{
218 if (mDataSize + addSize <= mBufSize)
219 return;
220 Resize(max(mDataSize + addSize, mDataSize + mDataSize/2));
221}
222
223void CircularBuffer::Grow(int addSize)
224{

Callers 1

StartCmdMethod · 0.80

Calls 1

ResizeFunction · 0.85

Tested by

no test coverage detected