Home
last modified time | relevance | path

Searched refs:AtomicIntegerArray (Results 1 – 9 of 9) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicIntegerArrayTest.java12 import java.util.concurrent.atomic.AtomicIntegerArray;
33 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testConstructor()
44 new AtomicIntegerArray(a); in testConstructor2NPE()
54 AtomicIntegerArray aa = new AtomicIntegerArray(a); in testConstructor2()
64 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testIndexing()
101 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testGetSet()
116 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testGetLazySet()
131 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testCompareAndSet()
149 final AtomicIntegerArray a = new AtomicIntegerArray(1); in testCompareAndSetInMultipleThreads()
169 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testWeakCompareAndSet()
[all …]
DAtomic8Test.java11 import java.util.concurrent.atomic.AtomicIntegerArray;
252 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayGetAndUpdate()
264 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayUpdateAndGet()
276 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayGetAndAccumulate()
288 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayAccumulateAndGet()
506 () -> new AtomicIntegerArray(1).getAndUpdate(0, null), in testGetAndUpdateNPE()
527 () -> new AtomicIntegerArray(1).updateAndGet(0, null), in testUpdateAndGetNPE()
546 () -> new AtomicIntegerArray(1).getAndAccumulate(0, 1, null), in testGetAndAccumulateNPE()
565 () -> new AtomicIntegerArray(1).accumulateAndGet(0, 1, null), in testAccumulateAndGetNPE()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicIntegerArrayTest.java38 import java.util.concurrent.atomic.AtomicIntegerArray;
56 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testConstructor()
67 new AtomicIntegerArray(a); in testConstructor2NPE()
77 AtomicIntegerArray aa = new AtomicIntegerArray(a); in testConstructor2()
87 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testIndexing()
124 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testGetSet()
139 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testGetLazySet()
154 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testCompareAndSet()
172 final AtomicIntegerArray a = new AtomicIntegerArray(1); in testCompareAndSetInMultipleThreads()
192 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testWeakCompareAndSet()
[all …]
DAtomic8Test.java37 import java.util.concurrent.atomic.AtomicIntegerArray;
273 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayGetAndUpdate()
285 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayUpdateAndGet()
297 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayGetAndAccumulate()
309 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayAccumulateAndGet()
527 () -> new AtomicIntegerArray(1).getAndUpdate(0, null), in testGetAndUpdateNPE()
545 () -> new AtomicIntegerArray(1).updateAndGet(0, null), in testUpdateAndGetNPE()
564 () -> new AtomicIntegerArray(1).getAndAccumulate(0, 1, null), in testGetAndAccumulateNPE()
583 () -> new AtomicIntegerArray(1).accumulateAndGet(0, 1, null), in testAccumulateAndGetNPE()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAtomicIntegerArrayTest.java22 import java.util.concurrent.atomic.AtomicIntegerArray;
30 private void checkArrayAsExpected(int[] expected, AtomicIntegerArray actual) { in checkArrayAsExpected()
40 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testCompareAndExchange()
65 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testCompareAndExchangeAcquire()
90 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testCompareAndExchangeRelease()
115 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testGetAcquire()
126 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testGetOpaque()
137 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testGetPlain()
148 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testSetOpaque()
165 AtomicIntegerArray arr = new AtomicIntegerArray(expectedArray); in testSetPlain()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerArray.java50 public class AtomicIntegerArray implements java.io.Serializable { class
62 public AtomicIntegerArray(int length) { in AtomicIntegerArray() method in AtomicIntegerArray
73 public AtomicIntegerArray(int[] array) { in AtomicIntegerArray() method in AtomicIntegerArray
/libcore/
Dopenjdk_java_files.bp1008 "ojluni/src/main/java/java/util/concurrent/atomic/AtomicIntegerArray.java",
DEXPECTED_UPSTREAM1032 …ncurrent/atomic/AtomicIntegerArray.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/java/uti…
/libcore/api/
Dcurrent.txt15589 public class AtomicIntegerArray implements java.io.Serializable {
15590 ctor public AtomicIntegerArray(int);
15591 ctor public AtomicIntegerArray(int[]);