/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 | 62 = Doubles.concat(NUMBERS, new double[] {NaN}); 66 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value)); in testHashCode() 72 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value)); in testIsFinite() 82 Doubles.compare(x, y)); in testCompare() 88 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains() 89 assertFalse(Doubles.contains(ARRAY1, (double) 2)); in testContains() 90 assertFalse(Doubles.contains(ARRAY234, (double) 1)); in testContains() 91 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1)); in testContains() 92 assertTrue(Doubles.contains(ARRAY234, (double) 2)); in testContains() 93 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; 206 static final Iterable<Double> INFINITIES = Doubles.asList( 216 integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE)); 219 for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) { 223 for (double d : Doubles.asList(0, 1, 2, 7, 51, 102, Math.scalb(1.0, 53), Integer.MIN_VALUE, 225 for (double delta : Doubles.asList(0.0, 1.0, 2.0)) { 226 integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta)); 228 for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
|
D | DoubleMathTest.java | 43 import com.google.common.primitives.Doubles; 543 Doubles.asList(-Double.MIN_VALUE, -Double.MIN_NORMAL, -1, -20, Double.NaN, 603 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 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 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()
|
/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/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 403 std::vector<Type*> Doubles(Args.size(), in Codegen() local 406 Doubles, false); in Codegen()
|
/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() 744 X(Doubles); in dumpConstantLookupCounts() 798 return getConstPool()->Doubles.getOrAdd(this, ConstantDouble); in getConstantDouble() 867 return getConstPool()->Doubles.getConstantPool(); in getConstantPool()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 411 std::vector<Type*> Doubles(Args.size(), in Codegen() local 414 Doubles, false); in Codegen()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 468 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen() local 470 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 484 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen() local 486 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.c | 525 array->Size, array->Doubles, &attr); in setup_interleaved_attribs() 670 array->Size, array->Doubles, &attr); in setup_non_interleaved_attribs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 496 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen() local 498 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
|
/external/mesa3d/src/mesa/main/ |
D | varray.h | 69 dst->Doubles = src->Doubles; in _mesa_update_client_array()
|
D | varray.c | 314 array->Doubles = doubles; in _mesa_update_array_format() 1259 return array->Doubles; in get_vertex_array_attrib() 2809 dst->Doubles = src->Doubles; in _mesa_copy_client_array() 2827 dst->Doubles = src->Doubles; in _mesa_copy_vertex_attrib_array()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw_upload.c | 295 case GL_DOUBLE: return double_types(brw, size, glarray->Doubles); in brw_get_vertex_surface_type() 374 case GL_DOUBLE: return double_types(brw, size, glarray->Doubles); in brw_get_vertex_surface_type()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_split_copy.c | 522 dst->Doubles = src->Doubles; in replay_init()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 656 std::vector<Type*> Doubles(Args.size(), in Codegen() local 659 Doubles, false); in Codegen()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 760 std::vector<Type*> Doubles(Args.size(), in Codegen() local 763 Doubles, false); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 756 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen() local 758 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 770 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen() local 772 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
|