time.Time.Add (method)
34 uses
time (current package)
sleep.go#L187: case c.(chan Time) <- Now().Add(Duration(-delta)):
time.go#L1170: func (t Time) Add(d Duration) Time {
time.go#L1205: case u.Add(d).Equal(t):
time.go#L1788: return t.Add(-r)
time.go#L1806: return t.Add(-r)
time.go#L1808: return t.Add(d - r)
context
context.go#L704: return WithDeadline(parent, time.Now().Add(timeout))
context.go#L711: return WithDeadlineCause(parent, time.Now().Add(timeout), cause)
crypto/tls
conn.go#L1477: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
handshake_client_tls13.go#L873: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
github.com/gotd/neo
time.go#L113: m.when = t.now.Add(d)
time.go#L155: now := t.now.Add(d)
time.go#L183: return t.Now().Add(d)
github.com/gotd/td/mtproto
salt.go#L26: salt, ok := c.salts.Get(c.clock.Now().Add(time.Minute * 5))
github.com/refraction-networking/utls
conn.go#L1479: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
handshake_client_tls13.go#L1065: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
u_roller.go#L87: client.SetDeadline(time.Now().Add(c.TlsHandshakeTimeout))
net
dial.go#L253: earliest = now.Add(d.Timeout)
dial.go#L289: return now.Add(timeout), nil
dnsclient_unix.go#L182: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
dnsclient_unix.go#L402: if conf.lastChecked.After(now.Add(-5 * time.Second)) {
hosts.go#L61: hosts.expire = now.Add(cacheMaxAge)
hosts.go#L120: hosts.expire = now.Add(cacheMaxAge)
interface.go#L201: if !force && zc.lastFetched.After(now.Add(-60*time.Second)) {
nss.go#L59: if conf.lastChecked.After(now.Add(-5 * time.Second)) {
net/http
client.go#L199: return time.Now().Add(c.Timeout)
h2_bundle.go#L3774: conn.SetWriteDeadline(time.Now().Add(timeout))
h2_bundle.go#L5060: pingAt := lastFrameReadTime.Add(sc.readIdleTimeout)
server.go#L987: hdrDeadline = t0.Add(d)
server.go#L990: wholeReqDeadline = t0.Add(d)
server.go#L995: c.rwc.SetWriteDeadline(time.Now().Add(d))
server.go#L1927: dl := time.Now().Add(tlsTO)
server.go#L2100: c.rwc.SetReadDeadline(time.Now().Add(d))
transport.go#L1196: oldTime = time.Now().Add(-t.IdleConnTimeout)
![]() |
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. |