Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ EnsureSize
Function
EnsureSize
include/Array.h:347–355 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
345
void Realloc(int inLen) const;
346
347
inline void EnsureSize(int inLen) const
348
{
349
if (inLen>length)
350
{
351
if (inLen>mAlloc)
352
Realloc(inLen);
353
length = inLen;
354
}
355
}
356
357
void RemoveElement(int inIndex);
358
Callers
5
resize
Function · 0.85
Array.h
File · 0.85
memcpy
Function · 0.85
pushCtx
Function · 0.85
push
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected