- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 228 for readPing (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
disconnectBeforeTrailers(Protocol.HTTP_1_1) } @Test fun disconnectBeforeTrailersHttp2() { disconnectBeforeTrailers(Protocol.HTTP_2) } /** Confirm we can get an [IOException] reading trailers. */ private fun disconnectBeforeTrailers(protocol: Protocol) { enableProtocol(protocol) server.enqueue( MockResponse .Builder() .trailers(headersOf("t1", "v2"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
} @Throws(IOException::class) private fun completeEvent( id: String?, type: String?, data: Buffer, ) { if (data.size != 0L) { lastId = id data.skip(1L) // Leading newline. callback.onEvent(id, type, data.readUtf8()) } } companion object { private val options = Options.of( // 0 "\r\n".encodeUtf8(), // 1
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
So they began solemnly dancing round and round Alice, every now and then treading on her toes when they passed too close, and waving their forepaws to mark the time, while the Mock Turtle sang this, very slowly and sadly:-- `"Will you walk a little faster?" said a whiting to a snail. "There's a porpoise close behind us, and he's treading on my tail. See how eagerly the lobsters and the turtles all advance!
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 145.2K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
* Fix: Don't unzip if there isn't a response body. * Fix: Don't leak gzip streams on redirects. * Fix: Don't do DNS lookups on invalid hosts. * Fix: Exhaust the underlying stream when reading gzip streams. * Fix: Support the `PATCH` method. * Fix: Support request bodies on `DELETE` method. * Fix: Drop the `okhttp-protocols` module. * Internal: Replaced internal byte array buffers with pooled buffers ("OkBuffer").
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* seenExceptionsField to its exception * * Thread2: calls setException(), which returns false, CASes seenExceptionsField to its * exception, and wrongly believes that its exception is new (leading it to logging it when it * shouldn't) * * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
return asCharSource(url, charset).readLines(callback); } /** * Reads all of the lines from a URL. The lines do not include line-termination characters, but do * include other leading and trailing whitespace. * * <p>This method returns a mutable {@code List}. For an {@code ImmutableList}, use {@code * Resources.asCharSource(url, charset).readLines()}. * * @param url the URL to read from
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // Extra spaces treated as bad. assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // Missing leading zero treated as bad. assertThat("Thu, 1 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // RFC 850, obsoleted by RFC 1036 with any TZ. assertThat("Thursday, 01-Jan-1970 00:00:00 GMT-01:00".toHttpDateOrNull()!!.time)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
} /** If [e] is non-null, this will return a non-null value. */ fun complete(e: IOException?): IOException? { if (completed) return e completed = true // If the body is closed without reading any bytes send a responseBodyStart() now. if (e == null && invokeStartEvent) { invokeStartEvent = false eventListener.responseBodyStart(call) } return bodyComplete(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
* @param outputFile the file where the processed thumbnail will be saved * @return the result of the image processing operation * @throws IOException if an error occurs during image reading or writing operations */ protected Result saveImage(final ImageInputStream input, final File outputFile) throws IOException { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
} return dummy; } /** * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate * implementation for Joiner since it fails on leading empty components. */ @Benchmark int stringBuilderIsEmpty(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0)