Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,891 for chain (0.04 sec)

  1. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

      override fun intercept(chain: Interceptor.Chain): Response {
        return if (chain.request().header("Accept-Encoding") == null) {
          val request =
            chain.request().newBuilder()
              .header("Accept-Encoding", "br,gzip")
              .build()
    
          val response = chain.proceed(request)
    
          uncompress(response)
        } else {
          chain.proceed(chain.request())
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. docs/features/interceptors.md

    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/ir/fallback_opt.mlir

    // CHECK-LABEL: func @createop
    func.func @createop(%in_ch: !tfrt.chain) -> !tfrt.chain {
    
      // CHECK: [[ch:%.*]] = tfrt_fallback_async.createop(%{{.*}}) key(100) device("cpu") "tf.AddV2"() {T = i32} num_args(2)
      %out_ch = tfrt_fallback_async.createop(%in_ch) key(100) device("cpu") "tf.AddV2"() {T = i32} num_args(2)
    
      // CHECK: tfrt.return [[ch]]
      tfrt.return %out_ch: !tfrt.chain
    }
    
    // CHECK-LABEL: func @fallback_resource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_network_linux.go

    	utilexec "k8s.io/utils/exec"
    )
    
    const (
    	// KubeIPTablesHintChain is the chain whose existence in either iptables-legacy
    	// or iptables-nft indicates which version of iptables the system is using
    	KubeIPTablesHintChain utiliptables.Chain = "KUBE-IPTABLES-HINT"
    
    	// KubeFirewallChain is kubernetes firewall rules
    	KubeFirewallChain utiliptables.Chain = "KUBE-FIREWALL"
    )
    
    func (kl *Kubelet) initNetworkUtil() {
    	exec := utilexec.New()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 20:51:47 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/builder/testdata/insert-multi-restore.golden

    * table
    -N chain
    -I chain 1 -f foo -b bar
    -I chain 2 -f foo -b baaz
    -I chain 3 -f foo -b baz
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 99 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    var CommonNameUserConversion = UserConversionFunc(func(chain []*x509.Certificate) (*authenticator.Response, bool, error) {
    	if len(chain[0].Subject.CommonName) == 0 {
    		return nil, false, nil
    	}
    	return &authenticator.Response{
    		User: &user.DefaultInfo{
    			Name:   chain[0].Subject.CommonName,
    			Groups: chain[0].Subject.Organization,
    		},
    	}, true, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/builder/testdata/append-insert-multi-restore.golden

    * table
    -N chain
    -A chain -f foo -b bar
    -I chain 2 -f foo -b bar
    -A chain -f foo -b baz
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 94 bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/builder/testdata/insert-multi.golden

    -t table -N chain
    -t table -I chain 1 -f foo -b bar
    -t table -I chain 2 -f foo -b baaz
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 120 bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/builder/testdata/append-insert-multi.golden

    -t table -N chain
    -t table -A chain -f foo -b bar
    -t table -I chain 2 -f foo -b bar
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 115 bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/builder/testdata/append-multi.golden

    -t table -N chain
    -t table -A chain -f foo -b bar
    -t table -A chain -f fu -b bar
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 112 bytes
    - Viewed (0)
Back to top