- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for vararg (0.1 sec)
-
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
"ConnectStart", "SecureConnectStart", ) assertThat(recordedEventTypes).endsWith("CallFailed") } private fun buildClient( heldCertificate: HeldCertificate?, vararg intermediates: X509Certificate, ): OkHttpClient { val builder = HandshakeCertificates.Builder() .addTrustedCertificate(serverRootCa.certificate) if (heldCertificate != null) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
stringPropertyOrNull(projectPropertyName) ?: "" fun Project.stringPropertyOrNull(projectPropertyName: String): String? = gradleProperty(projectPropertyName).orNull fun Project.selectStringProperties(vararg propertyNames: String): Map<String, String> = propertyNames.mapNotNull { propertyName -> stringPropertyOrNull(propertyName)?.let { propertyValue -> propertyName to propertyValue }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 16.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
assertThat(hpackWriter!!.headerCount).isEqualTo(2) } private fun newReader(source: Buffer): Hpack.Reader { return Hpack.Reader(source, 4096) } private fun byteStream(vararg bytes: Int): Buffer { return Buffer().write(intArrayToByteArray(bytes)) } private fun checkEntry( entry: Header, name: String, value: String, size: Int, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
) taskFaker.advanceUntil(250.ms) assertEvents( "take plan 1", "plan 0 cancel", "plan 0 TCP connect canceled", ) } private fun assertEvents(vararg expected: String) { val actual = generateSequence { routePlanner.events.poll() }.toList() assertThat(actual).containsExactly(*expected) } private val Int.ms: Long get() = this * 1_000_000L
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 20.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
.build(), ) val response1 = call1.execute() assertThat(response1.body.string()).isEqualTo("abc") } private fun newServerSocketFactory( heldCertificate: HeldCertificate, vararg intermediates: X509Certificate, ): SSLSocketFactory { // Test setup fails on JDK9 // java.security.KeyStoreException: Certificate chain is not valid // at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull() } private fun assertJournalEquals(vararg expectedBodyLines: String) { assertThat(readJournalLines()).isEqualTo( listOf(DiskLruCache.MAGIC, DiskLruCache.VERSION_1, "100", "2", "") + expectedBodyLines, ) } private fun createJournal(vararg bodyLines: String) { createJournalWithHeader( DiskLruCache.MAGIC,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
.createTestSuite()); suite.addTest( NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetExplicitComparator()) .named(ImmutableSortedSetTest.class.getName() + ", explicit comparator, vararg") .withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_QUERIES)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
expected: String, response: Response, limit: Int = Int.MAX_VALUE, ) { assertThat(readAscii(response.body.byteStream(), limit)).isEqualTo(expected) } private fun newSet(vararg elements: String): Set<String> { return setOf(*elements) } internal enum class TransferKind { CHUNKED { override fun setBody( response: MockResponse.Builder,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("write body fail!") } } private fun executeSynchronously( path: String, vararg headers: String?, ): RecordedResponse { val builder = Request.Builder() builder.url(server.url(path)) var i = 0 val size = headers.size while (i < size) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)