/external/exoplayer/tree/library/ui/src/test/java/com/google/android/exoplayer2/ui/spherical/ |
D | TouchTrackerTest.java | 31 private static final float EPSILON = 0.00001f; field in TouchTrackerTest 65 assertThat(yaw).isWithin(EPSILON).of(0); in tap() 66 assertThat(pitch).isWithin(EPSILON).of(0); in tap() 72 assertThat(yaw).isWithin(EPSILON).of(-SWIPE_PX / PX_PER_DEGREES); in basicYaw() 73 assertThat(pitch).isWithin(EPSILON).of(0); in basicYaw() 80 assertThat(pitch).isWithin(EPSILON).of(0); in bigYaw() 86 assertThat(yaw).isWithin(EPSILON).of(0); in yawUnaffectedByPitch() 89 assertThat(yaw).isWithin(EPSILON).of(-SWIPE_PX / PX_PER_DEGREES); in yawUnaffectedByPitch() 95 assertThat(yaw).isWithin(EPSILON).of(0); in basicPitch() 96 assertThat(pitch).isWithin(EPSILON).of(SWIPE_PX / PX_PER_DEGREES); in basicPitch() [all …]
|
/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | NFAFactory.java | 249 transitionBetweenStates(left, right, Label.EPSILON); in build_Epsilon() 342 transitionBetweenStates(A.right, B.left, Label.EPSILON); in build_AB() 358 transitionBetweenStates(startOfAlt, set.left, Label.EPSILON); in build_AlternativeBlockFromSet() 398 transitionBetweenStates(startOfAlt, g.left, Label.EPSILON); in build_AlternativeBlock() 417 transitionBetweenStates(left, g.left, Label.EPSILON); in build_AlternativeBlock() 418 transitionBetweenStates(g.right, blockEndNFAState, Label.EPSILON); in build_AlternativeBlock() 425 transitionBetweenStates(prevAlternative, left, Label.EPSILON); in build_AlternativeBlock() 463 transitionBetweenStates(A.right, blockEndNFAState, Label.EPSILON); in build_Aoptional() 466 transitionBetweenStates(decisionState, emptyAlt, Label.EPSILON); in build_Aoptional() 467 transitionBetweenStates(emptyAlt, blockEndNFAState, Label.EPSILON); in build_Aoptional() [all …]
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | frame_pair.cc | 173 if (((dist2_x > EPSILON && dist1_x > EPSILON) || in FillScales() 174 (dist2_x < -EPSILON && dist1_x < -EPSILON)) && in FillScales() 175 ((dist2_y > EPSILON && dist1_y > EPSILON) || in FillScales() 176 (dist2_y < -EPSILON && dist1_y < -EPSILON))) { in FillScales() 204 if (num_items == 0 || sum < EPSILON) { in GetMedian()
|
D | utils_neon.cc | 63 SCHECK(NearlyEqual(mean_neon, mean_cpu, EPSILON * num_vals), in ComputeMeanNeon() 101 SCHECK(NearlyEqual(std_dev_neon, std_dev_cpu, EPSILON * num_vals), in ComputeStdDevNeon() 141 EPSILON * num_vals), in ComputeCrossCorrelationNeon()
|
D | utils.h | 37 #define EPSILON 0.00001f macro 154 return NearlyEqual(a, b, EPSILON); in NearlyEqual() 366 if (fabs(det) < EPSILON) { in Invert2x2()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ZoneInflections.java | 43 static private final long EPSILON = 15 * MINUTE; // smallest interval we test field in ZoneInflections 120 while (high - low > EPSILON) { in ZoneInflections() 122 mid = (mid / EPSILON) * EPSILON; // round to nearest possible point in ZoneInflections() 124 mid += EPSILON; in ZoneInflections() 162 - EPSILON; in compareTo() 166 mostRecentDateTime.value = ip1.utcDateTime - EPSILON; in compareTo() 170 mostRecentDateTime.value = ip2.utcDateTime - EPSILON; in compareTo()
|
/external/icu/icu4c/source/data/translit/ |
D | el_el_Latn_BGN.txt | 103 [ἘἙ] → Ε ; # GREEK CAPITAL LETTER EPSILON 104 [ἐἑὲέ] → ε ; # GREEK SMALL LETTER EPSILON 105 [ἚἛἜἝῈΈ] → Έ ; # GREEK CAPITAL LETTER EPSILON WITH TONOS 106 [ἒἓἔἕ] → έ ; # GREEK SMALL LETTER EPSILON WITH TONOS 328 ΕΙ → I ; # GREEK CAPITAL LETTER EPSILON + CAPITAL IOTA 329 Ει → I ; # GREEK CAPITAL LETTER EPSILON + SMALL IOTA 330 ει → i ; # GREEK SMALL LETTER EPSILON + SMALL IOTA 331 ΕΪ → EÏ ; # GREEK CAPITAL LETTER EPSILON + CAPITAL IOTA DIAERESIS 332 Εϊ → Eï ; # GREEK CAPITAL LETTER EPSILON + SMALL IOTA DIAERESIS 333 εϊ → eï ; # GREEK SMALL LETTER EPSILON + SMALL IOTA DIAERESIS [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | ViewManagerImplTest.java | 102 private static final double EPSILON = 1e-7; field in ViewManagerImplTest 319 EPSILON); in testRecordCumulative() local 443 EPSILON); in testRecordInterval() local 450 EPSILON); in testRecordInterval() local 462 EPSILON); in testRecordInterval() local 470 EPSILON); in testRecordInterval() local 493 EPSILON); in getViewDoesNotClearStats() local 508 EPSILON); in getViewDoesNotClearStats() local 535 EPSILON); in testRecordCumulativeMultipleTagValues() local 580 EPSILON); in testRecordIntervalMultipleTagValues() local [all …]
|
D | RecordUtilsTest.java | 50 private static final double EPSILON = 1e-7; field in RecordUtilsTest 113 assertThat(mutableDistribution.getSumOfSquaredDeviations()).isWithin(EPSILON).of(0); in createMutableAggregation()
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TensorTest.java | 41 private static final double EPSILON = 1e-7; field in TensorTest 82 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithByteBuffer() 109 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createFromBufferWithNonNativeByteOrder() 125 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithTypedBuffer() 189 assertEquals(floats[0], bbuf.asFloatBuffer().get(0), EPSILON); in writeTo() 194 assertEquals(doubles[0], bbuf.asDoubleBuffer().get(0), EPSILON); in writeTo() 221 assertEquals(doubles[0], buf.get(0), EPSILON); in writeTo() 229 assertEquals(floats[0], buf.get(0), EPSILON); in writeTo() 235 assertEquals(doubles[0], buf.get(0), EPSILON); in writeTo() 263 assertArrayEquals(doubles, actual, EPSILON); in writeTo() [all …]
|
/external/perfetto/ui/src/common/ |
D | time.ts | 17 const EPSILON = 0.0000000001; constant 95 return Math.abs(this.start - other.start) < EPSILON && 96 Math.abs(this.end - other.end) < EPSILON;
|
D | time_unittest.ts | 35 expect((new TimeSpan(0, 1)).equals(new TimeSpan(0, 1 + Number.EPSILON)))
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/ |
D | TextClassifierSettingsTest.java | 36 private static final float EPSILON = 0.0001f; field in TextClassifierSettingsTest 71 settings -> assertThat(settings.getLangIdThresholdOverride()).isWithin(EPSILON).of(3.14f)); in floatSetting() 90 .usingTolerance(EPSILON) in floatListSetting()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 47 private static final double EPSILON = 1e-8; field in RateLimiterTest 136 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00 in testSimpleAcquireReturnValues() 138 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately in testSimpleAcquireReturnValues() 139 assertEquals(0.2, limiter.acquire(), EPSILON); // R0.20 in testSimpleAcquireReturnValues() 145 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast() 147 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast() 148 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast() 149 assertEquals(0.2, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 47 private static final double EPSILON = 1e-8; field in RateLimiterTest 136 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00 in testSimpleAcquireReturnValues() 138 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately in testSimpleAcquireReturnValues() 139 assertEquals(0.2, limiter.acquire(), EPSILON); // R0.20 in testSimpleAcquireReturnValues() 145 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast() 147 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast() 148 assertEquals(0.0, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast() 149 assertEquals(0.2, limiter.acquire(), EPSILON); in testSimpleAcquireEarliestAvailableIsInPast()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Utils.java | 21 private static final float EPSILON = 0.0001f; field in Utils 24 return close(a, b, EPSILON); in close()
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLayeredFramebuffer.cpp | 333 #define EPSILON (1) in iterate() macro 338 if (de::abs((int)data[0] - (int)ref_data[0]) > EPSILON || in iterate() 339 de::abs((int)data[1] - (int)ref_data[1]) > EPSILON || in iterate() 340 de::abs((int)data[2] - (int)ref_data[2]) > EPSILON || in iterate() 341 de::abs((int)data[3] - (int)ref_data[3]) > EPSILON) in iterate() 345 << "Reference value is different than the rendered data (epsilon > " << EPSILON in iterate() 356 #undef EPSILON in iterate() 744 #define EPSILON (1) in iterate() macro 748 if (de::abs((int)pixel[0] - clear_color_int[0]) > EPSILON || in iterate() 749 de::abs((int)pixel[1] - clear_color_int[1]) > EPSILON || in iterate() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/video/spherical/ |
D | ProjectionTest.java | 30 private static final float EPSILON = .00001f; field in ProjectionTest 59 assertEquals(RADIUS, Math.sqrt(x * x + y * y + z * z), EPSILON); in sphericalMesh()
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/ |
D | ZerosTest.java | 34 private static final float EPSILON = 1e-7f; field in ZerosTest 65 assertEquals(0.0f, actual[i][j], EPSILON); in createFloatZeros() 83 assertEquals(0.0, actual[i][j], EPSILON); in createDoubleZeros()
|
D | ConstantTest.java | 41 private static final float EPSILON = 1e-7f; field in ConstantTest 98 assertArrayEquals(floats, result.expect(Float.class).copyTo(actual), EPSILON); in createFloatBuffer() 128 assertArrayEquals(doubles, result.expect(Double.class).copyTo(actual), EPSILON); in createDoubleBuffer()
|
/external/antlr/tool/src/main/java/org/antlr/analysis/ |
D | RuleClosureTransition.java | 49 super(Label.EPSILON, ruleStart); in RuleClosureTransition()
|
D | Label.java | 45 public static final int EPSILON = -5; field in Label 195 return label==EPSILON; in isEpsilon()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | EigenDecompositionImpl.java | 144 final double eps = 10 * rows * columns * MathUtils.EPSILON; in isSymmetric() 498 if (FastMath.abs(realEigenvalues[i])<=MathUtils.EPSILON*maxAbsoluteValue) { in findEigenVectors() 501 if (FastMath.abs(e[i])<=MathUtils.EPSILON*maxAbsoluteValue) { in findEigenVectors() 605 if (FastMath.abs(realEigenvalues[i])<MathUtils.EPSILON*maxAbsoluteValue) { in findEigenVectors()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
D | SimpleScalarValueChecker.java | 38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
D | ANTLRv3.g | 49 EPSILON; 221 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"]) 360 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
|