- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 202 for Sall (0.14 sec)
-
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e) } } override fun loadForRequest(url: HttpUrl): List<Cookie> { val cookieHeaders = try { // The RI passes all headers. We don't have 'em, so we don't pass 'em! cookieHandler.get(url.toUri(), emptyMap<String, List<String>>()) } catch (e: IOException) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:10:43 GMT 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
fun connectionCount(): Int = delegate.connectionCount() internal val connectionListener: ConnectionListener get() = delegate.connectionListener /** Close and remove all idle connections in the pool. */ fun evictAll() { delegate.evictAll() } /** * Sets a policy that applies to [address]. * Overwrites any existing policy for that address. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 20:39:41 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
require(length < bytesOut.size - lastFrame.start) // Move everything from bytesOut into a new buffer. val fullBuffer = Buffer() bytesOut.read(fullBuffer, bytesOut.size) // Copy back all but what we're truncating. fullBuffer.read(bytesOut, lastFrame.start + length) outFrames.add(OutFrame(lastFrame.sequence, lastFrame.start, true)) return writer } fun takeFrame(): InFrame = inFrames.take()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class WebSocketWriterTest { private val data = Buffer() private val random = Random(0) /** * Check all data as verified inside of the test. We do this in an AfterEachCallback so that * exceptions thrown from the test do not cause this check to fail. */ @RegisterExtension val noDataLeftBehind =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
} open fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? { return try { // Attempt to get the trust manager from an OpenJDK socket factory. We attempt this on all // platforms in order to support Robolectric, which mixes classes from both Android and the // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
gradle/libs.versions.toml
openjsse = "org.openjsse:openjsse:1.1.14" playservices-safetynet = "com.google.android.gms:play-services-safetynet:18.0.1" robolectric-android = "org.robolectric:android-all:14-robolectric-10818077" robolectric = "org.robolectric:robolectric:4.12.1" signature-android-apilevel21 = "net.sf.androidscents.signature:android-api-level-21:5.0.1_r2"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 22 19:34:32 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
// We've successfully read a group. Assign its value to our byte array. address[b++] = (value.ushr(8) and 0xff).toByte() address[b++] = (value and 0xff).toByte() } // All done. If compression happened, we need to move bytes to the right place in the // address. Here's a sample: // // input: "1111:2222:3333::7777:8888"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
val bytes = "0201ff".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.toDer(-1L)).isEqualTo(bytes) assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-1L) } @Test fun `last byte all zeros`() { val bytes = "0202ff00".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.toDer(-256L)).isEqualTo(bytes) assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-256L) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
} @Test fun hostnameUri() { // Host names are special: // // * Several characters are forbidden and must throw exceptions if used. // * They don't use percent escaping at all. // * They use punycode for internationalization. // * URI is much more strict than HttpUrl or URL on what's accepted. //
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Call.kt
*/ package okhttp3 import okio.IOException import okio.Timeout /** * A call is a request that has been prepared for execution. A call can be canceled. As this object * represents a single request/response pair (stream), it cannot be executed twice. */ interface Call : Cloneable { /** Returns the original request that initiated this call. */ fun request(): Request /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 3.6K bytes - Viewed (0)