Home
last modified time | relevance | path

Searched refs:inc (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DRangeTest.java71 int[] inc = IntStream.range(start, end).toArray(); in testIntRange() local
72 assertEquals(inc.length, size); in testIntRange()
73 assertTrue(Arrays.equals(exp, inc)); in testIntRange()
91 int[] inc = IntStream.rangeClosed(start, end).toArray(); in testIntRange() local
92 assertEquals(inc.length, size); in testIntRange()
93 assertTrue(Arrays.equals(exp, inc)); in testIntRange()
102 int[] inc = IntStream.rangeClosed(Integer.MAX_VALUE - 1, Integer.MAX_VALUE).toArray(); in testIntRange() local
103 assertEquals(2, inc.length); in testIntRange()
104 assertEquals(Integer.MAX_VALUE - 1, inc[0]); in testIntRange()
105 assertEquals(Integer.MAX_VALUE, inc[1]); in testIntRange()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java405 static Integer inc(Integer x) {
425 return value = inc(x);
534 assertTrue(f.complete(inc(x)));
1074 return inc(v1); in testHandle_normalCompletion()
1078 checkCompletedNormally(g, inc(v1)); in testHandle_normalCompletion()
1414 checkCompletedNormally(h0, inc(v1)); in testThenApply_normalCompletion()
1415 checkCompletedNormally(h1, inc(v1)); in testThenApply_normalCompletion()
1416 checkCompletedNormally(h2, inc(v1)); in testThenApply_normalCompletion()
1417 checkCompletedNormally(h3, inc(v1)); in testThenApply_normalCompletion()
1419 for (IncFunction r : rs) r.assertValue(inc(v1)); in testThenApply_normalCompletion()
[all …]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java753 private static boolean inc(int[] num, int base) { in inc() method in TestCertUtils.UniGen
804 if (inc(counts, datas.length)) { in genNames()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java1730 private boolean tryRelease(long c, WorkQueue v, long inc) { in tryRelease() argument
1734 long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + inc)); in tryRelease()