Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for mutableListOf (0.06 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 7.3K 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 12:17:39 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

      // State for negotiating the next socket address to use.
      private var inetSocketAddresses = emptyList<InetSocketAddress>()
    
      // State for negotiating failed routes
      private val postponedRoutes = mutableListOf<Route>()
    
      init {
        resetNextProxy(address.url, address.proxy)
      }
    
      /**
       * Returns true if there's another set of routes to attempt. Every address has at least one route.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            projectPathToExecutedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath)
        }
    
        private
        fun addFailedTaskPath(taskPath: String) {
            projectPathToFailedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath)
        }
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

     * been enqueued.
     */
    internal class RecordingExecutor(
      private val dispatcherTest: DispatcherTest,
    ) : AbstractExecutorService() {
      private var shutdown: Boolean = false
      private val calls = mutableListOf<RealCall.AsyncCall>()
    
      override fun execute(command: Runnable) {
        if (shutdown) throw RejectedExecutionException()
        calls.add(command as RealCall.AsyncCall)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 18:34:01 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.parallel.Isolated
    
    @Isolated
    @SdkSuppress(minSdkVersion = 28)
    class StrictModeTest {
      private val violations = mutableListOf<Violation>()
    
      @AfterEach
      fun cleanup() {
        StrictMode.setThreadPolicy(
          ThreadPolicy
            .Builder()
            .permitAll()
            .build(),
        )
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 12:33:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

            this.name = name
            this.description = description
            this.id(id)
            val testTasks = getTestTaskName(testCoverage, subprojects)
    
            val assembledExtraParameters =
                mutableListOf(
                    stage.getBuildScanCustomValueParam(testCoverage),
                    functionalTestExtraParameters(
                        listOf(FUNCTIONAL_TEST_TAG),
                        testCoverage.os,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

      /** The full set of events, used to match starts with ends. */
      private val eventsForMatching = ConcurrentLinkedDeque<CallEvent>()
    
      private val forbiddenLocks = mutableListOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

      var canceled = false
      var autoGeneratePlans = false
      var defaultConnectionIdleAtNanos = Long.MAX_VALUE
      private var nextPlanId = 0
      private var nextPlanIndex = 0
      val plans = mutableListOf<FakePlan>()
    
      override val deferredPlans = ArrayDeque<RoutePlanner.Plan>()
    
      override val address = factory.newAddress("example.com")
    
      fun addPlan(): FakePlan =
        FakePlan(nextPlanId++).also {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

      fun testSessionReuse(tlsVersion: String = burstValues("TLSv1.2", "TLSv1.3")) {
        if (tlsVersion == TlsVersion.TLS_1_3.javaName) {
          assumeTrue(PlatformVersion.majorVersion != 8)
        }
    
        val sessionIds = mutableListOf<String>()
    
        enableTls()
    
        val tlsVersion = TlsVersion.forJavaName(tlsVersion)
        val spec =
          ConnectionSpec
            .Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(tlsVersion)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 5.9K bytes
    - Click Count (1)
Back to Top