MCPcopy Create free account
hub / github.com/apache/arrow / ClearBit

Function ClearBit

cpp/src/arrow/util/bit_util.h:179–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179static inline void ClearBit(uint8_t* bits, int64_t i) {
180 bits[i / 8] &= kFlippedBitmask[i % 8];
181}
182
183static inline void SetBit(uint8_t* bits, int64_t i) { bits[i / 8] |= kBitmask[i % 8]; }
184

Callers 15

MaskToBitmapFunction · 0.85
IndexRemapUsingLUTMethod · 0.85
ConvertImpFunction · 0.85
InitMethod · 0.85
RemapInputValuesMethod · 0.85
TakeUsingVectorFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
findMethod · 0.85
map_new_keys_helperMethod · 0.85
ExecArrayCaseWhenFunction · 0.85

Calls

no outgoing calls

Tested by 6

TakeUsingVectorFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TYPED_TESTFunction · 0.68
ASSERT_OK_AND_ASSIGNFunction · 0.68