- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,608 for time (0.04 sec)
-
src/runtime/time.go
// If now is not 0 it is the current time. // It returns the passed time or the current time if now was passed as 0. // and the time when the next timer should run or 0 if there is no next timer, // and reports whether it ran any timers. // If the time when the next timer should run is not 0, // it is always larger than the returned time. // We pass now in and out to avoid extra calls of nanotime. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
time.Unix(0, 3).UTC(), time.Unix(0, 1).UTC(), }, time.Unix(0, 3).UTC(), 3, }, { // 2. Tests common time obtained when all elements are equal. []time.Time{ time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(), },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 23K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{"-", time.Time{}, false}, {"+", time.Time{}, false}, {"-1.-1", time.Time{}, false}, {"99999999999999999999999999999999999999999999999", time.Time{}, false}, {"0.123456789abcdef", time.Time{}, false}, {"foo", time.Time{}, false}, {"\x00", time.Time{}, false}, {"đĩđ´đŗđ˛đą.đ°đ¯đŽđđŦ", time.Time{}, false}, // Unicode numbers (U+1D7EC to U+1D7F5) {"98765īš43210", time.Time{}, false}, // Unicode period (U+FE52) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K 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: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 20:01:59 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/controller/cronjob/utils_test.go
} else if !schedule.Equal(T1) { t.Errorf("expected: %v, got: %v", T1, schedule) } } { // 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
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 22.8K bytes - Viewed (0) -
schema/field_test.go
} } newValues["updated_at"] = time.Time{} newValues["active"] = false checkField(t, userSchema, reflectValue, newValues) // test valuer and other type age := myint(10) var nilTime *time.Time newValues2 := map[string]interface{}{ "name": sql.NullString{String: "valuer_and_setter_3", Valid: true}, "id": &sql.NullInt64{Int64: 3, Valid: true},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K 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: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 13 17:06:56 UTC 2023 - 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: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 16.7K bytes - Viewed (0) -
src/time/example_test.go
// time.Date(2009, time.December, 10, 23, 1, 0, 0, time.UTC) // time.Date(2013, time.February, 3, 19, 54, 0, 0, time.UTC) } func ExampleParse() { // See the example for Time.Format for a thorough description of how // to define the layout string to parse a time.Time value; Parse and // Format use the same model to describe their input and output.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
pkg/util/async/bounded_frequency_runner_test.go
timer.advance(499 * time.Millisecond) // rel=499ms runner.Run() waitForDefer("too soon after retry", t, timer, obj, 501*time.Millisecond) // Do the deferred run, queue another retry after it returns timer.advance(501 * time.Millisecond) // rel=1000ms runner.RetryAfter(5 * time.Second) waitForRunWithRetry("second run", t, timer, obj, 5*time.Second) // Wait for minInterval to pass timer.advance(time.Second) // rel=1000ms
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 09:36:26 UTC 2022 - 12.5K bytes - Viewed (0)