Lines Matching refs:Ok
122 Ok(Sha256Hasher::new()? in new_hash_for_incomplete_write()
140 Ok(Sha256Hasher::new()?.update(source)?.finalize()?) in new_chunk_hash()
191 Ok(hash) => hash, in write_at()
198 return Ok(written as usize); in write_at()
217 Ok(buf.len()) in write_at()
253 Ok(()) in resize()
294 Ok(buf.len()) in write_at()
301 Ok(()) in resize()
322 Ok(chunk.len()) in read_chunk()
339 Ok(()) in test_writer()
351 Ok(()) in test_verified_writer_no_write()
382 Ok(()) in test_verified_writer_from_zero()
404 Ok(()) in test_verified_writer_unaligned()
435 Ok(()) in test_verified_writer_with_hole()
475 Ok(()) in test_verified_writer_various_writes()
505 Ok(()) in test_verified_writer_inconsistent_read()
517 Ok(()) in test_verified_writer_failed_read_back()
533 Ok(()) in test_resize_to_same_size()
550 Ok(()) in test_resize_to_grow()
567 Ok(()) in test_resize_to_shrink()
579 Ok(()) in test_resize_to_shrink_with_read_failure()
599 Ok(()) in test_resize_to_shirink_to_chunk_boundary()