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

Function a

gecode/support/block-allocator.hpp:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96 template<class T, class A, int blocksize>
97 forceinline
98 BlockAllocator<T,A,blocksize>::BlockAllocator(A& a0) : a(a0) {
99 b = static_cast<Block*>(a.ralloc(sizeof(Block)));
100 b->next = nullptr;
101 n = &b->b[blocksize];
102 _size = sizeof(Block);
103 }
104
105 template<class T, class A, int blocksize>
106 forceinline

Callers 15

runMethod · 0.85
SportsLeagueMethod · 0.85
printMethod · 0.85
SliceMethod · 0.85
adviseMethod · 0.85
iwnMethod · 0.85
propagateMethod · 0.85
propagateMethod · 0.85
intersect_with_maskMethod · 0.85
intersect_with_masksMethod · 0.85
nand_with_maskMethod · 0.85
intersectsMethod · 0.85

Calls 1

rallocMethod · 0.45

Tested by

no test coverage detected