Lines Matching refs:high
77 def set_write_buffer_limits(self, high=None, low=None):
78 """Set the high- and low-water limits for write flow control.
83 high-water limit. Neither value can be negative.
86 high-water limit is given, the low-water limit defaults to an
88 high-water limit. Setting high to zero forces low to zero as
103 """Get the high and low watermarks for write flow control.
104 Return a tuple (low, high) where low and high are
314 def _set_write_buffer_limits(self, high=None, low=None):
315 if high is None:
317 high = 64 * 1024
319 high = 4 * low
321 low = high // 4
323 if not high >= low >= 0:
325 f'high ({high!r}) must be >= low ({low!r}) must be >= 0')
327 self._high_water = high
330 def set_write_buffer_limits(self, high=None, low=None):
331 self._set_write_buffer_limits(high=high, low=low)