- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 3,107 for execution (0.25 seconds)
-
android/guava/src/com/google/common/util/concurrent/AsyncFunction.java
* asynchronous derivations. * * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}. */ ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
import java.util.concurrent.Executor; import java.util.concurrent.Future; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Test for {@link ListenableFuture}. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ListenableFutureTest extends TestCase { public void testNoNewApis() throws Exception { assertWithMessage(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
private static class QueuingExecutor implements Executor { private final Deque<Runnable> tasks = new ArrayDeque<>(); @Override public void execute(Runnable task) { tasks.add(task); } private void runNext() { tasks.removeFirst().run(); } } public void testAsyncReload() throws Exception { AtomicInteger loadCount = new AtomicInteger();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
* * @author Nishant Thakkar */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class FuturesTransformTest extends AbstractChainedListenableFutureTest<String> { private static final String RESULT_DATA = "SUCCESS"; private static final UndeclaredThrowableException WRAPPED_EXCEPTION = new UndeclaredThrowableException(EXCEPTION); @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java
/** * Closes the crawler client and releases any resources associated with it. * This default implementation does nothing. * * @throws Exception if an error occurs during closing */ @Override default void close() throws Exception { // nothing }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 1.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
count = count + 1; validPluginCounts.put(pluginArtifactId, count); } assertNotNull(testPlugin); List<PluginExecution> executions = testPlugin.getExecutions(); assertEquals(1, executions.size()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 04 10:35:11 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
* * @param actionListener the action listener for handling the response * @param exceptionListener the exception listener for handling exceptions */ public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) { final Runnable task = () -> { final String finalUrl; if (paramList != null) {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
import org.apache.lucene.search.PrefixQuery; import org.apache.lucene.search.TermQuery; import org.codelibs.fess.Constants; import org.codelibs.fess.entity.QueryContext; import org.codelibs.fess.exception.InvalidQueryException; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.util.DfTypeUtil; import org.junit.jupiter.api.Test;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
checkNotNull(loader); checkNotNull(executor); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { return loader.load(key); } @Override public ListenableFuture<V> reload(K key, V oldValue) { ListenableFutureTask<V> task =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
barrier.await(1, SECONDS); assertFalse(executor.isShutdown()); assertFalse(executor.isTerminated()); executor.shutdown(); assertTrue(executor.isShutdown()); assertThrows(RejectedExecutionException.class, () -> executor.submit(() -> {})); assertFalse(executor.isTerminated()); // WAIT #2 barrier.await(1, SECONDS); assertFalse(executor.awaitTermination(20, MILLISECONDS));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0)