Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getOrPut (0.04 seconds)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                            try {
                                collector.collectFrom(sourceFile).forEach { (version, incubating) ->
                                    versionToIncubating.getOrPut(version) { mutableSetOf() }.addAll(incubating)
                                }
                            } catch (e: Exception) {
                                throw Exception("Unable to parse $sourceFile", e)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                file.forEachLine(Charsets.UTF_8) {
                    val (version, _, problem, relativePath, lineNumber) = it.split(';')
                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
                        mutableMapOf()
                    }.getOrPut(file.nameWithoutExtension) {
                        mutableSetOf()
                    }.add(Problem(name = problem, relativePath = relativePath, lineNumber = lineNumber.toInt()))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

    ) : 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
      }
    
      override fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate? {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                    if (suite.parent == null) {
                        forEachJavaProcess { pid, _ ->
                            if (daemonPids.add(pid)) {
                                suspiciousDaemons.getOrPut(suite.toString(), { ConcurrentHashMap.newKeySet() }) += pid
                            }
                        }
                    }
                }
            }
    
        private
        fun cleanUpDaemons() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      for (mapping in mappings) {
        require(!mapping.spansSections)
    
        val section = mapping.section
        val rangeStart = mapping.rangeStart
    
        val sectionList = result.getOrPut(section) { mutableListOf() }
    
        sectionList +=
          when (mapping.type) {
            TYPE_MAPPED ->
              run {
                val deltaMapping = inlineDeltaOrNull(mapping)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        enableTls()
    
        val testHandler =
          object : Handler() {
            val calls = mutableMapOf<String, AtomicInteger>()
    
            override fun publish(record: LogRecord) {
              calls
                .getOrPut(record.loggerName) { AtomicInteger(0) }
                .incrementAndGet()
            }
    
            override fun flush() {
            }
    
            override fun close() {
            }
          }.apply {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top