Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ hasExtraCapacity
Method
hasExtraCapacity
include/hx/QuickVec.h:51–54 ·
view source on GitHub ↗
Can push this many without realloc
Source
from the content-addressed store, hash-verified
49
}
50
// Can push this many without realloc
51
bool hasExtraCapacity(int inN)
52
{
53
return mSize+inN<=mAlloc;
54
}
55
56
bool safeReserveExtra(int inN)
57
{
Callers
2
FreeLarge
Method · 0.80
AllocMoreBlocks
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected