MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / util_InitBlockArray

Function util_InitBlockArray

src/db/blockrecordfile.cpp:43–49  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// util_InitBlockArray //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

41// util_InitBlockArray
42///////////////////////////////////////////////////////////////////////////////
43static inline void util_InitBlockArray(cBlockRecordArray& block)
44{
45 if (!block.Initialized())
46 {
47 block.InitForExistingBlock();
48 }
49}
50
51///////////////////////////////////////////////////////////////////////////////
52// ctor

Callers 2

IsValidAddrMethod · 0.70
FindRoomForDataMethod · 0.70

Calls 2

InitializedMethod · 0.80
InitForExistingBlockMethod · 0.80

Tested by

no test coverage detected