- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 657 for fun (0.01 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt
/** Records a failure connecting to [failedRoute]. */ @Synchronized fun failed(failedRoute: Route) { _failedRoutes.add(failedRoute) } /** Records success connecting to [route]. */ @Synchronized fun connected(route: Route) { _failedRoutes.remove(route) } /** Returns true if [route] has failed recently and should be avoided. */ @Synchronized fun shouldPostpone(route: Route): Boolean = route in _failedRoutes
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
return@firstOrNull true } catch (_: Exception) { return@firstOrNull false } } } override fun equals(other: Any?): Boolean { return other === this || (other is BasicTrustRootIndex && other.subjectToCaCerts == subjectToCaCerts) } override fun hashCode(): Int { return subjectToCaCerts.hashCode() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts
} multiProjectApplicationSampleLanguages.forEach { language -> setupGeneratorTask(language, "application", ModularizationOption.WITH_LIBRARY_PROJECTS) } fun setupGeneratorTask(language: Language, kind: String, modularizationOption: ModularizationOption) { val buildInitType = "${language.getName()}-$kind" val capName = language.getName().capitalize()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Protocol.kt
* [iana]: https://www.iana.org/assignments/tls-extensiontype-values */ override fun toString(): String = protocol companion object { /** * Returns the protocol identified by `protocol`. * * @throws IOException if `protocol` is unknown. */ @JvmStatic @Throws(IOException::class) fun get(protocol: String): Protocol { // Unroll the loop over values() to save an allocation.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:17:33 UTC 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
class WebPlatformUrlTest { class TestDataParamProvider : SimpleProvider() { override fun arguments() = ArrayList<Any>(loadTests()) } /** Test how [HttpUrl] does against the web platform test suite. */ @ArgumentsSource(TestDataParamProvider::class) @ParameterizedTest fun httpUrl(testData: WebPlatformUrlTestData) { if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.7K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
import java.util.logging.LogRecord import java.util.logging.Logger import okhttp3.internal.http2.Http2 class LoggingUtil { companion object { private val activeLoggers = mutableListOf<Logger>() fun configureLogging( debug: Boolean, showHttp2Frames: Boolean, sslDebug: Boolean, ) { if (debug || showHttp2Frames || sslDebug) { if (sslDebug) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
abstract class CertificateChainCleaner { @Throws(SSLPeerUnverifiedException::class) abstract fun clean( chain: List<Certificate>, hostname: String, ): List<Certificate> companion object { fun get(trustManager: X509TrustManager): CertificateChainCleaner { return Platform.get().buildCertificateChainCleaner(trustManager) } fun get(vararg caCerts: X509Certificate): CertificateChainCleaner {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt
} } private fun findMismatches(originalChanges: List<AcceptedApiChange>, sortedChanges: List<AcceptedApiChange>): List<AcceptedApiChange> { return originalChanges.filterIndexed { index, acceptedApiChange -> sortedChanges[index] != acceptedApiChange } } private fun buildErrorMessage(formattedMismatches: Map<File, String>): String {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dns.kt
*/ fun interface Dns { /** * Returns the IP addresses of `hostname`, in the order they will be attempted by OkHttp. If a * connection to an address fails, OkHttp will retry the connection with the next address until * either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded. */ @Throws(UnknownHostException::class) fun lookup(hostname: String): List<InetAddress>
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0)