Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_alloc
Method · 0.45
alloc
Method · 0.45
allocate
Method · 0.45
allocate
Method · 0.45
operator new
Method · 0.45
operator new
Method · 0.45
Calls
1
alloc
Method · 0.45
Tested by
no test coverage detected