MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / pre_select

Method pre_select

sshuttle/ssnet.py:492–495  ·  view source on GitHub ↗
(self, r, w, x)

Source from the content-addressed store, hash-verified

490 break
491
492 def pre_select(self, r, w, x):
493 _add(r, self.rfile)
494 if self.outbuf:
495 _add(w, self.wfile)
496
497 def callback(self, sock):
498 (r, w, _) = select.select([self.rfile], [self.wfile], [], 0)

Callers 1

runonceFunction · 0.45

Calls 1

_addFunction · 0.85

Tested by

no test coverage detected