MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / unlinkBlocks

Method unlinkBlocks

src/common/classes/alloc.cpp:591–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589 }
590
591 void unlinkBlocks()
592 {
593 UCHAR* m = ((UCHAR*) this) + hdrSize();
594 while (m < memory)
595 {
596 MemBlock* block = (MemBlock*)m;
597 m += block->getSize();
598
599 SemiDoubleLink::remove(block);
600 }
601 }
602
603#ifdef MEM_DEBUG
604 void print_contents(FILE* file, MemPool* pool, bool used_only,

Callers 1

decrUsageMethod · 0.80

Calls 2

removeFunction · 0.85
getSizeMethod · 0.45

Tested by

no test coverage detected