Home
last modified time | relevance | path

Searched refs:blk_1 (Results 1 – 1 of 1) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dmulti_blocks.rs168 let blk_1 = include_bytes!("../test/gpt_test_2.bin"); in test_multi_block_read() localVariable
170 TestMultiBlockDevices(vec![blk_0.as_slice().into(), blk_1.as_slice().into()]); in test_multi_block_read()
176 let mut out = vec![0u8; blk_1[off..].len()]; in test_multi_block_read()
178 assert_eq!(out, blk_1[off..]); in test_multi_block_read()
185 let mut blk_1 = include_bytes!("../test/gpt_test_2.bin").to_vec(); in test_multi_block_write() localVariable
188 TestBlockDeviceBuilder::new().set_size(blk_1.len()).build(), in test_multi_block_write()
194 devs.get(1).unwrap().write(u64::try_from(off).unwrap(), &mut blk_1[off..]).unwrap(); in test_multi_block_write()
195 assert_eq!(blk_1[off..], devs.0[1].io.storage[off..]); in test_multi_block_write()