Searched refs:grow (Results 1 – 5 of 5) sorted by relevance
156 fn grow(&mut self, n: usize, resize: bool) { in grow() method183 self.grow(last, true); // growing cap(Raw) to fit TLV in add()205 self.grow(last, true); in add()221 self.grow(4, false); in write_length()227 self.grow(MESSAGE_HEADER_SIZE, false); in write_header()253 self.grow(2, false); in write_type()
65 async fn test_wraparound(grow: bool) { in test_wraparound()69 let result = b.grow(); in test_wraparound()90 if grow { in test_wraparound()92 let result = b.grow(); in test_wraparound()108 if !grow { in test_wraparound()
44 fn grow(&mut self) -> Result<()> { in grow() method145 b.grow()?; in write()
20 control the buffered amount in order not to indefinitely grow the buffer size to eventually
548 m.grow(512, false); in test_message_grow()557 m.grow(2, false); in test_message_grow_smaller()