MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / writePageToFile

Method writePageToFile

src/include/storage/file_handle.h:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 fileInfo->readFromFile(frame, getPageSize(), pageIdx * getPageSize());
95 }
96 void writePageToFile(const uint8_t* buffer, common::page_idx_t pageIdx) {
97 DASSERT(pageIdx < numPages);
98 writePagesToFile(buffer, getPageSize(), pageIdx);
99 }
100 void writePagesToFile(const uint8_t* buffer, uint64_t size, common::page_idx_t startPageIdx);
101
102 bool isInMemoryMode() const { return !isLargePaged() && isNewTmpFile(); }

Callers 4

flushAllMethod · 0.80
writePageToDiskMethod · 0.80
operator()Method · 0.80
flushCompressedFloatsFunction · 0.80

Calls 1

getPageSizeFunction · 0.85

Tested by

no test coverage detected