func time.Now
50 uses
time (current package)
sleep.go#L145: case c.(chan Time) <- Now():
time.go#L917: now = Now()
time.go#L930: now = Now()
time.go#L1110: func Now() Time {
context
context.go#L685: return WithDeadline(parent, time.Now().Add(timeout))
context.go#L692: return WithDeadlineCause(parent, time.Now().Add(timeout), cause)
crypto/tls
common.go#L1004: t = time.Now
conn.go#L1453: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
conn.go#L1457: c.SetWriteDeadline(time.Now())
crypto/x509
verify.go#L572: now = time.Now()
github.com/cenkalti/backoff/v4
exponential.go#L101: return time.Now()
ticker.go#L63: afterC := t.send(time.Now())
github.com/gotd/neo
net.go#L123: now := time.Now()
github.com/gotd/td/clock
system.go#L47: func (systemClock) Now() time.Time { return time.Now() }
github.com/gotd/td/tdp
tdp.go#L59: now = time.Now()
go.opentelemetry.io/otel/trace
config.go#L183: c.timestamp = time.Now()
go.uber.org/zap/zapcore
clock.go#L43: return time.Now()
log
log.go#L207: now := time.Now() // get this early.
net
dial.go#L458: deadline := d.deadline(ctx, time.Now())
dial.go#L599: partialDeadline, err := partialDeadline(time.Now(), deadline, len(ras)-i)
dnsclient_unix.go#L174: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
dnsclient_unix.go#L361: conf.lastChecked = time.Now()
dnsclient_unix.go#L384: now := time.Now()
hosts.go#L53: now := time.Now()
interface.go#L199: now := time.Now()
nss.go#L44: conf.lastChecked = time.Now()
nss.go#L58: now := time.Now()
net/http
client.go#L195: return time.Now().Add(c.Timeout)
client.go#L368: return cancelCtx, func() bool { return time.Now().After(deadline) }
h2_bundle.go#L6466: date = time.Now().UTC().Format(TimeFormat)
h2_bundle.go#L6593: if !deadline.IsZero() && deadline.Before(time.Now()) {
h2_bundle.go#L6609: st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout)
h2_bundle.go#L6611: st.readDeadline.Reset(deadline.Sub(time.Now()))
h2_bundle.go#L6619: if !deadline.IsZero() && deadline.Before(time.Now()) {
h2_bundle.go#L6635: st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout)
h2_bundle.go#L6637: st.writeDeadline.Reset(deadline.Sub(time.Now()))
h2_bundle.go#L7550: sew.conn.SetWriteDeadline(time.Now().Add(sew.timeout))
h2_bundle.go#L8688: cc.lastActive = time.Now()
h2_bundle.go#L9203: cc.lastActive = time.Now()
h2_bundle.go#L9206: cc.lastIdle = time.Now()
server.go#L979: t0 := time.Now()
server.go#L989: c.rwc.SetWriteDeadline(time.Now().Add(d))
server.go#L1450: setHeader.date = appendTime(cw.res.dateBuf[:0], time.Now())
server.go#L1805: packedState := uint64(time.Now().Unix()<<8) | uint64(state)
server.go#L1887: dl := time.Now().Add(tlsTO)
server.go#L2035: c.rwc.SetReadDeadline(time.Now().Add(d))
server.go#L2846: if st == StateNew && unixSec < time.Now().Unix()-5 {
transport.go#L1014: pconn.idleAt = time.Now()
transport.go#L1043: oldTime = time.Now().Add(-t.IdleConnTimeout)
transport.go#L2711: logf(time.Now().Format(time.RFC3339Nano)+": "+format, args...)
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |