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

Method reset

NULLC/translation/runtime.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 free(data);
47 }
48 void reset()
49 {
50 free(data);
51 data = (T*)malloc(sizeof(T) * 128);
52 memset(data, 0, sizeof(T));
53 max = 128;
54 count = 0;
55 }
56
57 T* push_back()
58 {

Callers 1

~ObjectBlockPoolMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected