MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / as_mut_ptr

Method as_mut_ptr

nodedb/src/data/io/aligned_buf.rs:47–49  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

45 /// Mutable raw pointer to the buffer start (for io_uring SQE submission).
46 #[inline]
47 pub fn as_mut_ptr(&mut self) -> *mut u8 {
48 self.ptr
49 }
50
51 /// Read-only pointer.
52 #[inline]

Callers 14

hostnameFunction · 0.45
read_syncMethod · 0.45
prefetch_batchMethod · 0.45
write_and_readFunction · 0.45
to_vec_copiesFunction · 0.45
read_filesMethod · 0.45
fill_f64Function · 0.45
fill_f64_innerFunction · 0.45
avx512_and_innerFunction · 0.45
avx512_or_innerFunction · 0.45
avx2_and_innerFunction · 0.45
avx2_or_innerFunction · 0.45

Calls

no outgoing calls

Tested by 2

write_and_readFunction · 0.36
to_vec_copiesFunction · 0.36