Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_valid
Method · 0.80
test_packed_decoder_skip
Function · 0.80
Calls
2
get_bit
Function · 0.50
as_slice
Method · 0.45
Tested by
1
test_packed_decoder_skip
Function · 0.64