- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for mutableMapOf (0.3 sec)
-
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
assertThat(challenges.size).isEqualTo(1) assertThat(challenges[0].scheme).isEqualTo("Digest") assertThat(challenges[0].realm).isEqualTo("myrealm") val expectedAuthParams = mutableMapOf<String, String>() expectedAuthParams["realm"] = "myrealm" expectedAuthParams["nonce"] = "fjalskdflwejrlaskdfjlaskdjflaksjdflkasdf" expectedAuthParams["qop"] = "auth" expectedAuthParams["stale"] = "FALSE"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.6K 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) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
class BasicTrustRootIndex(vararg caCerts: X509Certificate) : TrustRootIndex { private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>> init { val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>() for (caCert in caCerts) { map.getOrPut(caCert.subjectX500Principal) { mutableSetOf() }.add(caCert) } this.subjectToCaCerts = map }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.8K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
import java.io.File abstract class IncubatingApiReportWorkAction : WorkAction<IncubatingApiReportParameter> { override fun execute() { try { val versionToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>() parameters.srcDirs.forEach { srcDir -> if (srcDir.exists()) { val collector = CompositeVersionsToIncubatingCollector(
HTML - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sun Jun 25 02:53:14 GMT 2023 - 12.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt
private val compilationClasspath: List<File> ) : AutoCloseable { private val openJavaCompilationUnitsByFile = mutableMapOf<File, CompilationUnit>() private val openKotlinCompilationUnitsByRoot = mutableMapOf<File, KotlinSourceParser.ParsedKotlinFiles>() fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Java, query: JavaSourceQuery<T>): T =
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Feb 20 16:37:41 GMT 2023 - 4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt
*/ fun readNameprep(base: Path): Stringprep { val unassigned = readCodePointSet(base / "rfc3454.A.1.txt") val mapping = MappingListCodePointMapping( mutableMapOf<Int, String>() .apply { putAll(readCodePointMapping(base / "rfc3454.B.1.txt").mappings) putAll(readCodePointMapping(base / "rfc3454.B.2.txt").mappings) }, )
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
): TypeArgumentMapping? { val typeParameterOwner = constructor.declarationDescriptor as? ClassifierDescriptorWithTypeParameters ?: return null val mapping = mutableMapOf<TypeParameterDescriptor, BoundTypeArgument>() arguments.forEachIndexed { index, typeProjection -> val typeParameter = typeParameterOwner.declaredTypeParameters.getOrNull(index) ?: return@forEachIndexed
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
import assertk.assertions.containsExactly 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(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
*/ class SpecificHostSocketFactory( val defaultAddress: InetSocketAddress?, ) : DelegatingSocketFactory(getDefault()) { private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>() /** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) { hostMapping[requested] = real }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.7K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt
get() = getStore(namespace).getOrComputeIfAbsent(this.uniqueId) { ServersForTest() } as ServersForTest private class ServersForTest { private val servers = mutableMapOf<String, MockWebServer>() private var started = false fun server(name: String): MockWebServer { return servers.getOrPut(name) { MockWebServer().also { if (started) it.start()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 11 12:12:36 GMT 2024 - 4.1K bytes - Viewed (0)