- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,278 for adir (0.04 sec)
-
src/log/syslog/syslog_test.go
t.Helper() t.Fatalf("startServer failed: %v", e) } addr = l.LocalAddr().String() sock = l wg.Add(1) go func() { defer wg.Done() runPktSyslog(l, done) }() } else { l, e := net.Listen(n, la) if e != nil { t.Helper() t.Fatalf("startServer failed: %v", e) } addr = l.Addr().String() sock = l wg.Add(1) go func() { defer wg.Done()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 16:09:24 UTC 2023 - 9.6K bytes - Viewed (0) -
src/net/interface.go
// interface. func (ifi *Interface) Addrs() ([]Addr, error) { if ifi == nil { return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: errInvalidInterface} } ifat, err := interfaceAddrTable(ifi) if err != nil { err = &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: err} } return ifat, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0) -
src/net/ipsock_test.go
{ipv4only, nil, testInetaddr, nil, nil, nil, &AddrError{errNoSuitableAddress.Error(), "ADDR"}}, {ipv4only, []IPAddr{{IP: IPv6loopback}}, testInetaddr, nil, nil, nil, &AddrError{errNoSuitableAddress.Error(), "ADDR"}}, {ipv6only, nil, testInetaddr, nil, nil, nil, &AddrError{errNoSuitableAddress.Error(), "ADDR"}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 15 22:22:09 UTC 2017 - 6.8K bytes - Viewed (0) -
pkg/util/iptree/iptree.go
link := &node[T]{ prefix: ancestor, } pos := parent.prefix.Bits() + 1 parent.child[getBitFromAddr(ancestor.Addr(), pos)] = link // ancestor -> children pos = ancestor.Bits() + 1 idxChild := getBitFromAddr(prefix.Addr(), pos) idxN := getBitFromAddr(n.prefix.Addr(), pos) if idxChild == idxN { panic(fmt.Sprintf("wrong ancestor %s: child %s N %s", ancestor.String(), prefix.String(), n.prefix.String()))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17.7K bytes - Viewed (0) -
src/syscall/dll_windows.go
} // A Proc implements access to a procedure inside a [DLL]. type Proc struct { Dll *DLL Name string addr uintptr } // Addr returns the address of the procedure represented by p. // The return value can be passed to Syscall to run the procedure. func (p *Proc) Addr() uintptr { return p.addr } // Call executes procedure p with arguments a. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/net.go
u, err := url.Parse(hostAddr) if err != nil { return "", "", err } addr = u.Host scheme = u.Scheme // Use the given parameter again if url.Parse() // didn't return any useful result. if addr == "" { addr = hostAddr scheme = "http" } // At this point, addr can be one of the following form: // ":9000" // "localhost:9000"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/internal/msan/msan.go
"unsafe" ) const Enabled = true //go:linkname Read runtime.msanread func Read(addr unsafe.Pointer, sz uintptr) //go:linkname Write runtime.msanwrite func Write(addr unsafe.Pointer, sz uintptr) //go:linkname Malloc runtime.msanmalloc func Malloc(addr unsafe.Pointer, sz uintptr) //go:linkname Free runtime.msanfree func Free(addr unsafe.Pointer, sz uintptr) //go:linkname Move runtime.msanmove
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:50:21 UTC 2024 - 647 bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/source.go
var lastAddr, maxAddr uint64 for i, inst := range insts { addr := inst.Addr + base // Guard against duplicate output from Disasm. if addr <= maxAddr { continue } maxAddr = addr length := 1 if i+1 < len(insts) && insts[i+1].Addr > inst.Addr { // Extend to next instruction. length = int(insts[i+1].Addr - inst.Addr) } // Get inlined-call-stack for address.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 31.3K bytes - Viewed (0) -
src/net/tcpsock_test.go
for _, tt := range resolveTCPAddrTests { addr, err := ResolveTCPAddr(tt.network, tt.litAddrOrName) if !reflect.DeepEqual(addr, tt.addr) || !reflect.DeepEqual(err, tt.err) { t.Errorf("ResolveTCPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err) continue } if err == nil { addr2, err := ResolveTCPAddr(addr.Network(), addr.String())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 17.7K bytes - Viewed (0) -
src/strings/builder.go
// that was causing b to escape and be heap allocated. // See issue 23382. // TODO: once issue 7921 is fixed, this should be reverted to // just "b.addr = b". b.addr = (*Builder)(abi.NoEscape(unsafe.Pointer(b))) } else if b.addr != b { panic("strings: illegal use of non-zero Builder copied by value") } } // String returns the accumulated string. func (b *Builder) String() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 3.2K bytes - Viewed (0)