- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for isdst (0.08 sec)
-
src/time/zoneinfo.go
offset = zone.offset start = tx[lo].when // end = maintained during the search isDST = zone.isDST // If we're at the end of the known zone transitions, // try the extend string. if lo == len(tx)-1 && l.extend != "" { if ename, eoffset, estart, eend, eisDST, ok := tzset(l.extend, start, sec); ok { return ename, eoffset, estart, eend, eisDST } } return }
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/time/zoneinfo_read.go
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/time/time.go
func UnixMicro(usec int64) Time { return Unix(usec/1e6, (usec%1e6)*1e3) } // IsDST reports whether the time in the configured location is in Daylight Savings Time. func (t Time) IsDST() bool { _, _, _, _, isDST := t.loc.lookup(t.Unix()) return isDST } func isLeap(year int) bool { return year%4 == 0 && (year%100 != 0 || year%400 == 0) }
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/time_test.go
6: {Date(2009, 1, 1, 12, 0, 0, 0, tzFixed), false}, 7: {Date(2009, 6, 1, 12, 0, 0, 0, tzFixed), false}, } for i, tt := range tests { got := tt.time.IsDST() if got != tt.want { t.Errorf("#%d:: (%#v).IsDST()=%t, want %t", i, tt.time.Format(RFC3339), got, tt.want) } } } func TestTimeAddSecOverflow(t *testing.T) { // Test it with positive delta.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go
NFTA_COMPAT_TYPE = 0x3 ) type RTCTime struct { Sec int32 Min int32 Hour int32 Mday int32 Mon int32 Year int32 Wday int32 Yday int32 Isdst int32 } type RTCWkAlrm struct { Enabled uint8 Pending uint8 Time RTCTime } type BlkpgIoctlArg struct { Op int32 Flags int32 Datalen int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 251K bytes - Viewed (0) -
tools/istio-iptables/pkg/config/config_test.go
tests := []struct { name string lipas func() ([]net.Addr, error) isDS bool expected bool }{ { name: "ipv4 only local ip addresses", lipas: func() ([]net.Addr, error) { return tesrLocalIPAddrs([]netip.Addr{ netip.MustParseAddr("127.0.0.1"), netip.MustParseAddr("1.2.3.5"), }) }, isDS: false, expected: false, }, { name: "ipv6 only local ip addresses",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier.go
} } klog.V(1).InfoS("Hns Network loaded", "hnsNetworkInfo", hnsNetworkInfo) isDSR := config.EnableDSR if isDSR && !utilfeature.DefaultFeatureGate.Enabled(kubefeatures.WinDSR) { return nil, fmt.Errorf("WinDSR feature gate not enabled") } err = hcnImpl.DsrSupported() if isDSR && err != nil { return nil, err } var sourceVip string var hostMac string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 59K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_riscv64.s
// // - If both are set, the CPU may not reorder the instruction at all. // // These four modes correspond to other well-known memory models on other CPUs. // On ARM, aq corresponds to a dmb ishst, aq+rl corresponds to a dmb ish. On // Intel, aq corresponds to an lfence, rl to an sfence, and aq+rl to an mfence // (or a lock prefix). // // Go's memory model requires that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(Time).Format", Method, 0}, {"(Time).GoString", Method, 17}, {"(Time).GobEncode", Method, 0}, {"(Time).Hour", Method, 0}, {"(Time).ISOWeek", Method, 0}, {"(Time).In", Method, 0}, {"(Time).IsDST", Method, 17}, {"(Time).IsZero", Method, 0}, {"(Time).Local", Method, 0}, {"(Time).Location", Method, 0}, {"(Time).MarshalBinary", Method, 2}, {"(Time).MarshalJSON", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier_test.go
nodeIP: nodeIP, serviceHealthServer: healthcheck.NewFakeServiceHealthServer(), network: *hnsNetworkInfo, sourceVip: sourceVip, hostMac: macAddress, isDSR: false, hns: &hns{ hcn: hcnMock, }, hcn: hcnMock, endPointsRefCount: make(endPointsReferenceCountMap), forwardHealthCheckVip: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 28 14:30:51 UTC 2024 - 30.2K bytes - Viewed (0)