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

Method rfree

gecode/support/heap.hpp:370–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 }
369
370 forceinline void
371 Heap::rfree(void* p) {
372#ifdef GECODE_PEAKHEAP
373 _m.acquire();
374 _cur -= GECODE_MSIZE(p);
375 _m.release();
376#endif
377 Support::allocator.free(p);
378 }
379
380 forceinline void
381 Heap::rfree(void* p, size_t) {

Callers 7

disposenextFunction · 0.45
~PBSMethod · 0.45
~DFSMethod · 0.45
~BABMethod · 0.45
operator deleteMethod · 0.45
~BlockAllocatorMethod · 0.45
operator deleteMethod · 0.45

Calls 3

acquireMethod · 0.45
releaseMethod · 0.45
freeMethod · 0.45

Tested by

no test coverage detected