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

Function getBitPosition

src/common/arrow/arrow_row_batch.cpp:250–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250static void getBitPosition(std::int64_t pos, std::int64_t& bytePos, std::int64_t& bitOffset) {
251 bytePos = pos >> 3;
252 bitOffset = pos - (bytePos << 3);
253}
254
255static void setBitToZero(std::uint8_t* data, std::int64_t pos) {
256 std::int64_t bytePos = 0, bitOffset = 0;

Callers 2

setBitToZeroFunction · 0.85
setBitToOneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected