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

Function func1a

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

Source from the content-addressed store, hash-verified

290}
291
292void func1a(std::vector<void*>& allocations)
293{
294 for (int i = 0; i < 16; ++i)
295 {
296 void*p = malloc(512);
297 g_dont_optimize = p;
298 allocations.push_back(p);
299 func2(allocations);
300 }
301}
302
303void func1b(std::vector<void*>& allocations)
304{

Callers 1

TESTFunction · 0.85

Calls 3

mallocFunction · 0.85
func2Function · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected