Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 42 for mutableListOf (0.2 seconds)

  1. .teamcity/src/main/kotlin/configurations/Gradleception.kt

        jvmDescription: String,
        bundleGroovyMajor: Int? = null,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            val idParts = mutableListOf<String>()
            val labels = mutableListOf<String>()
            val descriptionParts = mutableListOf<String>()
            if (bundleGroovyMajor != null) {
                labels += "Groovy $bundleGroovyMajor.x"
                idParts += "Groovy$bundleGroovyMajor"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    class StageTriggers(
        model: CIBuildModel,
        stage: Stage,
        prevStage: Stage?,
        stageProject: StageProject,
    ) {
        val triggers: List<BaseGradleBuildType>
    
        init {
            triggers = mutableListOf()
            val allDependencies =
                stageProject.specificBuildTypes + stageProject.performanceTests + stageProject.functionalTests + stageProject.docsTestTriggers +
                    stageProject.flakyTestQuarantineTriggers
    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)
  3. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

    class JavaNetCookieJar(
      private val cookieHandler: CookieHandler,
    ) : CookieJar {
      override fun saveFromResponse(
        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)
    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)
  4. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/ProjectStructure.kt

     * limitations under the License.
     */
    
    package gradlebuild
    
    import java.io.File
    
    abstract class ProjectStructure {
        val architectureElements = mutableListOf<ArchitectureElementBuilder>()
        val projectBaseDirs = mutableListOf<File>()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 818 bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/projects/CheckProject.kt

                )
            }
    
            var prevStage: Stage? = null
            val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf()
            val previousCrossVersionTests: MutableList<BaseGradleBuildType> = mutableListOf()
            model.stages.forEach { stage ->
                if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) {
                    return@forEach
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 10:41:06 GMT 2026
    - 4.1K bytes
    - Click Count (1)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

      @Test fun executeScheduledEarlierReplacesRepeatedLater() {
        val task =
          object : Task("task") {
            val schedules = mutableListOf(50.µs)
            val delays = mutableListOf(200.µs, -1)
    
            override fun runOnce(): Long {
              log += "run@${taskFaker.nanoTime}"
              if (schedules.isNotEmpty()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 23K bytes
    - Click Count (0)
  7. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/Builders.kt

        private val settings: Settings,
        private val projectScope: ProjectScope = ProjectScope("platforms/$name", settings),
    ) : ArchitectureElementBuilder(name) {
        private val modules = mutableListOf<ArchitectureModuleBuilder>()
        private val uses = mutableListOf<PlatformBuilder>()
    
        fun subproject(projectName: String) {
            projectScope.subproject(projectName)
        }
    
        fun uses(platform: PlatformBuilder) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  8. 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)
                if (deltaMapping != null) {
    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)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

    class FakeDns : Dns {
      private val hostAddresses: MutableMap<String, List<InetAddress>> =
        Collections.synchronizedMap(mutableMapOf())
      private val requestedHosts: MutableList<String> = Collections.synchronizedList(mutableListOf())
      private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.
    
      /** Sets the results for `hostname`.  */
      operator fun set(
        hostname: String,
        addresses: List<InetAddress>,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:29 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

            encoding = "utf-8"
            forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError")
        }
        options.apply {
            isFork = true
            encoding = "utf-8"
            compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path")
        }
    }
    
    tasks.withType<Test>().configureEach {
        val testVersionProvider = javaLauncher.map { it.metadata.languageVersion }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 2.3K bytes
    - Click Count (0)
Back to Top