Searched refs:exp (Results 1 – 4 of 4) sorted by relevance
| /webrtc/rtcp/src/payload_feedbacks/receiver_estimated_maximum_bitrate/ |
| H A D | mod.rs | 140 let mut exp = 0; in marshal_to() localVariable 152 exp += 1; in marshal_to() 155 if exp >= (1 << 6) { in marshal_to() 164 buf.put_u8((exp << 2) as u8 | (mantissa >> 16) as u8); in marshal_to() 245 let mut exp = (b17 as u64) >> 2; in unmarshal() localVariable 246 exp += 127; // bias for IEEE754 in unmarshal() 247 exp += 23; // IEEE754 biases the decimal to the left, abs-send-time biases it to the right in unmarshal() 257 exp -= 1; in unmarshal() 263 let bitrate = f32::from_bits(((exp as u32) << 23) | (mantissa & MANTISSA_MAX)); in unmarshal()
|
| /webrtc/util/src/replay_detector/ |
| H A D | replay_detector_test.rs | 264 let exp = if k == 0 { &expected } else { &expected_wrap }; in test_replay_detector() localVariable 275 assert_eq!(&out, exp, "{name} failed"); in test_replay_detector()
|
| /webrtc/sctp/src/timer/ |
| H A D | timer_test.rs | 98 let exp = vec![ in test_rto_manager_rto_calculation_small_rtt() localVariable 105 assert_eq!(rto, exp[i], "should be equal: {i}"); in test_rto_manager_rto_calculation_small_rtt() 114 let exp = vec![ in test_rto_manager_rto_calculation_large_rtt() localVariable 124 assert_eq!(rto, exp[i], "should be equal: {i}"); in test_rto_manager_rto_calculation_large_rtt()
|
| /webrtc/sctp/src/queue/ |
| H A D | queue_test.rs | 381 for exp in expects { in test_pending_queue_fragments() 385 assert_eq!(c.tsn, exp, "TSN should match"); in test_pending_queue_fragments() 415 for exp in expects { in test_pending_queue_selection_persistence() 419 assert_eq!(c.tsn, exp, "TSN should match"); in test_pending_queue_selection_persistence()
|