Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 55) sorted by relevance

123

/webrtc/constraints/src/capability/
H A Dvalue_range.rs31 pub min: Option<T>, field
42 min: Default::default(), in default()
50 let (min, max) = range.into_inner(); in from()
52 min: Some(min), in from()
61 min: Some(range.start), in from()
70 min: None, in from()
83 if let Some(ref min) = self.min { in contains()
84 if min > value { in contains()
109 assert_eq!(subject.min, None); in default()
136 assert_eq!(subject.min, None); in range_to_inclusive()
[all …]
/webrtc/constraints/src/algorithms/fitness_distance/value_range_constraint/tests/
H A Du64.rs23 min: None,
44 min: None,
155 min: None,
183 min: None,
204 min: None,
233 min: None,
239 min: None,
265 min: None,
271 min: None,
293 min: None,
[all …]
H A Df64.rs23 min: None,
44 min: None,
155 min: None,
183 min: None,
204 min: None,
233 min: None,
239 min: None,
265 min: None,
271 min: None,
293 min: None,
[all …]
H A Dempty.rs22 min: None,
/webrtc/constraints/src/constraint/
H A Dvalue_range.rs112 pub min: Option<T>, field
165 pub fn min<U>(mut self, min: U) -> Self in min() method
169 self.min = min.into(); in min()
208 min: self.min, in into_required_only()
220 min: None, in default()
238 } else if let (Some(min), Some(max)) = (&self.min, &self.max) { in fmt()
241 } else if let Some(min) = &self.min { in fmt()
291 let min = if min_is_some { Some(1) } else { None }; in is_required() localVariable
306 min, in is_required()
337 let min = if min_is_some { Some(1) } else { None }; in constraint() localVariable
[all …]
/webrtc/constraints/tests/
H A Dw3c_spec_examples.rs68 min: Some(640), in w3c_spec_example_2()
78 min: Some(480), in w3c_spec_example_2()
89 min: Some(20.0), in w3c_spec_example_2()
136 min: Some(480), in w3c_spec_example_3()
146 min: Some(640), in w3c_spec_example_3()
156 min: Some(30.0), in w3c_spec_example_3()
170 min: Some(50.0), in w3c_spec_example_3()
180 min: Some(40.0), in w3c_spec_example_3()
/webrtc/constraints/src/
H A Dmacros.rs235 min: 30.0, in range()
240 ResolvedValueRangeConstraint::default().min(30.0).max(60.0), in range()
278 min: 30.0, in mandatory_constraints()
299 ResolvedValueRangeConstraint::default().min(30.0).max(60.0), in mandatory_constraints()
327 min: 30.0, in advanced_constraints()
349 .min(30.0) in advanced_constraints()
373 min: 30.0, in constraints()
389 min: 30.0, in constraints()
413 .min(30.0) in constraints()
435 .min(30.0) in constraints()
/webrtc/sdp/src/util/
H A Dutil_test.rs154 let mut min = 0x7FFFFFFFFFFFFFFFu64; in test_new_session_id() localVariable
162 if r < min { in test_new_session_id()
163 min = r in test_new_session_id()
169 if min > 0x1000000000000000 { in test_new_session_id()
/webrtc/constraints/src/algorithms/
H A Dfitness_distance.rs48 let norm = (lhs.abs() + rhs.abs()).min(f64::MAX); in nearly_cmp()
59 fn is_nearly_greater_than_or_equal_to(actual: f64, min: f64) -> bool { in is_nearly_greater_than_or_equal_to()
60 nearly_cmp(actual, min) != Ordering::Less in is_nearly_greater_than_or_equal_to()
/webrtc/constraints/src/algorithms/fitness_distance/
H A Dvalue_range_constraint.rs41 if let Some(min) = self.min {
53 min as f64,
H A Dsetting.rs250 min: None, in missing_settings()
256 min: None, in missing_settings()
292 min: None, in compatible_settings()
298 min: None, in compatible_settings()
331 min: None, in incompatible_settings()
337 min: None, in incompatible_settings()
/webrtc/stun/src/
H A Daddr.rs80 let l = std::cmp::min(ip.len(), v[4..].len()); in get_from_as()
85 let l = std::cmp::min(ip.len(), v[4..].len()); in get_from_as()
/webrtc/rtp/src/codecs/g7xx/
H A Dmod.rs28 let current_fragment_size = std::cmp::min(mtu, payload_data_remaining); in payload()
/webrtc/util/
H A DCHANGELOG.md18 * Increase min verison of `log` dependency to `0.4.16`. [#250 Fix log at ^0.4.16 to make tests comp…
H A DCargo.toml52 tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
/webrtc/rtp/src/codecs/vp8/
H A Dmod.rs63 if std::cmp::min(max_fragment_size, payload_data_remaining) <= 0 { in payload()
70 std::cmp::min(max_fragment_size, payload_data_remaining) as usize; in payload()
/webrtc/srtp/
H A DCHANGELOG.md14 * Increased min verison of `log` dependency to `0.4.16`. [#250 Fix log at ^0.4.16 to make tests com…
H A DCargo.toml36 tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
/webrtc/interceptor/
H A DCargo.toml28 tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
/webrtc/mdns/
H A DCHANGELOG.md16 * Increased min verison of `log` dependency to `0.4.16`. [#250 Fix log at ^0.4.16 to make tests com…
/webrtc/data/
H A DCargo.toml25 tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
/webrtc/stun/
H A DCargo.toml32 tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
/webrtc/util/src/marshal/
H A Dexact_size_buf.rs89 limit.min(inner_ref.len()) in len()
/webrtc/sctp/
H A DCargo.toml28 tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
/webrtc/turn/
H A DCargo.toml30 tokio-test = "0.4.0" # must match the min version of the `tokio` crate above

123