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

Method write

src/jrd/TempSpace.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98FB_SIZE_T TempSpace::MemoryBlock::write(offset_t offset, const void* buffer, FB_SIZE_T length)
99{
100 if (offset + length > size)
101 {
102 length = size - offset;
103 }
104 memcpy(ptr + offset, buffer, length);
105 return length;
106}
107
108//
109// On-disk block class

Callers 15

stringpiece.ccFile · 0.45
gen_csvMethod · 0.45
setcolorClass · 0.45
writeStringFunction · 0.45
runFunction · 0.45
extractAssetsMethod · 0.45
put3Method · 0.45
putMethod · 0.45
flushMethod · 0.45
doneMethod · 0.45
cacheInputMethod · 0.45
write_pageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected