- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 976 for closer (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) } fail("Expected connection to be closed") } }, ), ) cancelLater(call, 500) assertFailsWith<IOException> { call.execute() }.also { expected ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
} closed = true; } } /** * Check if this authenticator has been closed * * @return true if closed, false otherwise */ public boolean isClosed() { return closed; } private void checkNotClosed() { if (closed) { throw new IllegalStateException("Authenticator has been closed"); } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
return new FileInputStream(new File(file.getPath())); } @Override public void close() throws IOException { // Nothing to close } }; } catch (Exception e) { throw new RuntimeException(e); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
* E.g., `await myfile.seek(0)` would go to the start of the file. * This is especially useful if you run `await myfile.read()` once and then need to read the contents again. * `close()`: Closes the file. As all these methods are `async` methods, you need to "await" them. For example, inside of an `async` *path operation function* you can get the contents with: ```Python contents = await myfile.read()
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
this.dataLength = len; this.digest = null; /* * otherwise recycled commands * like writeandx will choke if session * closes in between */ } /** * Sets the write mode flags for this request. * * @param writeMode * the writeMode to set */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
@Test fun closeWithoutStart() { val server = MockWebServer() server.close() } @Test fun closeViaClosable() { val server: Closeable = MockWebServer() server.close() } @Test fun closeWithoutEnqueue() { val server = MockWebServer() server.start() server.close() } @Test fun portValidAfterStart() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
*/ protected abstract void doReceiveFragment(byte[] buf, boolean isDirect) throws IOException; /** * Closes this DCERPC handle and releases resources * @throws IOException if an I/O error occurs during close */ public abstract void close() throws IOException;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* Fix: Improve recovery from failed routes. * Fix: Accommodate tunneling proxies that close the connection after an auth challenge. * Fix: Use the proxy authenticator when authenticating HTTP proxies. This regression was introduced in OkHttp 3.0. * Fix: Fail fast if network interceptors transform the response body such that closing it doesn't also close the underlying stream. We had a bug whereRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
internal/lru/lru.go
c.removeOldest() } c.size = size return diff } // Close destroys cleanup goroutine. To clean up the cache, run Purge() before Close(). // func (c *LRU[K, V]) Close() { // c.mu.Lock() // defer c.mu.Unlock() // select { // case <-c.done: // return // default: // } // close(c.done) // } // removeOldest removes the oldest item from the cache. Has to be called with lock!
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0)