Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

      class Builder {
        private var notBefore = -1L
        private var notAfter = -1L
        private var commonName: String? = null
        private var organizationalUnit: String? = null
        private val altNames = mutableListOf<String>()
        private var serialNumber: BigInteger? = null
        private var keyPair: KeyPair? = null
        private var signedBy: HeldCertificate? = null
        private var maxIntermediateCas = -1
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. okhttp/src/main/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 incrementedRunCallCount = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        val pushPromises: MutableList<PushPromise>
    
        val settings: Settings
    
        constructor() {
          this.inTunnel = false
          this.informationalResponses = mutableListOf()
          this.status = "HTTP/1.1 200 OK"
          this.bodyVar = null
          this.streamHandlerVar = null
          this.webSocketListenerVar = null
          this.headers =
            Headers.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/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>)
        }.also { expected ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private var limit = -1L
    
      /** Type hints scoped to the call stack, manipulated with [withTypeHint]. */
      private val typeHintStack = mutableListOf<Any?>()
    
      /**
       * The type hint for the current object. Used to pick adapters based on other fields, such as
       * in extensions which have different types depending on their extension ID.
       */
      var typeHint: Any?
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * elements are in the same order as in this.
     */
    internal fun Array<String>.intersect(
      other: Array<String>,
      comparator: Comparator<in String>,
    ): Array<String> {
      val result = mutableListOf<String>()
      for (a in this) {
        for (b in other) {
          if (comparator.compare(a, b) == 0) {
            result.add(a)
            break
          }
        }
      }
      return result.toTypedArray()
    }
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      ): RecordedRequest {
        var request = ""
        val headers = Headers.Builder()
        var contentLength = -1L
        var chunked = false
        val requestBody = TruncatingBuffer(bodyLimit)
        val chunkSizes = mutableListOf<Int>()
        var failure: IOException? = null
    
        try {
          request = source.readUtf8LineStrict()
          if (request.isEmpty()) {
            throw ProtocolException("no request because the stream is exhausted")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top