MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / test_write_zeroes

Function test_write_zeroes

block/src/raw_sync.rs:173–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171
172 #[test]
173 fn test_write_zeroes() {
174 let temp_file = TempFile::new().unwrap();
175 let mut file = temp_file.into_file();
176 let mut async_io = RawFileSync::new(file.as_raw_fd());
177 raw_async_io_tests::test_write_zeroes(&mut async_io, &mut file);
178 }
179
180 #[test]
181 fn test_punch_hole_multiple_operations() {

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
as_raw_fdMethod · 0.45

Tested by

no test coverage detected