- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for MutableList (3.9 sec)
-
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
return results.ifEmpty { throwBestFailure(hostname, failures) } } private fun buildRequest( hostname: String, networkRequests: MutableList<Call>, results: MutableList<InetAddress>, failures: MutableList<Exception>, type: Int, ) { val request = buildRequest(hostname, type) val response = getCacheOnlyResponse(request)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
*/ override fun toString(): String = commonToString() fun toMultimap(): Map<String, List<String>> { val result = TreeMap<String, MutableList<String>>(String.CASE_INSENSITIVE_ORDER) for (i in 0 until size) { val name = name(i).lowercase(Locale.US) var values: MutableList<String>? = result[name] if (values == null) { values = ArrayList(2) result[name] = values }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
*/ val testPathToBinaryResultsDirs: MapProperty<String, File> } private val projectPathToFailedTaskPaths: MutableMap<String, MutableList<String>> = mutableMapOf() private val projectPathToExecutedTaskPaths: MutableMap<String, MutableList<String>> = mutableMapOf() private val taskPathReports: Map<String, List<File>> get() = parameters.taskPathToReports.get() private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
override fun toString(): String = status @ExperimentalOkHttpApi class Builder : Cloneable { var inTunnel: Boolean internal set val informationalResponses: MutableList<MockResponse> var status: String var code: Int get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 13.3K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
} catch (ioe: IOException) { if (exception == null) { exception = ioe } } } if (exception != null) { throw exception } } internal fun <E> MutableList<E>.addIfAbsent(element: E) { if (!contains(element)) add(element) } internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable = apply { for (e in suppressed) addSuppressed(e) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt
applyConnectionSpec(tlsSpec, socket, isFallback = true) assertThat(socket.enabledProtocols).containsExactly( TlsVersion.TLS_1_2.javaName, ) val expectedCipherSuites: MutableList<String> = ArrayList() expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName) expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
Collection<String> c = MinimalCollection.of("a", "b", "a"); List<String> list = ImmutableList.copyOf(c); assertEquals(asList("a", "b", "a"), list); List<String> mutableList = asList("a", "b"); list = ImmutableList.copyOf(mutableList); mutableList.set(0, "c"); assertEquals(asList("a", "b"), list); } public void testCopyOf_collectionContainingNull() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
Collection<String> c = MinimalCollection.of("a", "b", "a"); List<String> list = ImmutableList.copyOf(c); assertEquals(asList("a", "b", "a"), list); List<String> mutableList = asList("a", "b"); list = ImmutableList.copyOf(mutableList); mutableList.set(0, "c"); assertEquals(asList("a", "b"), list); } public void testCopyOf_collectionContainingNull() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 23.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt
require(symbol is KtFe10Symbol) { "Unrecognized symbol implementation found" } null } } } private fun collectImplicitReceivers(scope: LexicalScope): MutableList<KtImplicitReceiver> { val result = mutableListOf<KtImplicitReceiver>() for ((index, implicitReceiver) in scope.getImplicitReceiversHierarchy().withIndex()) {
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 12.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
* * https://github.com/square/okhttp/issues/2409 */ @Test fun connectionsAreNotReusedIfNetworkInterceptorInterferes() { val responsesNotClosed: MutableList<Response?> = ArrayList() client = client.newBuilder() // Since this test knowingly leaks a connection, avoid using the default shared connection
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0)