- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 75 for SRV (0.05 sec)
-
src/net/http/pprof/pprof_test.go
} if !seen(p, "mutexHog1") || !seen(p, "mutexHog2") { t.Errorf("want both mutexHog1 and mutexHog2 in the profile, got %v", p) } } var srv = httptest.NewServer(nil) func query(endpoint string) (*profile.Profile, error) { url := srv.URL + endpoint r, err := http.Get(url) if err != nil { return nil, fmt.Errorf("failed to fetch %q: %v", url, err) } if r.StatusCode != http.StatusOK {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 9.7K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller_test.go
func testServerAndClientConfig(handler func(http.ResponseWriter, *http.Request)) (*httptest.Server, *rest.Config) { srv := httptest.NewServer(http.HandlerFunc(handler)) config := &rest.Config{ Host: srv.URL, } return srv, config } func expectSyncNotBlocked(fakeDiscoveryClient *fakeServerResources, workerLock *sync.RWMutex) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 16:29:33 UTC 2023 - 42.6K bytes - Viewed (0) -
src/crypto/tls/boring_test.go
clientConfig.MaxVersion = VersionTLS13 clientConfig.CipherSuites = allCipherSuites() clientConfig.CurvePreferences = defaultCurvePreferences() go Client(c, clientConfig).Handshake() srv := Server(s, testConfig) msg, err := srv.readHandshake(nil) if err != nil { t.Fatal(err) } hello, ok := msg.(*clientHelloMsg) if !ok { t.Fatalf("unexpected message type %T", msg) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
func testServerAndClientConfig(handler func(http.ResponseWriter, *http.Request)) (*httptest.Server, *restclient.Config) { srv := httptest.NewServer(http.HandlerFunc(handler)) config := &restclient.Config{ Host: srv.URL, } return srv, config } type garbageCollector struct { *GarbageCollector stop chan struct{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
cmd/api-router.go
} func newConsoleServerFn() *consoleapi.Server { globalObjLayerMutex.RLock() defer globalObjLayerMutex.RUnlock() return globalConsoleSrv } func setConsoleSrv(srv *consoleapi.Server) { globalObjLayerMutex.Lock() globalConsoleSrv = srv globalObjLayerMutex.Unlock() } func newObjectLayerFn() ObjectLayer { globalObjLayerMutex.RLock() defer globalObjLayerMutex.RUnlock() return globalObjectAPI }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 22.8K bytes - Viewed (0) -
src/net/http/serve_test.go
func TestConcurrentServerServe(t *testing.T) { setParallel(t) for i := 0; i < 100; i++ { ln1 := &oneConnListener{conn: nil} ln2 := &oneConnListener{conn: nil} srv := Server{} go func() { srv.Serve(ln1) }() go func() { srv.Serve(ln2) }() } } func TestServerIdleTimeout(t *testing.T) { run(t, testServerIdleTimeout, []testMode{http1Mode}) } func testServerIdleTimeout(t *testing.T, mode testMode) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
pkg/dns/client/dns_test.go
} func initDNS(t test.Failer, forwardToUpstreamParallel bool) *LocalDNSServer { srv := makeUpstream(t, map[string]string{"www.bing.com.": "1.1.1.1"}) testAgentDNS, err := NewLocalDNSServer("ns1", "ns1.svc.cluster.local", "localhost:0", forwardToUpstreamParallel) if err != nil { t.Fatal(err) } testAgentDNS.resolvConfServers = []string{srv} testAgentDNS.StartDNS() fillTable(testAgentDNS) t.Cleanup(testAgentDNS.Close)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
pilot/pkg/model/service.go
TrafficDirectionOutbound TrafficDirection = "outbound" // trafficDirectionOutboundSrvPrefix the prefix for a DNS SRV type subset key trafficDirectionOutboundSrvPrefix = string(TrafficDirectionOutbound) + "_" // trafficDirectionInboundSrvPrefix the prefix for a DNS SRV type subset key trafficDirectionInboundSrvPrefix = string(TrafficDirectionInbound) + "_" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
_, err = LookupCNAME("golang.org") if err.Error() != expectedErr.Error() { t.Fatalf("unexpected error: %s", err) } }, }, { name: "SRV (bad record)", f: func(t *testing.T) { expected := []*SRV{ { Target: "good.golang.org.", }, } expectedErr := &DNSError{Err: errMalformedDNSRecordsDetail, Name: "golang.org"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
src/net/http/h2_bundle.go
sc.setConnState(StateActive) sc.setConnState(StateIdle) if sc.srv.IdleTimeout > 0 { sc.idleTimer = sc.srv.afterFunc(sc.srv.IdleTimeout, sc.onIdleTimer) defer sc.idleTimer.Stop() } go sc.readFrames() // closed by defer sc.conn.Close above settingsTimer := sc.srv.afterFunc(http2firstSettingsTimeout, sc.onSettingsTimer) defer settingsTimer.Stop() loopNum := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 364.1K bytes - Viewed (0)