MCPcopy Create free account
hub / github.com/beefytech/Beef / Open

Method Open

IDEHelper/Linker/BlCodeView.cpp:332–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332void BlCvStreamReader::Open(BlCVStream* stream)
333{
334 mCurStream = stream;
335 if (!mCurStream->mBlocks.empty())
336 {
337 mBlockIdx = 0;
338 mCurBlockPos = (uint8*)mMsf->mBlocks[stream->mBlocks[mBlockIdx]]->mData;
339 mCurBlockEnd = mCurBlockPos + CV_BLOCK_SIZE;
340 }
341 else
342 {
343 mBlockIdx = -1;
344 mCurBlockPos = NULL;
345 mCurBlockEnd = NULL;
346 }
347}
348
349// Pass NULL to data to make sure we have a mutable pointer into the stream. This can
350// only work if we know the alignment of a stream and we are reading an aligned member

Callers 15

MapModuleMethod · 0.45
CheckPEFileMethod · 0.45
GetModuleInfoMethod · 0.45
WriteMemoryCallbackFunction · 0.45
NetManager.cppFile · 0.45
GetEmitSourceMethod · 0.45
StartLoadMethod · 0.45
ReadMethod · 0.45
WriteMethod · 0.45
RunLoopMethod · 0.45
LoadMethod · 0.45
CreateMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected