- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 114 for startPos (0.23 sec)
-
src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go
// there is an additional leading ccc. The value of tccc itself is the // trailing CCC shifted left 2 bits. The two least-significant bits of tccc // are the number of trailing non-starters. const ( qcInfoMask = 0x3F // to clear all but the relevant bits in a qcInfo headerLenMask = 0x3F // extract the length value from the header byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 8.7K bytes - Viewed (0) -
src/net/http/httptest/example_test.go
} func ExampleServer_hTTP2() { ts := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, %s", r.Proto) })) ts.EnableHTTP2 = true ts.StartTLS() defer ts.Close() res, err := ts.Client().Get(ts.URL) if err != nil { log.Fatal(err) } greeting, err := io.ReadAll(res.Body) res.Body.Close() if err != nil { log.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 2K bytes - Viewed (0) -
tensorflow/compiler/aot/benchmark.cc
const int64_t start_us = NowMicros(); int64_t iters = 0; while (true) { const int64_t iter_start_us = NowMicros(); fn(); const int64_t end_us = NowMicros(); // Collect stats and decide whether to stop. stats->per_iter_us.push_back(end_us - iter_start_us); const int64_t total_us = end_us - start_us; ++iters; if ((max_us > 0 && total_us >= max_us) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 19:45:29 UTC 2023 - 4.5K bytes - Viewed (0) -
src/crypto/x509/root_solaris.go
package x509 // Possible certificate files; stop after finding one. var certFiles = []string{ "/etc/certs/ca-certificates.crt", // Solaris 11.2+ "/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS "/etc/ssl/cacert.pem", // OmniOS } // Possible directories with certificate files; all will be read. var certDirectories = []string{ "/etc/certs/CA",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 02 22:53:18 UTC 2021 - 538 bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/metrics/metrics.go
type operationTimestamp struct { pluginName string operation string startTs time.Time } func newOperationTimestamp(pluginName, operationName string) *operationTimestamp { return &operationTimestamp{ pluginName: pluginName, operation: operationName, startTs: time.Now(), } } // OperationStartTimeCache concurrent safe cache for operation start timestamps
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 25 13:09:16 UTC 2022 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go
func TestClientReceivedGOAWAY(t *testing.T) { s, err := newTestGOAWAYServer() if err != nil { t.Fatalf("failed to set-up test GOAWAY http server, err: %v", err) } s.StartTLS() defer s.Close() cases := []struct { name string reqs []string // expectConnections always equals to GOAWAY requests(urlGoaway or urlWatchWithGoaway) + 1 expectConnections int }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 12:58:54 UTC 2021 - 13.9K bytes - Viewed (0) -
src/net/http/httptest/server_test.go
ts.Start() return ts }, "NewTLSServerManual": func(h http.Handler) *Server { ts := &Server{Listener: newLocalListener(), Config: &http.Server{Handler: h}} ts.StartTLS() return ts }, } func TestServer(t *testing.T) { for _, name := range []string{"NewServer", "NewServerManual"} { t.Run(name, func(t *testing.T) { newServer := newServers[name]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:12 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go
*ss = 0 return ssOverflow } // The Stream-Safe Text Processing prescribes that the counting can stop // as soon as a starter is encountered. However, there are some starters, // like Jamo V and T, that can combine with other runes, leaving their // successive non-starters appended to the previous, possibly causing an // overflow. We will therefore consider any rune with a non-zero nLead to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/webhook.go
webhookServer.TLS = &tls.Config{ RootCAs: roots, Certificates: []tls.Certificate{cert}, } webhookServer.StartTLS() endpoint := webhookServer.URL + "/convert" webhookConfig := &apiextensionsv1.WebhookClientConfig{ CABundle: localhostCert, URL: &endpoint, } // StartTLS returns immediately, there is a small chance of a race to avoid.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 01:38:09 UTC 2022 - 10.2K bytes - Viewed (0) -
src/net/smtp/smtp_test.go
t.Errorf("Client dial: %v", err) return } defer c.Quit() cfg := &tls.Config{ServerName: "example.com"} testHookStartTLS(cfg) // set the RootCAs if err := c.StartTLS(cfg); err != nil { t.Errorf("StartTLS: %v", err) return } cs, ok := c.TLSConnectionState() if !ok { t.Errorf("TLSConnectionState returned ok == false; want true") return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 28.5K bytes - Viewed (0)