Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 869 for if (0.36 sec)

  1. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // Requests will be matched against the Host field in the following way:
      // 1. If Host is precise, the request matches this rule if the http host header is equal to Host.
      // 2. If Host is a wildcard, then the request matches this rule if the http host header
      // is to equal to the suffix (removing the first label) of the wildcard rule.
      // +optional
      optional string host = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      @Suppress("NOTHING_TO_INLINE")
      internal inline fun Any.assertThreadHoldsLock() {
        if (assertionsEnabled && !taskRunner.lock.isHeldByCurrentThread) {
          throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this")
        }
      }
    
      @Suppress("NOTHING_TO_INLINE")
      internal inline fun Any.assertThreadDoesntHoldLock() {
        if (assertionsEnabled && taskRunner.lock.isHeldByCurrentThread) {
    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)
  3. okhttp/src/main/kotlin/okhttp3/Request.kt

      fun headers(name: String): List<String> = commonHeaders(name)
    
      /** Returns the tag attached with [T] as a key, or null if no tag is attached with that key. */
      @JvmName("reifiedTag")
      inline fun <reified T : Any> tag(): T? = tag(T::class)
    
      /** Returns the tag attached with [type] as a key, or null if no tag is attached with that key. */
      fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags[type])
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

       * possibility for your response.
       */
      @Throws(IOException::class)
      fun bytes() = commonBytes()
    
      /**
       * Returns the response as a [ByteString].
       *
       * This method loads entire response body into memory. If the response body is very large this
       * may trigger an [OutOfMemoryError]. Prefer to stream the response body if this is a
       * possibility for your response.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

      apply {
        var i = 0
        while (i < namesAndValues.size) {
          if (name.equals(namesAndValues[i], ignoreCase = true)) {
            namesAndValues.removeAt(i) // name
            namesAndValues.removeAt(i) // value
            i -= 2
          }
          i += 2
        }
      }
    
    /**
     * Set a field with the specified value. If the field is not found, it is added. If the field is
     * found, the existing values are replaced.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    * `https://www.googleapis.com/auth/drive` is used by Google.
    
    !!! info
        In OAuth2 a "scope" is just a string that declares a specific permission required.
    
        It doesn't matter if it has other characters like `:` or if it is a URL.
    
        Those details are implementation specific.
    
        For OAuth2 they are just strings.
    
    ## Global view
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RequestLine.kt

       * URL is. Includes the query component if it exists.
       */
      fun requestPath(url: HttpUrl): String {
        val path = url.encodedPath
        val query = url.encodedQuery
        return if (query != null) "$path?$query" else path
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          val returnType = method.returnType
          if (methodName == "supports" && Boolean::class.javaPrimitiveType == returnType) {
            return true // ALPN is supported.
          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
            return null
          } else if (methodName == "protocols" && callArgs.isEmpty()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionsCollector.kt

    ) {
        fun checkResolveCall(resolvedCall: ResolvedCall<*>?) {
            if (resolvedCall == null) return
    
            val descriptor = resolvedCall.resultingDescriptor
            if (descriptor is DeserializedSimpleFunctionDescriptor) return
    
            analyzeNextIfInline(descriptor)
    
            if (descriptor is PropertyDescriptor) {
                for (accessor in descriptor.accessors) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirCallableFilteringScope.kt

                if (isTargetCallable(function)) {
                    processor(function)
                }
            }
        }
    
        override fun processPropertiesByName(name: Name, processor: (FirVariableSymbol<*>) -> Unit) {
            if (!cachedCallableNames.contains(name)) return
    
            baseScope.processPropertiesByName(name) { property ->
                if (isTargetCallable(property)) {
                    processor(property)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top