Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for startPos (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. internal/config/identity/ldap/help.go

    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         ServerStartTLS,
    			Description: `use StartTLS connection to AD/LDAP server` + defaultHelpPostfix(ServerStartTLS),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/graceful_shutdown_test.go

    		t.Fatalf("backend: invalid x509/key pair: %v", err)
    	}
    	backendServer.TLS = &tls.Config{
    		Certificates: []tls.Certificate{backendCert},
    		NextProtos:   []string{http2.NextProtoTLS},
    	}
    	backendServer.StartTLS()
    	defer backendServer.Close()
    
    	// set up the client
    	clientCACertPool := x509.NewCertPool()
    	clientCACertPool.AppendCertsFromPEM(backendCrt)
    	clientTLSConfig := &tls.Config{
    		RootCAs:    clientCACertPool,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/net/util_test.go

    func TestIsConnectionReset(t *testing.T) {
    	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()
    
    	u, err := url.Parse(ts.URL)
    	if err != nil {
    		t.Fatalf("failed to parse URL from %q: %v", ts.URL, err)
    	}
    	lb := newLB(t, u.Host)
    	defer lb.ln.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            refresh();
            webConfigId = getWebConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created: {}", webConfigId);
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
    
            ThreadUtil.sleep(3000);
        }
    
        @BeforeEach
        protected void init() {
            refresh();
        }
    
        @AfterEach
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top