MCPcopy Create free account
hub / github.com/EasyIME/PIME / _check_max_bytes

Method _check_max_bytes

python/python3/tornado/iostream.py:951–956  ·  view source on GitHub ↗
(self, delimiter: Union[bytes, Pattern], size: int)

Source from the content-addressed store, hash-verified

949 return None
950
951 def _check_max_bytes(self, delimiter: Union[bytes, Pattern], size: int) -> None:
952 if self._read_max_bytes is not None and size > self._read_max_bytes:
953 raise UnsatisfiableReadError(
954 "delimiter %r not found within %d bytes"
955 % (delimiter, self._read_max_bytes)
956 )
957
958 def _handle_write(self) -> None:
959 while True:

Callers 1

_find_read_posMethod · 0.95

Calls 1

Tested by

no test coverage detected