MCPcopy Create free account
hub / github.com/WheretIB/nullc / resize

Method resize

NULLC/Array.h:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 return data[index];
103 }
104 __forceinline void resize(unsigned int newSize)
105 {
106 if(newSize >= max)
107 grow(newSize);
108 count = newSize;
109 }
110 __forceinline void shrink(unsigned int newSize)
111 {
112 assert(newSize <= count);

Callers 15

TranslateToNativeMethod · 0.45
SelectBestFunctionFunction · 0.45
AddFunctionCallNodeFunction · 0.45
CompilerMethod · 0.45
ClearStateMethod · 0.45
CompileMethod · 0.45
TranslateToCMethod · 0.45
x86ReserveLabelsFunction · 0.45
InitExecutionMethod · 0.45
Executor.cppFile · 0.45
RunMethod · 0.45
LinkCodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected