MCPcopy Index your code
hub / github.com/ray-project/ray / qsize

Method qsize

python/ray/util/queue.py:73–75  ·  view source on GitHub ↗

The size of the queue.

(self)

Source from the content-addressed store, hash-verified

71 return ray.get(self.actor.qsize.remote())
72
73 def qsize(self) -> int:
74 """The size of the queue."""
75 return self.size()
76
77 def empty(self) -> bool:
78 """Whether the queue is empty."""

Callers 10

test_qsizeFunction · 0.95
test_callbacksFunction · 0.95
prefill_queueFunction · 0.45
wait_for_batchMethod · 0.45
submitMethod · 0.45
_debug_dumpMethod · 0.45
_run_result_waiterMethod · 0.45
get_internal_statesMethod · 0.45
qsizeMethod · 0.45
summarizeMethod · 0.45

Calls 1

sizeMethod · 0.95

Tested by 3

test_qsizeFunction · 0.76
test_callbacksFunction · 0.76
_run_result_waiterMethod · 0.36