Home
last modified time | relevance | path

Searched refs:doubles (Results 1 – 25 of 235) sorted by relevance

12345678910

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DDoubleArr.java21 private double[] doubles; field in DoubleArr
26 public DoubleArr(double[] doubles) { in DoubleArr() argument
27 this.doubles = doubles; in DoubleArr()
31 return Arrays.toString(doubles); in toString()
35 return doubles; in getDoubles()
38 public void setDoubles(double[] doubles) { in setDoubles() argument
39 this.doubles = doubles; in setDoubles()
DPrimitiveArrayTest.java37 private final double[] doubles = new double[] { 50.0001, 2150.0002 }; field in PrimitiveArrayTest
47 + Arrays.toString(doubles) + " ]\n" + "- " + pkg + ".CharArr [ " in testValidConstructor()
59 Assert.assertArrayEquals(doubles, ((DoubleArr) wrappers.get(5)).getDoubles(), 0.001); in testValidConstructor()
173 DoubleArr doubleArr = new DoubleArr(doubles); in testCycle()
/external/libffi/testsuite/libffi.call/
Dfloat_va.c50 double doubles[5]; in main() local
70 doubles[0] = 2.0; in main()
72 values[1] = &doubles[0]; in main()
94 doubles[0] = 2.0; in main()
95 doubles[1] = 3.0; in main()
96 doubles[2] = 4.0; in main()
98 values[1] = &doubles[0]; in main()
99 values[2] = &doubles[1]; in main()
100 values[3] = &doubles[2]; in main()
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dfloat_va.c50 double doubles[5]; in main() local
70 doubles[0] = 2.0; in main()
72 values[1] = &doubles[0]; in main()
94 doubles[0] = 2.0; in main()
95 doubles[1] = 3.0; in main()
96 doubles[2] = 4.0; in main()
98 values[1] = &doubles[0]; in main()
99 values[2] = &doubles[1]; in main()
100 values[3] = &doubles[2]; in main()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dvec-conv-01.ll6 define <2 x i64> @f1(<2 x double> %doubles) {
10 %dwords = fptosi <2 x double> %doubles to <2 x i64>
15 define <2 x i64> @f2(<2 x double> %doubles) {
19 %dwords = fptoui <2 x double> %doubles to <2 x i64>
28 %doubles = sitofp <2 x i64> %dwords to <2 x double>
29 ret <2 x double> %doubles
37 %doubles = uitofp <2 x i64> %dwords to <2 x double>
38 ret <2 x double> %doubles
42 define void @f5(<2 x double> %doubles, <2 x i32> *%ptr) {
43 %words = fptosi <2 x double> %doubles to <2 x i32>
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dvec-conv-01.ll6 define <2 x i64> @f1(<2 x double> %doubles) {
10 %dwords = fptosi <2 x double> %doubles to <2 x i64>
15 define <2 x i64> @f2(<2 x double> %doubles) {
19 %dwords = fptoui <2 x double> %doubles to <2 x i64>
28 %doubles = sitofp <2 x i64> %dwords to <2 x double>
29 ret <2 x double> %doubles
37 %doubles = uitofp <2 x i64> %dwords to <2 x double>
38 ret <2 x double> %doubles
42 define void @f5(<2 x double> %doubles, <2 x i32> *%ptr) {
43 %words = fptosi <2 x double> %doubles to <2 x i32>
[all …]
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DTensorTest.java46 double[] doubles = {1d, 2d, 3d, 4d}; in createWithByteBuffer() local
78 ByteBuffer buf = ByteBuffer.allocateDirect(8 * doubles.length).order(ByteOrder.nativeOrder()); in createWithByteBuffer()
79 buf.asDoubleBuffer().put(doubles); in createWithByteBuffer()
81 double[] actual = new double[doubles.length]; in createWithByteBuffer()
82 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithByteBuffer()
97 double[] doubles = {1d, 2d, 3d, 4d}; in createFromBufferWithNonNativeByteOrder() local
99 ByteBuffer.allocate(8 * doubles.length) in createFromBufferWithNonNativeByteOrder()
105 .put(doubles); in createFromBufferWithNonNativeByteOrder()
107 try (Tensor<Double> t = Tensor.create(new long[] {doubles.length}, buf)) { in createFromBufferWithNonNativeByteOrder()
108 double[] actual = new double[doubles.length]; in createFromBufferWithNonNativeByteOrder()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DProtobufEqualityComparersTest.cs42 private static readonly double[] doubles = field in Google.Protobuf.Collections.ProtobufEqualityComparersTest
79 ValidateEqualityComparer(BitwiseDoubleEqualityComparer, doubles); in DoubleComparisons()
85 …ValidateEqualityComparer(BitwiseNullableDoubleEqualityComparer, doubles.Select(d => (double?) d).C… in NullableDoubleComparisons()
91 ValidateEqualityComparer(BitwiseSingleEqualityComparer, doubles.Select(d => (float) d)); in SingleComparisons()
97 …ValidateEqualityComparer(BitwiseNullableSingleEqualityComparer, doubles.Select(d => (float?) d).Co… in NullableSingleComparisons()
/external/guava/guava-tests/benchmark/com/google/common/math/
DDoubleMathBenchmark.java36 private static final double[] doubles = new double[ARRAY_SIZE]; field in DoubleMathBenchmark
42 doubles[i] = randomDouble(Long.SIZE); in setUp()
72 if (DoubleMath.isMathematicalInteger(doubles[j])) { in isMathematicalInteger()
84 if (DoubleMath.isPowerOfTwo(doubles[j])) { in isPowerOfTwo()
/external/guava/android/guava-tests/benchmark/com/google/common/math/
DDoubleMathBenchmark.java36 private static final double[] doubles = new double[ARRAY_SIZE]; field in DoubleMathBenchmark
42 doubles[i] = randomDouble(Long.SIZE); in setUp()
72 if (DoubleMath.isMathematicalInteger(doubles[j])) { in isMathematicalInteger()
84 if (DoubleMath.isPowerOfTwo(doubles[j])) { in isPowerOfTwo()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/cconv/
Darguments-float.ll22 @doubles = global [11 x double] zeroinitializer
27 %0 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 1
29 %1 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 2
31 %2 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 3
33 %3 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 4
35 %4 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 5
37 %5 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 6
39 %6 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 7
41 %7 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 8
43 %8 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 9
[all …]
Darguments-hard-float.ll22 @doubles = global [11 x double] zeroinitializer
27 %0 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 1
29 %1 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 2
31 %2 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 3
33 %3 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 4
35 %4 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 5
37 %5 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 6
39 %6 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 7
41 %7 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 8
43 %8 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 9
[all …]
Darguments-hard-float-varargs.ll23 @doubles = global [11 x double] zeroinitializer
28 %0 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 1
35 %1 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 2
44 ; SYM32-DAG: addiu [[R2:\$[0-9]+]], ${{[0-9]+}}, %lo(doubles)
45 ; SYM64-DAG: daddiu [[R2:\$[0-9]+]], ${{[0-9]+}}, %lo(doubles)
/external/llvm/test/CodeGen/Mips/cconv/
Darguments-float.ll22 @doubles = global [11 x double] zeroinitializer
27 %0 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 1
29 %1 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 2
31 %2 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 3
33 %3 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 4
35 %4 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 5
37 %5 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 6
39 %6 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 7
41 %7 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 8
43 %8 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 9
[all …]
Darguments-hard-float.ll22 @doubles = global [11 x double] zeroinitializer
27 %0 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 1
29 %1 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 2
31 %2 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 3
33 %3 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 4
35 %4 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 5
37 %5 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 6
39 %6 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 7
41 %7 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 8
43 %8 = getelementptr [11 x double], [11 x double]* @doubles, i32 0, i32 9
[all …]
/external/grpc-grpc/third_party/nanopb/examples/using_double_on_avr/
Ddoubleproto.proto1 // A message containing doubles, as used by other applications.
9 // A message containing doubles, but redefined using uint64_t.
/external/nanopb-c/examples/using_double_on_avr/
Ddoubleproto.proto1 // A message containing doubles, as used by other applications.
9 // A message containing doubles, but redefined using uint64_t.
/external/guava/guava/src/com/google/common/math/
DQuantiles.java480 double[] doubles = new double[len]; in longsToDoubles() local
482 doubles[i] = longs[i]; in longsToDoubles()
484 return doubles; in longsToDoubles()
489 double[] doubles = new double[len]; in intsToDoubles() local
491 doubles[i] = ints[i]; in intsToDoubles()
493 return doubles; in intsToDoubles()
/external/guava/android/guava/src/com/google/common/math/
DQuantiles.java480 double[] doubles = new double[len]; in longsToDoubles() local
482 doubles[i] = longs[i]; in longsToDoubles()
484 return doubles; in longsToDoubles()
489 double[] doubles = new double[len]; in intsToDoubles() local
491 doubles[i] = ints[i]; in intsToDoubles()
493 return doubles; in intsToDoubles()
/external/mesa3d/src/mesa/vbo/
Dvbo_private.h227 const GLboolean doubles = vbo_attrtype_to_double_flag(type); in _vbo_set_attrib_format() local
229 if (doubles) in _vbo_set_attrib_format()
232 GL_FALSE, integer, doubles, offset); in _vbo_set_attrib_format()
/external/angle/third_party/glslang/src/Test/
D400.vert3 in double d; // ERROR, no doubles
4 in dvec3 d3; // ERROR, no doubles
5 in dmat4 dm4; // ERROR, no doubles
/external/deqp-deps/glslang/Test/
D400.vert3 in double d; // ERROR, no doubles
4 in dvec3 d3; // ERROR, no doubles
5 in dmat4 dm4; // ERROR, no doubles
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/
DConstantTest.java119 double[] doubles = {1, 2, 3, 4}; in createDoubleBuffer() local
125 Constant<Double> op = Constant.create(scope, shape, DoubleBuffer.wrap(doubles)); in createDoubleBuffer()
127 double[] actual = new double[doubles.length]; in createDoubleBuffer()
128 assertArrayEquals(doubles, result.expect(Double.class).copyTo(actual), EPSILON); in createDoubleBuffer()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
Dfpxx.ll43 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
178 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
181 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
208 ; floats/doubles are not passed in integer registers for n64, so dmfc1 is not used.
215 ; floats/doubles are not passed in integer registers for n64, so dmfc1 is not used.
/external/llvm/test/CodeGen/Mips/
Dfpxx.ll43 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
178 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
181 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
208 ; floats/doubles are not passed in integer registers for n64, so dmfc1 is not used.
215 ; floats/doubles are not passed in integer registers for n64, so dmfc1 is not used.

12345678910