- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setReadBuffer (0.2 sec)
-
src/net/net_fake.go
p.clear() packetPool.Put(p) } else { p.bufOffset += n } return n, from, nil } // setReadBuffer sets a soft limit on the number of bytes available to read // from the pipe. func (pq *packetQueue) setReadBuffer(bytes int) error { if bytes <= 0 { return os.NewSyscallError("setReadBuffer", syscall.EINVAL) } q := pq.get() // Use the queue as a lock. q.readBufferBytes = bytes pq.put(q)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 19:24:21 UTC 2024 - 26.4K bytes - Viewed (0) -
src/net/net.go
} return nil } // SetReadBuffer sets the size of the operating system's // receive buffer associated with the connection. func (c *conn) SetReadBuffer(bytes int) error { if !c.ok() { return syscall.EINVAL } if err := setReadBuffer(c.fd, bytes); err != nil { return &OpError{Op: "set", Net: c.fd.net, Source: nil, Addr: c.fd.laddr, Err: err} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*IPConn).ReadFrom", Method, 0}, {"(*IPConn).ReadFromIP", Method, 0}, {"(*IPConn).ReadMsgIP", Method, 1}, {"(*IPConn).RemoteAddr", Method, 0}, {"(*IPConn).SetDeadline", Method, 0}, {"(*IPConn).SetReadBuffer", Method, 0}, {"(*IPConn).SetReadDeadline", Method, 0}, {"(*IPConn).SetWriteBuffer", Method, 0}, {"(*IPConn).SetWriteDeadline", Method, 0}, {"(*IPConn).SyscallConn", Method, 9},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)