- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 383 for Future (0.04 seconds)
-
.github/workflows/CheckBadMerge.groovy
assert execResult.returnCode == 0: "$command failed with return code: $execResult" return execResult.stdout } static Future<String> readStreamAsync(InputStream inputStream) { return THREAD_POOL.submit({ inputStream.text } as Callable) as Future<String> }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jan 24 10:03:31 GMT 2025 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
import java.util.concurrent.Executor; import org.jspecify.annotations.Nullable; /** * A {@link ListenableFuture} which forwards all its method calls to another future. Subclasses * should override one or more methods to modify the behavior of the backing future as desired per * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p>Most subclasses can just use {@link SimpleForwardingListenableFuture}.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (0) -
internal/http/close.go
) // DrainBody close non nil response with any response Body. // convenient wrapper to drain any remaining data on response body. // // Subsequently this allows golang http RoundTripper // to reuse the same connection for future requests. func DrainBody(respBody io.ReadCloser) { // Callers should close resp.Body when done reading from it. // If resp.Body is not closed, the Client's underlying RoundTripper
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Supplier.java
* or method references instead of classes, leaving your code easier to migrate in the future. * * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
if exist "%USERPROFILE%\mavenrc_pre.bat" echo Warning: The mavenrc_pre.bat script is deprecated and will be removed in a future version. >&2 if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %* if exist "%USERPROFILE%\mavenrc_pre.cmd" echo Warning: The mavenrc_pre.cmd script is deprecated and will be removed in a future version. >&2 if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 10.7K bytes - Click Count (3) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ElementWarningsRenderer.java
link.setAttribute("url", "../userguide/feature_lifecycle.html"); link.appendChild(document.createTextNode("incubating")); para.appendChild(document.createTextNode(" and may change in a future version of Gradle.")); } if (elementDoc.isReplaced()) { Document document = parent.getOwnerDocument(); Element caution = document.createElement("caution");
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} } /** Checks that future.get times out, with the default timeout of {@code timeoutMillis()}. */ void assertFutureTimesOut(Future<?> future) { assertFutureTimesOut(future, timeoutMillis()); } /** Checks that future.get times out, with the given millisecond timeout. */ void assertFutureTimesOut(Future<?> future, long timeoutMillis) { long startTime = System.nanoTime();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 37.8K bytes - Click Count (0) -
src/bytes/buffer.go
// The slice aliases the buffer content at least until the next buffer modification, // so immediate changes to the slice will affect the result of future reads. func (b *Buffer) Bytes() []byte { return b.buf[b.off:] } // AvailableBuffer returns an empty buffer with b.Available() capacity. // This buffer is intended to be appended to and
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
* a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) { // Make sure we aren't using an Activity or Service Context
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
import java.time.Duration; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link FakeTicker}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.5K bytes - Click Count (0)