func time.Now
62 uses
time (current package)
sleep.go#L187: case c.(chan Time) <- Now().Add(Duration(-delta)):
time.go#L1232: return Now().Sub(t)
time.go#L1242: return t.Sub(Now())
time.go#L1347: func Now() Time {
context
context.go#L704: return WithDeadline(parent, time.Now().Add(timeout))
context.go#L711: return WithDeadlineCause(parent, time.Now().Add(timeout), cause)
crypto/internal/fips140deps/time
time.go#L11: var start = time.Now()
crypto/tls
common.go#L1178: t = time.Now
conn.go#L1477: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
conn.go#L1481: c.SetWriteDeadline(time.Now())
crypto/x509
verify.go#L457: now = time.Now()
github.com/cenkalti/backoff/v4
exponential.go#L156: 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()
github.com/gotd/td/telegram
device.go#L27: _, offset := time.Now().In(loc).Zone()
github.com/refraction-networking/utls
common.go#L1163: t = time.Now
conn.go#L1479: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
conn.go#L1483: c.SetWriteDeadline(time.Now())
u_roller.go#L87: client.SetDeadline(time.Now().Add(c.TlsHandshakeTimeout))
go.opentelemetry.io/otel/trace
auto.go#L128: span.StartTime = time.Now()
auto.go#L458: s.span.EndTime = time.Now()
config.go#L189: c.timestamp = time.Now()
log
log.go#L206: now := time.Now() // get this early.
net
dial.go#L564: deadline := d.deadline(ctx, time.Now())
dial.go#L741: partialDeadline, err := partialDeadline(time.Now(), deadline, len(ras)-i)
dnsclient_unix.go#L182: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
dnsclient_unix.go#L378: conf.lastChecked = time.Now()
dnsclient_unix.go#L401: now := time.Now()
hosts.go#L53: now := time.Now()
interface.go#L200: now := time.Now()
nss.go#L44: conf.lastChecked = time.Now()
nss.go#L58: now := time.Now()
net/http
client.go#L199: return time.Now().Add(c.Timeout)
client.go#L372: return cancelCtx, func() bool { return time.Now().After(deadline) }
h2_bundle.go#L3774: conn.SetWriteDeadline(time.Now().Add(timeout))
h2_bundle.go#L4964: lastFrameTime := time.Now()
h2_bundle.go#L4978: lastFrameTime = time.Now()
h2_bundle.go#L5061: now := time.Now()
h2_bundle.go#L6684: date = time.Now().UTC().Format(TimeFormat)
h2_bundle.go#L6806: if !deadline.IsZero() && deadline.Before(time.Now()) {
h2_bundle.go#L6822: st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout)
h2_bundle.go#L6824: st.readDeadline.Reset(deadline.Sub(time.Now()))
h2_bundle.go#L6832: if !deadline.IsZero() && deadline.Before(time.Now()) {
h2_bundle.go#L6848: st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout)
h2_bundle.go#L6850: st.writeDeadline.Reset(deadline.Sub(time.Now()))
h2_bundle.go#L8103: lastActive: time.Now(),
h2_bundle.go#L9048: cc.lastActive = time.Now()
h2_bundle.go#L9388: cc.lastActive = time.Now()
h2_bundle.go#L9391: cc.lastIdle = time.Now()
h2_bundle.go#L9483: idleTime := time.Now().Sub(cc.lastActive)
server.go#L985: t0 := time.Now()
server.go#L995: c.rwc.SetWriteDeadline(time.Now().Add(d))
server.go#L1465: setHeader.date = time.Now().UTC().AppendFormat(cw.res.dateBuf[:0], TimeFormat)
server.go#L1840: packedState := uint64(time.Now().Unix()<<8) | uint64(state)
server.go#L1927: dl := time.Now().Add(tlsTO)
server.go#L2100: c.rwc.SetReadDeadline(time.Now().Add(d))
server.go#L3210: if st == StateNew && unixSec < time.Now().Unix()-5 {
transport.go#L1167: pconn.idleAt = time.Now()
transport.go#L1196: oldTime = time.Now().Add(-t.IdleConnTimeout)
transport.go#L2969: logf(time.Now().Format(time.RFC3339Nano)+": "+format, args...)
 |
The pages are generated with Golds v0.8.4. (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. |