const time.Millisecond
43 uses
time (current package)
format.go#L1500: "ms": uint64(Millisecond),
time.go#L610: Millisecond = 1000 * Microsecond
time.go#L611: Second = 1000 * Millisecond
time.go#L645: case u < uint64(Millisecond):
crypto/tls
handshake_client.go#L338: ticketAge := uint32(c.config.time().Sub(session.receivedAt) / time.Millisecond)
handshake_client_tls13.go#L246: ticketAge := uint32(c.config.time().Sub(hs.session.receivedAt) / time.Millisecond)
github.com/aws/aws-sdk-go-v2/aws/defaults
defaults.go#L21: ConnectTimeout: aws.Duration(3100 * time.Millisecond),
defaults.go#L23: TLSNegotiationTimeout: aws.Duration(3100 * time.Millisecond),
defaults.go#L28: ConnectTimeout: aws.Duration(1100 * time.Millisecond),
defaults.go#L30: TLSNegotiationTimeout: aws.Duration(1100 * time.Millisecond),
defaults.go#L35: ConnectTimeout: aws.Duration(30000 * time.Millisecond),
defaults.go#L37: TLSNegotiationTimeout: aws.Duration(30000 * time.Millisecond),
defaults.go#L42: ConnectTimeout: aws.Duration(3100 * time.Millisecond),
defaults.go#L44: TLSNegotiationTimeout: aws.Duration(3100 * time.Millisecond),
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
header_value.go#L435: msec := nano / int64(time.Millisecond)
header_value.go#L473: return time.Unix(secs, msec*int64(time.Millisecond)).UTC()
github.com/aws/smithy-go/time
time.go#L70: ms := value.UnixNano() / int64(time.Millisecond)
github.com/go-pg/pg/v10
listener.go#L295: time.Sleep(500 * time.Millisecond)
options.go#L155: opt.MinRetryBackoff = 250 * time.Millisecond
github.com/go-pg/pg/v10/orm
query.go#L1064: dur := internal.RetryBackoff(i-2, 250*time.Millisecond, 5*time.Second)
go.uber.org/goleak
options.go#L109: maxSleep: 100 * time.Millisecond,
go.uber.org/zap
time.go#L26: return t.UnixNano() / int64(time.Millisecond)
go.uber.org/zap/zapcore
encoder.go#L107: millis := float64(nanos) / float64(time.Millisecond)
golang.org/x/net/http2
transport.go#L1005: t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
golang.org/x/net/trace
trace.go#L577: {Cond: minCond(50 * time.Millisecond)},
trace.go#L578: {Cond: minCond(100 * time.Millisecond)},
trace.go#L579: {Cond: minCond(200 * time.Millisecond)},
trace.go#L580: {Cond: minCond(500 * time.Millisecond)},
google.golang.org/grpc
server.go#L829: tempDelay = 5 * time.Millisecond
stream.go#L667: dur = time.Millisecond * time.Duration(pushback)
google.golang.org/grpc/internal/channelz
funcs.go#L119: ticker := time.NewTicker(10 * time.Millisecond)
google.golang.org/grpc/internal/grpcutil
encode_duration.go#L52: if d := div(t, time.Millisecond); d <= maxTimeoutValue {
google.golang.org/grpc/internal/syscall
syscall_linux.go#L82: err = syscall.SetsockoptInt(int(fd), syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, int(timeout/time.Millisecond))
google.golang.org/grpc/internal/transport
http_util.go#L189: return time.Millisecond, true
net
dial.go#L163: return 300 * time.Millisecond
net/http
server.go#L1715: const rstAvoidanceDelay = 500 * time.Millisecond
server.go#L2724: const shutdownPollIntervalMax = 500 * time.Millisecond
server.go#L2757: pollIntervalBase := time.Millisecond
server.go#L3048: tempDelay = 5 * time.Millisecond
transfer.go#L217: timer := time.NewTimer(200 * time.Millisecond)
transport.go#L2430: const maxWriteWaitBeforeConnReuse = 50 * time.Millisecond
runtime/pprof
pprof.go#L800: time.Sleep(100 * time.Millisecond)
testing
testing.go#L1121: nextSleep = 1 * time.Millisecond