- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addVec2 (0.11 sec)
-
src/time/time.go
} return t.ext } // unixSec returns the time's seconds since Jan 1 1970 (Unix time). func (t *Time) unixSec() int64 { return t.sec() + internalToUnix } // addSec adds d seconds to the time. func (t *Time) addSec(d int64) { if t.wall&hasMonotonic != 0 { sec := int64(t.wall << 1 >> (nsecShift + 1)) dsec := sec + d if 0 <= dsec && dsec <= 1<<33-1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/time/format.go
} if z != nil { return Date(year, Month(month), day, hour, min, sec, nsec, z), nil } if zoneOffset != -1 { t := Date(year, Month(month), day, hour, min, sec, nsec, UTC) t.addSec(-int64(zoneOffset)) // Look for local zone with the given offset. // If that zone was in effect at the given time, use it. name, offset, _, _, _ := local.lookup(t.unixSec())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0)