Searched refs:chunk_offset (Results 1 – 1 of 1) sorted by relevance
113 let chunk_offset = offset + i * chunk_len; in write_pattern() localVariable114 fill_pattern32(chunk_offset, &mut buf); in write_pattern()116 .write(chunk_offset.try_into().unwrap(), &buf) in write_pattern()138 let chunk_offset = offset + i * chunk_len; in read_pattern() localVariable140 .read(chunk_len.try_into().unwrap(), chunk_offset.try_into().unwrap()) in read_pattern()150 check_pattern32(chunk_offset, &*read).map_err(|e| format!("For chunk {}: {}", i, e))?; in read_pattern()