- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 688 for Thread (0.04 sec)
-
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * A ScheduledExecutorService that executes all scheduled actions immediately in the calling thread. * * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints. * * @author John Sirois * @author Zach van Schouwen */ @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * A ScheduledExecutorService that executes all scheduled actions immediately in the calling thread. * * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints. * * @author John Sirois * @author Zach van Schouwen */ @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
* useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code * static final} constants. * * {@snippet : * // Bad! Do not do this! * Joiner joiner = Joiner.on(','); * joiner.skipNulls(); // does nothing!
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 19.3K bytes - Viewed (0) -
internal/lru/lru.go
import ( "sync" "time" ) // EvictCallback is used to get a callback when a cache entry is evicted type EvictCallback[K comparable, V any] func(key K, value V) // LRU implements a thread-safe LRU with expirable entries. type LRU[K comparable, V any] struct { size int evictList *LruList[K, V] items map[K]*Entry[K, V] onEvict EvictCallback[K, V] // expirable options mu sync.Mutex
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
README.md
- **Logging Abstraction** (`org.codelibs.core.log`) - Flexible logging system supporting JCL (Jakarta Commons Logging) and JUL (Java Util Logging) - **Concurrent Utilities** (`org.codelibs.core.concurrent`) - Thread-safe collections and concurrency helpers using modern concurrent APIs - **Crypto & Security** (`org.codelibs.core.crypto`, `org.codelibs.core.security`) - Basic cryptographic utilities, message digest operations, and secure random generation
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
this.localInterfaces = new ArrayList<>(); this.remoteInterfaces = new ArrayList<>(); this.scheduler = Executors.newScheduledThreadPool(2, r -> { Thread t = new Thread(r, "MultiChannelScheduler"); t.setDaemon(true); return t; }); this.loadBalancer = new ChannelLoadBalancer(this); this.failover = new ChannelFailover(this);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
} }); } executor.shutdown(); assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout"); // Analyze timing consistency across threads if (!timings.isEmpty()) { double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
// start AccessTimeoutTarget accessTimeoutTarget = null; TimeoutTask accessTimeoutTask = null; if (accessTimeout != null) { accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread()); accessTimeoutTask = TimeoutManager.getInstance().addTimeoutTarget(accessTimeoutTarget, accessTimeout, false); } try {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
/** * Cached value of #publicSuffixIndex(). Do not use directly. * * <p>Since this field isn't {@code volatile}, if an instance of this class is shared across * threads before it is initialized, then each thread is likely to compute their own copy of the * value. */ @SuppressWarnings("Immutable") @LazyInit private int publicSuffixIndexCache = SUFFIX_NOT_INITIALIZED; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
}; /** * Returns a builder for creating simple, fast escapers. A builder instance can be reused and each * escaper that is created will be a snapshot of the current builder state. Builders are not * thread safe. * * <p>The initial state of the builder is such that: * * <ul> * <li>There are no replacement mappings * <li>{@code safeMin == Character.MIN_VALUE}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0)