Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for Dialer (0.81 sec)

  1. doc/godebug.md

    Go 1.21 adds the support of Multipath TCP but it is only used if the application
    explicitly asked for it. This behavior can be controlled by the
    [`multipathtcp` setting](/pkg/net#Dialer.SetMultipathTCP).
    
    There is no plan to remove any of these settings.
    
    ### Go 1.20
    
    Go 1.20 introduced support for rejecting insecure paths in tar and zip archives,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. src/net/error_test.go

    	}
    	sw.Set(socktest.FilterConnect, func(so *socktest.Status) (socktest.AfterFilter, error) {
    		return nil, errOpNotSupported
    	})
    	defer sw.Set(socktest.FilterConnect, nil)
    
    	d := Dialer{Timeout: someTimeout}
    	for i, tt := range dialErrorTests {
    		i, tt := i, tt
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			c, err := d.Dial(tt.network, tt.address)
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top