Searched refs:READ_RAW_BYTES_MAX_ALLOC (Results 1 – 2 of 2) sorted by relevance
17 use crate::coded_input_stream::READ_RAW_BYTES_MAX_ALLOC;253 if count >= READ_RAW_BYTES_MAX_ALLOC && count > target.capacity() { in read_exact_to_vec()256 target.reserve(READ_RAW_BYTES_MAX_ALLOC); in read_exact_to_vec()302 if len >= READ_RAW_BYTES_MAX_ALLOC { in read_exact_bytes()
31 pub(crate) const READ_RAW_BYTES_MAX_ALLOC: usize = 10_000_000; constant616 if count >= READ_RAW_BYTES_MAX_ALLOC { in read_raw_bytes_into()803 use super::READ_RAW_BYTES_MAX_ALLOC;981 for i in 0..READ_RAW_BYTES_MAX_ALLOC + 1000 { in test_input_stream_read_raw_bytes_into_huge()991 is.read_raw_bytes_into(READ_RAW_BYTES_MAX_ALLOC as u32 + 10, &mut buf) in test_input_stream_read_raw_bytes_into_huge()994 assert_eq!(READ_RAW_BYTES_MAX_ALLOC + 10, buf.len()); in test_input_stream_read_raw_bytes_into_huge()