Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for mutableListOf (0.1 sec)

  1. .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
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 11 10:33:45 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var runCallCount = 0
    
      /** Queues with tasks that are currently executing their [TaskQueue.activeTask]. */
      private val busyQueues = mutableListOf<TaskQueue>()
    
      /** Queues not in [busyQueues] that have non-empty [TaskQueue.futureTasks]. */
      private val readyQueues = mutableListOf<TaskQueue>()
    
      private val runnable: Runnable =
        object : Runnable {
          override fun run() {
            var task: Task =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

            .build()
        assertEquals(
          listOf(Protocol.HTTP_1_1),
          client.protocols,
        )
      }
    
      @Test fun nullProtocolInList() {
        val protocols =
          mutableListOf(
            Protocol.HTTP_1_1,
            null,
          )
        assertFailsWith<IllegalArgumentException> {
          OkHttpClient
            .Builder()
            .protocols(protocols as List<Protocol>)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  4. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

    import org.junit.jupiter.api.Timeout
    
    @Timeout(30)
    class CustomDispatcherTest {
      @StartStop private val mockWebServer = MockWebServer()
    
      @Test
      fun simpleDispatch() {
        val requestsMade = mutableListOf<RecordedRequest>()
        val dispatcher: Dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              requestsMade.add(request)
              return MockResponse()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

      @Flaky
      fun testSessionReuse(tlsVersion: String) {
        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)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        internal val key: String,
      ) {
        /** Lengths of this entry's files. */
        internal val lengths: LongArray = LongArray(valueCount)
        internal val cleanFiles = mutableListOf<Path>()
        internal val dirtyFiles = mutableListOf<Path>()
    
        /** True if this entry has ever been published. */
        internal var readable: Boolean = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

              "TLSv1.3",
              "TLSv1.2",
              "TLSv1.1",
              "TLSv1",
            )
        }
      }
    
      @Test
      @Disabled
      fun testFacebook() {
        val sessionIds = mutableListOf<String>()
    
        assumeNetwork()
    
        client =
          client
            .newBuilder()
            .eventListenerFactory(
              clientTestRule.wrap(
                object : EventListener() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        public val settings: Settings
          get() = Settings().apply { merge(settings_) }
    
        public constructor() {
          this.inTunnel = false
          this.informationalResponses_ = mutableListOf()
          this.status = "HTTP/1.1 200 OK"
          this.bodyVar = null
          this.socketHandlerVar = null
          this.webSocketListenerVar = null
          this.headers_ =
            Headers
              .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          val type = typeSubtype.groupValues[1].lowercase()
          val subtype = typeSubtype.groupValues[2].lowercase()
    
          val parameterNamesAndValues = mutableListOf<String>()
          var s = typeSubtype.range.last + 1
          while (s < length) {
            val parameter = PARAMETER.matchAt(this, s)
            require(parameter != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

      /** This queue's currently-executing task, or null if none is currently executing. */
      internal var activeTask: Task? = null
    
      /** Scheduled tasks ordered by [Task.nextExecuteNanoTime]. */
      internal val futureTasks = mutableListOf<Task>()
    
      /** True if the [activeTask] should be canceled when it completes. */
      internal var cancelActiveTask = false
    
      /**
       * Returns a snapshot of tasks currently scheduled for execution. Does not include the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top