- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for blocking (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
assertThrows(ExecutionException.class, () -> getDone(task)); assertThat(executionException).hasCauseThat().isEqualTo(e); } @J2ktIncompatible @GwtIncompatible // blocking wait public void testCancel_interrupted() throws Exception { AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); CountDownLatch enterLatch = new CountDownLatch(1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code * numElements} elements are not available, it will wait for them up to the specified timeout. * * @param q the blocking queue to be drained * @param buffer where to add the transferred elements * @param numElements the number of elements to be waited for * @param timeout how long to wait before giving up
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code * numElements} elements are not available, it will wait for them up to the specified timeout. * * @param q the blocking queue to be drained * @param buffer where to add the transferred elements * @param numElements the number of elements to be waited for * @param timeout how long to wait before giving up
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
@Test void testWatchTimeout() throws Exception { // Create a handle that simulates blocking operation SmbWatchHandle blockingHandle = new SmbWatchHandle() { @Override public List<FileNotifyInformation> watch() throws CIFSException { try { // Simulate blocking indefinitely Thread.sleep(Long.MAX_VALUE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
} // Check global rate limit if (!checkGlobalRateLimit()) { totalAttemptsBlocked.incrementAndGet(); log.warn("Global rate limit exceeded, blocking attempt from {}", sourceIp); return false; } // Check per-account limit if (username != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
// Internal state of this connection is guarded by 'lock'. No blocking operations may be // performed while holding this lock! // // Socket writes are guarded by frameWriter. // // Socket reads are unguarded but are only made by the reader thread. // // Certain operations (like SYN_STREAM) need to synchronize on both the frameWriter (to do
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
* * This class implements the TRANS_PEEK_NAMED_PIPE transaction which allows * reading data from a pipe without removing it, useful for checking if data * is available before performing a blocking read. */ public class TransPeekNamedPipe extends SmbComTransaction { private final int fid; /** * Constructs a TransPeekNamedPipe request to check the status of a named pipe. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED; SMBUtil.writeInt4(flags, data, offset + 16); // Create new Mac instance for thread safety without blocking other operations Mac mac; try { mac = createMacInstance(); } catch (GeneralSecurityException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
docs/en/docs/async.md
### Other forms of asynchronous code { #other-forms-of-asynchronous-code } This style of using `async` and `await` is relatively new in the language.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 24K bytes - Viewed (0) -
README.md
configured to fall back for broad connectivity. Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It supports both synchronous blocking calls and async calls with callbacks. A well behaved user agent ------------------------- OkHttp follows modern HTTP specifications such as
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0)