Lines Matching refs:Ticker
15 ticker := NewTicker(Delta)
18 <-ticker.C
20 ticker.Stop()
28 // Now test that the ticker stopped
31 case <-ticker.C:
32 t.Fatal("Ticker did not shut down")
38 // Test that a bug tearing down a ticker has been fixed. This routine should not deadlock.
45 ticker := NewTicker(Delta)
46 <-ticker.C
47 ticker.Stop()
70 ticker := NewTicker(1)
74 <-ticker.C
77 ticker.Stop()