Home
last modified time | relevance | path

Searched refs:doubleArray (Results 1 – 14 of 14) sorted by relevance

/external/fbjni/test/
DPrimitiveArrayTests.java177 double[] doubleArray = new double[MAGIC]; in testGetSetDoubleArray() local
178 for (int i = 0; i < doubleArray.length; ++i) { in testGetSetDoubleArray()
179 doubleArray[i] = i; in testGetSetDoubleArray()
182 assertThat(nativeTestGetSetDoubleArray(doubleArray)).isTrue(); in testGetSetDoubleArray()
184 for (int i = 0; i < doubleArray.length; ++i) { in testGetSetDoubleArray()
185 assertThat(doubleArray[i]).isEqualTo(2 * i, offset(1e-3)); in testGetSetDoubleArray()
289 double[] doubleArray = new double[MAGIC]; in testPinDoubleArray() local
290 for (int i = 0; i < doubleArray.length; ++i) { in testPinDoubleArray()
291 doubleArray[i] = (double) i; in testPinDoubleArray()
294 assertThat(nativeTestPinDoubleArray(doubleArray)).isTrue(); in testPinDoubleArray()
[all …]
/external/ow2-asm/asm-tree/src/main/java/org/objectweb/asm/tree/
DUtil.java145 static List<Double> asArrayList(final double[] doubleArray) { in asArrayList() argument
146 if (doubleArray == null) { in asArrayList()
149 ArrayList<Double> doubleList = new ArrayList<>(doubleArray.length); in asArrayList()
150 for (double d : doubleArray) { in asArrayList()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DRendererCommonTest.java88 final double[] doubleArray = new double[16]; in round() local
90 doubleArray[i] = Math.round(100 * array[i]) / 100.0; in round()
92 return doubleArray; in round()
/external/kotlinpoet/interop/ksp/test-processor/src/main/kotlin/com/squareup/kotlinpoet/ksp/test/processor/
DexampleAnnotations.kt37 val doubleArray: DoubleArray = [1.0], constant in com.squareup.kotlinpoet.ksp.test.processor.ExampleAnnotationWithDefaults
64 val doubleArray: DoubleArray, constant in com.squareup.kotlinpoet.ksp.test.processor.ComprehensiveAnnotation
/external/dagger2/javatests/dagger/functional/basic/
DInjectedThing.java69 @Inject double[] doubleArray; field in InjectedThing
139 double[] doubleArray, in InjectedThing()
208 @Inject void doubleArray(double[] doubleArray) {} in doubleArray() argument
/external/dagger2/javatests/dagger/functional/kotlinsrc/basic/
DInjectedThing.kt67 doubleArray: DoubleArray,
126 @Inject internal lateinit var doubleArray: DoubleArray variable
180 @Inject internal fun doubleArray(doubleArray: DoubleArray) {} in doubleArray() method
/external/caliper/examples/src/main/java/examples/
DCopyArrayBenchmark.java249 double[] doubleArray; field in CopyArrayBenchmark
260 doubleArray = new double[size]; in setUp()
273 doubleArray[i] = num; in setUp()
316 dummy += System.identityHashCode(strategy.copy(doubleArray)); in doubles()
/external/jazzer-api/src/test/java/com/code_intelligence/jazzer/instrumentor/
DTraceDataFlowInstrumentationTarget.java113 double[] doubleArray = {0, 0, 0, 0, 4}; in selfCheck() local
123 results.put("doubleArrayGep", doubleArray[4] == 4); in selfCheck()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/builder/
DMultilineRecursiveToStringStyleTest.java154 public void doubleArray() { in doubleArray() method in MultilineRecursiveToStringStyleTest
156 wa.doubleArray = new double[] { 1, 2 }; in doubleArray()
243 double[] doubleArray; field in MultilineRecursiveToStringStyleTest.WithArrays
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DArrayUtilsAddTest.java638 double[] doubleArray = ArrayUtils.add( new double[] { 1.1 }, 0, 2.2); in testAddObjectAtIndex() local
639 assertArrayEquals(new double[]{2.2, 1.1}, doubleArray); in testAddObjectAtIndex()
642 doubleArray = ArrayUtils.add( new double[] { 2.3, 6.4 }, 2, 10.5); in testAddObjectAtIndex()
643 assertArrayEquals(new double[]{2.3, 6.4, 10.5}, doubleArray); in testAddObjectAtIndex()
644 doubleArray = ArrayUtils.add( new double[] { 2.6, 6.7 }, 0, -4.8); in testAddObjectAtIndex()
645 assertArrayEquals(new double[]{-4.8, 2.6, 6.7}, doubleArray); in testAddObjectAtIndex()
646 doubleArray = ArrayUtils.add( new double[] { 2.9, 6.0, 0.3 }, 2, 1.0); in testAddObjectAtIndex()
647 assertArrayEquals(new double[]{2.9, 6.0, 1.0, 0.3}, doubleArray); in testAddObjectAtIndex()
/external/ow2-asm/asm/src/main/java/org/objectweb/asm/
DAnnotationWriter.java253 double[] doubleArray = (double[]) value; in visit() local
254 annotation.put12('[', doubleArray.length); in visit()
255 for (double doubleValue : doubleArray) { in visit()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBundleTest.java180 public void doubleArray() { in doubleArray() method in ShadowBundleTest
/external/ow2-asm/asm-util/src/main/java/org/objectweb/asm/util/
DTextifier.java624 double[] doubleArray = (double[]) value; in visit() local
625 for (int i = 0; i < doubleArray.length; i++) { in visit()
627 visitDouble(doubleArray[i]); in visit()
DASMifier.java1539 double[] doubleArray = (double[]) value; in appendConstant() local
1541 for (int i = 0; i < doubleArray.length; i++) { in appendConstant()
1542 stringBuilder.append(i == 0 ? "" : ",").append(doubleArray[i]).append('d'); in appendConstant()