- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for opxrrr (0.11 sec)
-
src/net/iprawsock.go
if err != nil { err = &OpError{Op: "read", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} } return n, addr, err } // ReadFrom implements the [PacketConn] ReadFrom method. func (c *IPConn) ReadFrom(b []byte) (int, Addr, error) { if !c.ok() { return 0, nil, syscall.EINVAL } n, addr, err := c.readFrom(b) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 7.1K bytes - Viewed (0) -
src/net/tcpsock_unix.go
if err := setKeepAlive(c.fd, config.Enable); err != nil { 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/net/tcpsock_windows.go
return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} } } else if err := setKeepAliveIdleAndInterval(c.fd, config.Idle, config.Interval); err != nil { return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} } if err := setKeepAliveCount(c.fd, config.Count); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:35 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/tcpsock_solaris.go
return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} } if err := setKeepAliveCount(c.fd, config.Count); err != nil { return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} } } else if err := setKeepAliveIdleAndIntervalAndCount(c.fd, config.Idle, config.Interval, config.Count); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/interface.go
if index <= 0 { return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: errInvalidInterfaceIndex} } ift, err := interfaceTable(index) if err != nil { return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: err} } ifi, err := interfaceByIndex(ift, index) if err != nil { err = &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: 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/error_posix_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 981 bytes - Viewed (0) -
src/net/rawconn_windows_test.go
var operr error err := c.Write(func(s uintptr) bool { var written uint32 var buf syscall.WSABuf buf.Buf = &b[0] buf.Len = uint32(len(b)) operr = syscall.WSASend(syscall.Handle(s), &buf, 1, &written, 0, nil, nil) return true }) if err != nil { return err } return operr } func controlRawConn(c syscall.RawConn, addr Addr) error { var operr error fn := func(s uintptr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 18 08:47:18 UTC 2020 - 3.1K bytes - Viewed (0) -
src/os/rawconn_test.go
if err != nil { t.Fatal(err) } var operr error err = wconn.Write(func(s uintptr) bool { _, operr = syscall.Write(syscallDescriptor(s), []byte{'b'}) return operr != syscall.EAGAIN }) if err != nil { t.Fatal(err) } if operr != nil { t.Fatal(err) } var n int buf := make([]byte, 1) err = rconn.Read(func(s uintptr) bool { n, operr = syscall.Read(syscallDescriptor(s), buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 1.1K bytes - Viewed (0) -
src/net/file.go
// It is the caller's responsibility to close f when finished. // Closing c does not affect f, and closing f does not affect c. func FileConn(f *os.File) (c Conn, err error) { c, err = fileConn(f) if err != nil { err = &OpError{Op: "file", Net: "file+net", Source: nil, Addr: fileAddr(f.Name()), Err: err} } return } // FileListener returns a copy of the network listener corresponding // to the open file f.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 09 06:14:44 UTC 2019 - 1.7K bytes - Viewed (0) -
src/net/rawconn.go
runtime.KeepAlive(c.fd) if err != nil { err = &OpError{Op: "raw-control", Net: c.fd.net, Source: nil, Addr: c.fd.laddr, Err: err} } return err } func (c *rawConn) Read(f func(uintptr) bool) error { if !c.ok() { return syscall.EINVAL } err := c.fd.pfd.RawRead(f) runtime.KeepAlive(c.fd) if err != nil { err = &OpError{Op: "raw-read", 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: Wed Jan 10 03:29:50 UTC 2024 - 2.7K bytes - Viewed (0)