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

Method GetDataForWriting

src/db/blockrecordfile.cpp:241–250  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// GetDataForWriting //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

239// GetDataForWriting
240///////////////////////////////////////////////////////////////////////////////
241int8* cBlockRecordFile::GetDataForWriting(cBlockRecordFile::tAddr dataAddr, int32& dataSize) //throw (eArchive)
242{
243 ASSERT(mbOpen);
244 ASSERT(IsValidAddr(dataAddr));
245#ifdef _BLOCKFILE_DEBUG
246 AssertValid();
247#endif
248
249 return (mvBlocks[dataAddr.mBlockNum].GetDataForWriting(dataAddr.mIndex, dataSize));
250}
251
252///////////////////////////////////////////////////////////////////////////////
253// FindRoomForData

Callers 1

util_RewriteObjectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected