• Home
  • Raw
  • Download

Lines Matching refs:RangeBuf

788     data: BTreeMap<u64, RangeBuf>,
827 pub fn write(&mut self, buf: RangeBuf) -> Result<()> { in write()
1019 let buf = RangeBuf::from(b"", final_size, true); in reset()
1115 data: VecDeque<RangeBuf>,
1215 let buf = RangeBuf::from(chunk, self.off, fin); in write()
1547 pub struct RangeBuf { struct
1571 impl RangeBuf { impl
1573 pub fn from(buf: &[u8], off: u64, fin: bool) -> RangeBuf { in from() argument
1574 RangeBuf { in from()
1615 pub fn split_off(&mut self, at: usize) -> RangeBuf { in split_off() argument
1623 let buf = RangeBuf { in split_off()
1640 impl std::ops::Deref for RangeBuf { implementation
1648 impl Ord for RangeBuf { implementation
1649 fn cmp(&self, other: &RangeBuf) -> cmp::Ordering { in cmp()
1655 impl PartialOrd for RangeBuf { implementation
1656 fn partial_cmp(&self, other: &RangeBuf) -> Option<cmp::Ordering> { in partial_cmp()
1661 impl PartialEq for RangeBuf { implementation
1662 fn eq(&self, other: &RangeBuf) -> bool { in eq()
1686 let buf = RangeBuf::from(b"hello", 0, false); in empty_stream_frame()
1696 let buf = RangeBuf::from(b"", 10, false); in empty_stream_frame()
1703 let buf = RangeBuf::from(b"", 16, false); in empty_stream_frame()
1707 let buf = RangeBuf::from(b"", 5, true); in empty_stream_frame()
1714 let buf = RangeBuf::from(b"", 5, true); in empty_stream_frame()
1721 let buf = RangeBuf::from(b"aa", 3, true); in empty_stream_frame()
1728 let buf = RangeBuf::from(b"", 6, true); in empty_stream_frame()
1730 let buf = RangeBuf::from(b"", 4, true); in empty_stream_frame()
1744 let first = RangeBuf::from(b"hello", 0, false); in ordered_read()
1745 let second = RangeBuf::from(b"world", 5, false); in ordered_read()
1746 let third = RangeBuf::from(b"something", 10, true); in ordered_read()
1781 let first = RangeBuf::from(b"something", 0, false); in split_read()
1782 let second = RangeBuf::from(b"helloworld", 9, true); in split_read()
1821 let first = RangeBuf::from(b"something", 0, false); in incomplete_read()
1822 let second = RangeBuf::from(b"helloworld", 9, true); in incomplete_read()
1849 let first = RangeBuf::from(b"something", 0, false); in zero_len_read()
1850 let second = RangeBuf::from(b"", 9, true); in zero_len_read()
1877 let first = RangeBuf::from(b"something", 0, false); in past_read()
1878 let second = RangeBuf::from(b"hello", 3, false); in past_read()
1879 let third = RangeBuf::from(b"ello", 4, true); in past_read()
1880 let fourth = RangeBuf::from(b"ello", 5, true); in past_read()
1916 let first = RangeBuf::from(b"something", 0, false); in fully_overlapping_read()
1917 let second = RangeBuf::from(b"hello", 4, false); in fully_overlapping_read()
1947 let first = RangeBuf::from(b"something", 0, false); in fully_overlapping_read2()
1948 let second = RangeBuf::from(b"hello", 4, false); in fully_overlapping_read2()
1978 let first = RangeBuf::from(b"something", 0, false); in fully_overlapping_read3()
1979 let second = RangeBuf::from(b"hello", 3, false); in fully_overlapping_read3()
2009 let first = RangeBuf::from(b"somethingsomething", 0, false); in fully_overlapping_read_multi()
2010 let second = RangeBuf::from(b"hello", 3, false); in fully_overlapping_read_multi()
2011 let third = RangeBuf::from(b"hello", 12, false); in fully_overlapping_read_multi()
2046 let first = RangeBuf::from(b"something", 0, false); in overlapping_start_read()
2047 let second = RangeBuf::from(b"hello", 8, true); in overlapping_start_read()
2076 let first = RangeBuf::from(b"hello", 0, false); in overlapping_end_read()
2077 let second = RangeBuf::from(b"something", 3, true); in overlapping_end_read()
2106 let first = RangeBuf::from(b"he", 0, false); in overlapping_end_twice_read()
2107 let second = RangeBuf::from(b"ow", 4, false); in overlapping_end_twice_read()
2108 let third = RangeBuf::from(b"rl", 7, false); in overlapping_end_twice_read()
2109 let fourth = RangeBuf::from(b"helloworld", 0, true); in overlapping_end_twice_read()
2148 let first = RangeBuf::from(b"hellow", 0, false); in overlapping_end_twice_and_contained_read()
2149 let second = RangeBuf::from(b"barfoo", 10, true); in overlapping_end_twice_and_contained_read()
2150 let third = RangeBuf::from(b"rl", 7, false); in overlapping_end_twice_and_contained_read()
2151 let fourth = RangeBuf::from(b"elloworldbarfoo", 1, true); in overlapping_end_twice_and_contained_read()
2190 let first = RangeBuf::from(b"hello", 8, false); in partially_multi_overlapping_reordered_read()
2191 let second = RangeBuf::from(b"something", 0, false); in partially_multi_overlapping_reordered_read()
2192 let third = RangeBuf::from(b"moar", 11, true); in partially_multi_overlapping_reordered_read()
2227 let first = RangeBuf::from(b"aaa", 0, false); in partially_multi_overlapping_reordered_read2()
2228 let second = RangeBuf::from(b"bbb", 2, false); in partially_multi_overlapping_reordered_read2()
2229 let third = RangeBuf::from(b"ccc", 4, false); in partially_multi_overlapping_reordered_read2()
2230 let fourth = RangeBuf::from(b"ddd", 6, false); in partially_multi_overlapping_reordered_read2()
2231 let fifth = RangeBuf::from(b"eee", 9, false); in partially_multi_overlapping_reordered_read2()
2232 let sixth = RangeBuf::from(b"fff", 11, false); in partially_multi_overlapping_reordered_read2()
2517 let first = RangeBuf::from(b"hello", 0, false); in recv_flow_control()
2518 let second = RangeBuf::from(b"world", 5, false); in recv_flow_control()
2519 let third = RangeBuf::from(b"something", 10, false); in recv_flow_control()
2537 let third = RangeBuf::from(b"something", 10, false); in recv_flow_control()
2546 let first = RangeBuf::from(b"hello", 0, true); in recv_past_fin()
2547 let second = RangeBuf::from(b"world", 5, false); in recv_past_fin()
2558 let first = RangeBuf::from(b"hello", 0, true); in recv_fin_dup()
2559 let second = RangeBuf::from(b"hello", 0, true); in recv_fin_dup()
2576 let first = RangeBuf::from(b"hello", 0, true); in recv_fin_change()
2577 let second = RangeBuf::from(b"world", 5, true); in recv_fin_change()
2588 let first = RangeBuf::from(b"hello", 0, true); in recv_fin_lower_than_received()
2589 let second = RangeBuf::from(b"world", 5, false); in recv_fin_lower_than_received()
2602 let first = RangeBuf::from(b"hello", 0, false); in recv_fin_flow_control()
2603 let second = RangeBuf::from(b"world", 5, true); in recv_fin_flow_control()
2620 let first = RangeBuf::from(b"hello", 0, true); in recv_fin_reset_mismatch()
2631 let first = RangeBuf::from(b"hello", 0, false); in recv_reset_dup()
2643 let first = RangeBuf::from(b"hello", 0, false); in recv_reset_change()
2655 let first = RangeBuf::from(b"hello", 0, false); in recv_reset_lower_than_received()
2851 let first = RangeBuf::from(b"hello", 0, false); in recv_data_below_off()
2861 let first = RangeBuf::from(b"elloworld", 1, true); in recv_data_below_off()
2884 let buf = RangeBuf::from(b"hello", 0, true); in stream_complete()
3168 let mut buf = RangeBuf::from(b"helloworld", 5, true); in rangebuf_split_off()