13 references to Constants
System.ServiceModel (13)
System\ServiceModel\Channels\TransmissionStrategy.cs (13)
103
this.meanRtt = Math.Min((long)initRtt.TotalMilliseconds,
Constants
.MaxMeanRtt >>
Constants
.TimeMultiplier) <<
Constants
.TimeMultiplier;
107
this.timeout = Math.Max(((200 <<
Constants
.TimeMultiplier) * 2) + this.meanRtt, this.meanRtt + (this.serrRtt <<
Constants
.ChebychevFactor));
143
return (Ticks.Now / TimeSpan.TicksPerMillisecond) <<
Constants
.TimeMultiplier;
183
return (int)(this.timeout >>
Constants
.TimeMultiplier);
840
this.serrRtt = Math.Min(this.serrRtt + ((Math.Abs(error) - this.serrRtt) >>
Constants
.Gain),
Constants
.MaxSerrRtt);
841
this.meanRtt = Math.Min(this.meanRtt + (error >>
Constants
.Gain),
Constants
.MaxMeanRtt);
842
this.timeout = Math.Max(((200 <<
Constants
.TimeMultiplier) * 2) + this.meanRtt, this.meanRtt + (this.serrRtt <<
Constants
.ChebychevFactor));