MCPcopy Create free account
hub / github.com/dmlc/xgboost / ClearBit

Function ClearBit

src/common/compressed_iterator.h:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 return byte & (1 << bit_idx);
29}
30inline void ClearBit(CompressedByteT *byte, int bit_idx) {
31 *byte &= ~(1 << bit_idx);
32}
33inline constexpr int kPadding = 8; // Assign padding so we can read slightly off
34 // the beginning of the array
35

Callers 1

WriteSymbolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected