time.Time.UnixNano (method)
42 uses
time (current package)
time.go#L1161: func (t Time) UnixNano() int64 {
crypto/rand
rand_unix.go#L152: ns := time.Now().UnixNano()
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
header_value.go#L434: nano := time.Time(v).UnixNano()
github.com/aws/aws-sdk-go-v2/aws/retry
adaptive_ratelimit.go#L157: return float64(v.UnixNano()) / float64(time.Second)
github.com/aws/smithy-go/time
time.go#L70: ms := value.UnixNano() / int64(time.Millisecond)
github.com/go-pg/pg/v10/orm
query.go#L1191: clone = clone.Set("? = ?", table.SoftDeleteField.Column, time.Now().UnixNano())
table.go#L1486: *ptr = sql.NullInt64{Int64: time.Now().UnixNano()}
table.go#L1495: *ptr = time.Now().UnixNano()
table.go#L1519: utime := time.Now().UnixNano()
github.com/technosophos/moniker
moniker.go#L14: r: rand.New(rand.NewSource(time.Now().UnixNano())),
moniker.go#L44: r: rand.New(rand.NewSource(time.Now().UnixNano())),
go.uber.org/zap
field.go#L350: return Field{Key: key, Type: zapcore.TimeType, Integer: val.UnixNano(), Interface: val.Location()}
time.go#L26: return t.UnixNano() / int64(time.Millisecond)
go.uber.org/zap/zapcore
encoder.go#L98: nanos := t.UnixNano()
encoder.go#L106: nanos := t.UnixNano()
encoder.go#L114: enc.AppendInt64(t.UnixNano())
json_encoder.go#L318: enc.AppendInt64(val.UnixNano())
sampler.go#L66: tn := t.UnixNano()
golang.org/x/net/internal/timeseries
timeseries.go#L241: level.end = time.Unix(0, (t.UnixNano()/level.size.Nanoseconds())*level.size.Nanoseconds())
google.golang.org/grpc
clientconn.go#L774: atomic.StoreInt64(&cc.czData.lastCallStartedTime, time.Now().UnixNano())
clientconn.go#L1467: atomic.StoreInt64(&ac.czData.lastCallStartedTime, time.Now().UnixNano())
server.go#L1095: atomic.StoreInt64(&s.czData.lastCallStartedTime, time.Now().UnixNano())
google.golang.org/grpc/internal/grpcrand
grpcrand.go#L30: r = rand.New(rand.NewSource(time.Now().UnixNano()))
google.golang.org/grpc/internal/transport
http2_client.go#L754: atomic.StoreInt64(&t.czData.lastStreamCreatedTime, time.Now().UnixNano())
http2_client.go#L1591: atomic.StoreInt64(&t.lastRead, time.Now().UnixNano())
http2_client.go#L1599: atomic.StoreInt64(&t.lastRead, time.Now().UnixNano())
http2_client.go#L1668: prevNano := time.Now().UnixNano()
http2_client.go#L1678: timer.Reset(time.Duration(lastRead) + t.kp.Time - time.Duration(time.Now().UnixNano()))
http2_client.go#L1773: atomic.StoreInt64(&t.czData.lastMsgSentTime, time.Now().UnixNano())
http2_client.go#L1778: atomic.StoreInt64(&t.czData.lastMsgRecvTime, time.Now().UnixNano())
http2_server.go#L326: atomic.StoreInt64(&t.lastRead, time.Now().UnixNano())
http2_server.go#L584: atomic.StoreInt64(&t.czData.lastStreamCreatedTime, time.Now().UnixNano())
http2_server.go#L632: atomic.StoreInt64(&t.lastRead, time.Now().UnixNano())
http2_server.go#L1129: prevNano := time.Now().UnixNano()
http2_server.go#L1182: kpTimer.Reset(time.Duration(lastRead) + t.kp.Time - time.Duration(time.Now().UnixNano()))
http2_server.go#L1408: atomic.StoreInt64(&t.czData.lastMsgSentTime, time.Now().UnixNano())
http2_server.go#L1413: atomic.StoreInt64(&t.czData.lastMsgRecvTime, time.Now().UnixNano())
net/http/pprof
pprof.go#L326: ts := time.Now().UnixNano()
os
file_posix.go#L182: utimes[0] = syscall.NsecToTimespec(atime.UnixNano())
file_posix.go#L183: utimes[1] = syscall.NsecToTimespec(mtime.UnixNano())
runtime/pprof
proto.go#L345: b.pb.int64Opt(tagProfile_TimeNanos, b.start.UnixNano())
testing
testing.go#L1693: n = time.Now().UnixNano()