Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for private (0.14 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      private var waitingCoordinatorTask: SerialTask? = null
      private var waitingCoordinatorInterrupted = false
      private var waitingCoordinatorNotified = false
    
      /** How many times a new task has been started. Guarded by [TaskRunner.lock]. */
      private var contextSwitchCount = 0
    
      /** Guarded by [TaskRunner.lock]. */
      private var activeThreads = 0
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

       */
      private var executeCallCount = 0
      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 {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

    class TaskRunnerTest {
      private val taskFaker = TaskFaker()
    
      @RegisterExtension @JvmField
      val testLogHandler = TestLogHandler(taskFaker.logger)
    
      private val taskRunner = taskFaker.taskRunner
      private val log = mutableListOf<String>()
      private val redQueue = taskRunner.newQueue()
      private val blueQueue = taskRunner.newQueue()
      private val greenQueue = taskRunner.newQueue()
    
      @AfterEach
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top