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

Function bytes

cpp/src/arrow/util/bitmap.h:387–391  ·  view source on GitHub ↗

span of all bytes which contain any bit in this Bitmap

Source from the content-addressed store, hash-verified

385
386 /// span of all bytes which contain any bit in this Bitmap
387 std::span<const uint8_t> bytes() const {
388 auto byte_offset = offset_ / 8;
389 auto byte_count = bit_util::CeilDiv(offset_ + length_, 8) - byte_offset;
390 return {data_ + byte_offset, static_cast<size_t>(byte_count)};
391 }
392
393 private:
394 /// span of all Words which contain any bit in this Bitmap

Callers 11

wait_for_doneMethod · 0.85
test_binaryFunction · 0.85
test_fixed_size_binaryFunction · 0.85
random_asciiFunction · 0.85
sample_disk_dataFunction · 0.85
test_memory_map_writerFunction · 0.85
test_memory_map_resizeFunction · 0.85
test_os_file_writerFunction · 0.85
bitmap.hFile · 0.85
generate_hashFunction · 0.85

Calls 1

CeilDivFunction · 0.85

Tested by 8

wait_for_doneMethod · 0.68
test_binaryFunction · 0.68
test_fixed_size_binaryFunction · 0.68
sample_disk_dataFunction · 0.68
test_memory_map_writerFunction · 0.68
test_memory_map_resizeFunction · 0.68
test_os_file_writerFunction · 0.68