- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for MutableList (0.15 sec)
-
.teamcity/src/main/kotlin/projects/CheckProject.kt
description = "Set to 'true' if you want to skip all dependency builds" ) } var prevStage: Stage? = null val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf() val previousCrossVersionTests: MutableList<BaseGradleBuildType> = mutableListOf() model.stages.forEach { stage -> if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) { return@forEach
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 22 07:02:31 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
} private fun hasConstructorAttribute(constructorsSupplier: Supplier<MutableList<KmConstructor>>, jvmSignature: String, predicate: AttributePredicate) = constructorsSupplier.get().firstOrNull { c -> jvmSignature == c.signature?.toString() }?.let { predicate.match(it) } ?: false private fun hasFunctionAttribute(functionsSupplier: Supplier<MutableList<KmFunction>>, jvmSignature: String, predicate: AttributePredicate) =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 11:57:24 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
List<String> mutableList = Lists.newArrayList("789", "123"); Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList); assertEquals(ImmutableList.of(789L, 123L), ImmutableList.copyOf(convertedValues)); Iterator<Long> iterator = convertedValues.iterator(); iterator.next(); iterator.remove(); assertEquals(ImmutableList.of("123"), mutableList); } public void testReverse() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt
.isEqualTo( list(certificate, intermediateCa, trusted), ) } @Test fun chainMaxLength() { val heldCertificates = chainOfLength(10) val certificates: MutableList<Certificate> = ArrayList() for (heldCertificate in heldCertificates) { certificates.add(heldCertificate.certificate) } val root = heldCertificates[heldCertificates.size - 1].certificate
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
* Modifies [ranges] to combine any adjacent [MappedRange.InlineDelta] of same size to single entry. * @returns same instance of [ranges] for convenience */ internal fun mergeAdjacentDeltaMappedRanges(ranges: MutableList<MappedRange>): MutableList<MappedRange> { var i = 0 while (i < ranges.size) { val curr = ranges[i] if (curr is MappedRange.InlineDelta) { val j = i + 1 mergeAdjacent@ while (j < ranges.size) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
package okhttp3 import java.io.IOException import java.net.Proxy import java.net.ProxySelector import java.net.SocketAddress import java.net.URI class FakeProxySelector : ProxySelector() { val proxies: MutableList<Proxy> = mutableListOf() fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this } override fun select(uri: URI): List<Proxy> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt
* limitations under the License. */ package okhttp3 import javax.net.ssl.HostnameVerifier import javax.net.ssl.SSLSession class RecordingHostnameVerifier : HostnameVerifier { @JvmField val calls: MutableList<String> = mutableListOf() @Synchronized override fun verify( hostname: String, session: SSLSession, ): Boolean { calls.add("verify $hostname") return true }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 980 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
} override fun setHandshakeApplicationProtocolSelector(selector: BiFunction<SSLSocket, MutableList<String>, String>?) { delegate!!.handshakeApplicationProtocolSelector = selector } override fun getHandshakeApplicationProtocolSelector(): BiFunction<SSLSocket, MutableList<String>, String> { return delegate!!.handshakeApplicationProtocolSelector }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
import java.net.InetAddress import java.net.UnknownHostException import okio.Buffer class FakeDns : Dns { private val hostAddresses: MutableMap<String, List<InetAddress>> = mutableMapOf() private val requestedHosts: MutableList<String> = mutableListOf() private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6. /** Sets the results for `hostname`. */ operator fun set( hostname: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
} catch (e: IOException) { Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e) return emptyList() } var cookies: MutableList<Cookie>? = null for ((key, value) in cookieHeaders) { if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) && value.isNotEmpty() ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:10:43 UTC 2024 - 3.8K bytes - Viewed (0)