- Sort Score
- Result 10 results
- Languages All
Results 31 - 36 of 36 for ArrayOf (0.38 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val certificatePinner: CertificatePinner = CertificatePinner.Builder().build() val certificates: List<Certificate> = listOf() certificatePinner.check("", listOf(certificate)) certificatePinner.check("", arrayOf<Certificate>(certificate, certificate).toList()) val pin: String = CertificatePinner.pin(certificate) val default: CertificatePinner = CertificatePinner.DEFAULT } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
close() } } } } @Throws(Exception::class) private fun processHandshakeFailure(raw: Socket) { val context = SSLContext.getInstance("TLS") context.init(null, arrayOf<TrustManager>(UNTRUSTED_TRUST_MANAGER), SecureRandom()) val sslSocketFactory = context.socketFactory val socket = sslSocketFactory.createSocket( raw, raw.inetAddress.hostAddress,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
setUp(parameters.first, parameters.second) val editor = cache.edit("k1")!! editor.setString(0, "AB") editor.setString(1, "C") cache.close() val expected = if (windows) arrayOf("DIRTY k1") else arrayOf("DIRTY k1", "REMOVE k1") assertJournalEquals(*expected) editor.commit() assertJournalEquals(*expected) // 'REMOVE k1' not written because journal is closed. } @ParameterizedTest
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
api/go1.5.txt
pkg net/url, type URL struct, RawPath string pkg os, func LookupEnv(string) (string, bool) pkg os/signal, func Ignore(...os.Signal) pkg os/signal, func Reset(...os.Signal) pkg reflect, func ArrayOf(int, Type) Type pkg reflect, func FuncOf([]Type, []Type, bool) Type pkg runtime, func ReadTrace() []uint8 pkg runtime, func StartTrace() error pkg runtime, func StopTrace()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val hostnameVerifier = RecordingHostnameVerifier() val trustManager = RecordingTrustManager(handshakeCertificates.trustManager) val sslContext = get().newSSLContext() sslContext.init(null, arrayOf<TrustManager>(trustManager), null) client = client .newBuilder() .hostnameVerifier(hostnameVerifier) .sslSocketFactory(sslContext.socketFactory, trustManager) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
): SSLSocketFactory { return object : DelegatingSSLSocketFactory(sslSocketFactory) { override fun configureSocket(sslSocket: SSLSocket): SSLSocket { sslSocket.enabledCipherSuites = arrayOf(cipherSuite.javaName) return super.configureSocket(sslSocket) } } } private class RecordingSSLSocketFactory( delegate: SSLSocketFactory,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0)