Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DArrayPrefixHelpers.java162 if (((c = rt.getPendingCount()) & CUMULATE) != 0) in compute()
171 if (((c = lt.getPendingCount()) & CUMULATE) != 0) in compute()
189 if (((b = t.getPendingCount()) & FINISHED) != 0) in compute()
227 int b = par.getPendingCount(); in compute()
314 if (((c = rt.getPendingCount()) & CUMULATE) != 0) in compute()
323 if (((c = lt.getPendingCount()) & CUMULATE) != 0) in compute()
341 if (((b = t.getPendingCount()) & FINISHED) != 0) in compute()
377 int b = par.getPendingCount(); in compute()
464 if (((c = rt.getPendingCount()) & CUMULATE) != 0) in compute()
473 if (((c = lt.getPendingCount()) & CUMULATE) != 0) in compute()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DCountedCompleterTest.java257 int pendingCount = getPendingCount();
259 assertEquals(pendingCount, getPendingCount());
306 assertEquals(pendingCount, cc.getPendingCount());
341 assertEquals(0, a.getPendingCount());
349 assertEquals(val, a.getPendingCount());
358 assertEquals(0, a.getPendingCount());
360 assertEquals(1, a.getPendingCount());
362 assertEquals(28, a.getPendingCount());
364 assertEquals(0, a.getPendingCount());
373 assertEquals(2, a.getPendingCount());
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountedCompleter.java508 public final int getPendingCount() { in getPendingCount() method in CountedCompleter
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCountedCompleterTest.java166 if (getPendingCount() == 0) { in completeAllChildren()
/libcore/ojluni/src/main/java/java/util/stream/
DForEachOps.java472 if (task.getPendingCount() > 0) { in doCompute()