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

Method check_fullness

sshuttle/ssnet.py:383–387  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

381 return total
382
383 def check_fullness(self):
384 if self.fullness > LATENCY_BUFFER_SIZE:
385 if not self.too_full:
386 self.send(0, CMD_PING, b('rttest'))
387 self.too_full = True
388
389 def send(self, channel, cmd, data):
390 assert isinstance(data, bytes)

Callers 2

_mainFunction · 0.95
mainFunction · 0.95

Calls 2

sendMethod · 0.95
bFunction · 0.90

Tested by

no test coverage detected