Home
last modified time | relevance | path

Searched refs:Doubles (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava-tests/test/com/google/common/primitives/
DDoublesTest.java59 = Doubles.concat(NUMBERS, new double[] {NaN});
63 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value)); in testHashCode()
69 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value)); in testIsFinite()
79 Doubles.compare(x, y)); in testCompare()
85 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains()
86 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains()
87 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains()
88 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1)); in testContains()
89 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains()
90 assertTrue(Doubles.contains(ARRAY234, (double) 3)); in testContains()
[all …]
DDoubleArrayAsListTest.java49 return Doubles.asList(temp); in asList()
/external/guava/guava/src/com/google/common/primitives/
DDoubles.java45 public final class Doubles { class
46 private Doubles() {} in Doubles() method in Doubles
345 int result = Doubles.compare(left[i], right[i]); in compare()
440 && Doubles.indexOf(array, (Double) target, start, end) != -1; in contains()
446 int i = Doubles.indexOf(array, (Double) target, start, end); in indexOf()
457 int i = Doubles.lastIndexOf(array, (Double) target, start, end); in lastIndexOf()
504 result = 31 * result + Doubles.hashCode(array[i]); in hashCode()
/external/guava/guava-tests/test/com/google/common/math/
DMathTesting.java36 import com.google.common.primitives.Doubles;
211 integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE));
214 for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) {
218 for (double d : Doubles.asList(0, 1, 2, 7, 51, 102, Math.scalb(1.0, 53), Integer.MIN_VALUE,
220 for (double delta : Doubles.asList(0.0, 1.0, 2.0)) {
221 integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta));
223 for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp403 std::vector<Type*> Doubles(Args.size(), in Codegen() local
406 Doubles, false); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp411 std::vector<Type*> Doubles(Args.size(), in Codegen() local
414 Doubles, false); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp656 std::vector<Type*> Doubles(Args.size(), in Codegen() local
659 Doubles, false); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp760 std::vector<Type*> Doubles(Args.size(), in Codegen() local
763 Doubles, false); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp908 std::vector<Type*> Doubles(Args.size(), in Codegen() local
911 Doubles, false); in Codegen()
/external/llvm/docs/tutorial/
DLangImpl3.rst254 std::vector<Type*> Doubles(Args.size(),
257 Doubles, false);
997 std::vector<Type*> Doubles(Args.size(),
1000 Doubles, false);
DLangImpl4.rst853 std::vector<Type*> Doubles(Args.size(),
856 Doubles, false);
DLangImpl6.rst1506 std::vector<Type*> Doubles(Args.size(),
1509 Doubles, false);
DLangImpl5.rst1402 std::vector<Type*> Doubles(Args.size(),
1405 Doubles, false);
DLangImpl7.rst1766 std::vector<Type*> Doubles(Args.size(),
1769 Doubles, false);
/external/llvm/lib/Target/X86/
DX86CallingConv.td331 // Doubles get 8-byte slots that are 4-byte aligned.
421 // Doubles get 8-byte slots that are 8-byte aligned.
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg43 "double" : "0.0", // Doubles start out being 0
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg42 "double" : "0.0", // Doubles start out being 0
/external/libffi/
DChangeLog3033 * libffi/src/arm/sysv.S (ffi_call_SYSV): Doubles are not saved to