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

Method as_ptr

arrow-buffer/src/buffer/mutable.rs:525–527  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

523 /// This pointer is guaranteed to be aligned along cache-lines.
524 #[inline]
525 pub const fn as_ptr(&self) -> *const u8 {
526 self.data.as_ptr()
527 }
528
529 /// Returns a mutable raw pointer to this buffer's internal memory
530 /// This pointer is guaranteed to be aligned along cache-lines.

Callers 15

with_metadataMethod · 0.45
to_byte_sliceMethod · 0.45
try_reallocMethod · 0.45
dropMethod · 0.45
derefMethod · 0.45
fromMethod · 0.45
derefMethod · 0.45
fromMethod · 0.45
into_vecFunction · 0.45
value_uncheckedMethod · 0.45
ptr_eqMethod · 0.45

Calls

no outgoing calls

Tested by 5

into_vecFunction · 0.36
test_get_bit_rawFunction · 0.36
test_set_bit_rawFunction · 0.36
test_unset_bit_rawFunction · 0.36