Home
last modified time | relevance | path

Searched refs:get_nowait (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_queues.py64 q.get_nowait()
82 self.assertEqual(1, q.get_nowait())
98 items = [q.get_nowait() for _ in range(3)]
128 self.assertEqual(0, q.get_nowait())
133 self.assertEqual(1, q.get_nowait())
134 self.assertEqual(2, q.get_nowait())
203 self.assertEqual(1, q.get_nowait())
207 self.assertRaises(asyncio.QueueEmpty, q.get_nowait)
333 loop.call_later(0.01, q.get_nowait)
346 self.assertEqual(1, q.get_nowait())
[all …]
/third_party/python/Lib/asyncio/
Dqueues.py174 return self.get_nowait()
176 def get_nowait(self): member in Queue
/third_party/python/Lib/
Dqueue.py193 def get_nowait(self): member in Queue
306 def get_nowait(self): member in _PySimpleQueue
/third_party/python/Lib/concurrent/futures/
Dthread.py210 work_item = self._work_queue.get_nowait()
224 work_item = self._work_queue.get_nowait()
Dprocess.py487 self.work_ids_queue.get_nowait()
/third_party/python/Lib/test/
Dtest_queue.py225 q.get_nowait()
227 q.get_nowait()
516 self.assertEqual(q.get_nowait(), 2)
532 q.get_nowait()
Dtest_logging.py3540 self.assertRaises(queue.Empty, self.queue.get_nowait)
3542 self.assertRaises(queue.Empty, self.queue.get_nowait)
3545 data = self.queue.get_nowait()
3559 log_record = self.queue.get_nowait()
3686 yield log_queue.get_nowait()
D_test_multiprocessing.py1011 self.assertEqual(queue.get_nowait(), 5)
1016 get_nowait = TimingWrapper(queue.get_nowait)
1024 self.assertRaises(pyqueue.Empty, get_nowait)
1025 self.assertTimingAlmostEqual(get_nowait.elapsed, 0)
Dtest_concurrent_futures.py283 output.append(self.log_queue.get_nowait().getMessage())
/third_party/python/Doc/library/
Dasyncio-queue.rst62 .. method:: get_nowait()
142 This exception is raised when the :meth:`~Queue.get_nowait` method
Dqueue.rst85 :meth:`~Queue.get_nowait`) is called
159 .. method:: Queue.get_nowait()
266 .. method:: SimpleQueue.get_nowait()
Ditertools.rst926 iter_except(q.get_nowait, Queue.Empty) # loop over a producer Queue
Dmultiprocessing.rst722 method returns :const:`False` and :meth:`~Queue.get_nowait` can
831 .. method:: get_nowait()
/third_party/python/Lib/multiprocessing/
Dqueues.py134 def get_nowait(self): member in Queue
/third_party/node/deps/v8/tools/gcmole/
Dgcmole.py149 filename = input_queue.get_nowait()
/third_party/node/tools/
Dtest.py185 test = self.parallel_queue.get_nowait()
190 test = self.sequential_queue.get_nowait()
/third_party/python/Misc/
DHISTORY20243 - Bug #788520. Queue.{get, get_nowait, put, put_nowait} have new