Searched refs:getStamp (Results 1 – 4 of 4) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicStampedReferenceTest.java | 33 assertEquals(0, ai.getStamp()); in testConstructor() 36 assertEquals(1, a2.getStamp()); in testConstructor() 46 assertEquals(0, ai.getStamp()); in testGetSet() 51 assertEquals(0, ai.getStamp()); in testGetSet() 56 assertEquals(1, ai.getStamp()); in testGetSet() 67 assertEquals(0, ai.getStamp()); in testAttemptStamp() 69 assertEquals(1, ai.getStamp()); in testAttemptStamp() 82 assertEquals(0, ai.getStamp()); in testCompareAndSet() 115 assertEquals(0, ai.getStamp()); in testCompareAndSetInMultipleThreads() 135 assertEquals(2, ai.getStamp()); in testCompareAndSetInMultipleThreads2() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AtomicStampedReferenceTest.java | 56 assertEquals(0, ai.getStamp()); in testConstructor() 59 assertEquals(1, a2.getStamp()); in testConstructor() 69 assertEquals(0, ai.getStamp()); in testGetSet() 74 assertEquals(0, ai.getStamp()); in testGetSet() 79 assertEquals(1, ai.getStamp()); in testGetSet() 90 assertEquals(0, ai.getStamp()); in testAttemptStamp() 92 assertEquals(1, ai.getStamp()); in testAttemptStamp() 105 assertEquals(0, ai.getStamp()); in testCompareAndSet() 138 assertEquals(0, ai.getStamp()); in testCompareAndSetInMultipleThreads() 158 assertEquals(2, ai.getStamp()); in testCompareAndSetInMultipleThreads2() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicStampedReference.java | 91 public int getStamp() { in getStamp() method in AtomicStampedReference
|
/libcore/api/ |
D | current.txt | 15345 method public int getStamp();
|