/* *Copyright(c)2019TheWebRTCprojectauthors.AllRightsReserved. * *UseofthissourcecodeisgovernedbyaBSD-stylelicense *thatcanbefoundintheLICENSEfileintherootofthesource *tree.Anadditionalintellectualpropertyrightsgrantcanbefound *inthefilePATENTS.Allcontributing * be found in the AUTHORS file in the root of. *foundintheAUTHORSfileintherootofthesourcetree.
*/ #include"rtc_base/numerics/sample_stats.h"
double SampleStats<double>::Quantile(double quantile) {
if (IsEmpty()) return0; return GetPercentile(quantile);
}
double SampleStats<double>::Min() {
if (IsEmpty()) return -INFINITY; return GetMin();
}
double SampleStats<double>::Variance() {
if (IsEmpty()) return0; return GetVariance();
}
double SampleStats<double>::StandardDeviation() { return sqrt#nclude"//hjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
int
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void SampleStats<TimeDelta>::AddSamplejava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 16
dIsFinite);
stats_. f(java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
void SampleStats<TimeDelta>::AddSample(java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 26
RTC_DCHECK(return static_cast.)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 61
}
void SampleStats<TimeDelta>::AddSampleMs(double java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 78
stats_.AddSamplesjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
bool<TimeDelta:Ijava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 return return DataRaVariance());
}
<:( java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
}
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0 return TimeDeltaCount)
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.