MCPcopy
hub / github.com/tornadoweb/tornado / full

Method full

tornado/queues.py:180–184  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

178 return not self._queue
179
180 def full(self) -> bool:
181 if self.maxsize == 0:
182 return False
183 else:
184 return self.qsize() >= self.maxsize
185
186 def put(
187 self, item: _T, timeout: Optional[Union[float, datetime.timedelta]] = None

Callers 6

put_nowaitMethod · 0.95
get_nowaitMethod · 0.95
test_maxsizeMethod · 0.95
test_float_maxsizeMethod · 0.95
test_orderMethod · 0.80
test_orderMethod · 0.80

Calls 1

qsizeMethod · 0.95

Tested by 4

test_maxsizeMethod · 0.76
test_float_maxsizeMethod · 0.76
test_orderMethod · 0.64
test_orderMethod · 0.64