Home
last modified time | relevance | path

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

/tonic/tonic/benches-disabled/benchmarks/
H A Drequest_response.rs40 group.bench_with_input(BenchmarkId::new("request", size.len()), size, |b, i| { in bench_throughput()
41 b.iter(|| build_request(i.to_string())) in bench_throughput()
43 group.bench_with_input(BenchmarkId::new("response", size.len()), size, |b, i| { in bench_throughput()
44 b.iter(|| build_response(i.to_string())) in bench_throughput()
H A Drequest_response_diverse_types.rs90 group.bench_with_input(BenchmarkId::new("request", size.len()), size, |b, i| { in bench_throughput()
91 b.iter(|| build_request(i.to_string())) in bench_throughput()
/tonic/tonic/src/
H A Drequest.rs219 .and_then(|i| i.local_addr()); in local_addr()
225 .and_then(|i| i.get_ref().local_addr()) in local_addr()
241 .and_then(|i| i.remote_addr()); in remote_addr()
247 .and_then(|i| i.get_ref().remote_addr()) in remote_addr()
263 .and_then(|i| i.peer_certs()) in peer_certs()
H A Dstatus.rs782 pub fn from_i32(i: i32) -> Code { in from_i32()
783 Code::from(i) in from_i32()
847 fn from(i: i32) -> Self { in from()
848 match i { in from()
956 for i in 0..(Code::Unauthenticated as i32) { in code_from_i32()
957 let code = Code::from(i); in code_from_i32()
959 i, code as i32, in code_from_i32()
961 i, code, code as i32, in code_from_i32()
/tonic/examples/src/streaming/
H A Dclient.rs12 tokio_stream::iter(1..usize::MAX).map(|i| EchoRequest { in echo_requests_iter()
13 message: format!("msg {:02}", i), in echo_requests_iter()
/tonic/examples/src/richer-error/
H A Dclient_vec.rs30 for (i, err_detail) in err_details.iter().enumerate() { in main()
/tonic/tonic/src/codec/
H A Dprost.rs184 let mut i = 0usize; in decode() localVariable
187 i += 1; in decode()
189 assert_eq!(i, 1); in decode()
/tonic/tonic-web/src/
H A Dcall.rs404 for (i, b) in buf.iter().enumerate() { in decode_trailers_frame()
406 if b == &b'\r' && buf.get(i + 1) == Some(&b'\n') { in decode_trailers_frame()
408 let trailer = temp_buf.copy_to_bytes(i - cursor_pos); in decode_trailers_frame()
410 cursor_pos = i + 2; in decode_trailers_frame()
/tonic/examples/proto/googleapis/google/pubsub/v1/
H A Dpubsub.proto660 // is considered to be <i>outstanding</i>. During that time period, the
724 // parent project (i.e.,
775 // account associated with the enclosing subscription's parent project (i.e.,
800 // A policy that specifies the conditions for resource expiration (i.e.,
844 // controls the shape of the pushed message (i.e., its fields and metadata).
/tonic/
H A DCONTRIBUTING.md418 conventional-changelog -p angular -i CHANGELOG.md -s