Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 364 for addrI (0.06 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. 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)
  4. 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)
  5. pkg/proxy/util/nodeport_addresses_test.go

    			cidrs: []string{},
    			itfAddrsPairs: []InterfaceAddrsPair{
    				{
    					itf:   net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0},
    					addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("2001:db8::1"), Mask: net.CIDRMask(64, 128)}},
    				},
    				{
    					itf:   net.Interface{Index: 1, MTU: 0, Name: "lo", HardwareAddr: nil, Flags: 0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. src/net/ipsock.go

    		want6 = bytealg.CountString(addr, '[') > 0
    	}
    	if want6 {
    		return addrs.first(isNotIPv4)
    	}
    	return addrs.first(isIPv4)
    }
    
    // first returns the first address which satisfies strategy, or if
    // none do, then the first address of any kind.
    func (addrs addrList) first(strategy func(Addr) bool) Addr {
    	for _, addr := range addrs {
    		if strategy(addr) {
    			return addr
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/net/lookup_plan9.go

    		if len(f) < 2 {
    			continue
    		}
    		addr := f[1]
    		if i := bytealg.IndexByteString(addr, '!'); i >= 0 {
    			addr = addr[:i] // remove port
    		}
    		if ParseIP(addr) == nil {
    			continue
    		}
    		// only return unique addresses
    		for _, a := range addrs {
    			if a == addr {
    				continue loop
    			}
    		}
    		addrs = append(addrs, addr)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/net/dnsclient.go

    // described in RFC 2782.
    func (addrs byPriorityWeight) shuffleByWeight() {
    	sum := 0
    	for _, addr := range addrs {
    		sum += int(addr.Weight)
    	}
    	for sum > 0 && len(addrs) > 1 {
    		s := 0
    		n := randIntn(sum)
    		for i := range addrs {
    			s += int(addrs[i].Weight)
    			if s > n {
    				if i > 0 {
    					addrs[0], addrs[i] = addrs[i], addrs[0]
    				}
    				break
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/runtime/pprof/protomem_test.go

    	"testing"
    )
    
    func TestConvertMemProfile(t *testing.T) {
    	addr1, addr2, map1, map2 := testPCs(t)
    
    	// MemProfileRecord stacks are return PCs, so add one to the
    	// addresses recorded in the "profile". The proto profile
    	// locations are call PCs, so conversion will subtract one
    	// from these and get back to addr1 and addr2.
    	a1, a2 := uintptr(addr1)+1, uintptr(addr2)+1
    	rate := int64(512 * 1024)
    	rec := []profilerecord.MemProfileRecord{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/runtime/mbitmap.go

    	for {
    		var addr0, addr1 uintptr
    		tp0, addr0 = tp0.next(addr + size)
    		tp1, addr1 = tp1.next(addr + size)
    		if addr0 != addr1 {
    			failed = true
    			break
    		}
    		if addr0 == 0 {
    			break
    		}
    	}
    	if failed {
    		tp0 := s.typePointersOfType(typ, addr)
    		tp1 := s.typePointersOf(addr, size)
    		print("runtime: addr=", hex(addr), " size=", size, "\n")
    		print("runtime: type=", toRType(typ).string(), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top