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

Method MemBigHunk

src/common/classes/alloc.cpp:628–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626 MemBlock* block;
627
628 MemBigHunk(MemBigHunk** top, size_t l)
629 : next(NULL), prev(NULL), length(l),
630 block(new(((UCHAR*) this) + hdrSize()) MemBlock(MemBlock::HUGE_BLOCK, length - hdrSize()))
631 {
632 SemiDoubleLink::push(top, this);
633 }
634
635#ifdef MEM_DEBUG
636 void print_contents(FILE* file, MemPool* pool, bool used_only,

Callers

nothing calls this directly

Calls 1

pushFunction · 0.70

Tested by

no test coverage detected