- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 661 for executions (0.05 sec)
-
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
void mockInteraction_stubsThrow_andVerifiesInvocation() { // Arrange: Since SmbUnsupportedOperationException is a checked exception (extends IOException), // we need to use a method that can throw checked exceptions or wrap it in a RuntimeException @SuppressWarnings("unchecked") Supplier<String> supplier = mock(Supplier.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
// such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to // avoid unintended usage. // The execution list to hold our listeners. private final ExecutionList executionList = new ExecutionList(); /** * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code * Callable}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
*/ package org.codelibs.fess.exec; import java.io.File; import java.lang.management.ManagementFactory; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.misc.DynamicProperties;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.3K bytes - Viewed (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java
* System properties are initialized before the build starts and are available throughout the entire Maven * execution. They are used for core Maven functionality that needs to be established at startup. */ SYSTEM_PROPERTIES, /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
import java.util.HashSet; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
builder.addInterceptor(interceptor) } client = builder.build() } /** Catches exceptions that are otherwise headed for the uncaught exception handler. */ private class ExceptionCatchingExecutor : ThreadPoolExecutor(1, 1, 0, TimeUnit.SECONDS, SynchronousQueue()) { private val exceptions: BlockingQueue<Exception> = LinkedBlockingQueue() override fun execute(runnable: Runnable) { super.execute {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* * (Perhaps it should also have required that its cause was a RuntimeException. However, that * would have required that we throw a different kind of exception for wrapping *checked* * exceptions in methods like Futures.getUnchecked and LoadingCache.get.) */ /** * Creates a new instance with {@code null} as its detail message and no cause. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
import static com.google.common.util.concurrent.MoreExecutors.newSequentialExecutor; import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly; import static java.util.concurrent.Executors.newCachedThreadPool; import static java.util.concurrent.Executors.newSingleThreadExecutor; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
when { this.isNullOrEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) else -> this.clone().asList().unmodifiable() } /** Closes this, ignoring any checked exceptions. */ internal fun Socket.closeQuietly() { try { close() } catch (e: AssertionError) { throw e } catch (rethrown: RuntimeException) { if (rethrown.message == "bio == null") {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
private static final ImmutableSet<CharSink> BROKEN_SINKS = ImmutableSet.of(BROKEN_CLOSE_SINK, BROKEN_OPEN_SINK, BROKEN_WRITE_SINK); public void testCopyExceptions() { // test that exceptions are suppressed for (CharSource in : BROKEN_SOURCES) { int suppressed = runSuppressionFailureTest(in, newNormalCharSink()); assertEquals(0, suppressed);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0)