- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 237 for CLOSED (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
} return response } /** * Returns a new source that writes bytes to [cacheRequest] as they are read by the source * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we * may never exhaust the source stream and therefore not complete the cached response. */ @Throws(IOException::class) private fun cacheWritingResponse( cacheRequest: CacheRequest?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
range.lowerBoundType() == BoundType.CLOSED, range.upperEndpoint(), range.upperBoundType() == BoundType.CLOSED); } else if (range.hasLowerBound()) { return set.tailSet(range.lowerEndpoint(), range.lowerBoundType() == BoundType.CLOSED); } else if (range.hasUpperBound()) { return set.headSet(range.upperEndpoint(), range.upperBoundType() == BoundType.CLOSED); } return checkNotNull(set);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
@SuppressWarnings("unchecked") static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<>((Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, null, 0); /** * Closed addressing tends to perform well even with high load factors. Being conservative here * ensures that the table is still likely to be relatively sparse (hence it misses fast) while * saving space. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
@Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") // DoNotCall wants this to be final, but we want to override it to return more specific types. // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress. @SuppressWarnings("DoNotCall") public ImmutableCollection<V> removeAll(@Nullable Object key) { throw new UnsupportedOperationException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("getRemoteHostName returns transport value and closes resources") void getRemoteHostNameHappyPath() { // Ensures remote host name is sourced from transport and resources are closed when(transport.getRemoteHostName()).thenReturn("remote.example"); String name = handle.getRemoteHostName(); assertEquals("remote.example", name); // try-with-resources should close both
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
} finally { soTimeout = readTimeout } } catch (_: SocketTimeoutException) { true // Read timed out; socket is good. } catch (_: IOException) { false // Couldn't read; socket is closed. } internal inline fun threadName( name: String, block: () -> Unit, ) { val currentThread = Thread.currentThread() val oldName = currentThread.name currentThread.name = name try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
* * If the call's connection exists and is eligible for another exchange, it is returned. If it * exists but cannot be used for another exchange, it is closed and this returns null. */ private fun planReuseCallConnection(): ReusePlan? { // This may be mutated by releaseConnectionNoEvents()! val candidate = connectionUser.candidateConnection() ?: return null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
@Test void testDisconnect() throws Exception { // Act ntlmConnection.disconnect(); // Assert verify(mockConnection).disconnect(); // Connection should be closed after disconnect } /** * Test simple getter methods that should trigger the handshake. * We mock a simple 200 OK response to test the handshake is called. * @throws IOException */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Upgrade: [Kotlin 1.6.20][kotlin_1_6_20]. * Upgrade: [Okio 3.0.0][okio_3_0_0]. * Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs when OkHttp retrieves ALPN state on a closed connection. ## Version 4.9.3 _2021-11-21_ * Fix: Don't fail HTTP/2 responses if they complete before a `RST_STREAM` is sent. ## Version 4.9.2 _2021-09-30_
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
clientReaderWithCompression.close() assertFailsWith<Exception> { clientReaderWithCompression.processNextFrame() }.also { expected -> assertThat(expected.message!!).contains("closed") } } private fun binaryData(length: Int): ByteString { val junk = ByteArray(length) random.nextBytes(junk) return junk.toByteString() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0)