- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isutc (0.15 sec)
-
src/time/zoneinfo_read.go
} tx[i].when = n if int(txzones[i]) >= len(zones) { return nil, errBadData } tx[i].index = txzones[i] if i < len(isstd) { tx[i].isstd = isstd[i] != 0 } if i < len(isutc) { tx[i].isutc = isutc[i] != 0 } } if len(tx) == 0 { // Build fake transition to cover all time. // This happens in fixed locations like "Etc/GMT0". tx = append(tx, zoneTrans{when: alpha, index: 0}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/issue29198.gox
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 12 23:01:16 UTC 2018 - 6.4K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/time.gox
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 7.3K bytes - Viewed (0) -
src/time/zoneinfo.go
type zoneTrans struct { when int64 // transition time, in seconds since 1970 GMT index uint8 // the index of the zone that goes into effect at that time isstd, isutc bool // ignored - no idea what these mean } // alpha and omega are the beginning and end of time for zone // transitions. const ( alpha = -1 << 63 // math.MinInt64 omega = 1<<63 - 1 // math.MaxInt64 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 18.2K bytes - Viewed (0) -
src/main/webapp/js/admin/moment-with-locales.min.js
this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},it.isLocal=function(){return!!this.isValid()&&!this._isUTC},it.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},it.isUtc=Na,it.isUTC=Na,it.zoneAbbr=function(){return this._isUTC?"UTC":""},it.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},it.dates=t("dates accessor is deprecated. Use date instead.",tt),it.months=t("months accessor is deprecated. Use month ins...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Jul 12 13:18:07 UTC 2018 - 319K bytes - Viewed (0) -
src/os/path_windows.go
return path } var isUNC, isDevice bool if len(path) >= 2 && IsPathSeparator(path[0]) && IsPathSeparator(path[1]) { if len(path) >= 4 && path[2] == '.' && IsPathSeparator(path[3]) { // Starts with //./ isDevice = true } else { // Starts with // isUNC = true } } var prefix []uint16 if isUNC { // UNC path, prepend the \\?\UNC\ prefix.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0) -
src/path/filepath/symlink_windows.go
// result of EvalSymlinks must be unique, so we have // EvalSymlinks(`c:\a`) == EvalSymlinks(`C:\a`). func normVolumeName(path string) string { volume := VolumeName(path) if len(volume) > 2 { // isUNC return volume } return strings.ToUpper(volume) } // normBase returns the last element of path with correct case. func normBase(path string) (string, error) { p, err := syscall.UTF16PtrFromString(path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 07:42:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/internal/filepathlite/path_windows.go
for i := range path { if IsPathSeparator(path[i]) { return path[:i], path[i+1:], true } } return path, "", false } // isUNC reports whether path is a UNC path. func isUNC(path string) bool { return len(path) > 1 && IsPathSeparator(path[0]) && IsPathSeparator(path[1]) } // postClean adjusts the results of Clean to avoid turning a relative path
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 8.5K bytes - Viewed (0) -
src/path/filepath/path.go
if sameWord(targ, base) { return ".", nil } base = base[len(baseVol):] targ = targ[len(targVol):] if base == "." { base = "" } else if base == "" && filepathlite.VolumeNameLen(baseVol) > 2 /* isUNC */ { // Treat any targetpath matching `\\host\share` basepath as absolute path. base = string(Separator) } // Can't use IsAbs - `\a` and `a` are both relative in Windows.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0)