Searched refs:max (Results 1 – 4 of 4) sorted by relevance
| /tonic/tonic/src/transport/service/ |
| H A D | grpc_timeout.rs | 244 let max = g.choose(&(1..70).collect::<Vec<_>>()).copied().unwrap(); in arbitrary() localVariable 245 Self(gen_string(g, 0, max)) in arbitrary() 250 fn gen_string(g: &mut Gen, min: usize, max: usize) -> String { in gen_string() 251 let bytes: Vec<_> = (min..max) in gen_string()
|
| /tonic/examples/src/routeguide/ |
| H A D | server.rs | 160 let right = cmp::max(lo.longitude, hi.longitude); in in_range() 161 let top = cmp::max(lo.latitude, hi.latitude); in in_range()
|
| /tonic/tonic/src/transport/server/ |
| H A D | mod.rs | 235 pub fn max_concurrent_streams(self, max: impl Into<Option<u32>>) -> Self { in max_concurrent_streams() 237 max_concurrent_streams: max.into(), in max_concurrent_streams() 312 pub fn http2_max_pending_accept_reset_streams(self, max: Option<usize>) -> Self { in http2_max_pending_accept_reset_streams() 314 http2_max_pending_accept_reset_streams: max, in http2_max_pending_accept_reset_streams() 348 pub fn http2_max_header_list_size(self, max: impl Into<Option<u32>>) -> Self { in http2_max_header_list_size() 350 http2_max_header_list_size: max.into(), in http2_max_header_list_size()
|
| /tonic/ |
| H A D | CHANGELOG.md | 158 * **codec:** Configure max request message size ([#1274](https://github.com/hyperium/tonic/issues/1… 472 * **transport:** add max http2 frame size to server. ([#529](https://github.com/hyperium/tonic/issu…
|