time.Time.Sub (method)

15 uses

	time (current package)
		time.go#L841: func (t Time) Sub(u Time) Duration {
		time.go#L876: 	return now.Sub(t)
		time.go#L889: 	return t.Sub(now)

	crypto/tls
		common.go#L855: 	if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation {
		common.go#L865: 	if len(c.autoSessionTicketKeys) == 0 || c.time().Sub(c.autoSessionTicketKeys[0].created) >= ticketKeyRotation {
		common.go#L874: 			if c.time().Sub(k.created) < ticketKeyLifetime {
		handshake_client.go#L328: 	ticketAge := uint32(c.config.time().Sub(session.receivedAt) / time.Millisecond)
		handshake_client_tls13.go#L244: 			ticketAge := uint32(c.config.time().Sub(hs.session.receivedAt) / time.Millisecond)
		handshake_server.go#L382: 	if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
		handshake_server_tls13.go#L280: 		if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {

	net
		dial.go#L141: 	timeRemaining := deadline.Sub(now)

	net/http
		h2_bundle.go#L9229: 		ci.IdleTime = time.Now().Sub(cc.lastActive)

	runtime/pprof
		proto.go#L344: 		b.pb.int64Opt(tagProfile_DurationNanos, b.end.Sub(b.start).Nanoseconds())

	src.elv.sh/pkg/eval
		builtin_fn_misc.go#L468: 	dt := t1.Sub(t0)

	src.elv.sh/pkg/shell
		shell.go#L73: 	return end.Sub(start).Seconds(), err