type time.Timer
17 uses
time (current package)
sleep.go#L72: func newTimer(when, period int64, f func(any, uintptr, int64), arg any, cp unsafe.Pointer) *Timer
sleep.go#L75: func stopTimer(*Timer) bool
sleep.go#L78: func resetTimer(t *Timer, when, period int64) bool
sleep.go#L89: type Timer struct {
sleep.go#L113: func (t *Timer) Stop() bool {
sleep.go#L143: func NewTimer(d Duration) *Timer {
sleep.go#L145: t := (*Timer)(newTimer(when(d), 0, sendTime, c, syncTimer(c)))
sleep.go#L171: func (t *Timer) Reset(d Duration) bool {
sleep.go#L210: func AfterFunc(d Duration, f func()) *Timer {
sleep.go#L211: return (*Timer)(newTimer(when(d), 0, goFunc, f, nil))
tick.go#L59: stopTimer((*Timer)(unsafe.Pointer(t)))
tick.go#L72: resetTimer((*Timer)(unsafe.Pointer(t)), when(d), int64(d))
context
context.go#L650: timer *time.Timer // Under cancelCtx.mu.
net
pipe.go#L17: timer *time.Timer
net/http
h2_bundle.go#L7172: *time.Timer
transport.go#L1641: var timer *time.Timer // for canceling TLS handshake
transport.go#L2024: idleTimer *time.Timer // holding an AfterFunc to close it
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |