Searched refs:intArr (Results 1 – 12 of 12) sorted by relevance
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/ |
D | AtomicArrayTest.kt | 14 check(A.intArr[0].compareAndSet(0, 3)) in testIntArray() 15 check(A.intArr[1].value == 0) in testIntArray() 16 A.intArr[0].lazySet(5) in testIntArray() 17 check(A.intArr[0].value + A.intArr[1].value + A.intArr[2].value == 5) in testIntArray() 18 check(A.intArr[0].compareAndSet(5, 10)) in testIntArray() 19 check(A.intArr[0].getAndDecrement() == 10) in testIntArray() 20 check(A.intArr[0].value == 9) in testIntArray() 21 A.intArr[2].value = 2 in testIntArray() 22 check(A.intArr[2].value == 2) in testIntArray() 23 check(A.intArr[2].compareAndSet(2, 34)) in testIntArray() [all …]
|
D | TopLevelTest.kt | 16 private val intArr = AtomicIntArray(3) in <lambda>() constant 103 check(intArr[0].compareAndSet(0, 3)) in testIntArray() 104 check(intArr[1].value == 0) in testIntArray() 105 intArr[0].lazySet(5) in testIntArray() 106 check(intArr[0].value + intArr[1].value + intArr[2].value == 5) in testIntArray() 107 check(intArr[0].compareAndSet(5, 10)) in testIntArray() 108 check(intArr[0].getAndDecrement() == 10) in testIntArray() 109 check(intArr[0].value == 9) in testIntArray() 110 intArr[2].value = 2 in testIntArray() 111 check(intArr[2].value == 2) in testIntArray() [all …]
|
D | GetArrayElementTest.kt | 13 clazz.intArr[8].value = 3 in fib() 16 assertEquals(clazz.intArr[i + j].value, 3) in fib() 17 assertEquals(clazz.intArr[fib(4) + fib(5)].value, 3) in fib()
|
D | SetArrayElementTest.kt | 29 private val intArr = AtomicIntArray(3) constant 33 fun setInt(index: Int, data: Int) = intArr[index].compareAndSet(0, data) in setInt()
|
D | InternalTest.kt | 17 internal val intArr = AtomicIntArray(5) constant in kotlinx.atomicfu.test.A
|
/external/testng/src/test/java/test/asserttests/ |
D | AssertTest.java | 41 int[] intArr = {1, 2}; in arraysFailures_1() local 43 Assert.assertEquals(intArr, longArr); in arraysFailures_1() 48 int[] intArr = {1, 2}; in arraysFailures_2() local 49 Assert.assertEquals(intArr, (long) 1); in arraysFailures_2()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/tensorbuffer/ |
D | TensorBufferFloat.java | 69 int[] intArr = new int[flatSize]; in getIntArray() local 71 intArr[i] = (int) floatArr[i]; in getIntArray() 73 return intArr; in getIntArray()
|
D | TensorBufferUint8.java | 71 int[] intArr = new int[flatSize]; in getIntArray() local 73 intArr[i] = byteArr[i] & 0xff; in getIntArray() 75 return intArr; in getIntArray()
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/internal_test2/ |
D | С.kt | 16 check(a.intArr[3].getAndAdd(5) == 0) in testInternal() 18 check(d.da.intArr[2].compareAndSet(0, 38535)) in testInternal()
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/internal_test1/ |
D | B.kt | 22 check(a.intArr[2].compareAndSet(0, 6)) in testInternal() 23 assertEquals(6, a.intArr[2].value) in testInternal()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
D | PrimitiveArrayTest.java | 163 IntArr intArr = new IntArr(ints); in testCycle() local 164 Assert.assertArrayEquals(intArr.getInts(), ((IntArr) cycle(intArr)).getInts()); in testCycle()
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtjava.cpp | 393 const char* intArr = "new int[] {\n"; in intvector_write_java() local 414 T_FileStream_write(out, intArr, (int32_t)uprv_strlen(intArr)); in intvector_write_java()
|