Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getOrPut (0.05 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

                        details.requiredRuntimes.forEach { requiredRuntime ->
                            computedTargetRuntimes.getOrPut(dependency) {
                                mutableMapOf()
                            }.getOrPut(requiredRuntime) {
                                mutableSetOf()
                            }.add(path)
                        }
                    }
                }
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  2. android-test/src/androidDeviceTest/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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  3. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
Back to Top