MCPcopy Create free account
hub / github.com/Gecode/gecode / ralloc

Method ralloc

gecode/kernel/memory/region.hpp:360–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358 }
359
360 forceinline void*
361 Region::ralloc(size_t s) {
362 void* p;
363 if (chunk->alloc(s,p))
364 return p;
365 else
366 return heap_alloc(s);
367 }
368
369 forceinline void
370 Region::rfree(void*, size_t) {}

Callers 6

heap_allocMethod · 0.45
allocMethod · 0.45
allocateMethod · 0.45
allocateMethod · 0.45
operator newMethod · 0.45
operator newMethod · 0.45

Calls 1

allocMethod · 0.45

Tested by

no test coverage detected