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

Method set_indices

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

Returns an iterator over the set bit positions in this [`BooleanBuffer`]

(&self)

Source from the content-addressed store, hash-verified

618
619 /// Returns an iterator over the set bit positions in this [`BooleanBuffer`]
620 pub fn set_indices(&self) -> BitIndexIterator<'_> {
621 BitIndexIterator::new(self.values(), self.bit_offset, self.bit_len)
622 }
623
624 /// Returns a `u32` iterator over set bit positions without any usize->u32 conversion
625 pub fn set_indices_u32(&self) -> BitIndexU32Iterator<'_> {

Callers 9

valid_indicesMethod · 0.80
newMethod · 0.80
compute_values_maskFunction · 0.80
masked_bytesFunction · 0.80
rangesMethod · 0.80

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected