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

Method iter

arrow-buffer/src/util/bit_chunk_iterator.rs:160–165  ·  view source on GitHub ↗

Returns an iterator over the chunks

(&self)

Source from the content-addressed store, hash-verified

158
159 /// Returns an iterator over the chunks
160 pub fn iter(&self) -> UnalignedBitChunkIterator<'a> {
161 self.prefix
162 .into_iter()
163 .chain(self.chunks.iter().cloned())
164 .chain(self.suffix)
165 }
166
167 /// Counts the number of ones
168 pub fn count_ones(&self) -> usize {

Callers 15

get_remainder_bitsFunction · 0.45
test_get_bit_rawFunction · 0.45
test_set_bit_rawFunction · 0.45
test_unset_bit_rawFunction · 0.45
count_onesMethod · 0.45
iter_paddedMethod · 0.45
into_iterMethod · 0.45

Calls 1

into_iterMethod · 0.45

Tested by 5

test_get_bit_rawFunction · 0.36
test_set_bit_rawFunction · 0.36
test_unset_bit_rawFunction · 0.36