Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_read
Function · 0.45
to_vec_copies
Function · 0.45
l1_norm_delta
Function · 0.45
l1_norm_delta_inner
Function · 0.45
avx512_and_inner
Function · 0.45
avx512_or_inner
Function · 0.45
avx2_and_inner
Function · 0.45
avx2_or_inner
Function · 0.45
neon_and
Function · 0.45
neon_or
Function · 0.45
advise_sequential
Function · 0.45
mmap_as_i64
Method · 0.45
Calls
no outgoing calls
Tested by
2
write_and_read
Function · 0.36
to_vec_copies
Function · 0.36