Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for mapOf (0.14 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. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        tasks.withType<Jar>().configureEach {
            archiveBaseName = gradleModule.identity.baseName
            archiveVersion = gradleModule.identity.version.map { it.baseVersion.version }
            manifest.attributes(
                mapOf(
                    Attributes.Name.IMPLEMENTATION_TITLE.toString() to "Gradle",
                    Attributes.Name.IMPLEMENTATION_VERSION.toString() to gradleModule.identity.version.map { it.baseVersion.version }
                )
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 06 16:39:05 GMT 2026
    - 713 bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            createPerformanceTest(
                model,
                performanceTestCoverage,
                stage,
                bucketIndex,
                "Performance tests for $testProject",
                mapOf(testProject to scenarios),
            )
    }
    
    class MultipleTestProjectBucket(
        private val projectDurations: List<TestProjectDuration>,
    ) : PerformanceTestBucket {
        override fun createPerformanceTestsFor(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. regression-test/build.gradle.kts

        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
          "notClass" to "org.conscrypt.KitKatPlatformOpenSSLSocketImplAdapter,org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests"
        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  5. android-test/build.gradle.kts

        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
          "runnerBuilder" to "de.mannodermaus.junit5.AndroidJUnit5Builder",
          "notPackage" to "org.bouncycastle",
          "configurationParameters" to "junit.jupiter.extensions.autodetection.enabled=true"
        )
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.8K bytes
    - Click Count (2)
  6. 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)
  7. 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)
  8. 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)
  9. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    import model.CIBuildModel
    import model.Stage
    import model.StageName
    import model.Trigger
    import projects.StageProject
    
    val stageWithOsTriggers: Map<StageName, List<Os>> =
        mapOf(
            StageName.PULL_REQUEST_FEEDBACK to listOf(Os.LINUX, Os.WINDOWS),
            StageName.READY_FOR_NIGHTLY to listOf(Os.LINUX, Os.WINDOWS, Os.MACOS),
            StageName.READY_FOR_RELEASE to listOf(Os.LINUX, Os.WINDOWS, Os.MACOS),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Feb 06 13:13:53 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. 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)
Back to Top