SYMBOL INDEX (617 symbols across 66 files) FILE: connection.go type CloseCallback (line 24) | type CloseCallback type Connection (line 29) | type Connection interface type Conn (line 75) | type Conn interface type Listener (line 83) | type Listener interface type Dialer (line 93) | type Dialer interface FILE: connection_errors.go constant ErrConnClosed (line 26) | ErrConnClosed = syscall.Errno(0x101) constant ErrReadTimeout (line 28) | ErrReadTimeout = syscall.Errno(0x102) constant ErrDialTimeout (line 30) | ErrDialTimeout = syscall.Errno(0x103) constant ErrDialNoDeadline (line 32) | ErrDialNoDeadline = syscall.Errno(0x104) constant ErrUnsupported (line 34) | ErrUnsupported = syscall.Errno(0x105) constant ErrEOF (line 36) | ErrEOF = syscall.Errno(0x106) constant ErrWriteTimeout (line 38) | ErrWriteTimeout = syscall.Errno(0x107) constant ErrConcurrentAccess (line 40) | ErrConcurrentAccess = syscall.Errno(0x108) constant ErrnoMask (line 43) | ErrnoMask = 0xFF function Exception (line 46) | func Exception(err error, suffix string) error { type exception (line 59) | type exception struct method Error (line 64) | func (e *exception) Error() string { method Is (line 78) | func (e *exception) Is(target error) bool { method Unwrap (line 92) | func (e *exception) Unwrap() error { method Timeout (line 96) | func (e *exception) Timeout() bool { method Temporary (line 104) | func (e *exception) Temporary() bool { FILE: connection_errors_test.go function TestErrno (line 26) | func TestErrno(t *testing.T) { FILE: connection_impl.go constant connStateNone (line 30) | connStateNone = 0 constant connStateConnected (line 31) | connStateConnected = 1 constant connStateDisconnected (line 32) | connStateDisconnected = 2 type connection (line 36) | type connection struct method Reader (line 65) | func (c *connection) Reader() Reader { method Writer (line 70) | func (c *connection) Writer() Writer { method IsActive (line 75) | func (c *connection) IsActive() bool { method SetIdleTimeout (line 80) | func (c *connection) SetIdleTimeout(timeout time.Duration) error { method SetReadTimeout (line 88) | func (c *connection) SetReadTimeout(timeout time.Duration) error { method SetWriteTimeout (line 97) | func (c *connection) SetWriteTimeout(timeout time.Duration) error { method SetDeadline (line 106) | func (c *connection) SetDeadline(t time.Time) error { method SetReadDeadline (line 117) | func (c *connection) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 127) | func (c *connection) SetWriteDeadline(t time.Time) error { method Next (line 139) | func (c *connection) Next(n int) (p []byte, err error) { method Peek (line 147) | func (c *connection) Peek(n int) (buf []byte, err error) { method Skip (line 155) | func (c *connection) Skip(n int) (err error) { method Release (line 163) | func (c *connection) Release() (err error) { method Slice (line 186) | func (c *connection) Slice(n int) (r Reader, err error) { method Len (line 194) | func (c *connection) Len() (length int) { method Until (line 199) | func (c *connection) Until(delim byte) (line []byte, err error) { method ReadString (line 219) | func (c *connection) ReadString(n int) (s string, err error) { method ReadBinary (line 227) | func (c *connection) ReadBinary(n int) (p []byte, err error) { method ReadByte (line 235) | func (c *connection) ReadByte() (b byte, err error) { method Malloc (line 245) | func (c *connection) Malloc(n int) (buf []byte, err error) { method MallocLen (line 253) | func (c *connection) MallocLen() (length int) { method Flush (line 263) | func (c *connection) Flush() error { method MallocAck (line 278) | func (c *connection) MallocAck(n int) (err error) { method Append (line 286) | func (c *connection) Append(w Writer) (err error) { method WriteString (line 294) | func (c *connection) WriteString(s string) (n int, err error) { method WriteBinary (line 302) | func (c *connection) WriteBinary(b []byte) (n int, err error) { method WriteDirect (line 310) | func (c *connection) WriteDirect(p []byte, remainCap int) (err error) { method WriteByte (line 318) | func (c *connection) WriteByte(b byte) (err error) { method Read (line 328) | func (c *connection) Read(p []byte) (n int, err error) { method Write (line 339) | func (c *connection) Write(p []byte) (n int, err error) { method Close (line 357) | func (c *connection) Close() error { method Detach (line 362) | func (c *connection) Detach() error { method init (line 379) | func (c *connection) init(conn Conn, opts *options) (err error) { method initNetFD (line 403) | func (c *connection) initNetFD(conn Conn) { method initFDOperator (line 415) | func (c *connection) initFDOperator() { method initFinalizer (line 425) | func (c *connection) initFinalizer() { method triggerRead (line 437) | func (c *connection) triggerRead(err error) { method triggerWrite (line 444) | func (c *connection) triggerWrite(err error) { method waitRead (line 452) | func (c *connection) waitRead(n int) (err error) { method waitReadWithTimeout (line 485) | func (c *connection) waitReadWithTimeout(n int, timeout time.Duration)... method flush (line 527) | func (c *connection) flush() error { method waitFlush (line 555) | func (c *connection) waitFlush() (err error) { method getState (line 594) | func (c *connection) getState() connState { method setState (line 598) | func (c *connection) setState(newState connState) { method changeState (line 602) | func (c *connection) changeState(from, to connState) bool { FILE: connection_lock.go constant none (line 25) | none who = iota constant user (line 26) | user constant poller (line 27) | poller type key (line 30) | type key constant closing (line 47) | closing key = iota constant connecting (line 48) | connecting constant processing (line 49) | processing constant flushing (line 50) | flushing constant total (line 52) | total type locker (line 55) | type locker struct method closeBy (line 61) | func (l *locker) closeBy(w who) (success bool) { method isCloseBy (line 65) | func (l *locker) isCloseBy(w who) (yes bool) { method status (line 69) | func (l *locker) status(k key) int32 { method force (line 73) | func (l *locker) force(k key, v int32) { method lock (line 77) | func (l *locker) lock(k key) (success bool) { method unlock (line 81) | func (l *locker) unlock(k key) { method stop (line 85) | func (l *locker) stop(k key) { method isUnlock (line 91) | func (l *locker) isUnlock(k key) bool { FILE: connection_onevent.go type gracefulExit (line 29) | type gracefulExit interface type onEvent (line 37) | type onEvent struct type callbackNode (line 45) | type callbackNode struct method SetOnConnect (line 51) | func (c *connection) SetOnConnect(onConnect OnConnect) error { method SetOnDisconnect (line 59) | func (c *connection) SetOnDisconnect(onDisconnect OnDisconnect) error { method SetOnRequest (line 67) | func (c *connection) SetOnRequest(onRequest OnRequest) error { method AddCloseCallback (line 80) | func (c *connection) AddCloseCallback(callback CloseCallback) error { method onPrepare (line 95) | func (c *connection) onPrepare(opts *options) (err error) { method onConnect (line 121) | func (c *connection) onConnect() { method onDisconnect (line 136) | func (c *connection) onDisconnect() { method onRequest (line 163) | func (c *connection) onRequest() (needTrigger bool) { method onProcess (line 180) | func (c *connection) onProcess(onConnect OnConnect, onRequest OnRequest)... method closeCallback (line 269) | func (c *connection) closeCallback(needLock, needDetach bool) (err error) { method register (line 290) | func (c *connection) register() (err error) { method isIdle (line 301) | func (c *connection) isIdle() (yes bool) { FILE: connection_reactor.go method onHup (line 27) | func (c *connection) onHup(p Poll) error { method onClose (line 51) | func (c *connection) onClose() error { method closeBuffer (line 71) | func (c *connection) closeBuffer() { method inputs (line 86) | func (c *connection) inputs(vs [][]byte) (rs [][]byte) { method inputAck (line 92) | func (c *connection) inputAck(n int) (err error) { method outputs (line 122) | func (c *connection) outputs(vs [][]byte) (rs [][]byte, _ bool) { method outputAck (line 132) | func (c *connection) outputAck(n int) (err error) { method rw2r (line 144) | func (c *connection) rw2r() { FILE: connection_test.go function BenchmarkConnectionIO (line 35) | func BenchmarkConnectionIO(b *testing.B) { function TestConnectionWrite (line 59) | func TestConnectionWrite(t *testing.T) { function TestConnectionLargeWrite (line 91) | func TestConnectionLargeWrite(t *testing.T) { function TestConnectionRead (line 125) | func TestConnectionRead(t *testing.T) { function TestConnectionIOReader (line 158) | func TestConnectionIOReader(t *testing.T) { function TestConnectionReadAfterClosed (line 197) | func TestConnectionReadAfterClosed(t *testing.T) { function TestConnectionWaitReadHalfPacket (line 217) | func TestConnectionWaitReadHalfPacket(t *testing.T) { function TestReadTimer (line 251) | func TestReadTimer(t *testing.T) { function TestReadTrigger (line 258) | func TestReadTrigger(t *testing.T) { function writeAll (line 267) | func writeAll(fd int, buf []byte) error { function createTestTCPListener (line 278) | func createTestTCPListener(t *testing.T) net.Listener { function TestLargeBufferWrite (line 286) | func TestLargeBufferWrite(t *testing.T) { function TestConnectionTimeout (line 344) | func TestConnectionTimeout(t *testing.T) { function TestConnectionLargeMemory (line 523) | func TestConnectionLargeMemory(t *testing.T) { function TestSetTCPNoDelay (line 558) | func TestSetTCPNoDelay(t *testing.T) { function TestConnectionUntil (line 572) | func TestConnectionUntil(t *testing.T) { function TestBookSizeLargerThanMaxSize (line 603) | func TestBookSizeLargerThanMaxSize(t *testing.T) { function TestConnDetach (line 649) | func TestConnDetach(t *testing.T) { function TestParallelShortConnection (line 709) | func TestParallelShortConnection(t *testing.T) { function TestConnectionServerClose (line 761) | func TestConnectionServerClose(t *testing.T) { function TestWriterAfterClose (line 861) | func TestWriterAfterClose(t *testing.T) { function TestConnectionDailTimeoutAndClose (line 900) | func TestConnectionDailTimeoutAndClose(t *testing.T) { FILE: eventloop.go type EventLoop (line 23) | type EventLoop interface type OnPrepare (line 62) | type OnPrepare type OnConnect (line 79) | type OnConnect type OnDisconnect (line 84) | type OnDisconnect type OnRequest (line 114) | type OnRequest FILE: fd_operator.go type FDOperator (line 23) | type FDOperator struct method Control (line 55) | func (op *FDOperator) Control(event PollEvent) error { method Free (line 62) | func (op *FDOperator) Free() { method do (line 66) | func (op *FDOperator) do() (can bool) { method done (line 70) | func (op *FDOperator) done() { method inuse (line 74) | func (op *FDOperator) inuse() { method unused (line 83) | func (op *FDOperator) unused() { method isUnused (line 92) | func (op *FDOperator) isUnused() bool { method reset (line 96) | func (op *FDOperator) reset() { FILE: fd_operator_cache.go function newOperatorCache (line 23) | func newOperatorCache() *operatorCache { type operatorCache (line 30) | type operatorCache struct method alloc (line 40) | func (c *operatorCache) alloc() *FDOperator { method freeable (line 65) | func (c *operatorCache) freeable(op *FDOperator) { method free (line 74) | func (c *operatorCache) free() { function lock (line 91) | func lock(locked *int32) { function unlock (line 97) | func unlock(locked *int32) { FILE: fd_operator_cache_test.go function TestPersistFDOperator (line 26) | func TestPersistFDOperator(t *testing.T) { function BenchmarkPersistFDOperator1 (line 53) | func BenchmarkPersistFDOperator1(b *testing.B) { function BenchmarkPersistFDOperator2 (line 64) | func BenchmarkPersistFDOperator2(b *testing.B) { FILE: internal/runner/runner.go function goRunTask (line 32) | func goRunTask(ctx context.Context, f func()) { function init (line 36) | func init() { function UseGoRunTask (line 49) | func UseGoRunTask() { function SetPanicHandler (line 54) | func SetPanicHandler(f func(context.Context, interface{})) { FILE: internal/runner/runner_test.go function TestRunTask (line 25) | func TestRunTask(t *testing.T) { FILE: mux/mux_test.go function MustNil (line 24) | func MustNil(t *testing.T, val interface{}) { function MustTrue (line 32) | func MustTrue(t *testing.T, cond bool) { function Equal (line 39) | func Equal(t *testing.T, got, expect interface{}) { function Assert (line 46) | func Assert(t *testing.T, cond bool, val ...interface{}) { FILE: mux/shard_queue.go function init (line 38) | func init() { function NewShardQueue (line 43) | func NewShardQueue(size int, conn netpoll.Connection) (queue *ShardQueue) { type WriterGetter (line 59) | type WriterGetter type ShardQueue (line 65) | type ShardQueue struct method Add (line 92) | func (q *ShardQueue) Add(gts ...WriterGetter) { method Close (line 106) | func (q *ShardQueue) Close() error { method triggering (line 122) | func (q *ShardQueue) triggering(shard int32) { method foreach (line 135) | func (q *ShardQueue) foreach() { method deal (line 174) | func (q *ShardQueue) deal(gts []WriterGetter) { method flush (line 192) | func (q *ShardQueue) flush() { method lock (line 201) | func (q *ShardQueue) lock(shard int32) { method unlock (line 208) | func (q *ShardQueue) unlock(shard int32) { constant active (line 76) | active = 0 constant closing (line 77) | closing = 1 constant closed (line 78) | closed = 2 type queueTrigger (line 82) | type queueTrigger struct FILE: mux/shard_queue_test.go function TestShardQueue (line 28) | func TestShardQueue(t *testing.T) { function BenchmarkShardQueue (line 79) | func BenchmarkShardQueue(b *testing.B) { FILE: net_dialer.go function DialConnection (line 27) | func DialConnection(network, address string, timeout time.Duration) (con... function NewFDConnection (line 38) | func NewFDConnection(fd int) (Connection, error) { function NewDialer (line 48) | func NewDialer() Dialer { type dialer (line 54) | type dialer struct method DialTimeout (line 57) | func (d *dialer) DialTimeout(network, address string, timeout time.Dur... method DialConnection (line 62) | func (d *dialer) DialConnection(network, address string, timeout time.... method dialTCP (line 83) | func (d *dialer) dialTCP(ctx context.Context, network, address string)... type sysDialer (line 137) | type sysDialer struct FILE: net_dialer_test.go function TestDialerTCP (line 32) | func TestDialerTCP(t *testing.T) { function TestDialerUnix (line 67) | func TestDialerUnix(t *testing.T) { function TestDialerFdAlloc (line 109) | func TestDialerFdAlloc(t *testing.T) { function TestFDClose (line 138) | func TestFDClose(t *testing.T) { function TestDialerThenClose (line 171) | func TestDialerThenClose(t *testing.T) { function TestNewFDConnection (line 217) | func TestNewFDConnection(t *testing.T) { function mockDialerEventLoop (line 232) | func mockDialerEventLoop(idx int) EventLoop { function mockDialerSend (line 267) | func mockDialerSend(idx int, conn *connection) { FILE: net_io.go function ioread (line 25) | func ioread(fd int, bs [][]byte, ivs []syscall.Iovec) (n int, err error) { function iosend (line 39) | func iosend(fd int, bs [][]byte, ivs []syscall.Iovec, zerocopy bool) (n ... FILE: net_listener.go function CreateListener (line 28) | func CreateListener(network, addr string) (l Listener, err error) { function ConvertListener (line 41) | func ConvertListener(l net.Listener) (nl Listener, err error) { type listener (line 57) | type listener struct method Accept (line 65) | func (ln *listener) Accept() (net.Conn, error) { method Close (line 90) | func (ln *listener) Close() error { method Addr (line 104) | func (ln *listener) Addr() net.Addr { method Fd (line 109) | func (ln *listener) Fd() (fd int) { method parseFD (line 113) | func (ln *listener) parseFD() (err error) { FILE: net_listener_test.go function TestListenerDialer (line 28) | func TestListenerDialer(t *testing.T) { function TestConvertListener (line 94) | func TestConvertListener(t *testing.T) { FILE: net_netfd.go type netFD (line 27) | type netFD struct method dial (line 63) | func (c *netFD) dial(ctx context.Context, laddr, raddr sockaddr) (err ... method connect (line 106) | func (c *netFD) connect(ctx context.Context, la, ra syscall.Sockaddr) ... function newNetFD (line 51) | func newNetFD(fd, family, sotype int, net string) *netFD { function mapErr (line 184) | func mapErr(err error) error { FILE: net_netfd_conn.go method Fd (line 31) | func (c *netFD) Fd() (fd int) { method Read (line 36) | func (c *netFD) Read(b []byte) (n int, err error) { method Write (line 47) | func (c *netFD) Write(b []byte) (n int, err error) { method Close (line 58) | func (c *netFD) Close() (err error) { method LocalAddr (line 72) | func (c *netFD) LocalAddr() (addr net.Addr) { method RemoteAddr (line 77) | func (c *netFD) RemoteAddr() (addr net.Addr) { method SetKeepAlive (line 83) | func (c *netFD) SetKeepAlive(second int) error { method SetDeadline (line 94) | func (c *netFD) SetDeadline(t time.Time) error { method SetReadDeadline (line 99) | func (c *netFD) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 104) | func (c *netFD) SetWriteDeadline(t time.Time) error { FILE: net_polldesc.go function newPollDesc (line 24) | func newPollDesc(fd int) *pollDesc { type pollDesc (line 37) | type pollDesc struct method WaitWrite (line 45) | func (pd *pollDesc) WaitWrite(ctx context.Context) (err error) { method onwrite (line 73) | func (pd *pollDesc) onwrite(p Poll) error { method onhup (line 83) | func (pd *pollDesc) onhup(p Poll) error { method detach (line 92) | func (pd *pollDesc) detach() { FILE: net_polldesc_test.go function TestZeroTimer (line 25) | func TestZeroTimer(t *testing.T) { function TestRuntimePoll (line 29) | func TestRuntimePoll(t *testing.T) { FILE: net_sock.go type sockaddr (line 22) | type sockaddr interface function internetSocket (line 42) | func internetSocket(ctx context.Context, net string, laddr, raddr sockad... function favoriteAddrFamily (line 89) | func favoriteAddrFamily(network string, laddr, raddr sockaddr) (family i... function socket (line 105) | func socket(ctx context.Context, net string, family, sotype, proto int, ... function sockaddrToAddr (line 128) | func sockaddrToAddr(sa syscall.Sockaddr) net.Addr { FILE: net_tcpsock.go type TCPAddr (line 21) | type TCPAddr struct method isWildcard (line 25) | func (a *TCPAddr) isWildcard() bool { method opAddr (line 32) | func (a *TCPAddr) opAddr() net.Addr { method family (line 39) | func (a *TCPAddr) family() int { method sockaddr (line 49) | func (a *TCPAddr) sockaddr(family int) (syscall.Sockaddr, error) { method toLocal (line 56) | func (a *TCPAddr) toLocal(network string) sockaddr { function loopbackIP (line 64) | func loopbackIP(network string) net.IP { function ipToSockaddr (line 71) | func ipToSockaddr(family int, ip net.IP, port int, zone string) (syscall... function ResolveTCPAddr (line 127) | func ResolveTCPAddr(network, address string) (*TCPAddr, error) { type TCPConnection (line 136) | type TCPConnection struct function newTCPConnection (line 141) | func newTCPConnection(conn Conn) (connection *TCPConnection, err error) { function DialTCP (line 157) | func DialTCP(ctx context.Context, network string, laddr, raddr *TCPAddr)... method dialTCP (line 177) | func (sd *sysDialer) dialTCP(ctx context.Context, laddr, raddr *TCPAddr)... function selfConnect (line 217) | func selfConnect(conn *netFD, err error) bool { function spuriousENOTAVAIL (line 239) | func spuriousENOTAVAIL(err error) bool { FILE: net_unixsock.go type UnixAddr (line 27) | type UnixAddr struct method isWildcard (line 31) | func (a *UnixAddr) isWildcard() bool { method opAddr (line 35) | func (a *UnixAddr) opAddr() net.Addr { method family (line 42) | func (a *UnixAddr) family() int { method sockaddr (line 46) | func (a *UnixAddr) sockaddr(family int) (syscall.Sockaddr, error) { method toLocal (line 53) | func (a *UnixAddr) toLocal(net string) sockaddr { function ResolveUnixAddr (line 63) | func ResolveUnixAddr(network, address string) (*UnixAddr, error) { type UnixConnection (line 72) | type UnixConnection struct function newUnixConnection (line 77) | func newUnixConnection(conn Conn) (connection *UnixConnection, err error) { function DialUnix (line 92) | func DialUnix(network string, laddr, raddr *UnixAddr) (*UnixConnection, ... method dialUnix (line 106) | func (sd *sysDialer) dialUnix(ctx context.Context, laddr, raddr *UnixAdd... function unixSocket (line 114) | func unixSocket(ctx context.Context, network string, laddr, raddr sockad... FILE: netpoll_config.go type Config (line 29) | type Config struct type Feature (line 39) | type Feature struct FILE: netpoll_options.go type Option (line 20) | type Option struct type options (line 24) | type options struct function WithOnPrepare (line 35) | func WithOnPrepare(onPrepare OnPrepare) Option { function WithOnConnect (line 42) | func WithOnConnect(onConnect OnConnect) Option { function WithOnDisconnect (line 49) | func WithOnDisconnect(onDisconnect OnDisconnect) Option { function WithReadTimeout (line 56) | func WithReadTimeout(timeout time.Duration) Option { function WithWriteTimeout (line 63) | func WithWriteTimeout(timeout time.Duration) Option { function WithIdleTimeout (line 70) | func WithIdleTimeout(timeout time.Duration) Option { FILE: netpoll_server.go function newServer (line 30) | func newServer(ln Listener, opts *options, onQuit func(err error)) *serv... type server (line 38) | type server struct method Run (line 47) | func (s *server) Run() (err error) { method Close (line 62) | func (s *server) Close(ctx context.Context) error { method OnRead (line 99) | func (s *server) OnRead(p Poll) error { method OnHup (line 158) | func (s *server) OnHup(p Poll) error { method onAccept (line 163) | func (s *server) onAccept(conn Conn) { function isOutOfFdErr (line 181) | func isOutOfFdErr(err error) bool { FILE: netpoll_unix.go function Initialize (line 39) | func Initialize() { function Configure (line 46) | func Configure(config Config) (err error) { function SetNumLoops (line 84) | func SetNumLoops(numLoops int) error { function SetLoadBalance (line 92) | func SetLoadBalance(lb LoadBalance) error { function SetLoggerOutput (line 98) | func SetLoggerOutput(w io.Writer) { function SetRunner (line 105) | func SetRunner(f func(ctx context.Context, f func())) { function DisableGopool (line 116) | func DisableGopool() error { function NewEventLoop (line 122) | func NewEventLoop(onRequest OnRequest, ops ...Option) (EventLoop, error) { type eventLoop (line 135) | type eventLoop struct method Serve (line 143) | func (evl *eventLoop) Serve(ln net.Listener) error { method Shutdown (line 160) | func (evl *eventLoop) Shutdown(ctx context.Context) error { method waitQuit (line 174) | func (evl *eventLoop) waitQuit() error { method quit (line 178) | func (evl *eventLoop) quit(err error) { FILE: netpoll_unix_test.go function MustNil (line 35) | func MustNil(t *testing.T, val interface{}) { function MustTrue (line 43) | func MustTrue(t *testing.T, cond bool) { function Equal (line 50) | func Equal(t *testing.T, got, expect interface{}) { function Assert (line 57) | func Assert(t *testing.T, cond bool, val ...interface{}) { function getTestAddress (line 72) | func getTestAddress() string { function TestEqual (line 76) | func TestEqual(t *testing.T) { function TestOnConnect (line 84) | func TestOnConnect(t *testing.T) { function TestOnConnectWrite (line 128) | func TestOnConnectWrite(t *testing.T) { function TestOnDisconnect (line 150) | func TestOnDisconnect(t *testing.T) { function TestOnDisconnectWhenOnConnect (line 210) | func TestOnDisconnectWhenOnConnect(t *testing.T) { function TestGracefulExit (line 260) | func TestGracefulExit(t *testing.T) { function TestCloseCallbackWhenOnRequest (line 322) | func TestCloseCallbackWhenOnRequest(t *testing.T) { function TestCloseCallbackWhenOnConnect (line 353) | func TestCloseCallbackWhenOnConnect(t *testing.T) { function TestCloseConnWhenOnConnect (line 380) | func TestCloseConnWhenOnConnect(t *testing.T) { function TestServerReadAndClose (line 415) | func TestServerReadAndClose(t *testing.T) { function TestServerPanicAndClose (line 445) | func TestServerPanicAndClose(t *testing.T) { function TestClientWriteAndClose (line 486) | func TestClientWriteAndClose(t *testing.T) { function TestServerAcceptWhenTooManyOpenFiles (line 530) | func TestServerAcceptWhenTooManyOpenFiles(t *testing.T) { function createTestListener (line 602) | func createTestListener(network, address string) (Listener, error) { function newTestEventLoop (line 612) | func newTestEventLoop(network, address string, onRequest OnRequest, opts... FILE: netpoll_windows.go function Configure (line 26) | func Configure(config Config) (err error) { function NewDialer (line 31) | func NewDialer() Dialer { function NewEventLoop (line 36) | func NewEventLoop(onRequest OnRequest, ops ...Option) (EventLoop, error) { function ConvertListener (line 41) | func ConvertListener(l net.Listener) (nl Listener, err error) { function CreateListener (line 46) | func CreateListener(network, addr string) (l Listener, err error) { FILE: nocopy.go type Reader (line 32) | type Reader interface type Writer (line 123) | type Writer interface type ReadWriter (line 201) | type ReadWriter interface function NewReader (line 207) | func NewReader(r io.Reader) Reader { function NewWriter (line 212) | func NewWriter(w io.Writer) Writer { function NewReadWriter (line 217) | func NewReadWriter(rw io.ReadWriter) ReadWriter { function NewIOReader (line 225) | func NewIOReader(r Reader) io.Reader { function NewIOWriter (line 233) | func NewIOWriter(w Writer) io.Writer { function NewIOReadWriter (line 241) | func NewIOReadWriter(rw ReadWriter) io.ReadWriter { constant block1k (line 252) | block1k = 1 * 1024 constant block2k (line 253) | block2k = 2 * 1024 constant block4k (line 254) | block4k = 4 * 1024 constant block8k (line 255) | block8k = 8 * 1024 constant block32k (line 256) | block32k = 32 * 1024 constant pagesize (line 258) | pagesize = block8k constant mallocMax (line 259) | mallocMax = block8k * block1k constant defaultLinkBufferMode (line 261) | defaultLinkBufferMode = 0 constant flagUnmanaged (line 265) | flagUnmanaged uint8 = 1 << 0 constant flagReadExposed (line 269) | flagReadExposed uint8 = 1 << 1 function unsafeSliceToString (line 273) | func unsafeSliceToString(b []byte) string { function unsafeStringToSlice (line 278) | func unsafeStringToSlice(s string) (b []byte) { function malloc (line 288) | func malloc(size, capacity int) []byte { function free (line 296) | func free(buf []byte) { FILE: nocopy_linkbuffer.go constant BinaryInplaceThreshold (line 29) | BinaryInplaceThreshold = block4k function NewLinkBuffer (line 42) | func NewLinkBuffer(size ...int) *LinkBuffer { type UnsafeLinkBuffer (line 54) | type UnsafeLinkBuffer struct method Len (line 72) | func (b *UnsafeLinkBuffer) Len() int { method IsEmpty (line 78) | func (b *UnsafeLinkBuffer) IsEmpty() (ok bool) { method readCopy (line 88) | func (b *UnsafeLinkBuffer) readCopy(p []byte) (n int) { method Next (line 149) | func (b *UnsafeLinkBuffer) Next(n int) (p []byte, err error) { method Peek (line 189) | func (b *UnsafeLinkBuffer) Peek(n int) (p []byte, err error) { method Skip (line 249) | func (b *UnsafeLinkBuffer) Skip(n int) (err error) { method Release (line 273) | func (b *UnsafeLinkBuffer) Release() (err error) { method ReadString (line 295) | func (b *UnsafeLinkBuffer) ReadString(n int) (s string, err error) { method ReadBinary (line 307) | func (b *UnsafeLinkBuffer) ReadBinary(n int) (p []byte, err error) { method readBinary (line 319) | func (b *UnsafeLinkBuffer) readBinary(n int) (p []byte) { method ReadByte (line 347) | func (b *UnsafeLinkBuffer) ReadByte() (p byte, err error) { method Until (line 362) | func (b *UnsafeLinkBuffer) Until(delim byte) (line []byte, err error) { method Slice (line 374) | func (b *UnsafeLinkBuffer) Slice(n int) (r Reader, err error) { method Malloc (line 428) | func (b *UnsafeLinkBuffer) Malloc(n int) (buf []byte, err error) { method MallocLen (line 438) | func (b *UnsafeLinkBuffer) MallocLen() (length int) { method MallocAck (line 443) | func (b *UnsafeLinkBuffer) MallocAck(n int) (err error) { method Flush (line 467) | func (b *UnsafeLinkBuffer) Flush() (err error) { method Append (line 489) | func (b *UnsafeLinkBuffer) Append(w Writer) (err error) { method WriteBuffer (line 500) | func (b *UnsafeLinkBuffer) WriteBuffer(buf *LinkBuffer) (err error) { method WriteString (line 539) | func (b *UnsafeLinkBuffer) WriteString(s string) (n int, err error) { method WriteBinary (line 548) | func (b *UnsafeLinkBuffer) WriteBinary(p []byte) (n int, err error) { method WriteDirect (line 570) | func (b *UnsafeLinkBuffer) WriteDirect(extra []byte, remainLen int) er... method WriteByte (line 624) | func (b *UnsafeLinkBuffer) WriteByte(p byte) (err error) { method Close (line 633) | func (b *UnsafeLinkBuffer) Close() (err error) { method Bytes (line 650) | func (b *UnsafeLinkBuffer) Bytes() []byte { method GetBytes (line 668) | func (b *UnsafeLinkBuffer) GetBytes(p [][]byte) (vs [][]byte) { method book (line 700) | func (b *UnsafeLinkBuffer) book(bookSize, maxSize int) (p []byte) { method bookAck (line 717) | func (b *UnsafeLinkBuffer) bookAck(n int) (length int, err error) { method calcMaxSize (line 728) | func (b *UnsafeLinkBuffer) calcMaxSize() (sum int) { method resetTail (line 738) | func (b *UnsafeLinkBuffer) resetTail(maxSize int) { method indexByte (line 750) | func (b *UnsafeLinkBuffer) indexByte(c byte, skip int) int { method recalLen (line 784) | func (b *UnsafeLinkBuffer) recalLen(delta int) (length int) { method growth (line 794) | func (b *UnsafeLinkBuffer) growth(n int) { method isSingleNode (line 812) | func (b *UnsafeLinkBuffer) isSingleNode(readN int) (single bool) { method memorySize (line 825) | func (b *LinkBuffer) memorySize() (bytes int) { function newLinkBufferNode (line 840) | func newLinkBufferNode(size int) *linkBufferNode { type linkBufferNode (line 863) | type linkBufferNode struct method Len (line 873) | func (node *linkBufferNode) Len() (l int) { method IsEmpty (line 877) | func (node *linkBufferNode) IsEmpty() (ok bool) { method Reset (line 881) | func (node *linkBufferNode) Reset() { method Next (line 889) | func (node *linkBufferNode) Next(n int) (p []byte) { method Peek (line 895) | func (node *linkBufferNode) Peek(n int) (p []byte) { method Malloc (line 899) | func (node *linkBufferNode) Malloc(n int) (buf []byte) { method Refer (line 907) | func (node *linkBufferNode) Refer(n int) (p *linkBufferNode) { method Release (line 923) | func (node *linkBufferNode) Release() (err error) { method getFlag (line 939) | func (node *linkBufferNode) getFlag(flag uint8) bool { method setFlag (line 943) | func (node *linkBufferNode) setFlag(flag uint8) { method unsetFlag (line 947) | func (node *linkBufferNode) unsetFlag(flag uint8) { method reusable (line 953) | func (node *linkBufferNode) reusable() bool { method readExposed (line 959) | func (node *linkBufferNode) readExposed() bool { FILE: nocopy_linkbuffer_race.go type SafeLinkBuffer (line 27) | type SafeLinkBuffer struct method readCopy (line 34) | func (b *SafeLinkBuffer) readCopy(p []byte) int { method Next (line 43) | func (b *SafeLinkBuffer) Next(n int) (p []byte, err error) { method Peek (line 50) | func (b *SafeLinkBuffer) Peek(n int) (p []byte, err error) { method Skip (line 57) | func (b *SafeLinkBuffer) Skip(n int) (err error) { method Until (line 64) | func (b *SafeLinkBuffer) Until(delim byte) (line []byte, err error) { method Release (line 71) | func (b *SafeLinkBuffer) Release() (err error) { method ReadString (line 78) | func (b *SafeLinkBuffer) ReadString(n int) (s string, err error) { method ReadBinary (line 85) | func (b *SafeLinkBuffer) ReadBinary(n int) (p []byte, err error) { method ReadByte (line 92) | func (b *SafeLinkBuffer) ReadByte() (p byte, err error) { method Slice (line 99) | func (b *SafeLinkBuffer) Slice(n int) (r Reader, err error) { method Malloc (line 108) | func (b *SafeLinkBuffer) Malloc(n int) (buf []byte, err error) { method MallocLen (line 115) | func (b *SafeLinkBuffer) MallocLen() (length int) { method MallocAck (line 122) | func (b *SafeLinkBuffer) MallocAck(n int) (err error) { method Flush (line 129) | func (b *SafeLinkBuffer) Flush() (err error) { method Append (line 136) | func (b *SafeLinkBuffer) Append(w Writer) (err error) { method WriteBuffer (line 143) | func (b *SafeLinkBuffer) WriteBuffer(buf *LinkBuffer) (err error) { method WriteString (line 150) | func (b *SafeLinkBuffer) WriteString(s string) (n int, err error) { method WriteBinary (line 157) | func (b *SafeLinkBuffer) WriteBinary(p []byte) (n int, err error) { method WriteDirect (line 164) | func (b *SafeLinkBuffer) WriteDirect(p []byte, remainLen int) error { method WriteByte (line 171) | func (b *SafeLinkBuffer) WriteByte(p byte) (err error) { method Close (line 178) | func (b *SafeLinkBuffer) Close() (err error) { method Bytes (line 187) | func (b *SafeLinkBuffer) Bytes() []byte { method GetBytes (line 194) | func (b *SafeLinkBuffer) GetBytes(p [][]byte) (vs [][]byte) { method book (line 206) | func (b *SafeLinkBuffer) book(bookSize, maxSize int) (p []byte) { method bookAck (line 215) | func (b *SafeLinkBuffer) bookAck(n int) (length int, err error) { method calcMaxSize (line 222) | func (b *SafeLinkBuffer) calcMaxSize() (sum int) { method resetTail (line 228) | func (b *SafeLinkBuffer) resetTail(maxSize int) { method indexByte (line 234) | func (b *SafeLinkBuffer) indexByte(c byte, skip int) int { FILE: nocopy_linkbuffer_test.go function TestLinkBuffer (line 29) | func TestLinkBuffer(t *testing.T) { function TestLinkBufferGetBytes (line 91) | func TestLinkBufferGetBytes(t *testing.T) { function TestLinkBufferWithInvalid (line 116) | func TestLinkBufferWithInvalid(t *testing.T) { function TestLinkBufferMultiNode (line 200) | func TestLinkBufferMultiNode(t *testing.T) { function TestLinkBufferRefer (line 331) | func TestLinkBufferRefer(t *testing.T) { function TestLinkBufferResetTail (line 395) | func TestLinkBufferResetTail(t *testing.T) { function TestLinkBufferWriteBuffer (line 416) | func TestLinkBufferWriteBuffer(t *testing.T) { function TestLinkBufferCheckSingleNode (line 432) | func TestLinkBufferCheckSingleNode(t *testing.T) { function TestLinkBufferWriteMultiFlush (line 453) | func TestLinkBufferWriteMultiFlush(t *testing.T) { function TestLinkBufferWriteBinary (line 483) | func TestLinkBufferWriteBinary(t *testing.T) { function TestLinkBufferWriteDirect (line 504) | func TestLinkBufferWriteDirect(t *testing.T) { function TestLinkBufferBufferMode (line 531) | func TestLinkBufferBufferMode(t *testing.T) { function TestLinkBufferReadCopy (line 543) | func TestLinkBufferReadCopy(t *testing.T) { function BenchmarkLinkBufferConcurrentReadWrite (line 699) | func BenchmarkLinkBufferConcurrentReadWrite(b *testing.B) { function TestUnsafeStringToSlice (line 758) | func TestUnsafeStringToSlice(t *testing.T) { function TestLinkBufferIndexByte (line 766) | func TestLinkBufferIndexByte(t *testing.T) { function TestLinkBufferPeekOutOfMemory (line 799) | func TestLinkBufferPeekOutOfMemory(t *testing.T) { function TestMallocAck (line 846) | func TestMallocAck(t *testing.T) { function BenchmarkStringToSliceByte (line 874) | func BenchmarkStringToSliceByte(b *testing.B) { function BenchmarkStringToCopy (line 891) | func BenchmarkStringToCopy(b *testing.B) { function BenchmarkLinkBufferPoolGet (line 906) | func BenchmarkLinkBufferPoolGet(b *testing.B) { function BenchmarkCopyString (line 924) | func BenchmarkCopyString(b *testing.B) { function BenchmarkLinkBufferNoCopyRead (line 939) | func BenchmarkLinkBufferNoCopyRead(b *testing.B) { FILE: nocopy_readwriter.go constant maxReadCycle (line 22) | maxReadCycle = 16 function newZCReader (line 24) | func newZCReader(r io.Reader) *zcReader { type zcReader (line 34) | type zcReader struct method Next (line 40) | func (r *zcReader) Next(n int) (p []byte, err error) { method Peek (line 48) | func (r *zcReader) Peek(n int) (buf []byte, err error) { method Skip (line 56) | func (r *zcReader) Skip(n int) (err error) { method Release (line 64) | func (r *zcReader) Release() (err error) { method Slice (line 69) | func (r *zcReader) Slice(n int) (reader Reader, err error) { method Len (line 77) | func (r *zcReader) Len() (length int) { method ReadString (line 82) | func (r *zcReader) ReadString(n int) (s string, err error) { method ReadBinary (line 90) | func (r *zcReader) ReadBinary(n int) (p []byte, err error) { method ReadByte (line 98) | func (r *zcReader) ReadByte() (b byte, err error) { method Until (line 105) | func (r *zcReader) Until(delim byte) (line []byte, err error) { method waitRead (line 109) | func (r *zcReader) waitRead(n int) (err error) { method fill (line 123) | func (r *zcReader) fill(n int) (err error) { function newZCWriter (line 147) | func newZCWriter(w io.Writer) *zcWriter { type zcWriter (line 157) | type zcWriter struct method Malloc (line 163) | func (w *zcWriter) Malloc(n int) (buf []byte, err error) { method MallocLen (line 168) | func (w *zcWriter) MallocLen() (length int) { method Flush (line 173) | func (w *zcWriter) Flush() (err error) { method MallocAck (line 184) | func (w *zcWriter) MallocAck(n int) (err error) { method Append (line 189) | func (w *zcWriter) Append(w2 Writer) (err error) { method WriteString (line 194) | func (w *zcWriter) WriteString(s string) (n int, err error) { method WriteBinary (line 199) | func (w *zcWriter) WriteBinary(b []byte) (n int, err error) { method WriteDirect (line 204) | func (w *zcWriter) WriteDirect(p []byte, remainCap int) error { method WriteByte (line 209) | func (w *zcWriter) WriteByte(b byte) (err error) { type zcReadWriter (line 214) | type zcReadWriter struct function newIOReader (line 219) | func newIOReader(r Reader) *ioReader { type ioReader (line 231) | type ioReader struct method Read (line 240) | func (r *ioReader) Read(p []byte) (n int, err error) { function newIOWriter (line 264) | func newIOWriter(w Writer) *ioWriter { type ioWriter (line 273) | type ioWriter struct method Write (line 278) | func (w *ioWriter) Write(p []byte) (n int, err error) { type ioReadWriter (line 292) | type ioReadWriter struct FILE: nocopy_readwriter_test.go function TestZCReader (line 27) | func TestZCReader(t *testing.T) { function TestZCWriter (line 53) | func TestZCWriter(t *testing.T) { function TestZCEOF (line 84) | func TestZCEOF(t *testing.T) { type MockIOReadWriter (line 96) | type MockIOReadWriter struct method Read (line 101) | func (rw *MockIOReadWriter) Read(p []byte) (n int, err error) { method Write (line 108) | func (rw *MockIOReadWriter) Write(p []byte) (n int, err error) { function TestIOReadWriter (line 115) | func TestIOReadWriter(t *testing.T) { function TestIOReadWriter2 (line 129) | func TestIOReadWriter2(t *testing.T) { FILE: poll.go type Poll (line 20) | type Poll interface type PollEvent (line 46) | type PollEvent constant PollReadable (line 51) | PollReadable PollEvent = 0x1 constant PollWritable (line 55) | PollWritable PollEvent = 0x2 constant PollDetach (line 58) | PollDetach PollEvent = 0x3 constant PollR2RW (line 62) | PollR2RW PollEvent = 0x5 constant PollRW2R (line 65) | PollRW2R PollEvent = 0x6 FILE: poll_default.go method Alloc (line 20) | func (p *defaultPoll) Alloc() (operator *FDOperator) { method Free (line 26) | func (p *defaultPoll) Free(operator *FDOperator) { method appendHup (line 30) | func (p *defaultPoll) appendHup(operator *FDOperator) { method detach (line 36) | func (p *defaultPoll) detach(operator *FDOperator) { method onhups (line 42) | func (p *defaultPoll) onhups() { function readall (line 58) | func readall(op *FDOperator, br barrier) (total int, err error) { FILE: poll_default_bsd.go function openPoll (line 28) | func openPoll() (Poll, error) { function openDefaultPoll (line 32) | func openDefaultPoll() (*defaultPoll, error) { type defaultPoll (line 52) | type defaultPoll struct method Wait (line 61) | func (p *defaultPoll) Wait() error { method Close (line 159) | func (p *defaultPoll) Close() error { method Trigger (line 165) | func (p *defaultPoll) Trigger() error { method Control (line 178) | func (p *defaultPoll) Control(operator *FDOperator, event PollEvent) e... FILE: poll_default_bsd_norace.go method getOperator (line 23) | func (p *defaultPoll) getOperator(fd int, ptr unsafe.Pointer) *FDOperator { method setOperator (line 27) | func (p *defaultPoll) setOperator(ptr unsafe.Pointer, operator *FDOperat... method delOperator (line 31) | func (p *defaultPoll) delOperator(operator *FDOperator) { FILE: poll_default_bsd_race.go method getOperator (line 23) | func (p *defaultPoll) getOperator(fd int, ptr unsafe.Pointer) *FDOperator { method setOperator (line 31) | func (p *defaultPoll) setOperator(ptr unsafe.Pointer, operator *FDOperat... method delOperator (line 35) | func (p *defaultPoll) delOperator(operator *FDOperator) { FILE: poll_default_linux.go function openPoll (line 26) | func openPoll() (Poll, error) { function openDefaultPoll (line 30) | func openDefaultPoll() (*defaultPoll, error) { type defaultPoll (line 60) | type defaultPoll struct method Wait (line 91) | func (p *defaultPoll) Wait() (err error) { method handler (line 118) | func (p *defaultPoll) handler(events []epollevent) (closed bool) { method Close (line 223) | func (p *defaultPoll) Close() error { method Trigger (line 229) | func (p *defaultPoll) Trigger() error { method Control (line 239) | func (p *defaultPoll) Control(operator *FDOperator, event PollEvent) e... type pollArgs (line 73) | type pollArgs struct method reset (line 81) | func (a *pollArgs) reset(size, caps int) { FILE: poll_default_linux_norace.go method getOperator (line 22) | func (p *defaultPoll) getOperator(fd int, ptr unsafe.Pointer) *FDOperator { method setOperator (line 26) | func (p *defaultPoll) setOperator(ptr unsafe.Pointer, operator *FDOperat... method delOperator (line 30) | func (p *defaultPoll) delOperator(operator *FDOperator) { FILE: poll_default_linux_race.go type eventdata (line 22) | type eventdata struct method getOperator (line 27) | func (p *defaultPoll) getOperator(fd int, ptr unsafe.Pointer) *FDOperator { method setOperator (line 36) | func (p *defaultPoll) setOperator(ptr unsafe.Pointer, operator *FDOperat... method delOperator (line 41) | func (p *defaultPoll) delOperator(operator *FDOperator) { FILE: poll_default_linux_test.go function TestEpollEvent (line 29) | func TestEpollEvent(t *testing.T) { function TestEpollWait (line 97) | func TestEpollWait(t *testing.T) { function TestEpollETClose (line 166) | func TestEpollETClose(t *testing.T) { function TestEpollETDel (line 218) | func TestEpollETDel(t *testing.T) { function TestEpollConnectSameFD (line 246) | func TestEpollConnectSameFD(t *testing.T) { function epollWaitUntil (line 345) | func epollWaitUntil(epfd int, events []epollevent, msec int) (n int, err... FILE: poll_loadbalance.go type LoadBalance (line 24) | type LoadBalance constant RoundRobin (line 29) | RoundRobin LoadBalance = iota constant Random (line 31) | Random type loadbalance (line 35) | type loadbalance interface function newLoadbalance (line 43) | func newLoadbalance(lb LoadBalance, polls []Poll) loadbalance { function newRandomLB (line 53) | func newRandomLB(polls []Poll) loadbalance { type randomLB (line 57) | type randomLB struct method LoadBalance (line 62) | func (b *randomLB) LoadBalance() LoadBalance { method Pick (line 66) | func (b *randomLB) Pick() (poll Poll) { method Rebalance (line 71) | func (b *randomLB) Rebalance(polls []Poll) { function newRoundRobinLB (line 75) | func newRoundRobinLB(polls []Poll) loadbalance { type roundRobinLB (line 79) | type roundRobinLB struct method LoadBalance (line 85) | func (b *roundRobinLB) LoadBalance() LoadBalance { method Pick (line 89) | func (b *roundRobinLB) Pick() (poll Poll) { method Rebalance (line 94) | func (b *roundRobinLB) Rebalance(polls []Poll) { FILE: poll_manager.go constant managerUninitialized (line 27) | managerUninitialized = iota constant managerInitializing (line 28) | managerInitializing constant managerInitialized (line 29) | managerInitialized function newManager (line 32) | func newManager(numLoops int) *manager { type manager (line 41) | type manager struct method SetNumLoops (line 49) | func (m *manager) SetNumLoops(numLoops int) (err error) { method SetLoadBalance (line 60) | func (m *manager) SetLoadBalance(lb LoadBalance) error { method Close (line 69) | func (m *manager) Close() (err error) { method Run (line 80) | func (m *manager) Run() (err error) { method Reset (line 122) | func (m *manager) Reset() error { method Pick (line 131) | func (m *manager) Pick() Poll { FILE: poll_manager_test.go function TestPollManager (line 26) | func TestPollManager(t *testing.T) { function TestPollManagerReset (line 50) | func TestPollManagerReset(t *testing.T) { function TestPollManagerSetNumLoops (line 57) | func TestPollManagerSetNumLoops(t *testing.T) { FILE: poll_test.go function TestPollTrigger (line 30) | func TestPollTrigger(t *testing.T) { function TestPollMod (line 55) | func TestPollMod(t *testing.T) { function TestPollClose (line 117) | func TestPollClose(t *testing.T) { function BenchmarkPollMod (line 130) | func BenchmarkPollMod(b *testing.B) { FILE: sys_epoll_linux.go constant EPOLLET (line 25) | EPOLLET = -syscall.EPOLLET type epollevent (line 27) | type epollevent struct function EpollCreate (line 33) | func EpollCreate(flag int) (fd int, err error) { function EpollCtl (line 43) | func EpollCtl(epfd, op, fd int, event *epollevent) (err error) { function EpollWait (line 52) | func EpollWait(epfd int, events []epollevent, msec int) (n int, err erro... FILE: sys_epoll_linux_arm64.go constant EPOLLET (line 22) | EPOLLET = syscall.EPOLLET type epollevent (line 24) | type epollevent struct function EpollCreate (line 31) | func EpollCreate(flag int) (fd int, err error) { function EpollCtl (line 41) | func EpollCtl(epfd int, op int, fd int, event *epollevent) (err error) { function EpollWait (line 50) | func EpollWait(epfd int, events []epollevent, msec int) (n int, err erro... FILE: sys_epoll_linux_loong64.go constant EPOLLET (line 25) | EPOLLET = syscall.EPOLLET type epollevent (line 27) | type epollevent struct function EpollCreate (line 34) | func EpollCreate(flag int) (fd int, err error) { function EpollCtl (line 44) | func EpollCtl(epfd int, op int, fd int, event *epollevent) (err error) { function EpollWait (line 53) | func EpollWait(epfd int, events []epollevent, msec int) (n int, err erro... FILE: sys_exec.go function GetSysFdPairs (line 28) | func GetSysFdPairs() (r, w int) { function setTCPNoDelay (line 34) | func setTCPNoDelay(fd int, b bool) (err error) { function sysSocket (line 40) | func sysSocket(family, sotype, proto int) (int, error) { constant barriercap (line 58) | barriercap = 32 type barrier (line 60) | type barrier struct function writev (line 66) | func writev(fd int, bs [][]byte, ivs []syscall.Iovec) (n int, err error) { function readv (line 82) | func readv(fd int, bs [][]byte, ivs []syscall.Iovec) (n int, err error) { function iovecs (line 102) | func iovecs(bs [][]byte, ivs []syscall.Iovec) (iovLen int) { function resetIovecs (line 126) | func resetIovecs(bs [][]byte, ivs []syscall.Iovec) { function boolint (line 136) | func boolint(b bool) int { FILE: sys_exec_test.go function TestIovecs (line 26) | func TestIovecs(t *testing.T) { function TestWritev (line 76) | func TestWritev(t *testing.T) { function TestReadv (line 96) | func TestReadv(t *testing.T) { function TestSendmsg (line 127) | func TestSendmsg(t *testing.T) { function BenchmarkWrite (line 147) | func BenchmarkWrite(b *testing.B) { function BenchmarkWritev (line 173) | func BenchmarkWritev(b *testing.B) { function BenchmarkSendmsg (line 200) | func BenchmarkSendmsg(b *testing.B) { function BenchmarkRead (line 227) | func BenchmarkRead(b *testing.B) { function BenchmarkReadv (line 253) | func BenchmarkReadv(b *testing.B) { FILE: sys_keepalive_darwin.go function SetKeepAlive (line 20) | func SetKeepAlive(fd, secs int) error { FILE: sys_keepalive_openbsd.go function SetKeepAlive (line 18) | func SetKeepAlive(fd, secs int) error { FILE: sys_keepalive_unix.go function SetKeepAlive (line 23) | func SetKeepAlive(fd, secs int) error { FILE: sys_sendmsg_bsd.go function sendmsg (line 27) | func sendmsg(fd int, bs [][]byte, ivs []syscall.Iovec, zerocopy bool) (n... FILE: sys_sendmsg_linux.go function sendmsg (line 34) | func sendmsg(fd int, bs [][]byte, ivs []syscall.Iovec, zerocopy bool) (n... FILE: sys_sockopt_bsd.go function setDefaultSockopts (line 19) | func setDefaultSockopts(s, family, sotype int, ipv6only bool) error { FILE: sys_sockopt_linux.go function setDefaultSockopts (line 15) | func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {