- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 217 for addr1 (0.04 sec)
-
pkg/proxy/util/utils_test.go
func TestAppendPortIfNeeded(t *testing.T) { testCases := []struct { name string addr string port int32 expect string }{ { name: "IPv4 all-zeros bind address has port", addr: "0.0.0.0:12345", port: 23456, expect: "0.0.0.0:12345", }, { name: "non-zeros IPv4 config", addr: "9.8.7.6", port: 12345, expect: "9.8.7.6:12345", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/dns/dns_test.go
loadbalance kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure upstream fallthrough in-addr.arpa ip6.arpa ttl 30 } health } `, expectedCorefileData: `.:53 { errors health { lameduck 5s } ready kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 41.7K bytes - Viewed (0) -
src/runtime/mpagealloc.go
foundFree := func(addr offAddr, size uintptr) { if firstFree.base.lessEqual(addr) && addr.add(size-1).lessEqual(firstFree.bound) { // This range fits within the current firstFree window, so narrow // down the firstFree window to the base and bound of this range. firstFree.base = addr firstFree.bound = addr.add(size - 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 39.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
return secs[i].Addr < secs[j].Addr }) // Check to make sure we don't have any overlaps. foundOverlap := false for i := 0; i < len(secs)-1; i++ { for j := i + 1; j < len(secs); j++ { s := secs[i] sn := secs[j] if secOverlaps(s, sn) { t.Errorf("unexpected: section %d:%q (addr=%x size=%x) overlaps section %d:%q (addr=%x size=%x)", i, s.Name, s.Addr, s.Size, i+1, sn.Name, sn.Addr, sn.Size)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
// Find the elf.Section of a given shared library that contains a given address. func findShlibSection(ctxt *Link, path string, addr uint64) *elf.Section { for _, shlib := range ctxt.Shlibs { if shlib.Path == path { for _, sect := range shlib.File.Sections[1:] { // skip the NULL section if sect.Addr <= addr && addr < sect.Addr+sect.Size { return sect } } } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go
// the elfMapping field is set. It populates the base and isData fields and // returns an error. func (f *file) computeBase(addr uint64) error { if f == nil || f.m == nil { return nil } if addr < f.m.start || addr >= f.m.limit { return fmt.Errorf("specified address %x is outside the mapping range [%x, %x] for file %q", addr, f.m.start, f.m.limit, f.name) } ef, err := elfOpen(f.name) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http/httpproxy/proxy.go
} return proxyURL, nil } // useProxy reports whether requests to addr should use a proxy, // according to the NO_PROXY or no_proxy environment variable. // addr is always a canonicalAddr with a host and port. func (cfg *config) useProxy(addr string) bool { if len(addr) == 0 { return true } host, port, err := net.SplitHostPort(addr) if err != nil { return false } if host == "localhost" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 10K bytes - Viewed (0) -
src/net/net_test.go
} t.Parallel() ln := newLocalListener(t, network) switch network { case "unix", "unixpacket": defer os.Remove(ln.Addr().String()) } defer ln.Close() c, err := Dial(ln.Addr().Network(), ln.Addr().String()) if err != nil { t.Fatal(err) } switch network { case "unix", "unixpacket": defer os.Remove(c.LocalAddr().String()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 21:04:44 UTC 2024 - 13.3K bytes - Viewed (0) -
src/net/ip_test.go
// expect host names, work with IP addresses. for _, tt := range parseIPTests { if tt.out != nil { addrs, err := LookupHost(tt.in) if len(addrs) != 1 || addrs[0] != tt.in || err != nil { t.Errorf("LookupHost(%q) = %v, %v, want %v, nil", tt.in, addrs, err, []string{tt.in}) } } else if !testing.Short() { // We can't control what the host resolver does; if it can resolve, say,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 01:17:29 UTC 2024 - 25.7K bytes - Viewed (0) -
src/crypto/tls/tls.go
defer cancel() } rawConn, err := netDialer.DialContext(ctx, network, addr) if err != nil { return nil, err } colonPos := strings.LastIndex(addr, ":") if colonPos == -1 { colonPos = len(addr) } hostname := addr[:colonPos] if config == nil { config = defaultConfig() } // If no ServerName is set, infer the ServerName
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 12.2K bytes - Viewed (0)