MCPcopy Create free account
hub / github.com/axmolengine/axmol / resize

Method resize

core/navmesh/NavMeshUtils.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void LinearAllocator::resize(const int cap)
66{
67 if (buffer)
68 dtFree(buffer);
69 buffer = (unsigned char*)dtAlloc(cap, DT_ALLOC_PERM);
70 capacity = cap;
71}
72
73int FastLZCompressor::maxCompressedSize(const int bufferSize)
74{

Callers 3

updateOrAddCookieMethod · 0.45
sendFrameMethod · 0.45
drawMethod · 0.45

Calls 2

dtFreeFunction · 0.85
dtAllocFunction · 0.85

Tested by

no test coverage detected