Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,248 for addrI (0.05 sec)

  1. pilot/test/xdstest/endpoints.go

    				}
    			}
    			if !found {
    				return fmt.Errorf("unexpected address for endpoint %d: %v", i, addr)
    			}
    		}
    	}
    	return nil
    }
    
    func getLbEndpointAddrs(ep *endpointv3.LocalityLbEndpoints) []string {
    	addrs := make([]string, 0)
    	for _, lbEp := range ep.LbEndpoints {
    		addrs = append(addrs, util.GetEndpointHost(lbEp))
    	}
    	return addrs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("v", OpConstBool, c.config.Types.Bool, 1, nil),
    			Valu("addr1", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("addr2", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("addr3", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("zero1", OpZero, types.TypeMem, 1, c.config.Types.Bool, "addr3", "start"),
    			Valu("store1", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "zero1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go

    }
    
    // FROM: http://golang.org/src/net/http/transport.go
    // canonicalAddr returns url.Host but always with a ":port" suffix
    func CanonicalAddr(url *url.URL) string {
    	addr := url.Host
    	if !hasPort(addr) {
    		return addr + ":" + portMap[url.Scheme]
    	}
    	return addr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 21 10:49:41 UTC 2022
    - 723 bytes
    - Viewed (0)
  4. cmd/net.go

    	logger.FatalIf(err, "Unable to get IP addresses of this host")
    
    	for _, interf := range ifs {
    		addrs, err := interf.Addrs()
    		if err != nil {
    			continue
    		}
    		if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 {
    			continue
    		}
    
    		for _, addr := range addrs {
    			var ip net.IP
    			switch v := addr.(type) {
    			case *net.IPNet:
    				ip = v.IP
    			case *net.IPAddr:
    				ip = v.IP
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/net/protoconn_test.go

    	if !testableNetwork("unixgram") {
    		t.Skip("unixgram test")
    	}
    
    	addr1, addr2, addr3 := testUnixAddr(t), testUnixAddr(t), testUnixAddr(t)
    
    	a1, err := ResolveUnixAddr("unixgram", addr1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	c1, err := DialUnix("unixgram", a1, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer c1.Close()
    	defer os.Remove(addr1)
    	c1.LocalAddr()
    	c1.RemoteAddr()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. src/net/packetconn_test.go

    	var packetConnTests = []struct {
    		net   string
    		addr1 string
    		addr2 string
    	}{
    		{"udp", "127.0.0.1:0", "127.0.0.1:0"},
    		{"unixgram", testUnixAddr(t), testUnixAddr(t)},
    	}
    
    	closer := func(c PacketConn, net, addr1, addr2 string) {
    		c.Close()
    		switch net {
    		case "unixgram":
    			os.Remove(addr1)
    			os.Remove(addr2)
    		}
    	}
    
    	for _, tt := range packetConnTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/net/mail/message_test.go

    				},
    			},
    		},
    		{
    			`Group1: <addr1@example.com>;, Group 2: addr2@example.com;, John <addr3@example.com>`,
    			[]*Address{
    				{
    					Name:    "",
    					Address: "addr1@example.com",
    				},
    				{
    					Name:    "",
    					Address: "addr2@example.com",
    				},
    				{
    					Name:    "John",
    					Address: "addr3@example.com",
    				},
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    			return nil, nil, errUnrecognized
    		}
    		var sloc []*Location
    		addrs := make([]uint64, nstk)
    		for i := 0; i < int(nstk); i++ {
    			addrs[i], b = parse(b)
    		}
    
    		if count == 0 && nstk == 1 && addrs[0] == 0 {
    			// End of data marker
    			break
    		}
    		for i, addr := range addrs {
    			if adjust && i > 0 {
    				addr--
    			}
    			loc := locs[addr]
    			if loc == nil {
    				loc = &Location{
    					Address: addr,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  9. src/net/tcpsock_posix.go

    	// TCP has a rarely used mechanism called a 'simultaneous connection' in
    	// which Dial("tcp", addr1, addr2) run on the machine at addr1 can
    	// connect to a simultaneous Dial("tcp", addr2, addr1) run on the machine
    	// at addr2, without either machine executing Listen. If laddr == nil,
    	// it means we want the kernel to pick an appropriate originating local
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/net/hosts.go

    			ipsCp := make([]string, len(byName.addrs))
    			copy(ipsCp, byName.addrs)
    			return ipsCp, byName.canonicalName
    		}
    	}
    	return nil, ""
    }
    
    // lookupStaticAddr looks up the hosts for the given address from /etc/hosts.
    func lookupStaticAddr(addr string) []string {
    	hosts.Lock()
    	defer hosts.Unlock()
    	readHosts()
    	addr = parseLiteralIP(addr)
    	if addr == "" {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top