/external/guava/guava-tests/test/com/google/common/primitives/ |
D | DoublesTest.java | 76 private static final double[] VALUES = Doubles.concat(NUMBERS, new double[] {NaN}); 80 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value)); in testHashCode() 86 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value)); in testIsFinite() 94 assertEquals(x + ", " + y, Double.valueOf(x).compareTo(y), Doubles.compare(x, y)); in testCompare() 100 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains() 101 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 102 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains() 103 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1)); in testContains() 104 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains() 105 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | DoublesTest.java | 76 private static final double[] VALUES = Doubles.concat(NUMBERS, new double[] {NaN}); 80 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value)); in testHashCode() 86 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value)); in testIsFinite() 94 assertEquals(x + ", " + y, Double.valueOf(x).compareTo(y), Doubles.compare(x, y)); in testCompare() 100 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains() 101 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 102 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains() 103 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1)); in testContains() 104 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains() 105 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains() [all …]
|
/external/truth/core/src/main/java/com/google/common/truth/ |
D | PrimitiveDoubleArraySubject.java | 23 import com.google.common.primitives.Doubles; 212 return containsAtLeastElementsIn(Doubles.asList(expected)); in containsAtLeast() 217 containsAnyIn(Doubles.asList(expected)); in containsAnyOf() 223 return containsExactlyElementsIn(Doubles.asList(expected)); in containsExactly() 230 containsNoneIn(Doubles.asList(excluded)); in containsNoneOf() 237 .that(Doubles.asList(actual)); in iterableSubject()
|
D | MathUtil.java | 19 import com.google.common.primitives.Doubles; 49 if (Doubles.isFinite(left) && Doubles.isFinite(right)) { in notEqualWithinTolerance()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | MathTesting.java | 36 import com.google.common.primitives.Doubles; 230 Doubles.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY); 239 integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE)); 242 for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) { 256 Doubles.asList( 268 for (double delta : Doubles.asList(0.0, 1.0, 2.0)) { 269 integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta)); 271 for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
|
D | QuantilesTest.java | 35 import com.google.common.primitives.Doubles; 132 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testMedian_computeInPlace() 144 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testQuartiles_index_computeInPlace() 158 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testQuartiles_indexes_varargs_computeInPlace() 186 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_index_compute_doubleVarargs() 213 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_index_computeInPlace() 306 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_indexes_varargs_compute_doubleVarargs() 348 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_indexes_varargs_computeInPlace() 384 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_indexes_collection_computeInPlace() 534 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace() [all …]
|
D | StatsTesting.java | 30 import com.google.common.primitives.Doubles; 80 this.values = ImmutableList.copyOf(Doubles.asList(values)); in ManyValues() 88 return Doubles.toArray(values); in asArray()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | MathTesting.java | 36 import com.google.common.primitives.Doubles; 230 Doubles.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY); 239 integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE)); 242 for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) { 256 Doubles.asList( 268 for (double delta : Doubles.asList(0.0, 1.0, 2.0)) { 269 integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta)); 271 for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
|
D | QuantilesTest.java | 35 import com.google.common.primitives.Doubles; 132 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testMedian_computeInPlace() 144 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testQuartiles_index_computeInPlace() 158 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testQuartiles_indexes_varargs_computeInPlace() 186 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_index_compute_doubleVarargs() 213 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_index_computeInPlace() 306 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_indexes_varargs_compute_doubleVarargs() 348 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_indexes_varargs_computeInPlace() 384 double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES); in testScale_indexes_collection_computeInPlace() 534 double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); in testPercentiles_index_computeInPlace() [all …]
|
D | StatsTesting.java | 30 import com.google.common.primitives.Doubles; 79 this.values = ImmutableList.copyOf(Doubles.asList(values)); in ManyValues() 87 return Doubles.toArray(values); in asArray()
|
/external/guava/android/guava/src/com/google/common/math/ |
D | PairedStatsAccumulator.java | 18 import static com.google.common.primitives.Doubles.isFinite; 24 import com.google.common.primitives.Doubles; 241 return Doubles.constrainToRange(value, -1.0, 1.0); in ensureInUnitRange()
|
D | Quantiles.java | 26 import com.google.common.primitives.Doubles; 236 return computeInPlace(Doubles.toArray(dataset)); in compute() 341 return computeInPlace(Doubles.toArray(dataset)); in compute()
|
/external/guava/guava/src/com/google/common/math/ |
D | PairedStatsAccumulator.java | 18 import static com.google.common.primitives.Doubles.isFinite; 24 import com.google.common.primitives.Doubles; 241 return Doubles.constrainToRange(value, -1.0, 1.0); in ensureInUnitRange()
|
D | Quantiles.java | 26 import com.google.common.primitives.Doubles; 236 return computeInPlace(Doubles.toArray(dataset)); in compute() 341 return computeInPlace(Doubles.toArray(dataset)); in compute()
|
/external/guava/android/guava/src/com/google/common/primitives/ |
D | Doubles.java | 51 public final class Doubles extends DoublesMethodsForWeb { class 52 private Doubles() {} in Doubles() method in Doubles 560 && Doubles.indexOf(array, (Double) target, start, end) != -1; in contains() 567 int i = Doubles.indexOf(array, (Double) target, start, end); in indexOf() 579 int i = Doubles.lastIndexOf(array, (Double) target, start, end); in lastIndexOf() 631 result = 31 * result + Doubles.hashCode(array[i]); in hashCode()
|
D | ImmutableDoubleArray.java | 150 return values.isEmpty() ? EMPTY : new ImmutableDoubleArray(Doubles.toArray(values)); in copyOf() 531 hash += Doubles.hashCode(array[i]); in hashCode()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Doubles.java | 53 public final class Doubles extends DoublesMethodsForWeb { class 54 private Doubles() {} in Doubles() method in Doubles 567 && Doubles.indexOf(array, (Double) target, start, end) != -1; in contains() 574 int i = Doubles.indexOf(array, (Double) target, start, end); in indexOf() 586 int i = Doubles.lastIndexOf(array, (Double) target, start, end); in lastIndexOf() 638 result = 31 * result + Doubles.hashCode(array[i]); in hashCode()
|
D | ImmutableDoubleArray.java | 158 return values.isEmpty() ? EMPTY : new ImmutableDoubleArray(Doubles.toArray(values)); in copyOf() 583 hash += Doubles.hashCode(array[i]); in hashCode()
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
D | StatsBenchmark.java | 23 import com.google.common.primitives.Doubles; 83 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance); in hashCode()
|
/external/guava/android/guava-tests/benchmark/com/google/common/math/ |
D | StatsBenchmark.java | 23 import com.google.common.primitives.Doubles; 83 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance); in hashCode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | Doubles.java | 3 public class Doubles class
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/ |
D | Doubles.java | 7 public class Doubles class
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/ |
D | Doubles.java | 7 public class Doubles class
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalContext.cpp | 206 TypePool<IceType_f64, double, ConstantDouble> Doubles; member in Ice::ConstantPool 275 Str << "|f64=" << Pool->Doubles.size(); in dump() 662 X(Doubles); in dumpConstantLookupCounts() 716 return getConstPool()->Doubles.getOrAdd(this, ConstantDouble); in getConstantDouble() 785 return getConstPool()->Doubles.getConstantPool(); in getConstantPool()
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 457 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen() local 459 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
|