13 references to Constants
System.ServiceModel.Primitives (13)
System\ServiceModel\Channels\TransmissionStrategy.cs (13)
89
_meanRtt = Math.Min((long)initRtt.TotalMilliseconds,
Constants
.MaxMeanRtt >>
Constants
.TimeMultiplier) <<
Constants
.TimeMultiplier;
93
_timeout = Math.Max(((200 <<
Constants
.TimeMultiplier) * 2) + _meanRtt, _meanRtt + (_serrRtt <<
Constants
.ChebychevFactor));
123
return (Ticks.Now / TimeSpan.TicksPerMillisecond) <<
Constants
.TimeMultiplier;
151
return (int)(_timeout >>
Constants
.TimeMultiplier);
735
_serrRtt = Math.Min(_serrRtt + ((Math.Abs(error) - _serrRtt) >>
Constants
.Gain),
Constants
.MaxSerrRtt);
736
_meanRtt = Math.Min(_meanRtt + (error >>
Constants
.Gain),
Constants
.MaxMeanRtt);
737
_timeout = Math.Max(((200 <<
Constants
.TimeMultiplier) * 2) + _meanRtt, _meanRtt + (_serrRtt <<
Constants
.ChebychevFactor));