Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toMap (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          this[Http2::class.java.name] = "okhttp.Http2"
          this[TaskRunner::class.java.name] = "okhttp.TaskRunner"
          this["okhttp3.mockwebserver.MockWebServer"] = "okhttp.MockWebServer"
        }.toMap()
    
      internal fun androidLog(
        loggerName: String,
        logLevel: Int,
        message: String,
        t: Throwable? = null,
      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            else -> error("unexpected mapping type: ${mapping.type}")
          }
      }
    
      for (sectionList in result.values) {
        mergeAdjacentDeltaMappedRanges(sectionList)
      }
    
      return result.toMap()
    }
    
    /**
     * Modifies [ranges] to combine any adjacent [MappedRange.InlineDelta] of same size to single entry.
     * @returns same instance of [ranges] for convenience
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Request.kt

      @get:JvmName("body")
      val body: RequestBody? = builder.body
    
      @get:JvmName("cacheUrlOverride")
      val cacheUrlOverride: HttpUrl? = builder.cacheUrlOverride
    
      internal val tags: Map<KClass<*>, Any> = builder.tags.toMap()
    
      internal var lazyCacheControl: CacheControl? = null
    
      val isHttps: Boolean
        get() = url.isHttps
    
      /**
       * Constructs a new request.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/collections/EmptySet;->hashCode()I
    HSPLkotlin/collections/EmptySet;->isEmpty()Z
    HSPLkotlin/collections/EmptySet;->iterator()Ljava/util/Iterator;
    HSPLkotlin/collections/MapsKt___MapsKt;->toMap(Ljava/util/Map;)Ljava/util/Map;
    HSPLkotlin/collections/SetsKt__SetsKt;->build(Ljava/util/List;)Ljava/util/List;
    HSPLkotlin/collections/SetsKt__SetsKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
Back to top