MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / reserve

Function reserve

include/cpp/VirtualArray.h:359–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 int GetElementSize() const { checkBase(); return store==hx::arrayEmpty ? 0 : base->GetElementSize(); }
358
359 inline void reserve(int inSize) const
360 {
361 if (base)
362 base->reserve(inSize);
363 }
364
365 inline int capacity()
366 {

Callers 1

ReallocMethod · 0.85

Calls 1

reserveMethod · 0.45

Tested by

no test coverage detected