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.java47 import java.util.concurrent.atomic.AtomicIntegerArray;
70 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testConstructor()
82 new AtomicIntegerArray(a); in testConstructor2NPE()
93 AtomicIntegerArray aa = new AtomicIntegerArray(a); in testConstructor2()
104 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testIndexing()
142 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testGetSet()
158 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testGetLazySet()
174 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testCompareAndSet()
193 final AtomicIntegerArray a = new AtomicIntegerArray(1); in testCompareAndSetInMultipleThreads()
214 AtomicIntegerArray aa = new AtomicIntegerArray(SIZE); in testWeakCompareAndSet()
[all …]
DAtomic8Test.java46 import java.util.concurrent.atomic.AtomicIntegerArray;
303 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayGetAndUpdate()
316 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayUpdateAndGet()
329 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayGetAndAccumulate()
342 AtomicIntegerArray a = new AtomicIntegerArray(1); in testIntArrayAccumulateAndGet()
577 () -> new AtomicIntegerArray(1).getAndUpdate(0, null), in testGetAndUpdateNPE()
596 () -> new AtomicIntegerArray(1).updateAndGet(0, null), in testUpdateAndGetNPE()
616 () -> new AtomicIntegerArray(1).getAndAccumulate(0, 1, null), in testGetAndAccumulateNPE()
636 () -> 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.bp1037 "ojluni/src/main/java/java/util/concurrent/atomic/AtomicIntegerArray.java",
DEXPECTED_UPSTREAM1090 …oncurrent/atomic/AtomicIntegerArray.java,jdk21u/jdk-21.0.4-ga,src/java.base/share/classes/java/uti…
/libcore/api/
Dcurrent.txt16712 public class AtomicIntegerArray implements java.io.Serializable {
16713 ctor public AtomicIntegerArray(int);
16714 ctor public AtomicIntegerArray(int[]);