Lines Matching refs:n_slice
507 for n_slice in 1..=4 { in test_message_reader()
509 let expect = vec![len as u8; len * n_slice]; in test_message_reader()
511 let mut reader = new_message_reader(source.clone(), n_slice); in test_message_reader()
520 n_slice in test_message_reader()
531 n_slice in test_message_reader()
535 let mut reader = new_message_reader(source.clone(), n_slice); in test_message_reader()
538 assert_eq!(dest, expect, "len: {}, nslice: {}", len, n_slice); in test_message_reader()
544 let mut reader = new_message_reader(source.clone(), n_slice); in test_message_reader()
545 reader.consume(source.len() * (n_slice - 1)); in test_message_reader()
553 n_slice in test_message_reader()
560 n_slice in test_message_reader()
589 for n_slice in 1..4 { in test_buf_impl()
592 let mut reader = new_message_reader(source.clone(), n_slice); in test_buf_impl()
594 let mut remaining = len * n_slice; in test_buf_impl()