- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 776 for thread (0.65 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
private final CountDownLatch exitRun = new CountDownLatch(1); private Thread executionThread; private Throwable thrownByExecutionThread; private final Executor exceptionCatchingExecutor = new Executor() { @Override public void execute(Runnable command) { executionThread = new Thread(command); executionThread.setUncaughtExceptionHandler(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
void recordHits(int count); /** * Records cache misses. This should be called when a cache request returns a value that was not * found in the cache. This method should be called by the loading thread, as well as by threads * blocking on the load. Multiple concurrent calls to {@link Cache} lookup methods with the same * key on an absent value should result in a single call to either {@code recordLoadSuccess} or
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
/** Dispatcher is not [Lockable] because we don't want that type in our public API. */ internal fun Dispatcher.assertLockNotHeld() { if (assertionsEnabled && Thread.holdsLock(this)) { throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this") } } /** * Returns the string "OkHttp" unless the library has been shaded for inclusion in another library,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
android/guava/src/com/google/common/escape/Platform.java
*/ @GwtCompatible final class Platform { private Platform() {} /** Returns a thread-local 1024-char array. */ static char[] charBufferFromThreadLocal() { // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get return requireNonNull(DEST_TL.get()); } /** * A thread-local destination buffer to keep us from creating new buffers. The starting size isRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
ThreadFactory threadFactory = r -> { Thread t = new Thread(r, "ResourceManager-Cleanup"); t.setDaemon(true); return t; }; cleanupExecutor = Executors.newSingleThreadScheduledExecutor(threadFactory); // Add shutdown hook for cleanup Runtime.getRuntime().addShutdownHook(new Thread(this::shutdown, "ResourceManager-Shutdown"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
* context class loader will find resources from the class path. In environments where different * threads can have different class loaders, for example app servers, the context class loader * will typically have been set to an appropriate loader for the current thread. * * <p>In the unusual case where the context class loader is null, the class loader that loaded * this class ({@code Resources}) will be used instead. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) { try { Thread.sleep(50); } catch (InterruptedException e) { Thread.currentThread().interrupt(); break; } } assertEquals(CrawlerStatus.RUNNING, crawler.crawlerContext.getStatus());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Nov 11 13:40:14 UTC 2025 - 25.8K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java
* under the License. */ /** * Provides an immutable XML processing API for Maven, offering classes and interfaces * for reading, manipulating, and writing XML documents in a thread-safe manner. * This package is used extensively for POM, settings, and other Maven configuration files. * * @since 4.0.0 */
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 04 14:17:18 UTC 2025 - 1.1K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt
val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) } while (client.connectionPool.connectionCount() > 0) { Thread.sleep(1000) } } @Test fun testHttpRequest() { server.enqueue(MockResponse()) server.start() val request = Request.Builder().url(server.url("/")).build()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 21 12:33:41 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
* the License. */ package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkNotNull; import static java.lang.Thread.currentThread; import com.google.common.annotations.GwtCompatible; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0)