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

Function getDataBlockSize

src/processor/result/factorized_table.cpp:386–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386uint64_t getDataBlockSize(uint32_t numBytes) {
387 if (numBytes < TEMP_PAGE_SIZE) {
388 return TEMP_PAGE_SIZE;
389 }
390 return numBytes + 1;
391}
392
393uint8_t* FactorizedTable::allocateUnflatTupleBlock(uint32_t numBytes) {
394 if (unFlatTupleBlockCollection->isEmpty()) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected