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

Method read

src/jrd/TempSpace.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86//
87
88FB_SIZE_T TempSpace::MemoryBlock::read(offset_t offset, void* buffer, FB_SIZE_T length)
89{
90 if (offset + length > size)
91 {
92 length = size - offset;
93 }
94 memcpy(buffer, ptr + offset, length);
95 return length;
96}
97
98FB_SIZE_T TempSpace::MemoryBlock::write(offset_t offset, const void* buffer, FB_SIZE_T length)
99{

Callers 11

extractAssetsMethod · 0.45
getMethod · 0.45
fetchFromCacheMethod · 0.45
CCH_fetch_pageFunction · 0.45
readDifferenceMethod · 0.45
setupRecordMethod · 0.45
open2Method · 0.45
storeToPageMethod · 0.45
getRecordMethod · 0.45
readBlockMethod · 0.45
fetchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected