• Home
  • Raw
  • Download

Lines Matching refs:original

7     let original: &[u8] = b"Lorem ipsum dolor sit amet.";  in deflate_decoder_empty_read()  localVariable
10 encoder.write_all(original).unwrap(); in deflate_decoder_empty_read()
16 assert_eq!(decoded.as_slice(), original); in deflate_decoder_empty_read()
21 let original: &[u8] = b"Lorem ipsum dolor sit amet."; in deflate_encoder_empty_read() localVariable
22 let mut encoder = flate2::read::DeflateEncoder::new(original, flate2::Compression::default()); in deflate_encoder_empty_read()
29 assert_eq!(decoded.as_slice(), original); in deflate_encoder_empty_read()
34 let original: &[u8] = b"Lorem ipsum dolor sit amet."; in gzip_decoder_empty_read() localVariable
36 encoder.write_all(original).unwrap(); in gzip_decoder_empty_read()
42 assert_eq!(decoded.as_slice(), original); in gzip_decoder_empty_read()
47 let original: &[u8] = b"Lorem ipsum dolor sit amet."; in gzip_encoder_empty_read() localVariable
48 let mut encoder = flate2::read::GzEncoder::new(original, flate2::Compression::default()); in gzip_encoder_empty_read()
55 assert_eq!(decoded.as_slice(), original); in gzip_encoder_empty_read()
60 let original: &[u8] = b"Lorem ipsum dolor sit amet."; in zlib_decoder_empty_read() localVariable
62 encoder.write_all(original).unwrap(); in zlib_decoder_empty_read()
68 assert_eq!(decoded.as_slice(), original); in zlib_decoder_empty_read()
73 let original: &[u8] = b"Lorem ipsum dolor sit amet."; in zlib_encoder_empty_read() localVariable
74 let mut encoder = flate2::read::ZlibEncoder::new(original, flate2::Compression::default()); in zlib_encoder_empty_read()
81 assert_eq!(decoded.as_slice(), original); in zlib_encoder_empty_read()