MCPcopy Create free account
hub / github.com/apache/arrow-rs / set_slices

Method set_slices

arrow-buffer/src/buffer/boolean.rs:630–632  ·  view source on GitHub ↗

Returns a [`BitSliceIterator`] yielding contiguous ranges of set bits

(&self)

Source from the content-addressed store, hash-verified

628
629 /// Returns a [`BitSliceIterator`] yielding contiguous ranges of set bits
630 pub fn set_slices(&self) -> BitSliceIterator<'_> {
631 BitSliceIterator::new(self.values(), self.bit_offset, self.bit_len)
632 }
633
634 /// Block size for chunked fold operations in [`Self::has_true`] and [`Self::has_false`].
635 /// Using `chunks_exact` with this size lets the compiler fully unroll the inner

Callers 2

valid_slicesMethod · 0.80
fromMethod · 0.80

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected