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

Method as_ptr

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

Source from the content-addressed store, hash-verified

51 /// Read-only pointer.
52 #[inline]
53 pub fn as_ptr(&self) -> *const u8 {
54 self.ptr
55 }
56
57 /// View the first `len` bytes as a slice.
58 ///

Callers 13

write_and_readFunction · 0.45
to_vec_copiesFunction · 0.45
l1_norm_deltaFunction · 0.45
l1_norm_delta_innerFunction · 0.45
avx512_and_innerFunction · 0.45
avx512_or_innerFunction · 0.45
avx2_and_innerFunction · 0.45
avx2_or_innerFunction · 0.45
neon_andFunction · 0.45
neon_orFunction · 0.45
advise_sequentialFunction · 0.45
mmap_as_i64Method · 0.45

Calls

no outgoing calls

Tested by 2

write_and_readFunction · 0.36
to_vec_copiesFunction · 0.36