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

Method validate

src/common/classes/alloc.cpp:1710–1717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1708#endif
1709
1710 void validate(MemPool* pool, StatInt& vMap, StatInt& vUse)
1711 {
1712 for (unsigned int slot = 0; slot < Limits::TOTAL_ELEMENTS; ++slot)
1713 ListBuilder::validate(freeObjects[slot], Limits::getSize(slot));
1714
1715 for (Extent* ext = currentExtent; ext; ext = ext->next)
1716 ext->validate(pool, ext->hdrSize(), vMap, vUse);
1717 }
1718
1719private:
1720 FreeObjPtr freeObjects[Limits::TOTAL_ELEMENTS];

Callers

nothing calls this directly

Calls 3

validateFunction · 0.70
validateMethod · 0.45
hdrSizeMethod · 0.45

Tested by

no test coverage detected