- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 700 for executes (0.03 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
AtomicInteger collisions = new AtomicInteger(0); // When generating nonces concurrently ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int t = 0; t < threadCount; t++) { executor.submit(() -> { try { for (int i = 0; i < noncesPerThread; i++) { byte[] nonce = context.generateNonce();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
int sessionCount = 10; ExecutorService executor = Executors.newFixedThreadPool(5); CountDownLatch latch = new CountDownLatch(sessionCount); for (int i = 0; i < sessionCount; i++) { final int sessionIndex = i; executor.submit(() -> { try { String sessionId = "concurrent-session-" + sessionIndex;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ScheduledExecutorService executor = newScheduledThreadPool(1); try { FluentFuture<?> f = FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor); ExecutionException e = assertThrows(ExecutionException.class, () -> f.get()); assertThat(e).hasCauseThat().isInstanceOf(TimeoutException.class); } finally { executor.shutdown(); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* CacheLoader#reload} using {@code executor}. * * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such * as {@linkplain #reload the default implementation}. * * @since 17.0 */ @GwtIncompatible // Executor + Futures public static <K, V> CacheLoader<K, V> asyncReloading( CacheLoader<K, V> loader, Executor executor) { checkNotNull(loader);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
ListenableFuture<I> input, AsyncFunction<? super I, ? extends O> function, Executor executor) { AsyncTransformFuture<I, O> output = new AsyncTransformFuture<>(input, function); input.addListener(output, rejectionPropagatingExecutor(executor, output)); return output; } static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> create(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
@Override public String call() { return "foo"; } } /** Simple same thread listening executor service that doesn't handle shutdown. */ private static class TestListeningExecutorService extends AbstractListeningExecutorService { @Override public void execute(Runnable runnable) { assertThat(runnable).isInstanceOf(TrustedListenableFutureTask.class); runnable.run(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
/** * @since 13.0 */ @Override public final void addListener(Listener listener, Executor executor) { listeners.addListener(listener, executor); } @Override public String toString() { return getClass().getSimpleName() + " [" + state() + "]"; } /** * Attempts to execute all the listeners in {@link #listeners} while not holding the {@link * #monitor}. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
CountDownLatch latch = new CountDownLatch(threadCount); AtomicInteger successCount = new AtomicInteger(0); ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int t = 0; t < threadCount; t++) { final int threadId = t; executor.submit(() -> { try { for (int i = 0; i < operationsPerThread; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
.setSize(500) .setScroll(settings.getScrollTimeout()) .setQuery(QueryBuilders.rangeQuery(freqField).gte(1)) .execute() .actionGet(settings.getSearchTimeout()); String scrollId = response.getScrollId(); try { while (scrollId != null) {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 34.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; import java.util.Collections; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0)