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

Function setBitToOne

src/common/arrow/arrow_row_batch.cpp:261–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261static void setBitToOne(std::uint8_t* data, std::int64_t pos) {
262 std::int64_t bytePos = 0, bitOffset = 0;
263 getBitPosition(pos, bytePos, bitOffset);
264 data[bytePos] |= ((std::uint64_t)1 << bitOffset);
265}
266
267void ArrowRowBatch::appendValue(ArrowVector* vector, const Value& value,
268 bool fallbackExtensionTypes) {

Callers 1

BOOL>Method · 0.85

Calls 1

getBitPositionFunction · 0.85

Tested by

no test coverage detected