Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java1043 CompletableFuture<U> snd; // second source for action field in CompletableFuture.BiCompletion
1045 CompletableFuture<T> src, CompletableFuture<U> snd) { in BiCompletion() argument
1046 super(executor, dep, src); this.snd = snd; in BiCompletion()
1098 CompletableFuture<T> src, CompletableFuture<U> snd, in BiApply() argument
1100 super(executor, dep, src, snd); this.fn = fn; in BiApply()
1107 !d.biApply(a = src, b = snd, fn, mode > 0 ? null : this)) in tryFire()
1109 dep = null; src = null; snd = null; fn = null; in tryFire()
1169 CompletableFuture<T> src, CompletableFuture<U> snd, in BiAccept() argument
1171 super(executor, dep, src, snd); this.fn = fn; in BiAccept()
1178 !d.biAccept(a = src, b = snd, fn, mode > 0 ? null : this)) in tryFire()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java1615 final CompletableFuture<Integer> snd = !fFirst ? f : g; in testThenCombine_normalCompletion() local
1630 assertTrue(snd.complete(w2)); in testThenCombine_normalCompletion()
1662 final CompletableFuture<Integer> snd = !fFirst ? f : g; in testThenCombine_exceptionalCompletion() local
1667 () -> snd.complete(v1) : in testThenCombine_exceptionalCompletion()
1668 () -> snd.completeExceptionally(ex); in testThenCombine_exceptionalCompletion()
1684 checkCompletedNormally(failFirst ? snd : fst, v1); in testThenCombine_exceptionalCompletion()
1685 checkCompletedExceptionally(failFirst ? fst : snd, ex); in testThenCombine_exceptionalCompletion()
1705 final CompletableFuture<Integer> snd = !fFirst ? f : g; in testThenCombine_sourceCancelled() local
1710 () -> snd.complete(v1) : in testThenCombine_sourceCancelled()
1711 () -> snd.cancel(mayInterruptIfRunning); in testThenCombine_sourceCancelled()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java1678 final CompletableFuture<Integer> snd = !fFirst ? f : g; in testThenCombine_normalCompletion() local
1693 assertTrue(snd.complete(w2)); in testThenCombine_normalCompletion()
1725 final CompletableFuture<Integer> snd = !fFirst ? f : g; in testThenCombine_exceptionalCompletion() local
1730 () -> snd.complete(v1) : in testThenCombine_exceptionalCompletion()
1731 () -> snd.completeExceptionally(ex); in testThenCombine_exceptionalCompletion()
1747 checkCompletedNormally(failFirst ? snd : fst, v1); in testThenCombine_exceptionalCompletion()
1748 checkCompletedExceptionally(failFirst ? fst : snd, ex); in testThenCombine_exceptionalCompletion()
1768 final CompletableFuture<Integer> snd = !fFirst ? f : g; in testThenCombine_sourceCancelled() local
1773 () -> snd.complete(v1) : in testThenCombine_sourceCancelled()
1774 () -> snd.cancel(mayInterruptIfRunning); in testThenCombine_sourceCancelled()
[all …]
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java4493 private static BigDecimal add(final long xs, int scale1, BigInteger snd, int scale2) { in add() argument
4496 boolean sameSigns = (Long.signum(xs) == snd.signum); in add()
4503 sum = snd.add(bigMultiplyPowerTen(xs,raise)); in add()
4505 sum = snd.add(scaledX); in add()
4508 int raise = checkScale(snd,sdiff); in add()
4509 snd = bigMultiplyPowerTen(snd,raise); in add()
4510 sum = snd.add(xs); in add()
4517 private static BigDecimal add(BigInteger fst, int scale1, BigInteger snd, int scale2) { in add() argument
4526 int raise = checkScale(snd,sdiff); in add()
4527 snd = bigMultiplyPowerTen(snd,raise); in add()
[all …]