Searched refs:cmp (Results 1 – 4 of 4) sorted by relevance
| /tonic/tonic/src/metadata/ |
| H A D | value.rs | 12 use std::{cmp, fmt}; 644 fn partial_cmp(&self, other: &MetadataValue<VE>) -> Option<cmp::Ordering> { in partial_cmp() 645 Some(self.cmp(other)) in partial_cmp() 651 fn cmp(&self, other: &Self) -> cmp::Ordering { in cmp() method 652 self.inner.cmp(&other.inner) in cmp() 672 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() 679 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() 700 fn partial_cmp(&self, other: &MetadataValue<VE>) -> Option<cmp::Ordering> { in partial_cmp() 707 fn partial_cmp(&self, other: &MetadataValue<VE>) -> Option<cmp::Ordering> { in partial_cmp() 721 fn partial_cmp(&self, other: &String) -> Option<cmp::Ordering> { in partial_cmp() [all …]
|
| /tonic/examples/src/routeguide/ |
| H A D | server.rs | 154 use std::cmp; in in_range() 159 let left = cmp::min(lo.longitude, hi.longitude); in in_range() 160 let right = cmp::max(lo.longitude, hi.longitude); in in_range() 161 let top = cmp::max(lo.latitude, hi.latitude); in in_range() 162 let bottom = cmp::min(lo.latitude, hi.latitude); in in_range()
|
| /tonic/tonic/benches/ |
| H A D | decode.rs | 68 let split = std::cmp::min(self.chunk_size, self.data.remaining()); in poll_frame()
|
| /tonic/tonic/src/transport/service/ |
| H A D | grpc_timeout.rs | 53 let shorter_duration = std::cmp::min(header, server); in call()
|