Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/h/e/hellanzb-HEAD/Hellanzb/test/PriorityQueueTestCase.py   hellanzb(Download)
        try:
            while 1:
                segment = q.get_nowait()
        except Empty:
            pass
            while 1:
                start = time.time()
                segment = q2.get_nowait()
                elapsed = time.time() - start
                stats.append(elapsed)