- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,221 for closes (0.48 sec)
-
docs/features/interceptors.md
critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than once previous response bodies must be closed. Interceptors can be chained. Suppose you have both a compressing interceptor and a checksumming interceptor: you'll need to decide whether data is compressed and then checksummed, or checksummed and then compressed. OkHttp uses lists to...
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* * ```kotlin * val copy = original.clone() * * val myTag = original.tag(MyTag::class) * if (myTag != null) { * copy.tag(MyTag::class) { myTag } * } * ``` * * ```java * Call copy = original.clone(); * * MyTag myTag = original.tag(MyTag.class); * if (myTag != null) { * copy.tag(MyTag.class, () -> myTag); * } * ``` *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
} } assertThat(call.canceled).isTrue() assertThat(call.responseClosed).isTrue() } } /** A call that keeps track of whether its response body is closed. */ private class ClosableCall : FailingCall() { private val response = Response .Builder() .request(Request("https://example.com/".toHttpUrl())) .protocol(Protocol.HTTP_1_1)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/storage-interface.go
IsLocal() bool // Returns hostname if disk is remote. Hostname() string // Returns the entire endpoint. Endpoint() Endpoint // Close the disk, mark it purposefully closed, only implemented for remote disks. Close() error // Returns the unique 'uuid' of this disk. GetDiskID() (string, error) // Set a unique 'uuid' for this disk, only used when // disk is replaced and formatted.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
} return resp.getAvailable(); } catch (final SmbException se) { throw seToIoe(se); } } @Override public void close() { // ignore, the shared file descriptor is closed by the pipe handle }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
RdmaMemoryRegion region; while ((region = availableSendRegions.poll()) != null) { region.close(); totalReleased.incrementAndGet(); } while ((region = availableReceiveRegions.poll()) != null) { region.close(); totalReleased.incrementAndGet(); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
* {@link ByteStreams} method returns a singleton stream whose {@code close} method has no effect, * while the {@link OutputStream} method returns a new instance whose {@code write} methods throw * if called on a closed stream. * * @since 14.0 (since 1.0 as com.google.common.io.NullOutputStream) */ public static OutputStream nullOutputStream() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
@Timeout(30) @Tag("Slow") @Burst class CancelTest( private val cancelMode: CancelMode = INTERRUPT, private val connectionType: ConnectionType = H2, ) { @JvmField @RegisterExtension val platform = PlatformRule() private var threadToCancel: Thread? = null enum class CancelMode { CANCEL, INTERRUPT, } enum class ConnectionType { H2, HTTPS, HTTP, }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@Nested @DisplayName("Resource Management Tests") class ResourceManagementTests { @Test @DisplayName("close operation should work correctly") void testClose() { // When/Then assertDoesNotThrow(() -> mockResource.close(), "Close operation should not throw exception"); verify(mockResource).close(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
docs/ko/docs/advanced/additional-status-codes.md
nahyunkeem <******@****.***> 1733746967 +0900
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:22:47 UTC 2024 - 2.1K bytes - Viewed (0)