const time.Millisecond
44 uses
time (current package)
format.go#L1610: "ms": uint64(Millisecond),
time.go#L933: Millisecond = 1000 * Microsecond
time.go#L934: Second = 1000 * Millisecond
time.go#L978: case u < uint64(Millisecond):
crypto/tls
handshake_client.go#L514: obfuscatedTicketAge: uint32(ticketAge/time.Millisecond) + session.ageAdd,
handshake_client_tls13.go#L347: hello.pskIdentities[0].obfuscatedTicketAge = uint32(ticketAge/time.Millisecond) + hs.session.ageAdd
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#L1070: 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#L295: return 300 * time.Millisecond
net/http
h2_bundle.go#L8557: t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
server.go#L1814: var rstAvoidanceDelay = 500 * time.Millisecond
server.go#L3118: const shutdownPollIntervalMax = 500 * time.Millisecond
server.go#L3151: pollIntervalBase := time.Millisecond
server.go#L3431: tempDelay = 5 * time.Millisecond
transfer.go#L220: timer := time.NewTimer(200 * time.Millisecond)
transport.go#L2631: var maxWriteWaitBeforeConnReuse = 50 * time.Millisecond
runtime/pprof
pprof.go#L871: time.Sleep(100 * time.Millisecond)
testing
testing.go#L1303: nextSleep = 1 * time.Millisecond