Searched refs:min_buffer_len (Results 1 – 2 of 2) sorted by relevance
43 pub fn new(min_buffer_len: usize) -> Buffer { in new()44 let min = cmp::max(1, min_buffer_len); in new()70 pub fn min_buffer_len(&self) -> usize { in min_buffer_len() method
1420 if self.buf.len() >= self.buf.min_buffer_len() { in next()1428 self.buf.len() - self.buf.min_buffer_len(); in next()1430 self.search_pos - self.buf.min_buffer_len(); in next()1431 self.search_pos = self.buf.min_buffer_len(); in next()1496 let end = self.search_pos.saturating_sub(self.buf.min_buffer_len()); in unreported()