Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for unmodifiableList (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      fun queuedCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(readyAsyncCalls.map { it.call })
        }
    
      /** Returns a snapshot of the calls currently being executed. */
      fun runningCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call })
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

              if (cookies == null) cookies = mutableListOf()
              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cookie.kt

            val cookie = parse(url, cookieStrings[i]) ?: continue
            if (cookies == null) cookies = mutableListOf()
            cookies.add(cookie)
          }
    
          return if (cookies != null) {
            Collections.unmodifiableList(cookies)
          } else {
            emptyList()
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

    ) : KtTreeVisitorVoid() {
        private val collectedDiagnostics = mutableListOf<KtDiagnostic>()
    
        val diagnostics: List<KtDiagnostic>
            get() = Collections.unmodifiableList(collectedDiagnostics)
    
        override fun visitErrorElement(element: PsiErrorElement) {
            collectedDiagnostics += ConeSyntaxDiagnostic(element.errorDescription)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            if (protocolsCopy != this.protocols) {
              this.routeDatabase = null
            }
    
            // Assign as an unmodifiable list. This is effectively immutable.
            this.protocols = Collections.unmodifiableList(protocolsCopy)
          }
    
        /**
         * Sets the verifier used to confirm that response certificates apply to requested hostnames for
         * HTTPS connections.
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top