MCPcopy Create free account
hub / github.com/defold/defold / func2

Function func2

engine/dlib/src/test/test_memprofile.cpp:282–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280#include <vector>
281
282void func2(std::vector<void*>& allocations)
283{
284 for (int i = 0; i < 8; ++i)
285 {
286 void*p = malloc(16);
287 g_dont_optimize = p;
288 allocations.push_back(p);
289 }
290}
291
292void func1a(std::vector<void*>& allocations)
293{

Callers 2

func1aFunction · 0.85
func1bFunction · 0.85

Calls 2

mallocFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected