- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,884 for Time (0.07 sec)
-
src/time/time.go
// that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and // [Time.UnmarshalText] are not concurrency-safe. // // Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods. // The [Time.Sub] method subtracts two instants, producing a [Duration]. // The [Time.Add] method adds a Time and a Duration, producing a Time. //
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-29 17:58 - 50.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
} return false } // Unix returns the local time corresponding to the given Unix time // by wrapping time.Unix. func Unix(sec int64, nsec int64) Time { return Time{time.Unix(sec, nsec)} } // Rfc3339Copy returns a copy of the Time at second-level precision. func (t Time) Rfc3339Copy() Time { copied, _ := time.Parse(time.RFC3339, t.Format(time.RFC3339)) return Time{copied} }
Registered: 2024-06-15 01:39 - Last Modified: 2024-05-29 21:48 - 5.2K bytes - Viewed (0) -
src/runtime/time.go
return true } // A timeTimer is a runtime-allocated time.Timer or time.Ticker // with the additional runtime state following it. // The runtime state is inaccessible to package time. type timeTimer struct { c unsafe.Pointer // <-chan time.Time init bool timer } // newTimer allocates and returns a new time.Timer or time.Ticker (same layout) // with the given parameters. //
Registered: 2024-06-12 16:32 - Last Modified: 2024-03-29 14:36 - 37.5K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/time.gox
>) <type 2 chan <- <type 3 "Time" <type 4 struct { .time.sec <type -4>; .time.nsec <type -3>; .time.loc <type 5 *<type 6 "Location" <type 7 struct { .time.name <type -16>; .time.zone <type 8 [] <type 9 ".time.zone" <type 10 struct { .time.name <type -16>; .time.offset <type -11>; .time.isDST <type -15>; }>>>; .time.tx <type 11 [] <type 12 ".time.zoneTrans" <type 13 struct { .time.when <type -4>; .time.index <type -5>; .time.isstd <type -15>; .time.isutc <type -15>; }>>>; .time.cacheStart...
Registered: 2024-06-12 16:32 - Last Modified: 2021-09-30 21:33 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.time; import java.util.concurrent.TimeUnit; /** * Instruments for observing time. */ public abstract class Time { private static final Clock CLOCK = new MonotonicClock(); /** * A clock that is guaranteed not to go backwards. *
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-11 20:20 - 2.2K bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
### Timer changes Go 1.23 makes two significant changes to the implementation of [time.Timer] and [time.Ticker]. <!-- go.dev/issue/61542 --> First, `Timer`s and `Ticker`s that are no longer referred to by the program become eligible for garbage collection immediately, even if their `Stop` methods have not been called. Earlier versions of Go did not collect unstopped `Timer`s until after they had fired and never collected unstopped `Ticker`s.
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-23 20:49 - 1.5K bytes - Viewed (0) -
src/time/zoneinfo_abbrs_windows.go
"W. Central Africa Standard Time": {"WAT", "WAT"}, // Africa/Lagos "E. Africa Standard Time": {"EAT", "EAT"}, // Africa/Nairobi "Sao Tome Standard Time": {"GMT", "GMT"}, // Africa/Sao_Tome "Libya Standard Time": {"EET", "EET"}, // Africa/Tripoli "Namibia Standard Time": {"CAT", "CAT"}, // Africa/Windhoek
Registered: 2024-06-12 16:32 - Last Modified: 2023-05-12 20:01 - 10.5K bytes - Viewed (0) -
pkg/controller/cronjob/utils_test.go
} } { // Case 3: known LastScheduleTime, no start needed. // Creation time is before T1. cj.ObjectMeta.CreationTimestamp = metav1.Time{Time: T1.Add(-10 * time.Minute)} // Status shows a start at the expected time. cj.Status.LastScheduleTime = &metav1.Time{Time: T1} // Current time is after T1 now := T1.Add(2 * time.Minute) schedule, _ := nextScheduleTime(logger, &cj, now, ParseSchedule(cj.Spec.Schedule), recorder)
Registered: 2024-06-15 01:39 - Last Modified: 2024-05-09 03:34 - 22.8K bytes - Viewed (0) -
src/time/zoneinfo_test.go
{"X", time.Rule{}, "", false}, {"J10", time.Rule{Kind: time.RuleJulian, Day: 10, Time: 2 * 60 * 60}, "", true}, {"20", time.Rule{Kind: time.RuleDOY, Day: 20, Time: 2 * 60 * 60}, "", true}, {"M1.2.3", time.Rule{Kind: time.RuleMonthWeekDay, Mon: 1, Week: 2, Day: 3, Time: 2 * 60 * 60}, "", true}, {"30/03:00:00", time.Rule{Kind: time.RuleDOY, Day: 30, Time: 3 * 60 * 60}, "", true},
Registered: 2024-06-12 16:32 - Last Modified: 2023-03-13 17:06 - 9.9K bytes - Viewed (0) -
pkg/controller/job/backoff_utils_test.go
}, "one failure; current time == 1 second + failure time": { backoffRecord: backoffRecord{ lastFailureTime: &defaultTestTime.Time, failuresAfterLastSuccess: 1, }, currentTime: defaultTestTime.Time.Add(time.Second), defaultBackoff: 5 * time.Second, maxBackoff: 700 * time.Second, wantDuration: 4 * time.Second, },
Registered: 2024-06-15 01:39 - Last Modified: 2024-06-06 07:46 - 16.7K bytes - Viewed (0)