Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for mutableMapOf (0.13 sec)

  1. 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"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

        override fun execute() {
            val byCategory = mutableMapOf<String, ReportNameToProblems>()
            parameters.reports.files.sorted().forEach { file ->
                file.forEachLine(Charsets.UTF_8) {
                    val (version, _, problem) = it.split(';')
                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
                        mutableMapOf()
                    }.getOrPut(file.nameWithoutExtension) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 18 06:55:55 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. 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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. 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(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. 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 =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. 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
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      if (tag == null) {
        if (tags.isNotEmpty()) {
          (tags as MutableMap).remove(type)
        }
      } else {
        val mutableTags: MutableMap<KClass<*>, Any> =
          when {
            tags.isEmpty() -> mutableMapOf<KClass<*>, Any>().also { tags = it }
            else -> tags as MutableMap<KClass<*>, Any>
          }
        mutableTags[type] = tag
      }
    }
    
    fun Request.commonToString(): String =
      buildString {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. 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
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Challenge.kt

            }
          }
          return ISO_8859_1
        }
    
      constructor(scheme: String, realm: String) : this(scheme, singletonMap("realm", realm))
    
      init {
        val newAuthParams = mutableMapOf<String?, String>()
        for ((key, value) in authParams) {
          val newKey = key?.lowercase(US)
          newAuthParams[newKey] = value
        }
        this.authParams = unmodifiableMap<String?, String>(newAuthParams)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. 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(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top