- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 517 for timedOut (0.56 seconds)
-
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) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt
override fun read( sink: Buffer, byteCount: Long, ): Long { check(!closed) return data.read(sink, byteCount) } override fun timeout(): Timeout = Timeout.NONE } return source.buffer().asResponseBody(null, -1) } private fun newResponse( responseBody: ResponseBody, code: Int = 200, fn: Response.Builder.() -> Unit = {},Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
* @param process The process to monitor. * @param timeout The timeout duration in milliseconds. */ public MonitorThread(final Process process, final long timeout) { this.process = process; this.timeout = timeout; } /** * Runs the monitor thread, sleeping for the timeout duration and terminating the process if needed. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
this.session = session; this.notifyAll(); } /** Waits for an OAuth session for this client to be set. */ public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException { while (session == null) { timeout.waitUntilNotified(this); } } /** Starts a real time messaging session. */ public void startRtm() throws IOException { String accessToken;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.4K bytes - Click Count (0) -
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) -
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) -
docs/smb3-features/02-persistent-handles-design.md
public static final String NAME = "DH2Q"; // Durable Handle V2 Request private long timeout; private int flags; private HandleGuid createGuid; public DurableHandleV2Request(long timeout, boolean persistent) { super(NAME); this.timeout = timeout; this.flags = persistent ? Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT : 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
/** Timeout for process destruction in milliseconds. */ private final long timeout; /** * Constructor for ProcessDestroyer. * @param p The process to monitor. * @param ist The input stream thread. * @param timeout The destruction timeout. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K 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) -
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)