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

Method getValue

src/storage/table/column_reader_writer.cpp:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 : inputBuffer(inputBuffer),
37 outputBuffer(std::make_unique<uint8_t[]>(numValues * sizeof(T))) {}
38 T getValue(offset_t offset) const { return reinterpret_cast<const T*>(inputBuffer)[offset]; }
39 void setValue(offset_t offset, T element) {
40 reinterpret_cast<T*>(outputBuffer.get())[offset] = element;
41 }

Callers 4

writeValuesToPageMethod · 0.45
finalizeMethod · 0.45
getExceptionAtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected