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

Method value_unchecked

arrow-buffer/src/buffer/boolean.rs:504–506  ·  view source on GitHub ↗
(&self, i: usize)

Source from the content-addressed store, hash-verified

502 /// This doesn't check bounds, the caller must ensure that index < self.len()
503 #[inline]
504 pub unsafe fn value_unchecked(&self, i: usize) -> bool {
505 unsafe { bit_util::get_bit_raw(self.buffer.as_ptr(), i + self.bit_offset) }
506 }
507
508 /// Returns the packed values of this [`BooleanBuffer`] not including any offset
509 #[inline]

Callers 9

criterion_benchmarkFunction · 0.45
valueMethod · 0.45
filter_run_end_arrayFunction · 0.45
take_nativeFunction · 0.45
take_bitsFunction · 0.45
take_bytesFunction · 0.45
take_listFunction · 0.45
take_fixed_sizeFunction · 0.45
write_leafMethod · 0.45

Calls 2

get_bit_rawFunction · 0.85
as_ptrMethod · 0.45

Tested by

no test coverage detected