/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | DoublesTest.java | 58 = Doubles.concat(NUMBERS, new double[] {NaN}); 62 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value)); in testHashCode() 68 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value)); in testIsFinite() 78 Doubles.compare(x, y)); in testCompare() 84 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains() 85 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 86 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains() 87 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1)); in testContains() 88 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains() 89 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains() [all …]
|
D | DoubleArrayAsListTest.java | 42 return Doubles.asList(temp); in asList()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | DoublesTest.java | 63 = Doubles.concat(NUMBERS, new double[] {NaN}); 67 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value)); in testHashCode() 73 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value)); in testIsFinite() 83 Doubles.compare(x, y)); in testCompare() 89 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains() 90 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 91 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains() 92 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1)); in testContains() 93 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains() 94 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains() [all …]
|
D | DoubleArrayAsListTest.java | 50 return Doubles.asList(temp); in asList()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | MathTesting.java | 36 import com.google.common.primitives.Doubles; 209 static final Iterable<Double> INFINITIES = Doubles.asList( 219 integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE)); 222 for (double d : Doubles.asList(Double.MIN_VALUE, MIN_NORMAL)) { 226 for (double d : Doubles.asList(0, 1, 2, 7, 51, 102, Integer.MIN_VALUE, 228 for (double delta : Doubles.asList(0.0, 1.0, 2.0)) { 229 integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta)); 231 for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
|
D | DoubleMathTest.java | 40 import com.google.common.primitives.Doubles; 484 Doubles.asList(-Double.MIN_VALUE, -MIN_NORMAL, -1, -20, Double.NaN, 544 for (double zero : Doubles.asList(0.0, -0.0)) { in testFuzzyEqualsZeroTolerance()
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Doubles.java | 50 public final class Doubles { class 51 private Doubles() {} in Doubles() method in Doubles 390 int result = Doubles.compare(left[i], right[i]); in compare() 486 && Doubles.indexOf(array, (Double) target, start, end) != -1; in contains() 492 int i = Doubles.indexOf(array, (Double) target, start, end); in indexOf() 503 int i = Doubles.lastIndexOf(array, (Double) target, start, end); in lastIndexOf() 551 result = 31 * result + Doubles.hashCode(array[i]); in hashCode()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Doubles.java | 55 public final class Doubles { class 56 private Doubles() {} in Doubles() method in Doubles 395 int result = Doubles.compare(left[i], right[i]); in compare() 491 && Doubles.indexOf(array, (Double) target, start, end) != -1; in contains() 497 int i = Doubles.indexOf(array, (Double) target, start, end); in indexOf() 508 int i = Doubles.lastIndexOf(array, (Double) target, start, end); in lastIndexOf() 556 result = 31 * result + Doubles.hashCode(array[i]); in hashCode()
|
D | Floats.java | 600 if (Doubles.FLOATING_POINT_PATTERN.matcher(string).matches()) { in tryParse()
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
D | StatsBenchmark.java | 23 import com.google.common.primitives.Doubles; 84 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance); in hashCode()
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 405 std::vector<Type*> Doubles(Args.size(), in Codegen() local 408 Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 686 std::vector<Type *> Doubles(Args.size(), in Codegen() local 689 FunctionType::get(Type::getDoubleTy(getGlobalContext()), Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 723 std::vector<Type *> Doubles(Args.size(), in Codegen() local 726 FunctionType::get(Type::getDoubleTy(getGlobalContext()), Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 831 std::vector<Type *> Doubles(Args.size(), in Codegen() local 834 FunctionType::get(Type::getDoubleTy(getGlobalContext()), Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 936 std::vector<Type*> Doubles(Args.size(), in Codegen() local 939 Doubles, false); in Codegen()
|
D | toy.cpp | 1300 std::vector<Type*> Doubles(Args.size(), in Codegen() local 1303 Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 989 std::vector<Type *> Doubles(Args.size(), in Codegen() local 992 FunctionType::get(Type::getDoubleTy(getGlobalContext()), Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 918 std::vector<Type*> Doubles(Args.size(), in Codegen() local 921 Doubles, false); in Codegen()
|
D | toy.cpp | 1198 std::vector<Type*> Doubles(Args.size(), in Codegen() local 1201 Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 1158 std::vector<Type*> Doubles(Args.size(), in Codegen() local 1161 Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 1192 std::vector<Type *> Doubles(Args.size(), in Codegen() local 1195 FunctionType::get(Type::getDoubleTy(getGlobalContext()), Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 1378 std::vector<Type*> Doubles(Args.size(), in Codegen() local 1381 Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 1044 std::vector<Type*> Doubles(Args.size(), in IRGen() local 1047 Doubles, false); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 1044 std::vector<Type*> Doubles(Args.size(), in IRGen() local 1047 Doubles, false); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 1044 std::vector<Type*> Doubles(Args.size(), in IRGen() local 1047 Doubles, false); in IRGen()
|