- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for truncated (0.26 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
public val url: HttpUrl, /** All headers. */ public val headers: Headers, /** The body of this request, or null if it has none. This may be truncated. */ public val body: ByteString?, /** The total size of the body of this request (before truncation).*/ public val bodySize: Long, /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) { return false } } return true } catch (_: EOFException) { return false // Truncated UTF-8 sequence. }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} } } override fun peekTrailers(): Headers? { if (trailers === TRAILERS_RESPONSE_BODY_TRUNCATED) { throw IOException("Trailers cannot be read because the response body was truncated") } check(state == STATE_READING_RESPONSE_BODY || state == STATE_CLOSED) { "Trailers cannot be read because the state is $state" } return trailers }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
rangeToRemove.upperBound, rangeMapEntry.getUpperBound(), mapEntryBelowToTruncate.getValue().getValue()); } // overwrite mapEntryToTruncateBelow with a truncated range putRangeMapEntry( rangeMapEntry.getLowerBound(), rangeToRemove.lowerBound, mapEntryBelowToTruncate.getValue().getValue()); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt
assertInvalid("HTTP/1.1 2000 OK") assertInvalid("HTTP/1.1 two OK") assertInvalid("HTTP/1.1 2") assertInvalid("HTTP/1.1 2000") assertInvalid("HTTP/1.1 two") } @Test fun truncated() { assertInvalid("") assertInvalid("H") assertInvalid("HTTP/1") assertInvalid("HTTP/1.") assertInvalid("HTTP/1.1") assertInvalid("HTTP/1.1 ") assertInvalid("HTTP/1.1 2")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* the sequence will be returned as a string with no changes to the content. * * <p>Examples: * * {@snippet : * Ascii.truncate("foobar", 7, "..."); // returns "foobar" * Ascii.truncate("foobar", 5, "..."); // returns "fo..." * } * * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
} } /** * Returns a new {@link ByteSink} for writing bytes to the given file. The given {@code modes} * control how the file is opened for writing. When no mode is provided, the file will be * truncated before writing. When the {@link FileWriteMode#APPEND APPEND} mode is provided, writes * will append to the end of the file without truncating it. * * @since 14.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
* body. If fewer than [byteCount] bytes are in the response body, the full response body is * returned. If more than [byteCount] bytes are in the response body, the returned value * will be truncated to [byteCount] bytes. * * It is an error to call this method after the body has been consumed. * * **Warning:** this method loads the requested bytes into memory. Most applications should set
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0)