time.Time.Add (method)
29 uses
time (current package)
time.go#L856: func (t Time) Add(d Duration) Time {
time.go#L900: case u.Add(d).Equal(t):
time.go#L1534: return t.Add(-r)
time.go#L1552: return t.Add(-r)
time.go#L1554: return t.Add(d - r)
context
context.go#L685: return WithDeadline(parent, time.Now().Add(timeout))
context.go#L692: return WithDeadlineCause(parent, time.Now().Add(timeout), cause)
crypto/tls
conn.go#L1453: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
handshake_client_tls13.go#L762: 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/internal/mtproto
salt.go#L26: salt, ok := c.salts.Get(c.clock.Now().Add(time.Minute * 5))
net
dial.go#L181: earliest = now.Add(d.Timeout)
dial.go#L217: return now.Add(timeout), nil
dnsclient_unix.go#L174: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
dnsclient_unix.go#L385: 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#L200: 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#L195: return time.Now().Add(c.Timeout)
h2_bundle.go#L7550: sew.conn.SetWriteDeadline(time.Now().Add(sew.timeout))
server.go#L981: hdrDeadline = t0.Add(d)
server.go#L984: wholeReqDeadline = t0.Add(d)
server.go#L989: c.rwc.SetWriteDeadline(time.Now().Add(d))
server.go#L1887: dl := time.Now().Add(tlsTO)
server.go#L2035: c.rwc.SetReadDeadline(time.Now().Add(d))
transport.go#L1043: oldTime = time.Now().Add(-t.IdleConnTimeout)
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. |