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

Method Resize

BeefySysLib/util/BeefPerf.cpp:205–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void CircularBuffer::Resize(int newSize)
206{
207 uint8* newBuffer = new uint8[newSize];
208 Read(newBuffer, 0, mDataSize);
209
210 delete mBuffer;
211 mBuffer = newBuffer;
212 mBufSize = newSize;
213 mTail = 0;
214}
215
216void CircularBuffer::GrowReserve(int addSize)
217{

Callers 8

BFWindow_ResizeFunction · 0.45
InitDestinationMethod · 0.45
EmptyOutputBufferMethod · 0.45
TermDestinationMethod · 0.45
CompactMethod · 0.45
ReadFileMethod · 0.45
ReadFileMethod · 0.45
ModelInstanceMethod · 0.45

Calls 1

ReadFunction · 0.85

Tested by

no test coverage detected