Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 586 for replaceOp (0.07 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

                url.newBuilder()
                  .addQueryParameter("hostname", hostname).build(),
              )
              .post(query.toRequestBody(DNS_MESSAGE))
          } else {
            val encoded = query.base64Url().replace("=", "")
            val requestUrl = url.newBuilder().addQueryParameter("dns", encoded).build()
    
            url(requestUrl)
          }
        }.build()
    
      class Builder {
        internal var client: OkHttpClient? = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    // This makes all the references to os.FileInfo in go1.txt
    // be read as if they said fs.FileInfo, since os.FileInfo is now an alias.
    // If there are many of these, we could do a more general solution,
    // but for now the replacer is fine.
    var aliasReplacer = strings.NewReplacer(
    	"os.FileInfo", "fs.FileInfo",
    	"os.FileMode", "fs.FileMode",
    	"os.PathError", "fs.PathError",
    )
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

        } catch (Exception e) {
          throw new Error(e);
        }
      }
    
      /**
       * Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package. Replace with a simple call
       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      private static Unsafe getUnsafe() {
        try {
          return Unsafe.getUnsafe();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

       * previous value (if any) will continue to be returned by {@code get(key)} unless it is evicted.
       * If the new value is loaded successfully it will replace the previous value in the cache; if an
       * exception is thrown while refreshing the previous value will remain, <i>and the exception will
       * be logged (using {@link java.util.logging.Logger}) and swallowed</i>.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. docs/features/https.md

              }
            }
          }
        ```
    
    ### Customizing Trusted Certificates ([.kt][CustomTrustKotlin], [.java][CustomTrustJava])
    
    The full code sample shows how to replace the host platform’s certificate authorities with your own set. As above, **do not use custom certificates without the blessing of your server’s TLS administrator!**
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    		default:
    			return nil, ErrUnsignedHeaders
    		}
    	}
    	return extractedSignedHeaders, ErrNone
    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    		}
    	}
    
    	if globalIsDistErasure {
    		logger.Info("Configured max API requests per node based on available memory: %d", apiRequestsMaxPerNode)
    	}
    
    	if cap(t.requestsPool) != apiRequestsMaxPerNode {
    		// Only replace if needed.
    		// Existing requests will use the previous limit,
    		// but new requests will use the new limit.
    		// There will be a short overlap window,
    		// but this shouldn't last long.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

     * Observe the data just as it will be transmitted over the network.
     * Access to the `Connection` that carries the request.
    
    ### Rewriting Requests
    
    Interceptors can add, remove, or replace request headers. They can also transform the body of those requests that have one. For example, you can use an application interceptor to add request body compression if you're connecting to a webserver known to support it.
    
    ```java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          if (references.isEmpty()) {
            connection.idleAtNs = now - keepAliveDurationNs
            return 0
          }
        }
    
        return references.size
      }
    
      /**
       * Adds or replaces the policy for [address].
       * This will trigger a background task to start creating connections as needed.
       */
      fun setPolicy(
        address: Address,
        policy: ConnectionPool.AddressPolicy,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

            }
            return packageName.replace('.', '/') + '/';
        }
    
        /**
         * クラス名をクラスファイルのパス名に変換して返します。
         *
         * @param className
         *            クラス名
         * @return クラスファイルのパス名
         */
        protected static String toClassFile(final String className) {
            assertArgumentNotNull("className", className);
    
            return className.replace('.', '/') + ".class";
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top