- Sort Score
- Result 10 results
- Languages All
Results 1591 - 1600 of 1,950 for func (0.12 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
} } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner && other.trustManager === this.trustManager override fun hashCode(): Int = System.identityHashCode(trustManager) companion object { @SuppressSignatureCheck fun buildIfSupported(trustManager: X509TrustManager): AndroidCertificateChainCleaner? {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt
@get:OutputFile abstract val manifestFile: RegularFileProperty @TaskAction fun generate() { ReproduciblePropertiesWriter.store(createProperties(), manifestFile.get().asFile) } private fun createProperties() = Properties().also { properties -> properties["runtime"] = runtime.get().joinToString(",")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Mar 28 20:26:58 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} } } fun isConscrypt() = getPlatformSystemProperty() == CONSCRYPT_PROPERTY fun isJdk9() = getPlatformSystemProperty() == JDK9_PROPERTY fun isJdk8() = getPlatformSystemProperty() == JDK8_PROPERTY fun isJdk8Alpn() = getPlatformSystemProperty() == JDK8_ALPN_PROPERTY fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
private val sslSocketFactoryClass: Class<in SSLSocketFactory>, private val paramClass: Class<*>, ) : AndroidSocketAdapter(sslSocketClass) { override fun matchesSocketFactory(sslSocketFactory: SSLSocketFactory): Boolean = sslSocketFactoryClass.isInstance(sslSocketFactory) override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? { val context: Any? = readFieldOrNull( sslSocketFactory,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt
private lateinit var context: Context private lateinit var client: OkHttpClient @Before fun setUp() { context = ApplicationProvider.getApplicationContext<Application>() client = OkHttpClient.Builder() .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000)) .build() } @Test fun testRequestExternal() { assumeNetwork()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
*/ class HostnameVerifierTest { private val verifier = OkHostnameVerifier @RegisterExtension var platform = PlatformRule() @Test fun verify() { val session = FakeSSLSession() assertThat(verifier.verify("localhost", session)).isFalse() } @Test fun verifyCn() { // CN=foo.com val session = session( """ -----BEGIN CERTIFICATE-----
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
private val factory = TestValueFactory() .apply { dns = fakeDns } @BeforeEach fun setup() { Authenticator.setDefault(recordingAuthenticator) } @AfterEach fun tearDown() { Authenticator.setDefault(null) factory.close() } @Test fun testBasicAuth() { fakeDns["server"] = listOf(InetAddress.getLocalHost()) val route = factory.newRoute()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
} } } object LoggingCallback : FutureCallback<SimpleHttpResponse> { override fun completed(response: SimpleHttpResponse) { } override fun failed(ex: Exception) { println("Failed: $ex") } override fun cancelled() { println("Cancelled") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt
companion object { @JvmStatic fun openRepositoryFor(sourceRoots: List<File>, compilationClasspath: List<File>) = BinaryCompatibilityRepository(SourcesRepository(sourceRoots, compilationClasspath)) } @VisibleForTesting fun emptyCaches() = sources.close() override fun close() = emptyCaches() fun isOverride(method: JApiMethod): Boolean =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 3.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/BuildScanUtils.kt
* limitations under the License. */ package common import model.Stage import model.StageName import model.TestCoverage fun buildScanTagParam(tag: String) = """-Dscan.tag.$tag""" fun buildScanCustomValueParam(key: String, value: String) = """-Dscan.value.$key=$value""" fun TestCoverage.asBuildScanCustomValue() =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 07:24:00 UTC 2024 - 1.8K bytes - Viewed (0)