- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 185 for true (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
!"TE".equals(fieldName, ignoreCase = true) && !"Trailers".equals(fieldName, ignoreCase = true) && !"Transfer-Encoding".equals(fieldName, ignoreCase = true) && !"Upgrade".equals(fieldName, ignoreCase = true) } /** * Returns true if [fieldName] is content specific and therefore should always be used * from cached headers. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt
assertThat(cleartextSpec.isTls).isFalse() } @Test fun tlsBuilder_explicitCiphers() { val tlsSpec = ConnectionSpec.Builder(true) .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5) .tlsVersions(TlsVersion.TLS_1_2) .supportsTlsExtensions(true) .build() assertThat(tlsSpec.cipherSuites!!.toList()) .containsExactly(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
object : Runnable { override fun run() { var incrementedRunCallCount = false while (true) { val task = ******@****.***ck { if (!incrementedRunCallCount) { incrementedRunCallCount = true runCallCount++ } awaitTaskToRun() } ?: return
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
socketFactory[ipv6] = server1.inetSocketAddress socketFactory[ipv4] = server2.inetSocketAddress client = client.newBuilder() .fastFallback(true) .apply { retryOnConnectionFailure = true } .build() executeSynchronously(request) .assertBody("body") assertThat(client.routeDatabase.failedRoutes).isEmpty()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 11.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
taskRunner.lock.withLock { yieldUntil() } } /** Process the queue until [condition] returns true. */ private tailrec fun yieldUntil( strategy: ResumePriority = ResumePriority.AfterEnqueuedTasks, condition: () -> Boolean = { true }, ) { taskRunner.assertThreadHoldsLock() val self = currentTask val yieldCompleteTask = object : SerialTask {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 12.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
} return -1 } /** Returns true if we should void putting this this header in an exception or toString(). */ internal fun isSensitiveHeader(name: String): Boolean { return name.equals("Authorization", ignoreCase = true) || name.equals("Cookie", ignoreCase = true) || name.equals("Proxy-Authorization", ignoreCase = true) || name.equals("Set-Cookie", ignoreCase = true) } internal fun Char.parseHexDigit(): Int =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
when { ctMember is CtMethod && ctMember.isSynthetic -> true // synthetic members cannot have kdoc ctMember is CtClass -> ktFile.ktClassOf(ctMember)?.isDocumentedAsSince(version) == true ktFile.ktClassOf(ctDeclaringClass)?.isDocumentedAsSince(version) == true -> true else -> when (ctMember) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/extensions.kt
if (buildType !is CompileAll) { conditions { doesNotEqual("skip.build", "true") } } } fun buildToolGradleParameters(daemon: Boolean = true, isContinue: Boolean = true, maxParallelForks: String = "%maxParallelForks%"): List<String> = listOf(
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 10:49:15 GMT 2024 - 13K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
} return builder.build() } internal fun Headers.toHeaderList(): List<Header> = (0 until size).map { Header(name(it), value(it)) } /** Returns true if an HTTP request for this URL and [other] can reuse a connection. */ internal fun HttpUrl.canReuseConnectionFor(other: HttpUrl): Boolean = host == other.host && port == other.port && scheme == other.scheme
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
val client = OkHttpClient.Builder() .connectionPool(poolApi) .build() val call = client.newCall(Request(addressA.url)) as RealCall call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call)) c1.withLock { call.acquireConnectionNoEvents(c1) } // Running at time 50, the pool returns that nothing can be evicted until time 150. assertThat(pool.closeConnections(50L)).isEqualTo(100L)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 12.7K bytes - Viewed (0)