Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 579 for chains (0.11 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *    server's hostname. The server must also have is a (possibly-empty) chain of intermediate
     *    certificates to establish trust from a root certificate to the server's certificate. The root
     *    certificate is not included in this chain.
     *  * The client's handshake certificates must include a set of trusted root certificates. They will
     *    be used to authenticate the server's certificate chain. Typically this is a set of well-known
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
              .add("Date", new Date())
              .build();
          Request newRequest = request.newBuilder()
              .headers(newHeaders)
              .build();
          return chain.proceed(newRequest);
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Oct 31 15:32:50 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authorization/union/union.go

    )
    
    // unionAuthzHandler authorizer against a chain of authorizer.Authorizer
    type unionAuthzHandler []authorizer.Authorizer
    
    // New returns an authorizer that authorizes against a chain of authorizer.Authorizer objects
    func New(authorizationHandlers ...authorizer.Authorizer) authorizer.Authorizer {
    	return unionAuthzHandler(authorizationHandlers)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 28 20:27:28 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/async_op_thread.mlir

    // RUN: tfrt_fallback_translate -mlir-to-bef %s | tf_bef_executor --work_queue_type=mstd 2>&1 | FileCheck %s
    
    func.func @test_async_op_kernel_thread() -> !tfrt.chain {
      %ch0 = tfrt.new.chain
    
      %ch1 = tfrt_fallback_async.createop(%ch0) key(0) device("/CPU:0") "tf.Const"()
             { dtype = i32, value = dense<[2]> : tensor<1xi32> } num_args(0)
      %ch2 = tfrt_fallback_async.createop(%ch1) key(1) device("/CPU:0")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 18 22:58:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/internal/dag/alg_test.go

    	t.Run("diamond", func(t *testing.T) {
    		g := mustParse(t, diamond)
    		g.TransitiveReduction()
    		wantEdges(t, g, "b->a c->a d->b d->c")
    	})
    	t.Run("chain", func(t *testing.T) {
    		const chain = `NONE < a < b < c < d; a, d < e;`
    		g := mustParse(t, chain)
    		g.TransitiveReduction()
    		wantEdges(t, g, "e->d d->c c->b b->a")
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:44 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    object ConnectInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.call.initExchange(realChain)
        val connectedChain = realChain.copy(exchange = exchange)
        return connectedChain.proceed(realChain.request)
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/cross_device_transfer.mlir

      %4 = corert.executeop(%1) "tf.AddV2"(%3, %3) {T = f32, device = "/device:GPU:0"} : 1
      tfrt.return
    }
    
    // CHECK: func @test_transfer_func_arg(%[[ARG_0:.*]]: !tfrt.chain, %[[ARG_1:.*]]: !corert.tensorhandle
    func.func @test_transfer_func_arg(%arg0: !tfrt.chain, %arg1: !corert.tensorhandle {tfrt.device = "/device:CPU:0"}) -> () {
      // CHECK-NEXT: %[[RESULT_0:.*]] = corert.get_op_handler %[[ARG_0]] "gpu"
      %0 = corert.get_op_handler %arg0 "gpu"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:58:25 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

          this.host = host;
        }
    
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          if (request.url().host().equals(host)) {
            request = request.newBuilder()
                .header("Authorization", credentials)
                .build();
          }
          return chain.proceed(request);
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/kotlinDsl/multiProjectBuild/kotlin/http/src/main/java/example/App.java

    package example;
    
    import ratpack.server.RatpackServer;
    
    public class App {
    
        public static void main(String[] args) throws Exception {
            RatpackServer.start(server -> server
                .handlers(chain -> chain
                    .get(ctx -> ctx.render("Hello World!"))
                    .get(":name", ctx -> ctx.render("Hello " + ctx.getPathTokens().get("name") + "!"))
                )
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 408 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper_test.go

    			return
    		}
    		conn.Close()
    	}))
    	handler = chain(handler)
    	handler = chain(handler)
    
    	server := newServer(t, handler, false)
    	defer server.Close()
    
    	sendRequest(t, server)
    }
    
    func TestWithHTTP2(t *testing.T) {
    	var originalWant http.ResponseWriter
    	counterGot := &counter{}
    	chain := func(h http.Handler) http.Handler {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:53 UTC 2021
    - 8.1K bytes
    - Viewed (0)
Back to top