func time.Unix
30 uses
time (current package)
time.go#L1396: func Unix(sec int64, nsec int64) Time {
time.go#L1412: return Unix(msec/1e3, (msec%1e3)*1e6)
time.go#L1418: return Unix(usec/1e6, (usec%1e6)*1e3)
compress/gzip
gunzip.go#L192: hdr.ModTime = time.Unix(t, 0)
gzip.go#L157: if z.ModTime.After(time.Unix(0, 0)) {
crypto/tls
handshake_client.go#L355: if c.config.time().After(time.Unix(int64(session.useBy), 0)) {
handshake_client.go#L392: ticketAge := c.config.time().Sub(time.Unix(int64(session.createdAt), 0))
handshake_client_tls13.go#L260: ticketAge := c.config.time().Sub(time.Unix(int64(hs.session.createdAt), 0))
handshake_server.go#L437: createdAt := time.Unix(int64(sessionState.createdAt), 0)
handshake_server_tls13.go#L317: createdAt := time.Unix(int64(sessionState.createdAt), 0)
github.com/gotd/td/internal/mtproto
handle_future_salts.go#L22: serverTime := time.Unix(int64(res.Now), 0)
github.com/gotd/td/internal/proto
message_id.go#L86: return time.Unix(intPart, fracPart).UTC()
github.com/gotd/td/tdp
tdp.go#L65: b.WriteString(time.Unix(i, 0).UTC().Format(time.RFC3339))
github.com/gotd/td/telegram/auth
password.go#L139: retryDate := time.Unix(int64(r.Result.RetryDate), 0)
password.go#L163: return time.Unix(int64(v.UntilDate), 0), nil
github.com/gotd/td/telegram/auth/qrlogin
token.go#L48: expires: time.Unix(int64(expires), 0),
github.com/klauspost/compress/gzip
gunzip.go#L198: hdr.ModTime = time.Unix(int64(le.Uint32(z.buf[4:8])), 0)
go.uber.org/zap
field.go#L37: _minTimeInt64 = time.Unix(0, math.MinInt64)
field.go#L38: _maxTimeInt64 = time.Unix(0, math.MaxInt64)
go.uber.org/zap/zapcore
field.go#L152: enc.AddTime(f.Key, time.Unix(0, f.Integer).In(f.Interface.(*time.Location)))
field.go#L155: enc.AddTime(f.Key, time.Unix(0, f.Integer))
golang.org/x/net/internal/socks
client.go#L18: aLongTimeAgo = time.Unix(1, 0)
net
net.go#L495: aLongTimeAgo = time.Unix(1, 0)
net/http
fs.go#L538: var unixEpochTime = time.Unix(0, 0)
http.go#L30: var aLongTimeAgo = time.Unix(1, 0)
socks_bundle.go#L24: socksaLongTimeAgo = time.Unix(1, 0)
os
stat_linux.go#L15: fs.modTime = time.Unix(fs.sys.Mtim.Unix())
stat_linux.go#L46: return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
runtime/debug
garbage.go#L50: stats.LastGC = time.Unix(0, int64(stats.Pause[n]))
garbage.go#L61: stats.PauseEnd = append(stats.PauseEnd, time.Unix(0, int64(ns)))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |