func time.Unix
17 uses
time (current package)
time.go#L1445: func Unix(sec int64, nsec int64) Time {
time.go#L1461: return Unix(msec/1e3, (msec%1e3)*1e6)
time.go#L1467: 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#L457: if c.config.time().After(time.Unix(int64(session.useBy), 0)) {
handshake_client.go#L498: ticketAge := c.config.time().Sub(time.Unix(int64(session.createdAt), 0))
handshake_client_tls13.go#L353: ticketAge := c.config.time().Sub(time.Unix(int64(hs.session.createdAt), 0))
handshake_server.go#L452: createdAt := time.Unix(int64(sessionState.createdAt), 0)
handshake_server_tls13.go#L351: createdAt := time.Unix(int64(sessionState.createdAt), 0)
github.com/golang-jwt/jwt/v5
types.go#L46: return NewNumericDate(time.Unix(int64(round), int64(frac*1e9)))
net
net.go#L517: aLongTimeAgo = time.Unix(1, 0)
net/http
fs.go#L609: 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#L16: fs.modTime = time.Unix(fs.sys.Mtim.Unix())
stat_linux.go#L47: return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |