Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/shadowsocks/shadowsocks
/ register
Method
register
shadowsocks/eventloop.py:90–92 ·
view source on GitHub ↗
(self, fd, mode)
Source
from the content-addressed store, hash-verified
88
return
results.items()
89
90
def
register(self, fd, mode):
91
self._fds[fd] = mode
92
self._control(fd, mode, select.KQ_EV_ADD)
93
94
def
unregister(self, fd):
95
self._control(fd, self._fds[fd], select.KQ_EV_DELETE)
Callers
2
modify
Method · 0.95
add
Method · 0.45
Calls
1
_control
Method · 0.95
Tested by
no test coverage detected