/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | MutableAggregationTest.java | 62 private static final double TOLERANCE = 1e-6; field in MutableAggregationTest 71 assertThat(MutableSumDouble.create().getSum()).isWithin(TOLERANCE).of(0); in testCreateEmpty() 72 assertThat(MutableSumLong.create().getSum()).isWithin(TOLERANCE).of(0); in testCreateEmpty() 74 assertThat(MutableMean.create().getMean()).isWithin(TOLERANCE).of(0); in testCreateEmpty() 80 assertThat(mutableDistribution.getMean()).isWithin(TOLERANCE).of(0); in testCreateEmpty() 84 assertThat(mutableDistribution.getSumOfSquaredDeviations()).isWithin(TOLERANCE).of(0); in testCreateEmpty() 131 TOLERANCE); in testAdd() 133 aggregations.get(1).toAggregationData(), AggregationData.SumDataLong.create(20), TOLERANCE); in testAdd() 135 aggregations.get(2).toAggregationData(), AggregationData.CountData.create(5), TOLERANCE); in testAdd() 139 TOLERANCE); in testAdd() [all …]
|
D | IntervalBucketTest.java | 42 private static final double TOLERANCE = 1e-6; field in IntervalBucketTest 102 assertThat(mutableMean1.getSum()).isWithin(TOLERANCE).of(20); in testRecord() 103 assertThat(mutableMean2.getSum()).isWithin(TOLERANCE).of(10); in testRecord() 114 .isWithin(TOLERANCE) in testGetFraction()
|
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
D | shampoo_test.py | 33 TOLERANCE = 1e-3 variable 86 atol=TOLERANCE, rtol=TOLERANCE) 97 atol=TOLERANCE, rtol=TOLERANCE) 139 atol=TOLERANCE, rtol=TOLERANCE) 152 atol=TOLERANCE, rtol=TOLERANCE) 211 atol=TOLERANCE, rtol=TOLERANCE) 236 atol=TOLERANCE, rtol=TOLERANCE) 285 new_val_np, new_val, atol=TOLERANCE, rtol=TOLERANCE) 294 new_val_np, new_val, atol=TOLERANCE, rtol=TOLERANCE) 348 atol=TOLERANCE, rtol=TOLERANCE) [all …]
|
D | matrix_functions_test.py | 26 TOLERANCE = 1e-3 variable 48 expected_mat, mat_root, atol=TOLERANCE, rtol=TOLERANCE) 59 expected_mat, mat_root, atol=TOLERANCE, rtol=TOLERANCE)
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
D | SummaryTest.java | 36 private static final double TOLERANCE = 1e-6; field in SummaryTest 41 assertThat(valueAtPercentile.getPercentile()).isWithin(TOLERANCE).of(99.5); in createAndGet_ValueAtPercentile() 42 assertThat(valueAtPercentile.getValue()).isWithin(TOLERANCE).of(10.2); in createAndGet_ValueAtPercentile() 65 assertThat(snapshot.getSum()).isWithin(TOLERANCE).of(87.07); in createAndGet_Snapshot() 123 assertThat(summary.getSum()).isWithin(TOLERANCE).of(6.6); in createAndGet_Summary()
|
D | DistributionTest.java | 48 private static final double TOLERANCE = 1e-6; field in DistributionTest 75 assertThat(exemplar.getValue()).isWithin(TOLERANCE).of(-9.9); in createAndGet_Exemplar() 156 assertThat(distribution.getSum()).isWithin(TOLERANCE).of(6.6); in createAndGet_Distribution() 157 assertThat(distribution.getSumOfSquaredDeviations()).isWithin(TOLERANCE).of(678.54); in createAndGet_Distribution()
|
D | ValueTest.java | 44 private static final double TOLERANCE = 1e-6; field in ValueTest 64 assertThat(((ValueDouble) value).getValue()).isWithin(TOLERANCE).of(-34.56); in createAndGet_ValueDouble()
|
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
D | elements.py | 9 TOLERANCE = 0.00000001 variable 18 return abs(f1 - f2) < TOLERANCE 93 return self.center.distance(p) <= self.radius + TOLERANCE
|
/external/opencensus-java/api/src/test/java/io/opencensus/stats/ |
D | AggregationDataTest.java | 48 private static final double TOLERANCE = 1e-6; field in AggregationDataTest 59 assertThat(distributionData.getMean()).isWithin(TOLERANCE).of(7.7); in testCreateDistributionData() 61 assertThat(distributionData.getMin()).isWithin(TOLERANCE).of(1.1); in testCreateDistributionData() 62 assertThat(distributionData.getMax()).isWithin(TOLERANCE).of(9.9); in testCreateDistributionData() 63 assertThat(distributionData.getSumOfSquaredDeviations()).isWithin(TOLERANCE).of(32.2); in testCreateDistributionData()
|
/external/skqp/tests/ |
D | ColorMatrixTest.cpp | 29 const int TOLERANCE = 1; in assert_color() local 30 assert_color(reporter, expected, actual, TOLERANCE); in assert_color()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 29 const int TOLERANCE = 1; in assert_color() local 30 assert_color(reporter, expected, actual, TOLERANCE); in assert_color()
|
/external/skqp/tools/viewer/ |
D | TouchGesture.cpp | 40 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align() local 41 if (SkScalarAbs(unit->fX) < TOLERANCE) { in unit_axis_align() 44 } else if (SkScalarAbs(unit->fY) < TOLERANCE) { in unit_axis_align()
|
/external/skia/tools/viewer/ |
D | TouchGesture.cpp | 40 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align() local 41 if (SkScalarAbs(unit->fX) < TOLERANCE) { in unit_axis_align() 44 } else if (SkScalarAbs(unit->fY) < TOLERANCE) { in unit_axis_align()
|
/external/skia/modules/pathkit/tests/ |
D | pathops.spec.js | 48 const TOLERANCE = 0.0001; constant 68 if (Math.abs(eCmd[arg] - aCmd[arg]) > TOLERANCE) {
|
/external/skqp/modules/pathkit/tests/ |
D | pathops.spec.js | 48 const TOLERANCE = 0.0001; constant 68 if (Math.abs(eCmd[arg] - aCmd[arg]) > TOLERANCE) {
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MutableAggregation.java | 43 private static final double TOLERANCE = 1e-6; field in MutableAggregation 337 if (Math.abs(1.0 - fraction) > TOLERANCE) { in combine()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_resize_bilinear_op_test.cc | 240 constexpr float TOLERANCE = 1.0e-5; in TestResizeBilinearOneDim() local 291 /*half_pixel_centers=*/false, MIN, MAX, TOLERANCE, in TestResizeBilinearOneDim()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_tests.c | 43 #define TOLERANCE 0.01 macro 222 if (fabs(probe[c] - expected[e*4+c]) >= TOLERANCE) { in util_probe_rect_rgba_multi()
|
/external/crcalc/src/com/hp/creals/ |
D | CR.java | 1577 private static BigInteger TOLERANCE = BigInteger.valueOf(4); field in gl_pi_CR 1601 while (a.subtract(b).subtract(TOLERANCE).signum() > 0) { in approximate()
|