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

Function FillBitsFromBytes

cpp/src/arrow/util/bitmap_builders.cc:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace {
36
37void FillBitsFromBytes(std::span<const uint8_t> bytes, uint8_t* bits) {
38 for (size_t i = 0; i < bytes.size(); ++i) {
39 if (bytes[i] > 0) {
40 bit_util::SetBit(bits, i);
41 }
42 }
43}
44
45} // namespace
46

Callers 1

BytesToBitsFunction · 0.85

Calls 2

SetBitFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected