Home
last modified time | relevance | path

Searched refs:u64 (Results 1 – 10 of 10) sorted by relevance

/tonic/tonic/benches-disabled/benchmarks/compiled_protos/
H A Ddiverse_types.rs26 pub field5: ::std::vec::Vec<u64>,
111 pub field21: u64,
125 pub field207: u64,
127 pub field300: u64,
/tonic/tonic/src/transport/service/
H A Dgrpc_timeout.rs96 const SECONDS_IN_HOUR: u64 = 60 * 60;
97 const SECONDS_IN_MINUTE: u64 = 60;
127 let timeout_value: u64 = timeout_value.parse().map_err(|_| val)?; in try_parse_grpc_timeout()
/tonic/tonic/benches/
H A Ddecode.rs22 b.bytes = body.len() as u64;
80 SizeHint::with_exact(self.data.len() as u64) in size_hint()
/tonic/tonic/benches-disabled/benchmarks/
H A Drequest_response.rs38 group.throughput(Throughput::Bytes(size.len() as u64)); in bench_throughput()
H A Drequest_response_diverse_types.rs88 group.throughput(Throughput::Bytes(size.len() as u64)); in bench_throughput()
/tonic/interop/src/
H A Dserver.rs74 tokio::time::sleep(Duration::from_micros(param.interval_us as u64)).await; in streaming_output_call()
129 tokio::time::sleep(Duration::from_micros(param.interval_us as u64)).await; in full_duplex_call()
/tonic/tonic-types/src/richer_error/std_messages/
H A Dretry_info.rs127 let retry_info = RetryInfo::new(Some(Duration::from_secs(u64::MAX))); in gen_retry_info()
/tonic/tonic/src/metadata/
H A Dvalue.rs524 from_u64: u64 => 20,
899 fn hash(value: Amv) -> u64 { in test_ascii_value_hash() argument
922 fn hash(value: Bmv) -> u64 { in test_valid_binary_value_hash() argument
944 fn hash(value: Bmv) -> u64 { in test_invalid_binary_value_hash() argument
/tonic/tonic/src/transport/channel/
H A Dendpoint.rs25 pub(crate) rate_limit: Option<(u64, Duration)>,
207 pub fn rate_limit(self, limit: u64, duration: Duration) -> Self { in rate_limit() argument
/tonic/tonic/src/transport/server/
H A Dmod.rs78 const DEFAULT_HTTP2_KEEPALIVE_TIMEOUT_SECS: u64 = 20;