- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 375 for comparison (0.08 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
} catch (e: GeneralSecurityException) { throw AssertionError("No System TLS: $e", e) // The system has no TLS. Just give up. } } override fun toString(): String = javaClass.simpleName companion object { @Volatile private var platform = findPlatform() const val INFO = 4 const val WARN = 5 private val logger = Logger.getLogger(OkHttpClient::class.java.name) @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import kotlin.test.assertFailsWith import okhttp3.internal.applyConnectionSpec import okhttp3.internal.platform.Platform.Companion.isAndroid import okhttp3.testing.PlatformRule import okhttp3.testing.PlatformVersion.majorVersion import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class ConnectionSpecTest {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
import okhttp3.internal.deleteIfExists import okhttp3.internal.isCivilized import okhttp3.internal.okHttpName import okhttp3.internal.platform.Platform import okhttp3.internal.platform.Platform.Companion.WARN import okio.BufferedSink import okio.FileNotFoundException import okio.FileSystem import okio.ForwardingFileSystem import okio.ForwardingSource import okio.Path import okio.Sink import okio.Source
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
if (cancelMode == CANCEL) { call.cancel() } else { threadToCancel!!.interrupt() } latch.countDown() }.apply { start() } return latch } companion object { // The size of the socket buffers in bytes. private const val SOCKET_BUFFER_SIZE = 256 * 1024 } } class CancelModelParamProvider : SimpleProvider() { override fun arguments() =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
} data class Scenario( val className: String, val scenario: String, ) { companion object { fun fromTestId(testId: String): Scenario { val dotBeforeScenarioName = testId.lastIndexOf('.')
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
/** Read a value as bytes without interpretation of its contents. */ fun readUnknown(): ByteString = source.readByteString(bytesLeft) override fun toString(): String = path.joinToString(separator = " / ") companion object { /** * A synthetic value that indicates there's no more bytes. Values with equivalent data may also * show up in ASN.1 streams to also indicate the end of SEQUENCE, SET or other constructed
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
@file:Suppress("ktlint:standard:filename") package okhttp3.internal import okio.ArrayIndexOutOfBoundsException import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString.Companion.decodeHex import okio.Closeable import okio.FileNotFoundException import okio.FileSystem import okio.IOException import okio.Options import okio.Path import okio.use @JvmFieldRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
* response cache won't be used. */ private fun hasConditions(request: Request): Boolean = request.header("If-Modified-Since") != null || request.header("If-None-Match") != null } companion object { /** Returns true if [response] can be stored to later serve another request. */ fun isCacheable( response: Response, request: Request, ): Boolean {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
val contentLength = response.body.contentLength() return response .newBuilder() .body(RealResponseBody(contentType, contentLength, cacheWritingSource.buffer())) .build() } companion object { /** Combines cached headers with a network headers as defined by RFC 7234, 4.3.4. */ private fun combine( cachedHeaders: Headers, networkHeaders: Headers, ): Headers {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
type = TYPE_HEADERS, flags = flags, ) sink.write(hpackBuffer, length) if (byteCount > length) writeContinuationFrames(streamId, byteCount - length) } } companion object { private val logger = Logger.getLogger(Http2::class.java.name) }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11K bytes - Viewed (0)