MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / Expand

Method Expand

source/Debugger.cpp:2629–2632  ·  view source on GitHub ↗

Initialize or expand the buffer, don't care how much.

Source from the content-addressed store, hash-verified

2627
2628// Initialize or expand the buffer, don't care how much.
2629int Debugger::Buffer::Expand()
2630{
2631 return ExpandIfNecessary(mDataSize ? mDataSize * 2 : DEBUGGER_INITIAL_BUFFER_SIZE);
2632}
2633
2634// Expand as necessary to meet a minimum required size.
2635int Debugger::Buffer::ExpandIfNecessary(size_t aRequiredSize)

Callers 1

ReceiveCommandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected