Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for MutableMap (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      tag: T?,
    ) = apply {
      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
      }
    }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

            const val sourceCompilationClasspath = "sourceCompilationClasspath"
        }
    
        @Suppress("unchecked_cast")
        override fun execute(context: ViolationCheckContext) {
            (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor(
                param(Params.sourceRoots),
                param(Params.sourceCompilationClasspath)
            )
        }
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                }
                writer.println("</body></html>")
            }
        }
    
        private
        fun String.escape() = replace("<", "&lt;").replace(">", "&gt;")
    }
    
    
    HTML
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jan 18 06:55:55 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

    import assertk.assertThat
    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.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

        private val keepPackages: PackagePatterns,
        private val unshadedPackages: PackagePatterns,
        private val ignorePackages: PackagePatterns,
        shadowPackage: String
    ) {
    
        private
        val classes: MutableMap<String, ClassDetails> = linkedMapOf()
    
        val entryPoints: MutableSet<ClassDetails> = linkedSetOf()
    
        val shadowPackagePrefix =
            shadowPackage.takeIf(String::isNotEmpty)
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. 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()
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            val validSubprojects = model.subprojects.getSubprojectsForFunctionalTest(testCoverage)
    
            // Build project not found, don't split into buckets
            val subProjectToClassTimes: MutableMap<String, List<TestClassTime>> =
                determineSubProjectClassTimes(testCoverage, buildProjectClassTimes)?.toMutableMap() ?: return validSubprojects.map { SmallSubprojectBucket(it, ParallelizationMethod.None) }
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        return object : CookieHandler() {
          override fun put(
            uri: URI?,
            responseHeaders: MutableMap<String, MutableList<String>>?,
          ) = TODO()
    
          override fun get(
            uri: URI?,
            requestHeaders: MutableMap<String, MutableList<String>>?,
          ): MutableMap<String, MutableList<String>> = TODO()
        }
      }
    
      private fun newInterceptorChain(): Interceptor.Chain {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        if (project.hasProperty("teamcity")) {
            @Suppress("UNCHECKED_CAST") val teamcity = project.property("teamcity") as MutableMap<String, Any>
            teamcity["teamcity.build.tempDir"] = ""
        }
    }
    
    fun Project.isPerformanceProject() = setOf("build-scan-performance", "performance").contains(name)
    
    /**
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

    /**
     * Tests how each code point is encoded and decoded in the context of each URL component.
     *
     * This supports [HttpUrlTest].
     */
    class UrlComponentEncodingTester private constructor() {
      private val encodings: MutableMap<Int, Encoding> = LinkedHashMap()
    
      private fun allAscii(encoding: Encoding) =
        apply {
          for (i in 0..127) {
            encodings[i] = encoding
          }
        }
    
      fun override(
        encoding: Encoding,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top