Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for dial (0.26 sec)

  1. src/net/http/transport_test.go

    				w.Header().Set("X-Status", "ok")
    			})).ts
    
    			var writeNumAtomic int32
    			c := ts.Client()
    			c.Transport.(*Transport).Dial = func(network, addr string) (net.Conn, error) {
    				logf("Dial")
    				c, err := net.Dial(network, ts.Listener.Addr().String())
    				if err != nil {
    					logf("Dial error: %v", err)
    					return nil, err
    				}
    				return &writerFuncConn{
    					Conn: c,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    			string(got), err, expected)
    	}
    
    	// Slow client that should timeout.
    	t1 := time.Now()
    	conn, err := net.Dial("tcp", ts.Listener.Addr().String())
    	if err != nil {
    		return fmt.Errorf("Dial: %v", err)
    	}
    	buf := make([]byte, 1)
    	n, err := conn.Read(buf)
    	conn.Close()
    	latency := time.Since(t1)
    	if n != 0 || err != io.EOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    		Help:      "Total number of internode TCP dial timeouts and errors",
    		Type:      counterMetric,
    	}
    }
    
    func getInternodeTCPAvgDuration() MetricDescription {
    	return MetricDescription{
    		Namespace: interNodeMetricNamespace,
    		Subsystem: trafficSubsystem,
    		Name:      "dial_avg_time",
    		Help:      "Average time of internodes TCP dial calls",
    		Type:      gaugeMetric,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  4. src/cmd/trace/testdata/go122.test

    String id=51
    	data="/usr/local/google/home/mknyszek/work/go-1/src/net/dial.go"
    String id=52
    	data="net.(*sysDialer).dialSerial"
    String id=53
    	data="net.(*sysDialer).dialParallel"
    String id=54
    	data="net.(*Dialer).DialContext"
    String id=55
    	data="net.(*Dialer).Dial"
    String id=56
    	data="net.Dial"
    String id=57
    	data="runtime.chansend1"
    String id=58
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    			},
    			fetchKeysFromRemote: true,
    			wantHealthErrPrefix: `oidc: authenticator for issuer "https://this-will-not-work.notatld" is not healthy: Get "https://this-will-not-work.notatld/.well-known/openid-configuration": dial tcp: lookup this-will-not-work.notatld`,
    		},
    		{
    			name: "accounts.google.com issuer",
    			options: Options{
    				JWTAuthenticator: apiserver.JWTAuthenticator{
    					Issuer: apiserver.Issuer{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/asm7.go

    		d := p.From.Offset
    		if d == 0 {
    			c.ctxt.Diag("zero shifts cannot be handled correctly: %v", p)
    		}
    		s := movcon(d)
    		if s < 0 || s >= 4 {
    			c.ctxt.Diag("bad constant for MOVK: %#x\n%v", uint64(d), p)
    		}
    		if (o1&S64) == 0 && s >= 2 {
    			c.ctxt.Diag("illegal bit position\n%v", p)
    		}
    		if ((uint64(d) >> uint(s*16)) >> 16) != 0 {
    			c.ctxt.Diag("requires uimm16\n%v", p)
    		}
    		rt := int(p.To.Reg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  7. src/net/http/server.go

    	// Addr optionally specifies the TCP address for the server to listen on,
    	// in the form "host:port". If empty, ":http" (port 80) is used.
    	// The service names are defined in RFC 6335 and assigned by IANA.
    	// See net.Dial for details of the address format.
    	Addr string
    
    	Handler Handler // handler to invoke, http.DefaultServeMux if nil
    
    	// DisableGeneralOptionsHandler, if true, passes "OPTIONS *" requests to the Handler,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/asm9.go

    			case REG_CR7:
    				r = BI_CR7
    			default:
    				c.ctxt.Diag("unrecognized register: expecting CR\n")
    			}
    		}
    		v := int32(0)
    		if p.To.Target() != nil {
    			v = int32(p.To.Target().Pc - p.Pc)
    		}
    		if v&03 != 0 {
    			c.ctxt.Diag("odd branch target address\n%v", p)
    			v &^= 03
    		}
    
    		if v < -(1<<16) || v >= 1<<15 {
    			c.ctxt.Diag("branch too far\n%v", p)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/s390x/asmz.go

    		var opcode uint32
    		switch p.As {
    		default:
    			c.ctxt.Diag("unexpected opcode %v", p.As)
    		case AKM, AKMC, AKLMD:
    			if p.From.Reg == REG_R0 {
    				c.ctxt.Diag("input must not be R0 in %v", p)
    			}
    			if p.From.Reg&1 != 0 {
    				c.ctxt.Diag("input must be even register in %v", p)
    			}
    			if p.To.Reg == REG_R0 {
    				c.ctxt.Diag("second argument must not be R0 in %v", p)
    			}
    			if p.To.Reg&1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/asm6.go

    		if rm == nil || rm.Type != obj.TYPE_MEM {
    			ctxt.Diag("illegal broadcast without memory argument: %v", p)
    		} else if !evex.BroadcastEnabled() {
    			ctxt.Diag("unsupported broadcast: %v", p)
    		}
    		evexB = 1
    	case suffix.sae:
    		if rm != nil && rm.Type == obj.TYPE_MEM {
    			ctxt.Diag("illegal SAE with memory argument: %v", p)
    		} else if !evex.SaeEnabled() {
    			ctxt.Diag("unsupported SAE: %v", p)
    		}
    		evexB = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top