Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Clears the queue.

src/w/i/wishbone-HEAD/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_empty(self):
        queue = WishboneQueue()
        queue.put("test")
        queue.clear()
        assert queue.size() == 0

src/w/i/wishbone-0.4.10/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_empty(self):
        queue = WishboneQueue()
        queue.put("test")
        queue.clear()
        assert queue.size() == 0