Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 353 for addr1 (0.04 sec)

  1. src/runtime/pprof/proto_test.go

    	}
    	return
    }
    
    func TestConvertCPUProfile(t *testing.T) {
    	addr1, addr2, map1, map2 := testPCs(t)
    
    	b := []uint64{
    		3, 0, 500, // hz = 500
    		5, 0, 10, uint64(addr1 + 1), uint64(addr1 + 2), // 10 samples in addr1
    		5, 0, 40, uint64(addr2 + 1), uint64(addr2 + 2), // 40 samples in addr2
    		5, 0, 10, uint64(addr1 + 1), uint64(addr1 + 2), // 10 samples in addr1
    	}
    	p, err := translateCPUProfile(b, 4)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	// Partition addresses into two sets: ones with a known object file, and ones without.
    	var addrs, unprocessed []uint64
    	for addr, info := range addrMap {
    		if info.obj != nil {
    			addrs = append(addrs, addr)
    		} else {
    			unprocessed = append(unprocessed, addr)
    		}
    	}
    	sort.Slice(addrs, func(i, j int) bool { return addrs[i] < addrs[j] })
    
    	const expand = 500 // How much to expand range to pick up nearby addresses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. src/net/cgo_unix.go

    			sa := (*syscall.RawSockaddrInet4)(unsafe.Pointer(*_C_ai_addr(r)))
    			addr := IPAddr{IP: copyIP(sa.Addr[:])}
    			addrs = append(addrs, addr)
    		case _C_AF_INET6:
    			sa := (*syscall.RawSockaddrInet6)(unsafe.Pointer(*_C_ai_addr(r)))
    			addr := IPAddr{IP: copyIP(sa.Addr[:]), Zone: zoneCache.name(int(sa.Scope_id))}
    			addrs = append(addrs, addr)
    		}
    	}
    	return addrs, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. pilot/pkg/xds/eds_sh_test.go

    }
    
    func getLbEndpointAddrs(eps []*endpoint.LbEndpoint) []string {
    	addrs := make([]string, 0)
    	for _, lbEp := range eps {
    		addrs = append(addrs, lbEp.GetEndpoint().Address.GetSocketAddress().Address)
    	}
    	sort.Strings(addrs)
    	return addrs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pilot/pkg/model/network.go

    	}
    	delete(n.cache, name)
    	addrs, ttl, err := n.resolve(name)
    	// avoid excessive pushes due to small TTL
    	if ttl < MinGatewayTTL {
    		ttl = MinGatewayTTL
    	}
    	expiry := time.Now().Add(ttl)
    	if err != nil {
    		// gracefully retain old addresses in case the DNS server is unavailable
    		addrs = entry.value
    	}
    	n.cache[name] = nameCacheEntry{
    		value:  addrs,
    		expiry: expiry,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. src/net/lookup.go

    	if err != nil {
    		return nil, err
    	}
    	addrs := addrsi.([]IPAddr)
    	if shared {
    		clone := make([]IPAddr, len(addrs))
    		copy(clone, addrs)
    		addrs = clone
    	}
    	return addrs, nil
    }
    
    // ipAddrsEface returns an empty interface slice of addrs.
    func ipAddrsEface(addrs []IPAddr) []any {
    	s := make([]any, len(addrs))
    	for i, v := range addrs {
    		s[i] = v
    	}
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Metric  int32
    }
    
    type IfmaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	_       [2]byte
    }
    
    type IfmaMsghdr2 struct {
    	Msglen   uint16
    	Version  uint8
    	Type     uint8
    	Addrs    int32
    	Flags    int32
    	Index    uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top