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

Method validate

src/common/classes/alloc.cpp:1583–1590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1581 { }
1582
1583 static void validate(MemBlock* block, unsigned length)
1584 {
1585 for (; block; block = block->next)
1586 {
1587 if (block->getSize() != length)
1588 corrupt("length trashed for block in slot");
1589 }
1590 }
1591};
1592
1593

Callers

nothing calls this directly

Calls 2

corruptFunction · 0.85
getSizeMethod · 0.45

Tested by

no test coverage detected