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

Function setBitToZero

src/common/arrow/arrow_row_batch.cpp:255–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255static void setBitToZero(std::uint8_t* data, std::int64_t pos) {
256 std::int64_t bytePos = 0, bitOffset = 0;
257 getBitPosition(pos, bytePos, bitOffset);
258 data[bytePos] &= ~((std::uint64_t)1 << bitOffset);
259}
260
261static void setBitToOne(std::uint8_t* data, std::int64_t pos) {
262 std::int64_t bytePos = 0, bitOffset = 0;

Callers 6

BOOL>Method · 0.85
templateCopyNullValueMethod · 0.85
STRING>Method · 0.85
LIST>Method · 0.85
STRUCT>Method · 0.85
copyArrowArrayFunction · 0.85

Calls 1

getBitPositionFunction · 0.85

Tested by

no test coverage detected