time.Time.Add (method)
25 uses
time (current package)
time.go#L813: func (t Time) Add(d Duration) Time {
time.go#L857: case u.Add(d).Equal(t):
time.go#L1409: return t.Add(-r)
time.go#L1427: return t.Add(-r)
time.go#L1429: return t.Add(d - r)
context
context.go#L503: return WithDeadline(parent, time.Now().Add(timeout))
crypto/tls
conn.go#L1360: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
handshake_client_tls13.go#L675: useBy: c.config.time().Add(lifetime),
net
dial.go#L120: earliest = now.Add(d.Timeout)
dial.go#L156: return now.Add(timeout), nil
dnsclient_unix.go#L152: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
dnsclient_unix.go#L358: if conf.lastChecked.After(now.Add(-5 * time.Second)) {
hosts.go#L61: hosts.expire = now.Add(cacheMaxAge)
hosts.go#L94: hosts.expire = now.Add(cacheMaxAge)
interface.go#L197: if !force && zc.lastFetched.After(now.Add(-60*time.Second)) {
net/http
client.go#L189: return time.Now().Add(c.Timeout)
server.go#L968: hdrDeadline = t0.Add(d)
server.go#L971: wholeReqDeadline = t0.Add(d)
server.go#L976: c.rwc.SetWriteDeadline(time.Now().Add(d))
server.go#L1835: c.rwc.SetReadDeadline(time.Now().Add(d))
server.go#L1838: c.rwc.SetWriteDeadline(time.Now().Add(d))
server.go#L1976: c.rwc.SetReadDeadline(time.Now().Add(d))
transport.go#L1022: oldTime = time.Now().Add(-t.IdleConnTimeout)
testing
testing.go#L1479: deadline = time.Now().Add(*timeout)
testing.go#L1696: deadline := time.Now().Add(*timeout)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)