Searched refs:collect_chunk_read_iter (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Virtualization/authfs/src/ |
D | common.rs | 60 fn collect_chunk_read_iter(remaining: usize, offset: u64) -> Vec<(u64, usize)> { in collect_chunk_read_iter() function 66 assert_eq!(collect_chunk_read_iter(4096, 0), [(0, 4096)]); in test_chunk_read_iter() 67 assert_eq!(collect_chunk_read_iter(8192, 0), [(0, 4096), (4096, 4096)]); in test_chunk_read_iter() 68 assert_eq!(collect_chunk_read_iter(8192, 4096), [(4096, 4096), (8192, 4096)]); in test_chunk_read_iter() 71 collect_chunk_read_iter(16384, 1), in test_chunk_read_iter() 75 assert_eq!(collect_chunk_read_iter(0, 0), []); in test_chunk_read_iter() 76 assert_eq!(collect_chunk_read_iter(0, 100), []); in test_chunk_read_iter()
|