/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
RuleClosureTransition.java | 49 super(Label.EPSILON, ruleStart);
|
Label.java | 36 * tokens. It can be an epsilon transition. It can be a semantic predicate 37 * (which assumes an epsilon transition) or a tree of predicates (in a DFA). 45 public static final int EPSILON = -5; 47 public static final String EPSILON_STR = "<EPSILON>"; 49 /** label is a semantic predicate; implies label is epsilon also */ 75 /** We have labels like EPSILON that are below 0; it's hard to 194 return label==EPSILON; 283 // labels must be the same even if epsilon or set or sempred etc...
|
/external/replicaisland/src/com/replica/replicaisland/ |
Utils.java | 21 private static final float EPSILON = 0.0001f; 24 return close(a, b, EPSILON); 27 public final static boolean close(float a, float b, float epsilon) { 28 return Math.abs(a - b) < epsilon;
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
common.js | 28 glMatrix.EPSILON = 0.000001;
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
UnitBezier.java | 31 private static final float EPSILON = 1e-6f; 82 if (Math.abs(value) < EPSILON) { 86 if (Math.abs(derivative) < EPSILON) { 106 if (Math.abs(value - target) < EPSILON) {
|
DampedSpring.java | 27 public static final float EPSILON = 0.01f; 132 boolean hasVelocity = Math.abs(mVelocity) >= EPSILON; 133 boolean atTarget = Math.abs(mTarget - mValue) < EPSILON;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
HistoryEvaluator.java | 27 private static final float EPSILON = 1e-5f; 96 return x <= EPSILON && x >= -EPSILON;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
NFAFactory.java | 40 * No optimization is done to remove unnecessary epsilon edges. 79 * and throw away any epsilon transitions used to link up simple elements. 98 // bypass epsilon transition and point to what the epsilon's 99 // target points to unless that epsilon transition points to 249 transitionBetweenStates(left, right, Label.EPSILON); 254 /** Build what amounts to an epsilon transition with a semantic 273 /** Build what amounts to an epsilon transition with an action. 331 /** From A B build A-e->B (that is, build an epsilon arc from right 343 transitionBetweenStates(A.right, B.left, Label.EPSILON); [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
normal_distribution_2d_test.cpp | 51 static const float EPSILON = 0.01f; 62 EXPECT_NEAR(probabilityDensity0, probabilityDensity1, EPSILON);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MatrixUtilsTests.java | 28 private static final float EPSILON = 0.00001f; 31 assertEqualsFloat(f0, f1, EPSILON);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
SimpleRealPointChecker.java | 38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
SimpleScalarValueChecker.java | 38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
SimpleVectorialPointChecker.java | 38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
SimpleVectorialValueChecker.java | 38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 49 private static final double EPSILON = 1e-8; 128 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00 130 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately 131 assertEquals(0.2, limiter.acquire(), EPSILON); // R0.20 137 assertEquals(0.0, limiter.acquire(), EPSILON); 139 assertEquals(0.0, limiter.acquire(), EPSILON); 140 assertEquals(0.0, limiter.acquire(), EPSILON); 141 assertEquals(0.2, limiter.acquire(), EPSILON);
|
/external/opencv3/modules/video/test/ |
test_kalman.cpp | 68 const double EPSILON = 1.000; 113 code = cvtest::cmpEps2( ts, _Sample, _state_post, EPSILON, false, "The final estimated state" );
|
/external/v8/test/mjsunit/ |
math-floor-part1.js | 72 testFloor(0, 1.0 - Number.EPSILON); 79 testFloor(1, 1.0 + Number.EPSILON); 83 testFloor(-1, -1 + Number.EPSILON); 84 testFloor(-2, -1 - Number.EPSILON);
|
number-is.js | 58 assertFalse(Number.isNaN(Number.EPSILON)); 86 assertFalse(Number.isInteger(Number.EPSILON)); 108 assertFalse(Number.isSafeInteger(Number.EPSILON));
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLRv3Tree.g | 124 | ^(ALT EPSILON EOA) 195 | ^(ALT EPSILON EOA)
|
/external/fonttools/Lib/fontTools/pens/ |
pointInsidePen.py | 15 EPSILON = 1e-10 16 ONE_PLUS_EPSILON = 1 + EPSILON 17 ZERO_MINUS_EPSILON = 0 - EPSILON
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
StochasticLinearRankerWithPrior.java | 27 private final float EPSILON = 0.0001f; 141 mAutoAlpha = (mPriorRankerPerf + EPSILON) / (mUserRankerPerf + mPriorRankerPerf + EPSILON);
|
/external/libvorbis/lib/ |
lsp.c | 309 #define EPSILON 10e-7 337 if(denom<EPSILON)denom=EPSILON; 340 if(denom>-(EPSILON))denom=-(EPSILON);
|
/external/eigen/lapack/ |
dlamch.f | 89 INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT, 100 EPS = EPSILON(ZERO) * 0.5 102 EPS = EPSILON(ZERO)
|
slamch.f | 93 INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT, 104 EPS = EPSILON(ZERO) * 0.5 106 EPS = EPSILON(ZERO)
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
EigenDecompositionImpl.java | 144 final double eps = 10 * rows * columns * MathUtils.EPSILON; 498 if (FastMath.abs(realEigenvalues[i])<=MathUtils.EPSILON*maxAbsoluteValue) { 501 if (FastMath.abs(e[i])<=MathUtils.EPSILON*maxAbsoluteValue) { 605 if (FastMath.abs(realEigenvalues[i])<MathUtils.EPSILON*maxAbsoluteValue) {
|