SYMBOL INDEX (865 symbols across 93 files) FILE: acceptor_unix.go method accept0 (line 30) | func (el *eventloop) accept0(fd int, _ netpoll.IOEvent, _ netpoll.IOFlag... method accept (line 77) | func (el *eventloop) accept(fd int, ev netpoll.IOEvent, flags netpoll.IO... FILE: acceptor_windows.go method listenStream (line 26) | func (eng *engine) listenStream(ln net.Listener) (err error) { method ListenUDP (line 63) | func (eng *engine) ListenUDP(pc net.PacketConn) (err error) { FILE: client_test.go type connHandler (line 26) | type connHandler struct type clientEvents (line 32) | type clientEvents struct method OnBoot (line 38) | func (ev *clientEvents) OnBoot(e Engine) Action { method OnOpen (line 53) | func (ev *clientEvents) OnOpen(Conn) (out []byte, action Action) { method OnClose (line 58) | func (ev *clientEvents) OnClose(Conn, error) Action { method OnTraffic (line 67) | func (ev *clientEvents) OnTraffic(c Conn) (action Action) { method OnTick (line 84) | func (ev *clientEvents) OnTick() (delay time.Duration, action Action) { method OnShutdown (line 89) | func (ev *clientEvents) OnShutdown(e Engine) { function TestClient (line 101) | func TestClient(t *testing.T) { type testClient (line 364) | type testClient struct method OnBoot (line 381) | func (s *testClient) OnBoot(eng Engine) (action Action) { method OnOpen (line 386) | func (s *testClient) OnOpen(c Conn) (out []byte, action Action) { method OnClose (line 394) | func (s *testClient) OnClose(c Conn, err error) (action Action) { method OnShutdown (line 411) | func (s *testClient) OnShutdown(Engine) { method OnTraffic (line 417) | func (s *testClient) OnTraffic(c Conn) (action Action) { method OnTick (line 470) | func (s *testClient) OnTick() (delay time.Duration, action Action) { function runClient (line 494) | func runClient(t *testing.T, network, addr string, conf *testConf) { function startGnetClient (line 535) | func startGnetClient(t *testing.T, cli *Client, network, addr string, mu... type clientEventsForWake (line 587) | type clientEventsForWake struct method OnBoot (line 593) | func (ev *clientEventsForWake) OnBoot(_ Engine) Action { method OnTraffic (line 598) | func (ev *clientEventsForWake) OnTraffic(c Conn) (action Action) { type serverEventsForWake (line 633) | type serverEventsForWake struct method OnOpen (line 643) | func (ev *serverEventsForWake) OnOpen(_ Conn) ([]byte, Action) { method OnClose (line 648) | func (ev *serverEventsForWake) OnClose(_ Conn, _ error) Action { method OnTick (line 655) | func (ev *serverEventsForWake) OnTick() (time.Duration, Action) { function testConnWakeImmediately (line 665) | func testConnWakeImmediately(t *testing.T, client *Client, clientEV *cli... function TestWakeConnImmediately (line 675) | func TestWakeConnImmediately(t *testing.T) { function TestClientReadOnEOF (line 703) | func TestClientReadOnEOF(t *testing.T) { function process (line 759) | func process(conn net.Conn) { type clientReadOnEOF (line 770) | type clientReadOnEOF struct method OnBoot (line 779) | func (clientReadOnEOF) OnBoot(Engine) (action Action) { method OnOpen (line 783) | func (cli clientReadOnEOF) OnOpen(Conn) (out []byte, action Action) { method OnClose (line 787) | func (clientReadOnEOF) OnClose(Conn, error) (action Action) { method OnTraffic (line 791) | func (cli clientReadOnEOF) OnTraffic(c Conn) (action Action) { FILE: client_unix.go type Client (line 39) | type Client struct method Start (line 106) | func (cli *Client) Start() error { method Stop (line 153) | func (cli *Client) Stop() error { method Dial (line 180) | func (cli *Client) Dial(network, address string) (Conn, error) { method DialContext (line 185) | func (cli *Client) DialContext(network, address string, ctx any) (Conn... method Enroll (line 194) | func (cli *Client) Enroll(c net.Conn) (Conn, error) { method EnrollContext (line 199) | func (cli *Client) EnrollContext(c net.Conn, ctx any) (Conn, error) { function NewClient (line 45) | func NewClient(eh EventHandler, opts ...Option) (cli *Client, err error) { FILE: client_windows.go type Client (line 28) | type Client struct method Start (line 66) | func (cli *Client) Start() error { method Stop (line 100) | func (cli *Client) Stop() error { method Dial (line 120) | func (cli *Client) Dial(network, addr string) (Conn, error) { method DialContext (line 124) | func (cli *Client) DialContext(network, addr string, ctx any) (Conn, e... method Enroll (line 136) | func (cli *Client) Enroll(nc net.Conn) (gc Conn, err error) { method EnrollContext (line 140) | func (cli *Client) EnrollContext(nc net.Conn, ctx any) (gc Conn, err e... function NewClient (line 33) | func NewClient(eh EventHandler, opts ...Option) (cli *Client, err error) { FILE: conn_map.go type connMatrix (line 25) | type connMatrix struct method init (line 30) | func (cm *connMatrix) init() { method iterate (line 34) | func (cm *connMatrix) iterate(f func(*conn) bool) { method incCount (line 44) | func (cm *connMatrix) incCount(_ int, delta int32) { method loadCount (line 48) | func (cm *connMatrix) loadCount() (n int32) { method addConn (line 52) | func (cm *connMatrix) addConn(c *conn, index int) { method delConn (line 58) | func (cm *connMatrix) delConn(c *conn) { method getConn (line 63) | func (cm *connMatrix) getConn(fd int) *conn { FILE: conn_matrix.go type connMatrix (line 25) | type connMatrix struct method init (line 34) | func (cm *connMatrix) init() { method iterate (line 38) | func (cm *connMatrix) iterate(f func(*conn) bool) { method incCount (line 52) | func (cm *connMatrix) incCount(row int, delta int32) { method loadCount (line 56) | func (cm *connMatrix) loadCount() (n int32) { method addConn (line 63) | func (cm *connMatrix) addConn(c *conn, index int) { method delConn (line 83) | func (cm *connMatrix) delConn(c *conn) { method getConn (line 139) | func (cm *connMatrix) getConn(fd int) *conn { FILE: conn_matrix_test.go function TestConnMatrix (line 17) | func TestConnMatrix(t *testing.T) { constant actionAdd (line 39) | actionAdd = iota + 1 constant actionDel (line 40) | actionDel type handleConn (line 43) | type handleConn struct function testConnMatrix (line 48) | func testConnMatrix(t *testing.T, n int) { FILE: connection_bsd.go method processIO (line 27) | func (c *conn) processIO(_ int, filter netpoll.IOEvent, flags netpoll.IO... FILE: connection_linux.go method processIO (line 28) | func (c *conn) processIO(_ int, ev netpoll.IOEvent, _ netpoll.IOFlags) e... FILE: connection_unix.go type conn (line 38) | type conn struct method release (line 90) | func (c *conn) release() { method open (line 116) | func (c *conn) open(buf []byte) error { method write (line 139) | func (c *conn) write(data []byte) (n int, err error) { method writev (line 184) | func (c *conn) writev(bs [][]byte) (n int, err error) { method asyncWrite (line 252) | func (c *conn) asyncWrite(a any) (err error) { method asyncWritev (line 273) | func (c *conn) asyncWritev(a any) (err error) { method sendTo (line 289) | func (c *conn) sendTo(buf []byte, addr unix.Sockaddr) (n int, err erro... method resetBuffer (line 305) | func (c *conn) resetBuffer() { method Read (line 311) | func (c *conn) Read(p []byte) (n int, err error) { method Next (line 330) | func (c *conn) Next(n int) (buf []byte, err error) { method Peek (line 349) | func (c *conn) Peek(n int) (buf []byte, err error) { method Discard (line 378) | func (c *conn) Discard(n int) (int, error) { method Write (line 405) | func (c *conn) Write(p []byte) (int, error) { method SendTo (line 412) | func (c *conn) SendTo(p []byte, addr net.Addr) (int, error) { method Writev (line 425) | func (c *conn) Writev(bs [][]byte) (int, error) { method ReadFrom (line 432) | func (c *conn) ReadFrom(r io.Reader) (int64, error) { method WriteTo (line 436) | func (c *conn) WriteTo(w io.Writer) (n int64, err error) { method Flush (line 449) | func (c *conn) Flush() error { method InboundBuffered (line 453) | func (c *conn) InboundBuffered() int { method OutboundBuffered (line 457) | func (c *conn) OutboundBuffered() int { method Context (line 461) | func (c *conn) Context() any { return c.ctx } method SetContext (line 462) | func (c *conn) SetContext(ctx any) { c.ctx = ctx } method LocalAddr (line 463) | func (c *conn) LocalAddr() net.Addr { return c.localAddr } method RemoteAddr (line 464) | func (c *conn) RemoteAddr() net.Addr { return c.remoteAddr } method Fd (line 470) | func (c *conn) Fd() int { return c.fd } method Dup (line 471) | func (c *conn) Dup() (fd int, err error) { return socket.Dup(c.f... method SetReadBuffer (line 472) | func (c *conn) SetReadBuffer(bytes int) error { return socket.SetRecv... method SetWriteBuffer (line 473) | func (c *conn) SetWriteBuffer(bytes int) error { return socket.SetSend... method SetLinger (line 474) | func (c *conn) SetLinger(sec int) error { return socket.SetLing... method SetNoDelay (line 475) | func (c *conn) SetNoDelay(noDelay bool) error { method SetKeepAlivePeriod (line 484) | func (c *conn) SetKeepAlivePeriod(d time.Duration) error { method SetKeepAlive (line 491) | func (c *conn) SetKeepAlive(enabled bool, idle, intvl time.Duration, c... method AsyncWrite (line 498) | func (c *conn) AsyncWrite(buf []byte, callback AsyncCallback) error { method AsyncWritev (line 513) | func (c *conn) AsyncWritev(bs [][]byte, callback AsyncCallback) error { method Wake (line 520) | func (c *conn) Wake(callback AsyncCallback) error { method CloseWithCallback (line 530) | func (c *conn) CloseWithCallback(callback AsyncCallback) error { method Close (line 540) | func (c *conn) Close() error { method EventLoop (line 547) | func (c *conn) EventLoop() EventLoop { method SetDeadline (line 551) | func (*conn) SetDeadline(_ time.Time) error { method SetReadDeadline (line 555) | func (*conn) SetReadDeadline(_ time.Time) error { method SetWriteDeadline (line 559) | func (*conn) SetWriteDeadline(_ time.Time) error { function newStreamConn (line 57) | func newStreamConn(proto string, fd int, el *eventloop, sa unix.Sockaddr... function newUDPConn (line 72) | func newUDPConn(fd int, el *eventloop, localAddr net.Addr, sa unix.Socka... type asyncWriteHook (line 247) | type asyncWriteHook struct type asyncWritevHook (line 268) | type asyncWritevHook struct FILE: connection_windows.go type netErr (line 34) | type netErr struct type tcpConn (line 39) | type tcpConn struct type udpConn (line 44) | type udpConn struct type openConn (line 48) | type openConn struct type conn (line 53) | type conn struct method release (line 97) | func (c *conn) release() { method resetBuffer (line 121) | func (c *conn) resetBuffer() { method Read (line 127) | func (c *conn) Read(p []byte) (n int, err error) { method Next (line 146) | func (c *conn) Next(n int) (buf []byte, err error) { method Peek (line 164) | func (c *conn) Peek(n int) (buf []byte, err error) { method Discard (line 191) | func (c *conn) Discard(n int) (int, error) { method Write (line 218) | func (c *conn) Write(p []byte) (int, error) { method SendTo (line 228) | func (c *conn) SendTo(p []byte, addr net.Addr) (int, error) { method Writev (line 240) | func (c *conn) Writev(bs [][]byte) (int, error) { method ReadFrom (line 256) | func (c *conn) ReadFrom(r io.Reader) (int64, error) { method WriteTo (line 263) | func (c *conn) WriteTo(w io.Writer) (n int64, err error) { method Flush (line 277) | func (c *conn) Flush() error { method InboundBuffered (line 281) | func (c *conn) InboundBuffered() int { method OutboundBuffered (line 288) | func (c *conn) OutboundBuffered() int { method Context (line 292) | func (c *conn) Context() any { return c.ctx } method SetContext (line 293) | func (c *conn) SetContext(ctx any) { c.ctx = ctx } method LocalAddr (line 294) | func (c *conn) LocalAddr() net.Addr { return c.localAddr } method RemoteAddr (line 295) | func (c *conn) RemoteAddr() net.Addr { return c.remoteAddr } method Fd (line 297) | func (c *conn) Fd() (fd int) { method Dup (line 314) | func (c *conn) Dup() (fd int, err error) { method SetReadBuffer (line 360) | func (c *conn) SetReadBuffer(bytes int) error { method SetWriteBuffer (line 371) | func (c *conn) SetWriteBuffer(bytes int) error { method SetLinger (line 381) | func (c *conn) SetLinger(sec int) error { method SetNoDelay (line 393) | func (c *conn) SetNoDelay(noDelay bool) error { method SetKeepAlivePeriod (line 405) | func (c *conn) SetKeepAlivePeriod(d time.Duration) error { method SetKeepAlive (line 409) | func (c *conn) SetKeepAlive(enabled bool, idle, intvl time.Duration, c... method AsyncWrite (line 462) | func (c *conn) AsyncWrite(buf []byte, cb AsyncCallback) error { method AsyncWritev (line 484) | func (c *conn) AsyncWritev(bs [][]byte, cb AsyncCallback) error { method Wake (line 502) | func (c *conn) Wake(cb AsyncCallback) (err error) { method Close (line 523) | func (c *conn) Close() (err error) { method CloseWithCallback (line 540) | func (c *conn) CloseWithCallback(cb AsyncCallback) (err error) { method EventLoop (line 561) | func (c *conn) EventLoop() EventLoop { method SetDeadline (line 565) | func (*conn) SetDeadline(_ time.Time) error { method SetReadDeadline (line 569) | func (*conn) SetReadDeadline(_ time.Time) error { method SetWriteDeadline (line 573) | func (*conn) SetWriteDeadline(_ time.Time) error { function packTCPConn (line 65) | func packTCPConn(c *conn, buf []byte) *tcpConn { function unpackTCPConn (line 71) | func unpackTCPConn(tc *tcpConn) *conn { function packUDPConn (line 81) | func packUDPConn(c *conn, buf []byte) *udpConn { function newStreamConn (line 86) | func newStreamConn(el *eventloop, nc net.Conn, ctx any) (c *conn) { function newUDPConn (line 109) | func newUDPConn(el *eventloop, pc net.PacketConn, rc net.Conn, localAddr... FILE: context.go type contextKey (line 25) | type contextKey struct function NewContext (line 29) | func NewContext(ctx context.Context, v any) context.Context { function FromContext (line 34) | func FromContext(ctx context.Context) any { type connContextKey (line 39) | type connContextKey struct function NewNetConnContext (line 42) | func NewNetConnContext(ctx context.Context, c net.Conn) context.Context { function FromNetConnContext (line 47) | func FromNetConnContext(ctx context.Context) (net.Conn, bool) { type netAddrContextKey (line 53) | type netAddrContextKey struct function NewNetAddrContext (line 56) | func NewNetAddrContext(ctx context.Context, a net.Addr) context.Context { function FromNetAddrContext (line 61) | func FromNetAddrContext(ctx context.Context) (net.Addr, bool) { FILE: engine_unix.go type engine (line 35) | type engine struct method isShutdown (line 50) | func (eng *engine) isShutdown() bool { method shutdown (line 55) | func (eng *engine) shutdown(err error) { method closeEventLoops (line 63) | func (eng *engine) closeEventLoops() { method runEventLoops (line 82) | func (eng *engine) runEventLoops(ctx context.Context, numEventLoop int... method activateReactors (line 137) | func (eng *engine) activateReactors(ctx context.Context, numEventLoop ... method start (line 190) | func (eng *engine) start(ctx context.Context, numEventLoop int) error { method stop (line 198) | func (eng *engine) stop(ctx context.Context, s Engine) { function run (line 230) | func run(eventHandler EventHandler, listeners []*listener, options *Opti... function setKeepAlive (line 281) | func setKeepAlive(fd int, enabled bool, idle, intvl time.Duration, cnt i... FILE: engine_windows.go type engine (line 29) | type engine struct method isShutdown (line 44) | func (eng *engine) isShutdown() bool { method shutdown (line 49) | func (eng *engine) shutdown(err error) { method closeEventLoops (line 57) | func (eng *engine) closeEventLoops() { method start (line 67) | func (eng *engine) start(ctx context.Context, numEventLoop int) error { method stop (line 106) | func (eng *engine) stop(ctx context.Context, engine Engine) { function run (line 120) | func run(eventHandler EventHandler, listeners []*listener, options *Opti... FILE: eventloop_unix.go type eventloop (line 42) | type eventloop struct method Register (line 52) | func (el *eventloop) Register(ctx context.Context, addr net.Addr) (<-c... method Enroll (line 62) | func (el *eventloop) Enroll(ctx context.Context, c net.Conn) (<-chan R... method Execute (line 72) | func (el *eventloop) Execute(ctx context.Context, runnable Runnable) e... method Schedule (line 84) | func (el *eventloop) Schedule(context.Context, Runnable, time.Duration... method Close (line 88) | func (el *eventloop) Close(c Conn) error { method getLogger (line 92) | func (el *eventloop) getLogger() logging.Logger { method countConn (line 96) | func (el *eventloop) countConn() int32 { method closeConns (line 100) | func (el *eventloop) closeConns() { method enroll (line 113) | func (el *eventloop) enroll(c net.Conn, addr net.Addr, ctx any) (resCh... method register (line 204) | func (el *eventloop) register(a any) error { method register0 (line 214) | func (el *eventloop) register0(c *conn) error { method open (line 231) | func (el *eventloop) open(c *conn) error { method read0 (line 250) | func (el *eventloop) read0(a any) error { method read (line 254) | func (el *eventloop) read(c *conn) error { method write0 (line 302) | func (el *eventloop) write0(a any) error { method write (line 309) | func (el *eventloop) write(c *conn) error { method close (line 362) | func (el *eventloop) close(c *conn, err error) error { method wake (line 405) | func (el *eventloop) wake(c *conn) error { method ticker (line 415) | func (el *eventloop) ticker(ctx context.Context) { method readUDP (line 450) | func (el *eventloop) readUDP(fd int, _ netpoll.IOEvent, _ netpoll.IOFl... method handleAction (line 476) | func (el *eventloop) handleAction(c *conn, action Action) error { type connWithCallback (line 108) | type connWithCallback struct constant iovMax (line 307) | iovMax = 1024 FILE: eventloop_unix_test.go method register (line 21) | func (lb *roundRobinLoadBalancer) register(el *eventloop) { method register (line 26) | func (lb *leastConnectionsLoadBalancer) register(el *eventloop) { method register (line 31) | func (lb *sourceAddrHashLoadBalancer) register(el *eventloop) { function registerInitConn (line 36) | func registerInitConn(el *eventloop) { function BenchmarkGC4El100k (line 49) | func BenchmarkGC4El100k(b *testing.B) { function BenchmarkGC4El200k (line 63) | func BenchmarkGC4El200k(b *testing.B) { function BenchmarkGC4El500k (line 77) | func BenchmarkGC4El500k(b *testing.B) { function benchServeGC (line 91) | func benchServeGC(b *testing.B, network, addr string, async bool, elNum ... type benchmarkServerGC (line 117) | type benchmarkServerGC struct method OnBoot (line 129) | func (s *benchmarkServerGC) OnBoot(eng Engine) (action Action) { function TestServeGC (line 141) | func TestServeGC(t *testing.T) { function testServeGC (line 218) | func testServeGC(t *testing.T, network, addr string, multicore, async bo... type testServerGC (line 241) | type testServerGC struct method OnBoot (line 252) | func (s *testServerGC) OnBoot(eng Engine) (action Action) { method GC (line 266) | func (s *testServerGC) GC(secs int) { FILE: eventloop_windows.go type eventloop (line 31) | type eventloop struct method Register (line 40) | func (el *eventloop) Register(ctx context.Context, addr net.Addr) (<-c... method Enroll (line 50) | func (el *eventloop) Enroll(ctx context.Context, c net.Conn) (<-chan R... method Execute (line 60) | func (el *eventloop) Execute(ctx context.Context, runnable Runnable) e... method Schedule (line 74) | func (el *eventloop) Schedule(context.Context, Runnable, time.Duration... method Close (line 78) | func (el *eventloop) Close(c Conn) error { method getLogger (line 82) | func (el *eventloop) getLogger() logging.Logger { method enroll (line 86) | func (el *eventloop) enroll(c net.Conn, addr net.Addr, ctx any) (resCh... method incConn (line 140) | func (el *eventloop) incConn(delta int32) { method countConn (line 144) | func (el *eventloop) countConn() int32 { method run (line 148) | func (el *eventloop) run() (err error) { method open (line 188) | func (el *eventloop) open(oc *openConn) error { method read (line 207) | func (el *eventloop) read(c *conn) error { method readUDP (line 225) | func (el *eventloop) readUDP(c *conn) error { method ticker (line 234) | func (el *eventloop) ticker(ctx context.Context) { method wake (line 274) | func (el *eventloop) wake(c *conn) error { method close (line 282) | func (el *eventloop) close(c *conn, err error) error { method handleAction (line 299) | func (el *eventloop) handleAction(c *conn, action Action) error { FILE: gnet.go type Action (line 40) | type Action constant None (line 44) | None Action = iota constant Close (line 47) | Close constant Shutdown (line 50) | Shutdown type Engine (line 54) | type Engine struct method Validate (line 60) | func (e Engine) Validate() error { method CountConnections (line 71) | func (e Engine) CountConnections() (count int) { method Register (line 92) | func (e Engine) Register(ctx context.Context) (<-chan RegisteredResult... method Dup (line 119) | func (e Engine) Dup() (fd int, err error) { method DupListener (line 137) | func (e Engine) DupListener(network, addr string) (int, error) { method Stop (line 153) | func (e Engine) Stop(ctx context.Context) error { type Reader (line 232) | type Reader interface type Writer (line 260) | type Writer interface type AsyncCallback (line 306) | type AsyncCallback type Socket (line 312) | type Socket interface type Runnable (line 381) | type Runnable interface type RunnableFunc (line 387) | type RunnableFunc method Run (line 390) | func (fn RunnableFunc) Run(ctx context.Context) error { type RegisteredResult (line 395) | type RegisteredResult struct type EventLoop (line 401) | type EventLoop interface type Conn (line 424) | type Conn interface type EventHandler (line 474) | type EventHandler interface type BuiltinEventEngine (line 507) | type BuiltinEventEngine struct method OnBoot (line 512) | func (*BuiltinEventEngine) OnBoot(_ Engine) (action Action) { method OnShutdown (line 518) | func (*BuiltinEventEngine) OnShutdown(_ Engine) { method OnOpen (line 523) | func (*BuiltinEventEngine) OnOpen(_ Conn) (out []byte, action Action) { method OnClose (line 529) | func (*BuiltinEventEngine) OnClose(_ Conn, _ error) (action Action) { method OnTraffic (line 534) | func (*BuiltinEventEngine) OnTraffic(_ Conn) (action Action) { method OnTick (line 540) | func (*BuiltinEventEngine) OnTick() (delay time.Duration, action Actio... function createListeners (line 547) | func createListeners(addrs []string, opts ...Option) ([]*listener, *Opti... function Run (line 678) | func Run(eventHandler EventHandler, protoAddr string, opts ...Option) er... function Rotate (line 693) | func Rotate(eventHandler EventHandler, addrs []string, opts ...Option) e... function Stop (line 722) | func Stop(ctx context.Context, protoAddr string) error { function parseProtoAddr (line 750) | func parseProtoAddr(protoAddr string) (string, string, error) { function determineEventLoops (line 789) | func determineEventLoops(opts *Options) int { FILE: gnet_test.go type testConf (line 39) | type testConf struct function testUnixAddr (line 52) | func testUnixAddr(t testing.TB) string { function TestServer (line 62) | func TestServer(t *testing.T) { type testServer (line 545) | type testServer struct method OnBoot (line 560) | func (s *testServer) OnBoot(eng Engine) (action Action) { method OnOpen (line 587) | func (s *testServer) OnOpen(c Conn) (out []byte, action Action) { method OnShutdown (line 596) | func (s *testServer) OnShutdown(_ Engine) { method OnClose (line 621) | func (s *testServer) OnClose(c Conn, err error) (action Action) { method OnTraffic (line 632) | func (s *testServer) OnTraffic(c Conn) (action Action) { method OnTick (line 752) | func (s *testServer) OnTick() (delay time.Duration, action Action) { function runServer (line 785) | func runServer(t *testing.T, addrs []string, conf *testConf) { function startClient (line 827) | func startClient(t *testing.T, network, addr string, multicore, async bo... function TestDefaultGnetServer (line 876) | func TestDefaultGnetServer(*testing.T) { type testBadAddrServer (line 885) | type testBadAddrServer struct method OnBoot (line 889) | func (t *testBadAddrServer) OnBoot(_ Engine) (action Action) { function TestBadAddresses (line 893) | func TestBadAddresses(t *testing.T) { function TestTick (line 911) | func TestTick(t *testing.T) { type testTickServer (line 915) | type testTickServer struct method OnTick (line 920) | func (t *testTickServer) OnTick() (delay time.Duration, action Action) { function testTick (line 930) | func testTick(network, addr string, t *testing.T) { function TestWakeConn (line 942) | func TestWakeConn(t *testing.T) { type testWakeConnServer (line 946) | type testWakeConnServer struct method OnOpen (line 956) | func (t *testWakeConnServer) OnOpen(c Conn) (out []byte, action Action) { method OnClose (line 961) | func (t *testWakeConnServer) OnClose(Conn, error) (action Action) { method OnTraffic (line 966) | func (t *testWakeConnServer) OnTraffic(c Conn) (action Action) { method OnTick (line 972) | func (t *testWakeConnServer) OnTick() (delay time.Duration, action Act... function testWakeConn (line 996) | func testWakeConn(t *testing.T, network, addr string) { function TestShutdown (line 1016) | func TestShutdown(t *testing.T) { type testShutdownServer (line 1020) | type testShutdownServer struct method OnBoot (line 1031) | func (t *testShutdownServer) OnBoot(eng Engine) (action Action) { method OnOpen (line 1036) | func (t *testShutdownServer) OnOpen(Conn) (out []byte, action Action) { method OnClose (line 1041) | func (t *testShutdownServer) OnClose(Conn, error) (action Action) { method OnTick (line 1046) | func (t *testShutdownServer) OnTick() (delay time.Duration, action Act... function testShutdown (line 1067) | func testShutdown(t *testing.T, network, addr string) { function TestCloseActionError (line 1085) | func TestCloseActionError(t *testing.T) { type testCloseActionErrorServer (line 1089) | type testCloseActionErrorServer struct method OnClose (line 1096) | func (t *testCloseActionErrorServer) OnClose(Conn, error) (action Acti... method OnTraffic (line 1101) | func (t *testCloseActionErrorServer) OnTraffic(c Conn) (action Action) { method OnTick (line 1114) | func (t *testCloseActionErrorServer) OnTick() (delay time.Duration, ac... function testCloseActionError (line 1134) | func testCloseActionError(t *testing.T, network, addr string) { function TestShutdownActionError (line 1140) | func TestShutdownActionError(t *testing.T) { type testShutdownActionErrorServer (line 1144) | type testShutdownActionErrorServer struct method OnTraffic (line 1151) | func (t *testShutdownActionErrorServer) OnTraffic(c Conn) (action Acti... method OnTick (line 1159) | func (t *testShutdownActionErrorServer) OnTick() (delay time.Duration,... function testShutdownActionError (line 1179) | func testShutdownActionError(t *testing.T, network, addr string) { function TestCloseActionOnOpen (line 1185) | func TestCloseActionOnOpen(t *testing.T) { type testCloseActionOnOpenServer (line 1189) | type testCloseActionOnOpenServer struct method OnOpen (line 1196) | func (t *testCloseActionOnOpenServer) OnOpen(Conn) (out []byte, action... method OnClose (line 1201) | func (t *testCloseActionOnOpenServer) OnClose(Conn, error) (action Act... method OnTick (line 1206) | func (t *testCloseActionOnOpenServer) OnTick() (delay time.Duration, a... function testCloseActionOnOpen (line 1222) | func testCloseActionOnOpen(t *testing.T, network, addr string) { function TestShutdownActionOnOpen (line 1228) | func TestShutdownActionOnOpen(t *testing.T) { type testShutdownActionOnOpenServer (line 1232) | type testShutdownActionOnOpenServer struct method OnOpen (line 1240) | func (t *testShutdownActionOnOpenServer) OnOpen(Conn) (out []byte, act... method OnShutdown (line 1245) | func (t *testShutdownActionOnOpenServer) OnShutdown(e Engine) { method OnTick (line 1254) | func (t *testShutdownActionOnOpenServer) OnTick() (delay time.Duration... function testShutdownActionOnOpen (line 1270) | func testShutdownActionOnOpen(t *testing.T, network, addr string) { function TestUDPShutdown (line 1279) | func TestUDPShutdown(t *testing.T) { type testUDPShutdownServer (line 1283) | type testUDPShutdownServer struct method OnTraffic (line 1291) | func (t *testUDPShutdownServer) OnTraffic(c Conn) (action Action) { method OnTick (line 1299) | func (t *testUDPShutdownServer) OnTick() (delay time.Duration, action ... function testUDPShutdown (line 1320) | func testUDPShutdown(t *testing.T, network, addr string) { function TestCloseConnection (line 1326) | func TestCloseConnection(t *testing.T) { type testCloseConnectionServer (line 1330) | type testCloseConnectionServer struct method OnClose (line 1337) | func (t *testCloseConnectionServer) OnClose(Conn, error) (action Actio... method OnTraffic (line 1342) | func (t *testCloseConnectionServer) OnTraffic(c Conn) (action Action) { method OnTick (line 1358) | func (t *testCloseConnectionServer) OnTick() (delay time.Duration, act... function testCloseConnection (line 1380) | func testCloseConnection(t *testing.T, network, addr string) { function TestServerOptionsCheck (line 1386) | func TestServerOptionsCheck(t *testing.T) { function TestStopServer (line 1391) | func TestStopServer(t *testing.T) { type testStopServer (line 1395) | type testStopServer struct method OnBoot (line 1403) | func (t *testStopServer) OnBoot(eng Engine) (action Action) { method OnClose (line 1408) | func (t *testStopServer) OnClose(Conn, error) (action Action) { method OnTraffic (line 1413) | func (t *testStopServer) OnTraffic(c Conn) (action Action) { method OnTick (line 1420) | func (t *testStopServer) OnTick() (delay time.Duration, action Action) { function testStop (line 1450) | func testStop(t *testing.T, network, addr string) { function TestEngineStop (line 1456) | func TestEngineStop(t *testing.T) { type testStopEngine (line 1460) | type testStopEngine struct method OnBoot (line 1470) | func (t *testStopEngine) OnBoot(eng Engine) (action Action) { method OnClose (line 1475) | func (t *testStopEngine) OnClose(Conn, error) (action Action) { method OnTraffic (line 1480) | func (t *testStopEngine) OnTraffic(c Conn) (action Action) { method OnTick (line 1488) | func (t *testStopEngine) OnTick() (delay time.Duration, action Action) { function testEngineStop (line 1514) | func testEngineStop(t *testing.T, network, addr string) { function TestClosedWakeUp (line 1546) | func TestClosedWakeUp(t *testing.T) { type testClosedWakeUpServer (line 1559) | type testClosedWakeUpServer struct method OnBoot (line 1569) | func (s *testClosedWakeUpServer) OnBoot(eng Engine) (action Action) { method OnTraffic (line 1591) | func (s *testClosedWakeUpServer) OnTraffic(c Conn) Action { method OnClose (line 1611) | func (s *testClosedWakeUpServer) OnClose(Conn, error) (action Action) { type testMultiInstLoggerRaceServer (line 1620) | type testMultiInstLoggerRaceServer struct method OnBoot (line 1624) | func (t *testMultiInstLoggerRaceServer) OnBoot(_ Engine) (action Actio... function TestMultiInstLoggerRace (line 1628) | func TestMultiInstLoggerRace(t *testing.T) { type testDisconnectedAsyncWriteServer (line 1652) | type testDisconnectedAsyncWriteServer struct method OnTraffic (line 1660) | func (t *testDisconnectedAsyncWriteServer) OnTraffic(c Conn) Action { method OnTick (line 1703) | func (t *testDisconnectedAsyncWriteServer) OnTick() (delay time.Durati... function TestDisconnectedAsyncWrite (line 1725) | func TestDisconnectedAsyncWrite(t *testing.T) { type simServer (line 1740) | type simServer struct method OnBoot (line 1756) | func (s *simServer) OnBoot(eng Engine) (action Action) { method OnOpen (line 1761) | func (s *simServer) OnOpen(c Conn) (out []byte, action Action) { method OnClose (line 1770) | func (s *simServer) OnClose(_ Conn, err error) (action Action) { method OnTraffic (line 1784) | func (s *simServer) OnTraffic(c Conn) (action Action) { method OnTick (line 1811) | func (s *simServer) OnTick() (delay time.Duration, action Action) { constant magicNumber (line 1826) | magicNumber = 1314 constant magicNumberSize (line 1827) | magicNumberSize = 2 constant bodySize (line 1828) | bodySize = 4 function init (line 1833) | func init() { type testCodec (line 1850) | type testCodec struct method Encode (line 1852) | func (codec testCodec) Encode(buf []byte) ([]byte, error) { method Decode (line 1864) | func (codec testCodec) Decode(c Conn) ([]byte, error) { method Unpack (line 1894) | func (codec testCodec) Unpack(buf []byte) ([]byte, error) { function TestSimServer (line 1913) | func TestSimServer(t *testing.T) { function runSimServer (line 1943) | func runSimServer(t *testing.T, addr string, et bool, nclients, packetSi... function runSimClient (line 1969) | func runSimClient(t *testing.T, network, addr string, packetSize, batch ... function batchSendAndRecv (line 1996) | func batchSendAndRecv(t *testing.T, c net.Conn, rd *bufio.Reader, packet... type testUDPSendtoServer (line 2025) | type testUDPSendtoServer struct method OnBoot (line 2039) | func (t *testUDPSendtoServer) OnBoot(_ Engine) (action Action) { method OnTraffic (line 2045) | func (t *testUDPSendtoServer) OnTraffic(c Conn) Action { method OnTick (line 2065) | func (t *testUDPSendtoServer) OnTick() (delay time.Duration, action Ac... function TestUDPSendtoServer (line 2098) | func TestUDPSendtoServer(t *testing.T) { function startUDPEchoServer (line 2110) | func startUDPEchoServer(t *testing.T, c *net.UDPConn) { function startStreamEchoServer (line 2128) | func startStreamEchoServer(t *testing.T, ln net.Listener) { type streamProxyServer (line 2165) | type streamProxyServer struct method OnShutdown (line 2190) | func (p *streamProxyServer) OnShutdown(eng Engine) { method OnOpen (line 2195) | func (p *streamProxyServer) OnOpen(c Conn) (out []byte, action Action) { method OnClose (line 2264) | func (p *streamProxyServer) OnClose(c Conn, err error) (action Action) { method OnTraffic (line 2292) | func (p *streamProxyServer) OnTraffic(c Conn) Action { method OnTick (line 2311) | func (p *streamProxyServer) OnTick() (time.Duration, Action) { function TestStreamProxyServer (line 2324) | func TestStreamProxyServer(t *testing.T) { function testStreamProxyServer (line 2410) | func testStreamProxyServer(t *testing.T, addr string, backendServers []s... type udpProxyServer (line 2485) | type udpProxyServer struct method OnBoot (line 2512) | func (p *udpProxyServer) OnBoot(eng Engine) (action Action) { method OnShutdown (line 2520) | func (p *udpProxyServer) OnShutdown(Engine) { method OnOpen (line 2525) | func (p *udpProxyServer) OnOpen(c Conn) (out []byte, action Action) { method OnTraffic (line 2536) | func (p *udpProxyServer) OnTraffic(c Conn) Action { method OnTick (line 2561) | func (p *udpProxyServer) OnTick() (delay time.Duration, action Action) { function TestUDPProxyServer (line 2619) | func TestUDPProxyServer(t *testing.T) { function testUDPProxyServer (line 2677) | func testUDPProxyServer(t *testing.T, addr string, backendServers []stri... FILE: internal/gfd/gfd.go constant ConnMatrixColumnOffset (line 33) | ConnMatrixColumnOffset = 2 constant SequenceOffset (line 34) | SequenceOffset = 4 constant FdOffset (line 35) | FdOffset = 8 constant EventLoopIndexMax (line 36) | EventLoopIndexMax = math.MaxUint8 + 1 constant ConnMatrixRowMax (line 37) | ConnMatrixRowMax = math.MaxUint8 + 1 constant ConnMatrixColumnMax (line 38) | ConnMatrixColumnMax = math.MaxUint16 + 1 type monotoneSeq (line 41) | type monotoneSeq method Inc (line 43) | func (seq *monotoneSeq) Inc() uint32 { type GFD (line 50) | type GFD method Fd (line 53) | func (gfd GFD) Fd() int { method EventLoopIndex (line 58) | func (gfd GFD) EventLoopIndex() int { method ConnMatrixRow (line 63) | func (gfd GFD) ConnMatrixRow() int { method ConnMatrixColumn (line 68) | func (gfd GFD) ConnMatrixColumn() int { method Sequence (line 73) | func (gfd GFD) Sequence() uint32 { method UpdateIndexes (line 78) | func (gfd *GFD) UpdateIndexes(row, column int) { method Validate (line 84) | func (gfd GFD) Validate() bool { function NewGFD (line 93) | func NewGFD(fd, elIndex, row, column int) (gfd GFD) { FILE: listener_unix.go type listener (line 34) | type listener struct method packPollAttachment (line 44) | func (ln *listener) packPollAttachment(handler netpoll.PollEventHandle... method dup (line 49) | func (ln *listener) dup() (int, error) { method open (line 53) | func (ln *listener) open() (err error) { method close (line 72) | func (ln *listener) close() { function initListener (line 84) | func initListener(network, addr string, options *Options) (ln *listener,... FILE: listener_windows.go type listener (line 31) | type listener struct method dup (line 41) | func (l *listener) dup() (int, error) { method open (line 87) | func (l *listener) open() (err error) { method close (line 108) | func (l *listener) close() { function initListener (line 119) | func initListener(network, addr string, options *Options) (*listener, er... FILE: load_balancer.go type LoadBalancing (line 25) | type LoadBalancing constant RoundRobin (line 29) | RoundRobin LoadBalancing = iota constant LeastConnections (line 33) | LeastConnections constant SourceAddrHash (line 36) | SourceAddrHash type loadBalancer (line 41) | type loadBalancer interface type baseLoadBalancer (line 50) | type baseLoadBalancer struct method register (line 75) | func (lb *baseLoadBalancer) register(el *eventloop) { method index (line 82) | func (lb *baseLoadBalancer) index(i int) *eventloop { method iterate (line 90) | func (lb *baseLoadBalancer) iterate(f func(int, *eventloop) bool) { method len (line 99) | func (lb *baseLoadBalancer) len() int { type roundRobinLoadBalancer (line 56) | type roundRobinLoadBalancer struct method next (line 106) | func (lb *roundRobinLoadBalancer) next(_ net.Addr) (el *eventloop) { type leastConnectionsLoadBalancer (line 62) | type leastConnectionsLoadBalancer struct method next (line 114) | func (lb *leastConnectionsLoadBalancer) next(_ net.Addr) (el *eventloo... type sourceAddrHashLoadBalancer (line 67) | type sourceAddrHashLoadBalancer struct method hash (line 129) | func (*sourceAddrHashLoadBalancer) hash(s string) int { method next (line 138) | func (lb *sourceAddrHashLoadBalancer) next(netAddr net.Addr) *eventloop { FILE: options.go type Option (line 24) | type Option function loadOptions (line 26) | func loadOptions(options ...Option) *Options { type TCPSocketOpt (line 35) | type TCPSocketOpt constant TCPNoDelay (line 39) | TCPNoDelay TCPSocketOpt = iota constant TCPDelay (line 40) | TCPDelay type Options (line 44) | type Options struct function WithOptions (line 163) | func WithOptions(options Options) Option { function WithMulticore (line 170) | func WithMulticore(multicore bool) Option { function WithLockOSThread (line 177) | func WithLockOSThread(lockOSThread bool) Option { function WithReadBufferCap (line 184) | func WithReadBufferCap(readBufferCap int) Option { function WithWriteBufferCap (line 191) | func WithWriteBufferCap(writeBufferCap int) Option { function WithLoadBalancing (line 198) | func WithLoadBalancing(lb LoadBalancing) Option { function WithNumEventLoop (line 205) | func WithNumEventLoop(numEventLoop int) Option { function WithReusePort (line 212) | func WithReusePort(reusePort bool) Option { function WithReuseAddr (line 219) | func WithReuseAddr(reuseAddr bool) Option { function WithTCPKeepAlive (line 226) | func WithTCPKeepAlive(tcpKeepAlive time.Duration) Option { function WithTCPKeepInterval (line 233) | func WithTCPKeepInterval(tcpKeepInterval time.Duration) Option { function WithTCPKeepCount (line 241) | func WithTCPKeepCount(tcpKeepCount int) Option { function WithTCPNoDelay (line 248) | func WithTCPNoDelay(tcpNoDelay TCPSocketOpt) Option { function WithSocketRecvBuffer (line 255) | func WithSocketRecvBuffer(recvBuf int) Option { function WithSocketSendBuffer (line 262) | func WithSocketSendBuffer(sendBuf int) Option { function WithTicker (line 269) | func WithTicker(ticker bool) Option { function WithLogPath (line 276) | func WithLogPath(fileName string) Option { function WithLogLevel (line 283) | func WithLogLevel(lvl logging.Level) Option { function WithLogger (line 290) | func WithLogger(logger logging.Logger) Option { function WithMulticastInterfaceIndex (line 297) | func WithMulticastInterfaceIndex(idx int) Option { function WithBindToDevice (line 307) | func WithBindToDevice(iface string) Option { function WithEdgeTriggeredIO (line 314) | func WithEdgeTriggeredIO(et bool) Option { function WithEdgeTriggeredIOChunk (line 322) | func WithEdgeTriggeredIOChunk(chunk int) Option { FILE: os_unix_test.go function TestServeMulticast (line 31) | func TestServeMulticast(t *testing.T) { function findLoopbackInterface (line 65) | func findLoopbackInterface() (*net.Interface, error) { function testMulticast (line 78) | func testMulticast(t *testing.T, addr string, reuseport, reuseaddr bool,... type testMcastServer (line 97) | type testMcastServer struct method startMcastClient (line 107) | func (s *testMcastServer) startMcastClient() { method OnTraffic (line 137) | func (s *testMcastServer) OnTraffic(c Conn) (action Action) { method OnTick (line 147) | func (s *testMcastServer) OnTick() (delay time.Duration, action Action) { type testMulticastBindServer (line 166) | type testMulticastBindServer struct method OnTick (line 170) | func (t *testMulticastBindServer) OnTick() (delay time.Duration, actio... function TestMulticastBindIPv4 (line 175) | func TestMulticastBindIPv4(t *testing.T) { function TestMulticastBindIPv6 (line 185) | func TestMulticastBindIPv6(t *testing.T) { function detectLinuxEthernetInterfaceName (line 195) | func detectLinuxEthernetInterfaceName() (string, error) { function getInterfaceIP (line 218) | func getInterfaceIP(ifname string, ipv4 bool) (net.IP, error) { type testBindToDeviceServer (line 245) | type testBindToDeviceServer struct function netDial (line 257) | func netDial[T *net.TCPAddr | *net.UDPAddr](network string, a T) (net.Co... method OnTraffic (line 269) | func (s *testBindToDeviceServer[T]) OnTraffic(c Conn) (action Action) { method OnShutdown (line 279) | func (s *testBindToDeviceServer[T]) OnShutdown(_ Engine) { method OnTick (line 283) | func (s *testBindToDeviceServer[T]) OnTick() (delay time.Duration, actio... function TestBindToDevice (line 319) | func TestBindToDevice(t *testing.T) { FILE: os_windows_test.go function SysClose (line 9) | func SysClose(fd int) error { FILE: pkg/bs/bs.go function BytesToString (line 23) | func BytesToString(b []byte) string { function StringToBytes (line 28) | func StringToBytes(s string) []byte { FILE: pkg/buffer/elastic/elastic_buffer_test.go function TestMixedBuffer_Basic (line 13) | func TestMixedBuffer_Basic(t *testing.T) { function TestMixedBuffer_ReadFrom (line 107) | func TestMixedBuffer_ReadFrom(t *testing.T) { function TestMixedBuffer_WriteTo (line 150) | func TestMixedBuffer_WriteTo(t *testing.T) { FILE: pkg/buffer/elastic/elastic_ring_buffer.go type RingBuffer (line 26) | type RingBuffer struct method instance (line 30) | func (b *RingBuffer) instance() *ring.Buffer { method Done (line 39) | func (b *RingBuffer) Done() { method done (line 46) | func (b *RingBuffer) done() { method Peek (line 55) | func (b *RingBuffer) Peek(n int) (head []byte, tail []byte) { method Discard (line 63) | func (b *RingBuffer) Discard(n int) (int, error) { method Read (line 83) | func (b *RingBuffer) Read(p []byte) (int, error) { method ReadByte (line 93) | func (b *RingBuffer) ReadByte() (byte, error) { method Write (line 108) | func (b *RingBuffer) Write(p []byte) (int, error) { method WriteByte (line 116) | func (b *RingBuffer) WriteByte(c byte) error { method Buffered (line 121) | func (b *RingBuffer) Buffered() int { method Len (line 129) | func (b *RingBuffer) Len() int { method Cap (line 137) | func (b *RingBuffer) Cap() int { method Available (line 145) | func (b *RingBuffer) Available() int { method WriteString (line 153) | func (b *RingBuffer) WriteString(s string) (int, error) { method Bytes (line 161) | func (b *RingBuffer) Bytes() []byte { method ReadFrom (line 169) | func (b *RingBuffer) ReadFrom(r io.Reader) (int64, error) { method WriteTo (line 174) | func (b *RingBuffer) WriteTo(w io.Writer) (int64, error) { method IsFull (line 184) | func (b *RingBuffer) IsFull() bool { method IsEmpty (line 192) | func (b *RingBuffer) IsEmpty() bool { method Reset (line 200) | func (b *RingBuffer) Reset() { FILE: pkg/buffer/elastic/elastic_ring_list_buffer.go type Buffer (line 29) | type Buffer struct method Read (line 44) | func (mb *Buffer) Read(p []byte) (n int, err error) { method Peek (line 56) | func (mb *Buffer) Peek(n int) ([][]byte, error) { method Discard (line 70) | func (mb *Buffer) Discard(n int) (discarded int, err error) { method Write (line 84) | func (mb *Buffer) Write(p []byte) (n int, err error) { method Writev (line 101) | func (mb *Buffer) Writev(bs [][]byte) (int, error) { method ReadFrom (line 135) | func (mb *Buffer) ReadFrom(r io.Reader) (int64, error) { method WriteTo (line 143) | func (mb *Buffer) WriteTo(w io.Writer) (n int64, err error) { method Buffered (line 154) | func (mb *Buffer) Buffered() int { method IsEmpty (line 159) | func (mb *Buffer) IsEmpty() bool { method Reset (line 164) | func (mb *Buffer) Reset(maxStaticBytes int) { method Release (line 173) | func (mb *Buffer) Release() { function New (line 36) | func New(maxStaticBytes int) (*Buffer, error) { FILE: pkg/buffer/linkedlist/linked_list_buffer.go type node (line 25) | type node struct method len (line 30) | func (b *node) len() int { type Buffer (line 35) | type Buffer struct method Read (line 43) | func (llb *Buffer) Read(p []byte) (n int, err error) { method AllocNode (line 69) | func (llb *Buffer) AllocNode(n int) []byte { method FreeNode (line 74) | func (llb *Buffer) FreeNode(p []byte) { method Append (line 79) | func (llb *Buffer) Append(p []byte) { method Pop (line 88) | func (llb *Buffer) Pop() []byte { method PushFront (line 97) | func (llb *Buffer) PushFront(p []byte) { method PushBack (line 108) | func (llb *Buffer) PushBack(p []byte) { method Peek (line 120) | func (llb *Buffer) Peek(maxBytes int) ([][]byte, error) { method PeekWithBytes (line 142) | func (llb *Buffer) PeekWithBytes(maxBytes int, bs ...[]byte) ([][]byte... method Discard (line 176) | func (llb *Buffer) Discard(n int) (discarded int, err error) { method ReadFrom (line 201) | func (llb *Buffer) ReadFrom(r io.Reader) (n int64, err error) { method WriteTo (line 224) | func (llb *Buffer) WriteTo(w io.Writer) (n int64, err error) { method Len (line 246) | func (llb *Buffer) Len() int { method Buffered (line 251) | func (llb *Buffer) Buffered() int { method IsEmpty (line 256) | func (llb *Buffer) IsEmpty() bool { method Reset (line 261) | func (llb *Buffer) Reset() { method pop (line 272) | func (llb *Buffer) pop() *node { method pushFront (line 288) | func (llb *Buffer) pushFront(b *node) { method pushBack (line 304) | func (llb *Buffer) pushBack(b *node) { constant minRead (line 198) | minRead = 512 FILE: pkg/buffer/linkedlist/llbuffer_test.go function TestLinkedListBuffer_Basic (line 12) | func TestLinkedListBuffer_Basic(t *testing.T) { function TestLinkedListBuffer_ReadFrom (line 70) | func TestLinkedListBuffer_ReadFrom(t *testing.T) { function TestLinkedListBuffer_WriteTo (line 104) | func TestLinkedListBuffer_WriteTo(t *testing.T) { FILE: pkg/buffer/ring/ring_buffer.go constant MinRead (line 38) | MinRead = 512 constant DefaultBufferSize (line 40) | DefaultBufferSize = 1024 constant bufferGrowThreshold (line 41) | bufferGrowThreshold = 4 * 1024 type Buffer (line 48) | type Buffer struct method Peek (line 71) | func (rb *Buffer) Peek(n int) (head []byte, tail []byte) { method peekAll (line 107) | func (rb *Buffer) peekAll() (head []byte, tail []byte) { method Discard (line 126) | func (rb *Buffer) Discard(n int) (discarded int, err error) { method Read (line 151) | func (rb *Buffer) Read(p []byte) (n int, err error) { method ReadByte (line 195) | func (rb *Buffer) ReadByte() (b byte, err error) { method Write (line 217) | func (rb *Buffer) Write(p []byte) (n int, err error) { method WriteByte (line 254) | func (rb *Buffer) WriteByte(c byte) error { method Buffered (line 270) | func (rb *Buffer) Buffered() int { method Len (line 286) | func (rb *Buffer) Len() int { method Cap (line 291) | func (rb *Buffer) Cap() int { method Available (line 296) | func (rb *Buffer) Available() int { method WriteString (line 312) | func (rb *Buffer) WriteString(s string) (int, error) { method Bytes (line 317) | func (rb *Buffer) Bytes() []byte { method ReadFrom (line 343) | func (rb *Buffer) ReadFrom(r io.Reader) (n int64, err error) { method WriteTo (line 395) | func (rb *Buffer) WriteTo(w io.Writer) (int64, error) { method IsFull (line 472) | func (rb *Buffer) IsFull() bool { method IsEmpty (line 477) | func (rb *Buffer) IsEmpty() bool { method Reset (line 482) | func (rb *Buffer) Reset() { method grow (line 487) | func (rb *Buffer) grow(newCap int) { function New (line 57) | func New(size int) *Buffer { FILE: pkg/buffer/ring/ring_buffer_test.go function TestRingBuffer_Write (line 13) | func TestRingBuffer_Write(t *testing.T) { function TestZeroRingBuffer (line 101) | func TestZeroRingBuffer(t *testing.T) { function TestRingBufferGrow (line 121) | func TestRingBufferGrow(t *testing.T) { function TestRingBuffer_Read (line 180) | func TestRingBuffer_Read(t *testing.T) { function TestRingBuffer_ByteInterface (line 246) | func TestRingBuffer_ByteInterface(t *testing.T) { function TestRingBuffer_ReadFrom (line 305) | func TestRingBuffer_ReadFrom(t *testing.T) { function TestRingBuffer_WriteTo (line 382) | func TestRingBuffer_WriteTo(t *testing.T) { FILE: pkg/io/io_bsd.go function Writev (line 30) | func Writev(fd int, bs [][]byte) (int, error) { function Readv (line 47) | func Readv(fd int, bs [][]byte) (int, error) { function bytes2iovec (line 62) | func bytes2iovec(bs [][]byte) []unix.Iovec { FILE: pkg/io/io_linux.go function Writev (line 23) | func Writev(fd int, iov [][]byte) (int, error) { function Readv (line 31) | func Readv(fd int, iov [][]byte) (int, error) { FILE: pkg/logging/logger.go constant DebugLevel (line 79) | DebugLevel = zapcore.DebugLevel constant InfoLevel (line 81) | InfoLevel = zapcore.InfoLevel constant WarnLevel (line 84) | WarnLevel = zapcore.WarnLevel constant ErrorLevel (line 87) | ErrorLevel = zapcore.ErrorLevel constant DPanicLevel (line 90) | DPanicLevel = zapcore.DPanicLevel constant PanicLevel (line 92) | PanicLevel = zapcore.PanicLevel constant FatalLevel (line 94) | FatalLevel = zapcore.FatalLevel function init (line 97) | func init() { type prefixEncoder (line 126) | type prefixEncoder struct method EncodeEntry (line 133) | func (e *prefixEncoder) EncodeEntry(entry zapcore.Entry, fields []zapc... function getDevEncoder (line 152) | func getDevEncoder() zapcore.Encoder { function getProdEncoder (line 163) | func getProdEncoder() zapcore.Encoder { function GetDefaultLogger (line 175) | func GetDefaultLogger() Logger { function GetDefaultFlusher (line 182) | func GetDefaultFlusher() Flusher { function SetDefaultLoggerAndFlusher (line 189) | func SetDefaultLoggerAndFlusher(logger Logger, flusher Flusher) { function LogLevel (line 196) | func LogLevel() string { function CreateLoggerAsLocalFile (line 201) | func CreateLoggerAsLocalFile(localFilePath string, logLevel Level) (logg... function Cleanup (line 229) | func Cleanup() { function Error (line 238) | func Error(err error) { function Debugf (line 247) | func Debugf(format string, args ...any) { function Infof (line 254) | func Infof(format string, args ...any) { function Warnf (line 261) | func Warnf(format string, args ...any) { function Errorf (line 268) | func Errorf(format string, args ...any) { function Fatalf (line 275) | func Fatalf(format string, args ...any) { type Logger (line 282) | type Logger interface FILE: pkg/math/math.go constant bitSize (line 21) | bitSize = 32 << (^uint(0) >> 63) constant maxintHeadBit (line 22) | maxintHeadBit = 1 << (bitSize - 2) function IsPowerOfTwo (line 26) | func IsPowerOfTwo(n int) bool { function CeilToPowerOfTwo (line 31) | func CeilToPowerOfTwo(n int) int { function FloorToPowerOfTwo (line 43) | func FloorToPowerOfTwo(n int) int { function ClosestPowerOfTwo (line 58) | func ClosestPowerOfTwo(n int) int { FILE: pkg/math/math_test.go function TestCeilToPowerOfTwo (line 5) | func TestCeilToPowerOfTwo(t *testing.T) { FILE: pkg/netpoll/defs_linux_386.go type epollevent (line 8) | type epollevent struct FILE: pkg/netpoll/defs_linux_amd64.go type epollevent (line 8) | type epollevent struct FILE: pkg/netpoll/defs_linux_arm.go type epollevent (line 9) | type epollevent struct FILE: pkg/netpoll/defs_linux_arm64.go type epollevent (line 8) | type epollevent struct FILE: pkg/netpoll/defs_linux_mips64x.go type epollevent (line 9) | type epollevent struct FILE: pkg/netpoll/defs_linux_mipsx.go type epollevent (line 9) | type epollevent struct FILE: pkg/netpoll/defs_linux_ppc64.go type epollevent (line 8) | type epollevent struct FILE: pkg/netpoll/defs_linux_ppc64le.go type epollevent (line 8) | type epollevent struct FILE: pkg/netpoll/defs_linux_riscv64.go type epollevent (line 9) | type epollevent struct FILE: pkg/netpoll/defs_linux_s390x.go type epollevent (line 9) | type epollevent struct FILE: pkg/netpoll/defs_poller.go type PollEventHandler (line 20) | type PollEventHandler type PollAttachment (line 23) | type PollAttachment struct FILE: pkg/netpoll/defs_poller_epoll.go constant InitPollEventsCap (line 29) | InitPollEventsCap = 128 constant MaxPollEventsCap (line 31) | MaxPollEventsCap = 1024 constant MinPollEventsCap (line 33) | MinPollEventsCap = 32 constant MaxAsyncTasksAtOneTime (line 35) | MaxAsyncTasksAtOneTime = 256 constant ReadEvents (line 37) | ReadEvents = unix.EPOLLIN | unix.EPOLLPRI constant WriteEvents (line 39) | WriteEvents = unix.EPOLLOUT constant ReadWriteEvents (line 41) | ReadWriteEvents = ReadEvents | WriteEvents constant ErrEvents (line 43) | ErrEvents = unix.EPOLLERR | unix.EPOLLHUP function IsReadEvent (line 47) | func IsReadEvent(event IOEvent) bool { function IsWriteEvent (line 52) | func IsWriteEvent(event IOEvent) bool { function IsErrorEvent (line 57) | func IsErrorEvent(event IOEvent, _ IOFlags) bool { type eventList (line 61) | type eventList struct method expand (line 70) | func (el *eventList) expand() { method shrink (line 77) | func (el *eventList) shrink() { function newEventList (line 66) | func newEventList(size int) *eventList { FILE: pkg/netpoll/defs_poller_kqueue.go constant InitPollEventsCap (line 23) | InitPollEventsCap = 64 constant MaxPollEventsCap (line 25) | MaxPollEventsCap = 512 constant MinPollEventsCap (line 27) | MinPollEventsCap = 16 constant MaxAsyncTasksAtOneTime (line 29) | MaxAsyncTasksAtOneTime = 128 constant ReadEvents (line 31) | ReadEvents = unix.EVFILT_READ constant WriteEvents (line 33) | WriteEvents = unix.EVFILT_WRITE constant ReadWriteEvents (line 35) | ReadWriteEvents = ReadEvents | WriteEvents constant ErrEvents (line 37) | ErrEvents = unix.EV_EOF | unix.EV_ERROR function IsReadEvent (line 41) | func IsReadEvent(event IOEvent) bool { function IsWriteEvent (line 46) | func IsWriteEvent(event IOEvent) bool { function IsErrorEvent (line 51) | func IsErrorEvent(_ IOEvent, flags IOFlags) bool { type eventList (line 55) | type eventList struct method expand (line 64) | func (el *eventList) expand() { method shrink (line 71) | func (el *eventList) shrink() { function newEventList (line 60) | func newEventList(size int) *eventList { FILE: pkg/netpoll/example_test.go function Example (line 31) | func Example() { FILE: pkg/netpoll/poller_epoll_default.go type Poller (line 35) | type Poller struct method Close (line 72) | func (p *Poller) Close() error { method Trigger (line 90) | func (p *Poller) Trigger(priority queue.EventPriority, fn queue.Func, ... method Polling (line 115) | func (p *Poller) Polling(callback PollEventHandler) error { method AddReadWrite (line 189) | func (p *Poller) AddReadWrite(pa *PollAttachment, edgeTriggered bool) ... method AddRead (line 199) | func (p *Poller) AddRead(pa *PollAttachment, edgeTriggered bool) error { method AddWrite (line 209) | func (p *Poller) AddWrite(pa *PollAttachment, edgeTriggered bool) error { method ModRead (line 219) | func (p *Poller) ModRead(pa *PollAttachment, edgeTriggered bool) error { method ModReadWrite (line 229) | func (p *Poller) ModReadWrite(pa *PollAttachment, edgeTriggered bool) ... method Delete (line 239) | func (p *Poller) Delete(fd int) error { function OpenPoller (line 46) | func OpenPoller() (poller *Poller, err error) { FILE: pkg/netpoll/poller_epoll_ultimate.go type Poller (line 34) | type Poller struct method Close (line 73) | func (p *Poller) Close() error { method Trigger (line 91) | func (p *Poller) Trigger(priority queue.EventPriority, fn queue.Func, ... method Polling (line 116) | func (p *Poller) Polling() error { method AddReadWrite (line 191) | func (p *Poller) AddReadWrite(pa *PollAttachment, edgeTriggered bool) ... method AddRead (line 202) | func (p *Poller) AddRead(pa *PollAttachment, edgeTriggered bool) error { method AddWrite (line 213) | func (p *Poller) AddWrite(pa *PollAttachment, edgeTriggered bool) error { method ModRead (line 224) | func (p *Poller) ModRead(pa *PollAttachment, edgeTriggered bool) error { method ModReadWrite (line 235) | func (p *Poller) ModReadWrite(pa *PollAttachment, edgeTriggered bool) ... method Delete (line 246) | func (p *Poller) Delete(fd int) error { function OpenPoller (line 45) | func OpenPoller() (poller *Poller, err error) { FILE: pkg/netpoll/poller_kqueue_default.go type Poller (line 33) | type Poller struct method Close (line 63) | func (p *Poller) Close() error { method Trigger (line 77) | func (p *Poller) Trigger(priority queue.EventPriority, fn queue.Func, ... method Polling (line 95) | func (p *Poller) Polling(callback PollEventHandler) error { method AddReadWrite (line 165) | func (p *Poller) AddReadWrite(pa *PollAttachment, edgeTriggered bool) ... method AddRead (line 178) | func (p *Poller) AddRead(pa *PollAttachment, edgeTriggered bool) error { method AddWrite (line 190) | func (p *Poller) AddWrite(pa *PollAttachment, edgeTriggered bool) error { method ModRead (line 202) | func (p *Poller) ModRead(pa *PollAttachment, _ bool) error { method ModReadWrite (line 210) | func (p *Poller) ModReadWrite(pa *PollAttachment, edgeTriggered bool) ... method Delete (line 222) | func (*Poller) Delete(_ int) error { function OpenPoller (line 43) | func OpenPoller() (poller *Poller, err error) { FILE: pkg/netpoll/poller_kqueue_ultimate.go type Poller (line 34) | type Poller struct method Close (line 64) | func (p *Poller) Close() error { method Trigger (line 78) | func (p *Poller) Trigger(priority queue.EventPriority, fn queue.Func, ... method Polling (line 96) | func (p *Poller) Polling() error { method AddReadWrite (line 167) | func (p *Poller) AddReadWrite(pa *PollAttachment, edgeTriggered bool) ... method AddRead (line 183) | func (p *Poller) AddRead(pa *PollAttachment, edgeTriggered bool) error { method AddWrite (line 197) | func (p *Poller) AddWrite(pa *PollAttachment, edgeTriggered bool) error { method ModRead (line 211) | func (p *Poller) ModRead(pa *PollAttachment, _ bool) error { method ModReadWrite (line 221) | func (p *Poller) ModReadWrite(pa *PollAttachment, edgeTriggered bool) ... method Delete (line 235) | func (p *Poller) Delete(_ int) error { function OpenPoller (line 44) | func OpenPoller() (poller *Poller, err error) { FILE: pkg/netpoll/poller_kqueue_wakeup.go method addWakeupEvent (line 25) | func (p *Poller) addWakeupEvent() error { method wakePoller (line 34) | func (p *Poller) wakePoller() error { method drainWakeupEvent (line 54) | func (p *Poller) drainWakeupEvent() {} FILE: pkg/netpoll/poller_kqueue_wakeup1.go method addWakeupEvent (line 32) | func (p *Poller) addWakeupEvent() error { method wakePoller (line 45) | func (p *Poller) wakePoller() error { method drainWakeupEvent (line 58) | func (p *Poller) drainWakeupEvent() { FILE: pkg/netpoll/poller_unix_ultimate.go function convertPollAttachment (line 21) | func convertPollAttachment(ptr unsafe.Pointer, attachment *PollAttachmen... function restorePollAttachment (line 25) | func restorePollAttachment(ptr unsafe.Pointer) *PollAttachment { FILE: pkg/netpoll/syscall_epoll_generic_linux.go function epollWait (line 25) | func epollWait(epfd int, events []epollevent, msec int) (int, error) { FILE: pkg/netpoll/syscall_epoll_linux.go function epollCtl (line 25) | func epollCtl(epfd int, op int, fd int, event *epollevent) error { FILE: pkg/netpoll/syscall_epoll_riscv64_arm64_linux.go function epollWait (line 25) | func epollWait(epfd int, events []epollevent, msec int) (int, error) { FILE: pkg/netpoll/syscall_errors_linux.go function errnoErr (line 21) | func errnoErr(e unix.Errno) error { FILE: pkg/pool/byteslice/byteslice.go type Pool (line 29) | type Pool struct method Get (line 44) | func (p *Pool) Get(size int) []byte { method Put (line 60) | func (p *Pool) Put(buf []byte) { function Get (line 34) | func Get(size int) []byte { function Put (line 39) | func Put(buf []byte) { function index (line 74) | func index(n uint32) uint32 { FILE: pkg/pool/byteslice/byteslice_test.go function TestByteSlice (line 8) | func TestByteSlice(t *testing.T) { function BenchmarkByteSlice (line 32) | func BenchmarkByteSlice(b *testing.B) { FILE: pkg/pool/goroutine/goroutine.go constant DefaultAntsPoolSize (line 28) | DefaultAntsPoolSize = 1 << 18 constant ExpiryDuration (line 31) | ExpiryDuration = 10 * time.Second constant Nonblocking (line 35) | Nonblocking = true function init (line 38) | func init() { type antsLogger (line 49) | type antsLogger struct method Printf (line 54) | func (l antsLogger) Printf(format string, args ...any) { function Default (line 59) | func Default() *Pool { FILE: pkg/pool/ringbuffer/ringbuffer.go constant minBitSize (line 32) | minBitSize = 6 constant steps (line 33) | steps = 20 constant minSize (line 35) | minSize = 1 << minBitSize constant calibrateCallsThreshold (line 37) | calibrateCallsThreshold = 42000 constant maxPercentile (line 38) | maxPercentile = 0.95 type Pool (line 49) | type Pool struct method Get (line 72) | func (p *Pool) Get() *RingBuffer { method Put (line 89) | func (p *Pool) Put(b *RingBuffer) { method calibrate (line 103) | func (p *Pool) calibrate() { function Get (line 66) | func Get() *RingBuffer { return builtinPool.Get() } function Put (line 84) | func Put(b *RingBuffer) { builtinPool.Put(b) } type callSize (line 142) | type callSize struct type callSizes (line 147) | type callSizes method Len (line 149) | func (ci callSizes) Len() int { method Less (line 153) | func (ci callSizes) Less(i, j int) bool { method Swap (line 157) | func (ci callSizes) Swap(i, j int) { function index (line 161) | func index(n int) int { FILE: pkg/queue/lock_free_queue.go type lockFreeQueue (line 86) | type lockFreeQueue struct method Enqueue (line 104) | func (q *lockFreeQueue) Enqueue(task *Task) { method Dequeue (line 129) | func (q *lockFreeQueue) Dequeue() *Task { method IsEmpty (line 156) | func (q *lockFreeQueue) IsEmpty() bool { method Length (line 161) | func (q *lockFreeQueue) Length() int32 { type node (line 92) | type node struct function NewLockFreeQueue (line 98) | func NewLockFreeQueue() AsyncTaskQueue { function load (line 165) | func load(p *unsafe.Pointer) (n *node) { function cas (line 169) | func cas(p *unsafe.Pointer, old, new *node) bool { //nolint:revive FILE: pkg/queue/queue.go type Func (line 21) | type Func type Task (line 24) | type Task struct function GetTask (line 32) | func GetTask() *Task { function PutTask (line 37) | func PutTask(task *Task) { type AsyncTaskQueue (line 43) | type AsyncTaskQueue interface type EventPriority (line 51) | type EventPriority constant HighPriority (line 56) | HighPriority EventPriority = iota constant LowPriority (line 59) | LowPriority FILE: pkg/queue/queue_test.go function TestLockFreeQueue (line 11) | func TestLockFreeQueue(t *testing.T) { FILE: pkg/socket/fd_unix.go function Dup (line 27) | func Dup(fd int) (int, error) { function init (line 35) | func init() { function dupCloseOnExec (line 40) | func dupCloseOnExec(fd int) (int, error) { function dupCloseOnExecOld (line 61) | func dupCloseOnExecOld(fd int) (int, error) { FILE: pkg/socket/sock_bsd.go function maxListenerBacklog (line 26) | func maxListenerBacklog() int { FILE: pkg/socket/sock_cloexec.go function sysSocket (line 21) | func sysSocket(family, sotype, proto int) (int, error) { function sysAccept (line 25) | func sysAccept(fd int) (nfd int, sa unix.Sockaddr, err error) { FILE: pkg/socket/sock_linux.go function maxListenerBacklog (line 27) | func maxListenerBacklog() int { FILE: pkg/socket/sock_posix.go function ipToSockaddrInet4 (line 27) | func ipToSockaddrInet4(ip net.IP, port int) (unix.SockaddrInet4, error) { function ipToSockaddrInet6 (line 40) | func ipToSockaddrInet6(ip net.IP, port int, zone string) (unix.SockaddrI... function ipToSockaddr (line 72) | func ipToSockaddr(family int, ip net.IP, port int, zone string) (unix.So... FILE: pkg/socket/sockaddr.go function NetAddrToSockaddr (line 32) | func NetAddrToSockaddr(addr net.Addr) unix.Sockaddr { function IPAddrToSockaddr (line 50) | func IPAddrToSockaddr(addr *net.IPAddr) unix.Sockaddr { function TCPAddrToSockaddr (line 56) | func TCPAddrToSockaddr(addr *net.TCPAddr) unix.Sockaddr { function UDPAddrToSockaddr (line 62) | func UDPAddrToSockaddr(addr *net.UDPAddr) unix.Sockaddr { function IPToSockaddr (line 68) | func IPToSockaddr(ip net.IP, port int, zone string) unix.Sockaddr { function UnixAddrToSockaddr (line 97) | func UnixAddrToSockaddr(addr *net.UnixAddr) (unix.Sockaddr, int) { function SockaddrToTCPOrUnixAddr (line 114) | func SockaddrToTCPOrUnixAddr(sa unix.Sockaddr) net.Addr { function SockaddrToUDPAddr (line 128) | func SockaddrToUDPAddr(sa unix.Sockaddr) net.Addr { function ip6ZoneToInt (line 140) | func ip6ZoneToInt(zone string) int { function ip6ZoneToString (line 153) | func ip6ZoneToString(zone uint32) string { function itod (line 164) | func itod(v uint) string { constant big (line 179) | big = 0xFFFFFF function dtoi (line 183) | func dtoi(s string, i0 int) (n int, i int, ok bool) { FILE: pkg/socket/socket.go type Option (line 28) | type Option struct function execSockOpts (line 33) | func execSockOpts[T int | string](fd int, opts []Option[T]) error { function TCPSocket (line 44) | func TCPSocket(proto, addr string, passive bool, sockOptInts []Option[in... function UDPSocket (line 50) | func UDPSocket(proto, addr string, connect bool, sockOptInts []Option[in... function UnixSocket (line 56) | func UnixSocket(proto, addr string, passive bool, sockOptInts []Option[i... function Accept (line 62) | func Accept(fd int) (int, unix.Sockaddr, error) { FILE: pkg/socket/sockopts_bsd.go function SetBindToDevice (line 23) | func SetBindToDevice(_ int, _ string) error { FILE: pkg/socket/sockopts_darwin.go function SetKeepAlivePeriod (line 29) | func SetKeepAlivePeriod(fd, secs int) error { function SetKeepAlive (line 43) | func SetKeepAlive(fd int, enabled bool, idle, intvl, cnt int) error { function SetBindToDevice (line 75) | func SetBindToDevice(_ int, _ string) error { FILE: pkg/socket/sockopts_freebsd.go function SetReuseport (line 27) | func SetReuseport(fd, reusePort int) error { FILE: pkg/socket/sockopts_linux.go function SetBindToDevice (line 28) | func SetBindToDevice(fd int, ifname string) error { FILE: pkg/socket/sockopts_openbsd.go function SetKeepAlivePeriod (line 21) | func SetKeepAlivePeriod(_, _ int) error { function SetKeepAlive (line 27) | func SetKeepAlive(_ int, _ bool, _, _, _ int) error { FILE: pkg/socket/sockopts_posix.go function SetNoDelay (line 34) | func SetNoDelay(fd, noDelay int) error { function SetRecvBuffer (line 40) | func SetRecvBuffer(fd, size int) error { function SetSendBuffer (line 46) | func SetSendBuffer(fd, size int) error { function SetReuseAddr (line 51) | func SetReuseAddr(fd, reuseAddr int) error { function SetIPv6Only (line 56) | func SetIPv6Only(fd, ipv6only int) error { function SetLinger (line 72) | func SetLinger(fd, sec int) error { function SetMulticastMembership (line 86) | func SetMulticastMembership(proto string, udpAddr *net.UDPAddr) func(int... function SetIPv4MulticastMembership (line 110) | func SetIPv4MulticastMembership(fd int, mcast net.IP, ifIndex int) error { function SetIPv6MulticastMembership (line 137) | func SetIPv6MulticastMembership(fd int, mcast net.IP, ifIndex int) error { function interfaceFirstIPv4Addr (line 155) | func interfaceFirstIPv4Addr(ifIndex int) (net.IP, error) { FILE: pkg/socket/sockopts_unix.go function SetKeepAlivePeriod (line 29) | func SetKeepAlivePeriod(fd, secs int) error { function SetKeepAlive (line 43) | func SetKeepAlive(fd int, enabled bool, idle, intvl, cnt int) error { FILE: pkg/socket/sockopts_unix1.go function SetReuseport (line 26) | func SetReuseport(fd, reusePort int) error { FILE: pkg/socket/sys_cloexec.go function sysSocket (line 25) | func sysSocket(family, sotype, proto int) (fd int, err error) { function sysAccept (line 40) | func sysAccept(fd int) (nfd int, sa unix.Sockaddr, err error) { FILE: pkg/socket/tcp_socket.go function GetTCPSockAddr (line 33) | func GetTCPSockAddr(proto, addr string) (sa unix.Sockaddr, family int, t... function determineTCPProto (line 63) | func determineTCPProto(proto string, addr *net.TCPAddr) (string, error) { function tcpSocket (line 85) | func tcpSocket(proto, addr string, passive bool, sockOptInts []Option[in... FILE: pkg/socket/udp_socket.go function GetUDPSockAddr (line 31) | func GetUDPSockAddr(proto, addr string) (sa unix.Sockaddr, family int, u... function determineUDPProto (line 61) | func determineUDPProto(proto string, addr *net.UDPAddr) (string, error) { function udpSocket (line 83) | func udpSocket(proto, addr string, connect bool, sockOptInts []Option[in... FILE: pkg/socket/unix_socket.go function GetUnixSockAddr (line 30) | func GetUnixSockAddr(proto, addr string) (sa unix.Sockaddr, family int, ... function udsSocket (line 47) | func udsSocket(proto, addr string, passive bool, sockOptInts []Option[in... FILE: reactor_default.go method rotate (line 27) | func (el *eventloop) rotate() error { method orbit (line 46) | func (el *eventloop) orbit() error { method run (line 79) | func (el *eventloop) run() error { FILE: reactor_ultimate.go method rotate (line 26) | func (el *eventloop) rotate() error { method orbit (line 45) | func (el *eventloop) orbit() error { method run (line 65) | func (el *eventloop) run() error {