Home
last modified time | relevance | path

Searched refs:longArr (Results 1 – 5 of 5) sorted by relevance

/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DAtomicArrayTest.kt30 A.longArr[0].value = 2424920024888888848 in testLongArray()
31 check(A.longArr[0].value == 2424920024888888848) in testLongArray()
32 A.longArr[0].lazySet(8424920024888888848) in testLongArray()
33 check(A.longArr[0].value == 8424920024888888848) in testLongArray()
34 val ac = A.longArr[0].value in testLongArray()
35 A.longArr[3].value = ac in testLongArray()
36 check(A.longArr[3].getAndSet(8924920024888888848) == 8424920024888888848) in testLongArray()
37 check(A.longArr[3].value == 8924920024888888848) in testLongArray()
38 val ac1 = A.longArr[3].value in testLongArray()
39 A.longArr[4].value = ac1 in testLongArray()
[all …]
DTopLevelTest.kt17 private val longArr = AtomicLongArray(5) in <lambda>() constant
118 longArr[0].value = 2424920024888888848 in testLongArray()
119 check(longArr[0].value == 2424920024888888848) in testLongArray()
120 longArr[0].lazySet(8424920024888888848) in testLongArray()
121 check(longArr[0].value == 8424920024888888848) in testLongArray()
122 val ac = longArr[0].value in testLongArray()
123 longArr[3].value = ac in testLongArray()
124 check(longArr[3].getAndSet(8924920024888888848) == 8424920024888888848) in testLongArray()
125 check(longArr[3].value == 8924920024888888848) in testLongArray()
126 val ac1 = longArr[3].value in testLongArray()
[all …]
DGetArrayElementTest.kt18 clazz.longArr[3].value = 100 in fib()
19 assertEquals(clazz.longArr[fib(6) - fib(5)].value, 100) in fib()
20 assertEquals(clazz.longArr[(fib(6) + fib(4)) % 8].value, 100) in fib()
21 assertEquals(clazz.longArr[(fib(6) + fib(4)) % 8].value, 100) in fib()
22 assertEquals(clazz.longArr[(fib(4) + fib(5)) % fib(5)].value, 100) in fib()
/external/testng/src/test/java/test/asserttests/
DAssertTest.java42 long[] longArr = {1, 2}; in arraysFailures_1() local
43 Assert.assertEquals(intArr, longArr); in arraysFailures_1()
54 long[] longArr = {1}; in arraysFailures_3() local
55 Assert.assertEquals((long) 1, longArr); in arraysFailures_3()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DPrimitiveArrayTest.java166 LongArr longArr = new LongArr(longs); in testCycle() local
167 Assert.assertArrayEquals(longArr.getLongs(), ((LongArr) cycle(longArr)).getLongs()); in testCycle()