- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for zeros (0.16 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-549755813887L) assertThat(Adapters.INTEGER_AS_LONG.toDer(-549755813887L)).isEqualTo(bytes) } @Test fun `eight zeros`() { val bytes = "020200ff".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(255) assertThat(Adapters.INTEGER_AS_LONG.toDer(255)).isEqualTo(bytes) }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
longestRunOffset = currentRunOffset longestRunLength = currentRunLength } i += 2 } } // Emit each 2-byte group in hex, separated by ':'. The longest run of zeroes is "::". val result = Buffer() var i = 0 while (i < address.size) { if (i == longestRunOffset) { result.writeByte(':'.code) i += longestRunLength
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
// hair space assertThat(parse("http://h/\u200a").encodedPath).isEqualTo("/%E2%80%8A") // zero-width space assertThat(parse("http://h/\u200b").encodedPath).isEqualTo("/%E2%80%8B") // zero-width non-joiner assertThat(parse("http://h/\u200c").encodedPath).isEqualTo("/%E2%80%8C") // zero-width joiner assertThat(parse("http://h/\u200d").encodedPath).isEqualTo("/%E2%80%8D") // left-to-right mark
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
*/ internal var allocationLimit = 1 private set /** Current calls carried by this connection. */ val calls = mutableListOf<Reference<RealCall>>() /** Timestamp when `allocations.size()` reached zero. Also assigned upon initial connection. */ var idleAtNs = Long.MAX_VALUE /** * Returns true if this is an HTTP/2 connection. Such connections can be used in multiple HTTP * requests simultaneously. */
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 15.4K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
`BufferedSource.toResponseBody()` to `BufferedSource.asResponseBody()`. If the returned value is a view of what created it, we use _as_. * Fix: Permit response codes of zero for compatibility with OkHttp 3.x. * Fix: Change the return type of `MockWebServer.takeRequest()` to be nullable. * Fix: Make `Call.clone()` public to Kotlin callers. ## Version 4.0.0-RC1 _2019-06-03_
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} /** For example, empty Protobuf RPC messages end up as a zero-length POST. */ @Test fun zeroLengthPost() { zeroLengthPayload("POST") } @Test fun zeroLengthPost_HTTP_2() { enableProtocol(Protocol.HTTP_2) zeroLengthPost() } /** For example, creating an Amazon S3 bucket ends up as a zero-length POST. */ @Test fun zeroLengthPut() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt
* * ``` * 180C; ; Map to nothing * 0041; 0061; Case map * 0390; 03B9 0308 0301; Case map * ``` * * Each line maps from a single hexadecimal code point to zero or more hexadecimal code points. * Elements are delimited by semicolons with a comment at the end of the line. */ fun readCodePointMapping(path: Path): MappingListCodePointMapping {
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
field = maxRequestsPerHost } promoteAndExecute() } /** * A callback to be invoked each time the dispatcher becomes idle (when the number of running * calls returns to zero). * * Note: The time at which a [call][Call] is considered idle is different depending on whether it * was run [asynchronously][Call.enqueue] or [synchronously][Call.execute]. Asynchronous calls
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
* `HttpURLConnection` who flushes more bytes to the output stream than the connection's write * window will block. * * Zero [byteCount] writes are not subject to flow control and will not block. The only use case * for zero [byteCount] is closing a flushed output stream. */ @Throws(IOException::class) fun writeData( streamId: Int, outFinished: Boolean,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 32.6K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* Update to http/2 draft 12. * Update to HPACK draft 07. * Add ALPN support. Maven will use ALPN on OpenJDK 8. * Update NPN dependency to target `jdk7u60-b13` and `Oracle jdk7u55-b13`. * Ensure SPDY variants support zero-length DELETE and POST. * Prevent leaking a cache item's InputStreams when metadata read fails. * Use a string to identify TLS versions in routes. * Add frame logger for HTTP/2.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0)