MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / raw_dir_entries_heap

Function raw_dir_entries_heap

tests/fs/readdir.rs:115–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113#[test]
114#[cfg(linux_kernel)]
115fn raw_dir_entries_heap() {
116 let mut buf = Vec::with_capacity(8192);
117 test_raw_dir(buf.spare_capacity_mut());
118
119 let mut buf = [MaybeUninit::new(0); 8192];
120 test_raw_dir(&mut buf);
121}
122
123#[test]
124#[cfg(linux_kernel)]

Callers

nothing calls this directly

Calls 1

test_raw_dirFunction · 0.85

Tested by

no test coverage detected