- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 961 for Spread (0.08 seconds)
-
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} @Override public int size() { assertTrue(Thread.holdsLock(mutex)); return super.size(); } @Override public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } @Override public @Nullable V remove(Object object) { assertTrue(Thread.holdsLock(mutex)); return super.remove(object); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 18 14:47:20 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* observing a null thread does not mean the object is safe to reuse. * <li>If this field's value is some other thread object, we know that it's not our thread. * <li>If this field's value == null because it originally belonged to another thread and that * thread cleared it, we still know that it's not associated with our threadCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
logger.warn("Failed to write thread dump: file={}", file, e); } } /** * Processes all thread information and sends it to the provided consumer. * * @param writer the consumer that will handle each line of thread dump output */ public static void processThreadDump(final Consumer<String> writer) {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
} }, 1, true); assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000); assertTrue(expiredCount > 0); assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount()); TimeoutManager.getInstance().stop(); assertNull(TimeoutManager.getInstance().thread); Thread.sleep(10); int count = expiredCount; task.stop();Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.1K bytes - Click Count (0) -
CLAUDE.md
.done(response -> { /* handle success */ }) .error(throwable -> { /* handle error */ }); ``` --- ## Important Notes ### Thread Safety - **Suggester**: Thread-safe for queries - **SuggestIndexer**: Thread-safe for indexing - **SuggestSettings**: NOT thread-safe for modifications ### Performance - Use batch operations for indexing (100-500 items) - Don't call `refresh()` too frequently
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
* * It is possible to cancel the finding process by canceling its call. * * Implementations of this interface are not thread-safe. Each instance is thread-confined to the * thread executing the call. */ interface RoutePlanner { val address: Address /** Follow-ups for failed plans and plans that lost a race. */ val deferredPlans: ArrayDeque<Plan>Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:58:02 GMT 2025 - 4.2K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testMonotonicBehavior() throws InterruptedException { Instant first = MonotonicClock.now(); Thread.sleep(10); // Small delay Instant second = MonotonicClock.now(); Thread.sleep(10); // Small delay Instant third = MonotonicClock.now(); assertTrue(first.isBefore(second), "Time should progress forward between measurements");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:35:26 GMT 2025 - 9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
Thread newStartedThread(Runnable runnable) { Thread t = new Thread(runnable); t.setDaemon(true); t.start(); return t; } /** * Waits for the specified time (in milliseconds) for the thread to terminate (using {@link * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and * fails. */
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) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
class Interruptenator extends Thread { final AtomicBoolean shutdown; Interruptenator(Thread interruptee) { this(interruptee, new AtomicBoolean(false)); } @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. Interruptenator(Thread interruptee, AtomicBoolean shutdown) { super( new Runnable() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 7.9K bytes - Click Count (0)