Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ assume_init
Method
assume_init
src/buffer.rs:129–131 ·
view source on GitHub ↗
(self, len: usize)
Source
from the content-addressed store, hash-verified
127
128
#[inline]
129
unsafe fn assume_init(self, len: usize) -> Self::Output {
130
len
131
}
132
}
133
134
impl<T, const N: usize> private::Sealed<T> for &mut [T; N] {
Callers
15
simple_clock_gettime_libc
Function · 0.80
prctl_get_at_arg2_optional
Function · 0.80
pipe
Function · 0.80
pipe_with
Function · 0.80
tcgetattr
Function · 0.80
tcgetwinsize
Function · 0.80
socketpair
Function · 0.80
getsockopt
Function · 0.80
tcp_congestion
Function · 0.80
xdp_mmap_offsets
Function · 0.80
xdp_statistics
Function · 0.80
uname
Function · 0.80
Calls
2
as_mut_ptr
Method · 0.45
len
Method · 0.45
Tested by
1
test_getrandom_uninit
Function · 0.64