- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 114 for startPos (0.14 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go
} ts := httptest.NewUnstartedServer(h) ts.TLS = &tls.Config{ Certificates: []tls.Certificate{cert}, NextProtos: []string{"http2", "http/1.1"}, } ts.StartTLS() return ts }, ProxyTransport: utilnet.SetTransportDefaults(&http.Transport{TLSClientConfig: &tls.Config{ NextProtos: []string{"http2", "http/1.1"}, InsecureSkipVerify: true, }}),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 39.4K bytes - Viewed (0) -
pkg/kubelet/certificate/transport_test.go
w.Write([]byte(`{}`)) } s := httptest.NewUnstartedServer(http.HandlerFunc(h)) s.TLS = &tls.Config{ // Just request a cert, we don't need to verify it. ClientAuth: tls.RequestClientCert, } s.StartTLS() defer s.Close() c := &rest.Config{ Host: s.URL, TLSClientConfig: rest.TLSClientConfig{ // We don't care about the server's cert. Insecure: true, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 18 08:52:58 UTC 2020 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go
defer ts.Close() ts.TLS = &tls.Config{Certificates: []tls.Certificate{cert}, NextProtos: []string{"http2", "http/1.1"}} ts.StartTLS() // Make a copy of the config tlsConfigCopy := tc.TLSConfig.Clone() // Clone() mutates the receiver (!), so also call it on the copy tlsConfigCopy.Clone() transport := &http.Transport{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 8.4K bytes - Viewed (0) -
src/crypto/tls/example_test.go
// reproducible. server := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {})) server.TLS = &tls.Config{ Rand: zeroSource{}, // for example only; don't do this. } server.StartTLS() defer server.Close() // Typically the log would go to an open file: // w, err := os.OpenFile("tls-secrets.txt", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600) w := os.Stdout client := &http.Client{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir
// CHECK: [[ZERO_2:%cst.*]] = arith.constant dense<0> : tensor<i32> // CHECK: [[EXPANDED_START_INDEX:%.*]] = "tf.ExpandDims"([[ZERO]], [[ZERO_2]]) : (tensor<i32>, tensor<i32>) -> tensor<1xi32> // CHECK: [[START_POS:%.*]] = "tf.Concat"([[ZERO_2]], [[EXPANDED_START_INDEX]], [[PARTIAL_START_POS]]) : (tensor<i32>, tensor<1xi32>, tensor<?xi32>) -> tensor<?xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 39.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper_test.go
} }() }) } } func newServer(t *testing.T, h http.Handler, http2 bool) *httptest.Server { server := httptest.NewUnstartedServer(h) if http2 { server.EnableHTTP2 = true server.StartTLS() } else { server.Start() } _, err := url.Parse(server.URL) if err != nil { t.Fatalf("Expected the server to have a valid URL, but got: %s", server.URL) } return server }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 12:58:53 UTC 2021 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
checkMethodBase(requestBody).put("/api/admin/scheduler/setting").then().body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } protected static void startJob(final String namePrefix) { for (int i = 0; i < 30; i++) { final Map<String, Object> requestBody = new HashMap<>(); final String schedulerId = getSchedulerIds(namePrefix).get(0);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner.go
s.nlsemi = false redo: // skip white space s.stop() startLine, startCol := s.pos() for s.ch == ' ' || s.ch == '\t' || s.ch == '\n' && !nlsemi || s.ch == '\r' { s.nextch() } // token start s.line, s.col = s.pos() s.blank = s.line > startLine || startCol == colbase s.start() if isLetter(s.ch) || s.ch >= utf8.RuneSelf && s.atIdentChar(true) { s.nextch() s.ident() return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 28 18:17:41 UTC 2022 - 17.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go
server := httptest.NewUnstartedServer(handler) server.EnableHTTP2 = true server.StartTLS() cli := server.Client() cli.Timeout = clientTimeout return server, func(req *http.Request) (*http.Response, error) { return cli.Do(req) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.8K bytes - Viewed (0)