Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for mapOf (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        val androidCookieHandler: CookieHandler =
          object : CookieHandler() {
            override fun get(
              uri: URI,
              map: Map<String, List<String>>,
            ) = mapOf(
              "Cookie" to
                listOf(
                  "\$Version=\"1\"; " +
                    "a=\"android\";\$Path=\"/\";\$Domain=\"${serverUrl.host}\"; " +
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        url: HttpUrl,
        cookies: List<Cookie>,
      ) {
        val cookieStrings = mutableListOf<String>()
        for (cookie in cookies) {
          cookieStrings.add(cookieToString(cookie, true))
        }
        val multimap = mapOf("Set-Cookie" to cookieStrings)
        try {
          cookieHandler.put(url.toUri(), multimap)
        } catch (e: IOException) {
          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  3. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        destinationFile = futurePluginVersionsPropertiesFile
    }
    val futurePluginVersionsDestDir = futurePluginVersionsPropertiesFile.map { it.asFile.parentFile }
    sourceSets.main {
        output.dir(mapOf("builtBy" to writeFuturePluginVersions), futurePluginVersionsDestDir)
    }
    configurations.runtimeElements {
        outgoing {
            variants.named("resources") {
                artifact(futurePluginVersionsDestDir) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 11:01:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     * reflection, dynamic loading, etc. and understand how the library works internally.
     * These changes might break things in subtle ways otherwise.
     */
    val keepPatterns = mapOf(
        "it.unimi.dsi:fastutil" to setOf(
            // For persistence cache
            "it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap",
            // For Java compilation incremental analysis
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 18:27:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            projects.forEach { (path, info) ->
                val declaredComputed = info.details.computedRuntimes
                val actualComputed = computedTargetRuntimes[path] ?: mapOf()
    
                if (declaredComputed.toSet() != actualComputed.keys) {
                    if (shouldFix) {
                        when (val result = calculateBuildFileMutation(path, actualComputed.keys, info.buildFile)) {
    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)
  6. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    fun functionalTestExtraParameters(
        buildScanTags: List<String>,
        os: Os,
        arch: Arch,
        testJvmVersion: String,
        testJvmVendor: String,
    ): String {
        val buildScanValues =
            mapOf(
                "coverageOs" to os.name.lowercase(),
                "coverageArch" to arch.name.lowercase(),
                "coverageJvmVendor" to testJvmVendor,
                "coverageJvmVersion" to "java$testJvmVersion",
            )
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      fun certificatePinnerBuilder() {
        val builder: CertificatePinner.Builder = CertificatePinner.Builder()
        builder.add("", "pin1", "pin2")
      }
    
      @Test
      fun challenge() {
        var challenge = Challenge("", mapOf("" to ""))
        challenge = Challenge("", "")
        val scheme: String = challenge.scheme
        val authParams: Map<String?, String> = challenge.authParams
        val realm: String? = challenge.realm
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testWhere() {
        assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class));
        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testWhere() {
        assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class));
        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
Back to Top