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

Method putElement

src/common/classes/alloc.cpp:1966–1974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1964
1965
1966void DoubleLinkedList::putElement(MemBlock** to, MemBlock* block)
1967{
1968 MemPool* pool = block->pool;
1969 MemMediumHunk* hunk = block->getHunk();
1970
1971 SemiDoubleLink::push(to, block);
1972
1973 decrUsage(hunk, pool);
1974}
1975
1976void DoubleLinkedList::decrUsage(MemMediumHunk* hunk, MemPool* pool)
1977{

Callers 2

deallocateBlockMethod · 0.45
newBlockMethod · 0.45

Calls 2

getHunkMethod · 0.80
pushFunction · 0.70

Tested by

no test coverage detected