Searched refs:get_nowait (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Lib/test/test_asyncio/ |
D | test_queues.py | 64 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/ |
D | queues.py | 174 return self.get_nowait() 176 def get_nowait(self): member in Queue
|
/third_party/python/Lib/ |
D | queue.py | 193 def get_nowait(self): member in Queue 306 def get_nowait(self): member in _PySimpleQueue
|
/third_party/python/Lib/concurrent/futures/ |
D | thread.py | 210 work_item = self._work_queue.get_nowait() 224 work_item = self._work_queue.get_nowait()
|
D | process.py | 487 self.work_ids_queue.get_nowait()
|
/third_party/python/Lib/test/ |
D | test_queue.py | 225 q.get_nowait() 227 q.get_nowait() 516 self.assertEqual(q.get_nowait(), 2) 532 q.get_nowait()
|
D | test_logging.py | 3540 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.py | 1011 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)
|
D | test_concurrent_futures.py | 283 output.append(self.log_queue.get_nowait().getMessage())
|
/third_party/python/Doc/library/ |
D | asyncio-queue.rst | 62 .. method:: get_nowait() 142 This exception is raised when the :meth:`~Queue.get_nowait` method
|
D | queue.rst | 85 :meth:`~Queue.get_nowait`) is called 159 .. method:: Queue.get_nowait() 266 .. method:: SimpleQueue.get_nowait()
|
D | itertools.rst | 926 iter_except(q.get_nowait, Queue.Empty) # loop over a producer Queue
|
D | multiprocessing.rst | 722 method returns :const:`False` and :meth:`~Queue.get_nowait` can 831 .. method:: get_nowait()
|
/third_party/python/Lib/multiprocessing/ |
D | queues.py | 134 def get_nowait(self): member in Queue
|
/third_party/node/deps/v8/tools/gcmole/ |
D | gcmole.py | 149 filename = input_queue.get_nowait()
|
/third_party/node/tools/ |
D | test.py | 185 test = self.parallel_queue.get_nowait() 190 test = self.sequential_queue.get_nowait()
|
/third_party/python/Misc/ |
D | HISTORY | 20243 - Bug #788520. Queue.{get, get_nowait, put, put_nowait} have new
|