- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 961 for Spread (0.05 seconds)
-
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
} catch (ExecutionException e) { throw new AssertionError(e); } } static void verifyThreadWasNotInterrupted() { assertFalse(Thread.currentThread().isInterrupted()); } static void clearInterrupt() { Thread.interrupted(); } /** * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long, * TimeUnit)} overload in order to test that method.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key1 = limitedManager.requestLease("/share/file1.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING); Thread.sleep(5); // Small delay to ensure different timestamps Smb2LeaseKey key2 = limitedManager.requestLease("/share/file2.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING); Thread.sleep(5); // Small delay to ensure different timestamps
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* certain core JDK classes. */ private void runTestMethod(ClassLoader classLoader) throws Exception { ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(classLoader); try { Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
* This class serves as a foundation for concrete CIFS context implementations. * * @author mbechler */ public abstract class AbstractCIFSContext extends Thread implements CIFSContext { private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class); private boolean closed; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
private final AtomicInteger registrationCounter = new AtomicInteger(0); private final ConcurrentHashMap<String, MockRegistration> registrations = new ConcurrentHashMap<>(); private Thread serverThread; /** * Mock registration data */ private static class MockRegistration { final String registrationId; final String shareName; final String serverAddress;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
} /** * Sets the job runtime for the current thread. * * @param runtime the job runtime to set */ public void setJobRuntime(final LaJobRuntime runtime) { jobRuntimeLocal.set(runtime); } /** * Gets the job runtime for the current thread. * * @return the job runtime for the current thread */ public LaJobRuntime getJobRuntime() {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
* UncheckedExecutionException, which has the stack trace from this thread and which has its * cause set to the underlying exception (which may be from another thread). If we someday * learn that some other exception besides IllegalArgumentException is common, then we could * add another special case to throw an instance of it, too. */ throw e; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (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} orCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
import jakarta.annotation.PreDestroy; import jakarta.annotation.Resource; /** * IndexUpdater is responsible for updating the search index with crawled document data. * This class extends Thread and continuously processes access results from the crawler, * transforms them into indexed documents, and updates the OpenSearch index. * * <p>The updater performs the following key operations: * <ul>
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 32.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt
} private fun makeSynchronousCall(call: Call): Thread { val thread = Thread { try { call.execute() throw AssertionError() } catch (expected: IOException) { } } thread.start() return thread } private fun newRequest(url: String): Request = Request.Builder().url(url).build()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 15.8K bytes - Click Count (0)