- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 89 for varargs (0.09 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
import java.security.cert.Certificate import javax.net.ssl.SSLPeerUnverifiedException import javax.net.ssl.SSLSession import javax.net.ssl.SSLSessionContext import javax.security.cert.X509Certificate class FakeSSLSession(vararg val certificates: Certificate) : SSLSession { override fun getApplicationBufferSize(): Int { throw UnsupportedOperationException() } override fun getCipherSuite(): String {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
): List<Certificate> companion object { fun get(trustManager: X509TrustManager): CertificateChainCleaner { return Platform.get().buildCertificateChainCleaner(trustManager) } fun get(vararg caCerts: X509Certificate): CertificateChainCleaner { return BasicCertificateChainCleaner(BasicTrustRootIndex(*caCerts)) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
return !(isFinal() || isPrivate() || isStatic() || Modifier.isFinal(getDeclaringClass().getModifiers())); } @Override public final boolean isVarArgs() { return method.isVarArgs(); } } static class ConstructorInvokable<T> extends Invokable<T, T> { final Constructor<?> constructor; ConstructorInvokable(Constructor<?> constructor) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
if (!(extensionCandidate || ktFunction.valueParameters.size == paramCount)) { return@collectDescendantsOfType false } val isVarargs = Modifier.isVarArgs(method.modifiers) // Parameter type check method.parameterTypes .asSequence() // Drop the receiver if present .drop(if (extensionCandidate) 1 else 0)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 04 08:05:22 UTC 2024 - 11.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
"buildTime": "20211221172537+0000" } ] } """.trimIndent() ) } protected fun run(vararg args: String) = GradleRunner.create() .withProjectDir(projectDir) .withTestKitDir(projectDir.resolve("test-kit")) .withPluginClasspath() .forwardOutput() .withArguments(*args)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 6K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
) || isBuildCommitDistribution val Project.isBuildCommitDistribution: Boolean get() = providers.gradleProperty("buildCommitDistribution").map { it.toBoolean() }.orElse(false).get() fun Project.isInBuild(vararg buildTypeIds: String) = providers.environmentVariable("BUILD_TYPE_ID").orNull?.let { currentBuildTypeId -> buildTypeIds.any { currentBuildTypeId.endsWith(it) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Mar 07 05:49:29 UTC 2024 - 4.6K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
/** * Graal main method to run tests with minimal reflection and automatic settings. * Uses the test list in native-image-tests/src/main/resources/testlist.txt. */ fun main(vararg args: String) { System.setProperty("junit.jupiter.extensions.autodetection.enabled", "true") val inputFile = if (args.isNotEmpty()) File(args[0]) else null val selectors = testSelectors(inputFile)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
*/ @JvmStatic @JvmName("of") fun headersOf(vararg namesAndValues: String): Headers = commonHeadersOf(*namesAndValues) @JvmName("-deprecated_of") @Deprecated( message = "function name changed", replaceWith = ReplaceWith(expression = "headersOf(*namesAndValues)"), level = DeprecationLevel.ERROR, ) fun of(vararg namesAndValues: String): Headers {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.5K bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
"http://example.com", ).createRequest() assertThat(request.header("If-Modified-Since")).isEqualTo( "Mon, 18 Aug 2014 15:16:06 GMT", ) } companion object { fun fromArgs(vararg args: String): Main { return Main().apply { parse(args.toList()) } } private fun bodyAsString(body: RequestBody?): String { return try { val buffer = Buffer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
"replaced with {@link #check(String, List)}.", ReplaceWith("check(hostname, peerCertificates.toList())"), ) @Throws(SSLPeerUnverifiedException::class) fun check( hostname: String, vararg peerCertificates: Certificate, ) { check(hostname, peerCertificates.toList()) } /** * Returns list of matching certificates' pins for the hostname. Returns an empty list if the
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0)