- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 556 for Timeout (0.17 seconds)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
return createGuid; } /** * Get the timeout value in milliseconds * @return the timeout in milliseconds */ public long getTimeoutMs() { return timeoutMs; } /** * Get the timeout value in 100-nanosecond intervals as required by MS-SMB2 * @return the timeout in 100-nanosecond intervals */ public long getTimeoutFor100Ns() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
internal/lsync/lrwmutex.go
} // GetLock tries to get a write lock on lm before the timeout occurs. func (lm *LRWMutex) GetLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) { const isWriteLock = true return lm.lockLoop(ctx, id, source, timeout, isWriteLock) } // RLock holds a read lock on lm. //
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
* * @param name the pipe name to wait for * @param timeout the timeout value in milliseconds */ public FsctlPipeWaitRequest(final String name, final long timeout) { this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE); this.timeoutSpecified = true; this.timeout = timeout; } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
tests/test_stream_cancellation.py
"""JSONL async generator with no internal await.""" i = 0 while True: yield i i += 1 async def _run_asgi_and_cancel(app: FastAPI, path: str, timeout: float) -> bool: """Call the ASGI app for *path* and cancel after *timeout* seconds. Returns `True` if the cancellation was delivered (i.e. it did not hang). """ chunks: list[bytes] = []Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* specified {@code timeout}, or returns {@code false} immediately (without waiting) if the permit * would not have been granted before the timeout expired. * * <p>This method is equivalent to {@code tryAcquire(1, timeout)}. * * @param timeout the maximum time to wait for the permit. Negative values are treated as zero.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* Returns a new chain with the specified read timeout. */ fun withReadTimeout( timeout: Int, unit: TimeUnit, ): Chain /** * Returns the write timeout in milliseconds. */ fun writeTimeoutMillis(): Int /** * Returns a new chain with the specified write timeout. */ fun withWriteTimeout( timeout: Int, unit: TimeUnit, ): ChainCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
internal/dsync/drwmutex_test.go
if !drwm1.GetRLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) { panic("Failed to acquire read lock") } // fmt.Println("1st read lock acquired, waiting...") drwm2 := NewDRWMutex(ds, "simplelock") ctx2, cancel2 := context.WithCancel(t.Context()) if !drwm2.GetRLock(ctx2, cancel2, id, source, Options{Timeout: time.Second}) { panic("Failed to acquire read lock") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
} /** * Sets the timeout value in seconds. * * @param timeout the timeout value */ public void setTimeout(int timeout) { this.timeout = timeout; } /** * Gets the timeout value. * * @return the timeout value */ public int getTimeout() { return timeout; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Simple memory management tests to validate basic resource cleanup functionality */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java
* It is used to interrupt a running thread when a timeout occurs. * The class provides methods to interrupt the thread and stop the timeout target. * * <p> * The class uses a logger to log debug messages. * It also uses an AtomicBoolean to track whether the thread is running. * </p> * * <p> * The expired method is called when a timeout occurs. * It interrupts the running thread up to a maximum number of times.
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 2.8K bytes - Click Count (0)