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

Method get_bit

arrow-buffer/src/builder/boolean.rs:94–96  ·  view source on GitHub ↗
(&self, index: usize)

Source from the content-addressed store, hash-verified

92 /// Gets a bit in the buffer at `index`
93 #[inline]
94 pub fn get_bit(&self, index: usize) -> bool {
95 bit_util::get_bit(self.buffer.as_slice(), index)
96 }
97
98 /// Returns true if empty
99 #[inline]

Callers 2

is_validMethod · 0.80
test_packed_decoder_skipFunction · 0.80

Calls 2

get_bitFunction · 0.50
as_sliceMethod · 0.45

Tested by 1

test_packed_decoder_skipFunction · 0.64