MCPcopy Create free account
hub / github.com/Gecode/gecode / ~SharedMemory

Method ~SharedMemory

gecode/kernel/memory/manager.hpp:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 heap.hc = nullptr;
189 }
190 forceinline
191 SharedMemory::~SharedMemory(void) {
192 while (heap.hc != nullptr) {
193 HeapChunk* hc = heap.hc;
194 heap.hc = static_cast<HeapChunk*>(hc->next);
195 Gecode::heap.rfree(hc);
196 }
197 }
198
199 forceinline HeapChunk*
200 SharedMemory::alloc(size_t s, size_t l) {

Callers

nothing calls this directly

Calls 1

rfreeMethod · 0.45

Tested by

no test coverage detected