Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for Dialer (0.21 sec)

  1. src/net/net.go

    func (e InvalidAddrError) Temporary() bool { return false }
    
    // errTimeout exists to return the historical "i/o timeout" string
    // for context.DeadlineExceeded. See mapErr.
    // It is also used when Dialer.Deadline is exceeded.
    // error.Is(errTimeout, context.DeadlineExceeded) returns true.
    //
    // TODO(iant): We could consider changing this to os.ErrDeadlineExceeded
    // in the future, if we make
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    func getHostFromSrv(records []dns.SrvRecord) (host string) {
    	hosts := getHostsSlice(records)
    	rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano()))
    	var d net.Dialer
    	var retry int
    	for retry < len(hosts) {
    		ctx, cancel := context.WithTimeout(GlobalContext, 300*time.Millisecond)
    
    		host = hosts[rng.Intn(len(hosts))]
    		conn, err := d.DialContext(ctx, "tcp", host)
    		cancel()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. pilot/test/xdstest/extract.go

    		res = append(res, c.Name)
    	}
    	return res
    }
    
    func ExtractTLSSecrets(t test.Failer, secrets []*anypb.Any) map[string]*tls.Secret {
    	res := map[string]*tls.Secret{}
    	for _, a := range secrets {
    		scrt := UnmarshalAny[tls.Secret](t, a)
    		res[scrt.Name] = scrt
    	}
    	return res
    }
    
    func UnmarshalRouteConfiguration(t test.Failer, resp []*anypb.Any) []*route.RouteConfiguration {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  4. src/mime/mediatype_test.go

    			m("title", "This is ***fun***")},
    
    		{`message/external-body; access-type=URL; ` +
    			`URL*0="ftp://";` +
    			`URL*1="cs.utk.edu/pub/moore/bulk-mailer/bulk-mailer.tar"`,
    			"message/external-body",
    			m("access-type", "URL",
    				"url", "ftp://cs.utk.edu/pub/moore/bulk-mailer/bulk-mailer.tar")},
    
    		{`application/x-stuff; ` +
    			`title*0*=us-ascii'en'This%20is%20even%20more%20; ` +
    			`title*1*=%2A%2A%2Afun%2A%2A%2A%20; ` +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:58:37 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    	// was last non-zero (if ever).
    	qCfg fq.QueuingConfig
    
    	// the current dispatching configuration.
    	dCfg fq.DispatchingConfig
    
    	// If `qCfg.DesiredNumQueues` is non-zero then dealer is not nil
    	// and is good for `qCfg`.
    	dealer *shufflesharding.Dealer
    
    	// queues may be longer than the desired number, while the excess
    	// queues are still draining.
    	queues []*queue
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                )
                withProblemsWithStackTraceCount(0)
            }
    
            and:
            outputContains("this.reference = JavaRecord[value=null, filler=101]")
            outputContains("bean.reference = JavaRecord[value=null, filler=202]")
    
            when:
            configurationCacheRunLenient "broken"
    
            then:
            problems.assertResultHasProblems(result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  7. tests/integration/pilot/analyze_test.go

    		}
    	}
    }
    
    func expectNoMessages(t test.Failer, g *GomegaWithT, output []string) {
    	t.Helper()
    	g.Expect(output).To(HaveLen(1))
    	g.Expect(output[0]).To(ContainSubstring("No validation issues found when analyzing"))
    }
    
    func expectJSONMessages(t test.Failer, g *GomegaWithT, output string, expected ...*diag.MessageType) {
    	t.Helper()
    
    	var j []map[string]any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. pilot/test/xds/fake.go

    type FakeDiscoveryServer struct {
    	*core.ConfigGenTest
    	t            test.Failer
    	Discovery    *xds.DiscoveryServer
    	Listener     net.Listener
    	BufListener  *bufconn.Listener
    	kubeClient   kubelib.Client
    	KubeRegistry *kube.FakeController
    	XdsUpdater   model.XDSUpdater
    	MemRegistry  *memregistry.ServiceDiscovery
    }
    
    func NewFakeDiscoveryServer(t test.Failer, opts FakeOptions) *FakeDiscoveryServer {
    	m := opts.MeshConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. operator/cmd/mesh/test-util_test.go

    }
    
    func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. src/math/big/prime.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package big
    
    import "math/rand"
    
    // ProbablyPrime reports whether x is probably prime,
    // applying the Miller-Rabin test with n pseudorandomly chosen bases
    // as well as a Baillie-PSW test.
    //
    // If x is prime, ProbablyPrime returns true.
    // If x is chosen randomly and not prime, ProbablyPrime probably returns false.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top