- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,278 for adir (0.07 sec)
-
src/net/rawconn_test.go
defer ln.Close() cc1, err := ln.(*TCPListener).SyscallConn() if err != nil { t.Fatal(err) } if err := controlRawConn(cc1, ln.Addr()); err != nil { t.Fatal(err) } c, err := Dial(ln.Addr().Network(), ln.Addr().String()) if err != nil { t.Fatal(err) } defer c.Close() cc2, err := c.(*TCPConn).SyscallConn() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
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) -
src/cmd/go/internal/mmap/mmap_windows.go
if err != nil { return Data{}, fmt.Errorf("CreateFileMapping %s: %w", f.Name(), err) } addr, err := syscall.MapViewOfFile(h, syscall.FILE_MAP_READ, 0, 0, 0) if err != nil { return Data{}, fmt.Errorf("MapViewOfFile %s: %w", f.Name(), err) } var info windows.MemoryBasicInformation err = windows.VirtualQuery(addr, &info, unsafe.Sizeof(info)) if err != nil { return Data{}, fmt.Errorf("VirtualQuery %s: %w", f.Name(), err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 1K bytes - Viewed (0) -
src/syscall/zsysnum_openbsd_riscv64.go
SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); } SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \ SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \ SYS_UTIMES = 76 // { int sys_utimes(const char *path, \ SYS_FUTIMES = 77 // { int sys_futimes(int fd, \ SYS_MQUERY = 78 // { void *sys_mquery(void *addr, size_t len, int prot, \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:38 UTC 2023 - 15.7K bytes - Viewed (0) -
src/net/tcpsock_unix.go
return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} } if err := setKeepAliveIdle(c.fd, config.Idle); err != nil { return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} } if err := setKeepAliveInterval(c.fd, config.Interval); err != nil { return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 1.1K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_amd64.s
LOCK ANDB BX, (AX) RET // func Or(addr *uint32, v uint32) TEXT ·Or(SB), NOSPLIT, $0-12 MOVQ ptr+0(FP), AX MOVL val+8(FP), BX LOCK ORL BX, (AX) RET // func And(addr *uint32, v uint32) TEXT ·And(SB), NOSPLIT, $0-12 MOVQ ptr+0(FP), AX MOVL val+8(FP), BX LOCK ANDL BX, (AX) RET // func Or32(addr *uint32, v uint32) old uint32 TEXT ·Or32(SB), NOSPLIT, $0-20
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5.2K bytes - Viewed (0) -
src/net/cgo_unix.go
case _C_AF_INET: 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) -
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/internal/objfile/disasm.go
} return d, nil } // lookup finds the symbol name containing addr. func (d *Disasm) lookup(addr uint64) (name string, base uint64) { i := sort.Search(len(d.syms), func(i int) bool { return addr < d.syms[i].Addr }) if i > 0 { s := d.syms[i-1] if s.Addr != 0 && s.Addr <= addr && addr < s.Addr+uint64(s.Size) { return s.Name, s.Addr } } return "", 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 10.5K bytes - Viewed (0) -
src/net/net_fake_test.go
// all 65535 valid (fake) ports. The listener is already using one, so // we should be able to Dial the remaining 65534. for len(dialed) < (1<<16)-2 { c, err := Dial(ln.Addr().Network(), ln.Addr().String()) if err != nil { t.Fatalf("unexpected error from Dial with %v connections: %v", len(dialed), err) } dialed = append(dialed, c) if testing.Verbose() && len(dialed)%(1<<12) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2.8K bytes - Viewed (0)