- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 763 for tims (0.14 sec)
-
src/time/tick_test.go
t.Setenv("GODEBUG", "asynctimerchan="+name) t.Run("Timer", func(t *testing.T) { tim := NewTimer(10000 * Second) testTimerChan(t, tim, tim.C, name == "0") }) t.Run("Ticker", func(t *testing.T) { tim := &tickerTimer{Ticker: NewTicker(10000 * Second)} testTimerChan(t, tim, tim.C, name == "0") }) }) } } type timer interface { Stop() bool Reset(Duration) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
pkg/controller/cronjob/utils.go
func mostRecentScheduleTime(cj *batchv1.CronJob, now time.Time, schedule cron.Schedule, includeStartingDeadlineSeconds bool) (time.Time, *time.Time, missedSchedulesType, error) { earliestTime := cj.ObjectMeta.CreationTimestamp.Time missedSchedules := noneMissed if cj.Status.LastScheduleTime != nil { earliestTime = cj.Status.LastScheduleTime.Time }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 10.7K 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) -
src/runtime/debug/garbage.go
package debug import ( "runtime" "slices" "time" ) // GCStats collect information about recent garbage collections. type GCStats struct { LastGC time.Time // time of last collection NumGC int64 // number of garbage collections PauseTotal time.Duration // total pause for all collections Pause []time.Duration // pause history, most recent first
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.9K bytes - Viewed (0) -
cmd/erasure-healing-common.go
maxima = count latest = etag } } // Return the collected common max time, with maxima return latest, maxima } // commonTime returns a maximally occurring time from a list of time. func commonTimeAndOccurrence(times []time.Time, group time.Duration) (maxTime time.Time, maxima int) { timeOccurrenceMap := make(map[int64]int, len(times)) groupNano := group.Nanoseconds() // Ignore the uuid sentinel and count the rest.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 12.5K bytes - Viewed (0) -
src/time/zoneinfo_read.go
// are specified as standard time or wall time. isstd := d.read(n[NStdWall]) // Whether tx times associated with local time types // are specified as UTC or local time. isutc := d.read(n[NUTCLocal]) if d.error { // ran out of data return nil, errBadData } var extend string rest := d.rest() if len(rest) > 2 && rest[0] == '\n' && rest[len(rest)-1] == '\n' {
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/vendor/golang.org/x/net/nettest/conntest.go
c1.SetWriteDeadline(time.Now().Add(time.Millisecond)) for i := 0; i < 10; i++ { wg.Add(1) go func() { defer wg.Done() b1 := make([]byte, 1024) b2 := make([]byte, 1024) for j := 0; j < 100; j++ { _, err := c1.Write(b1) copy(b1, b2) // Mutate b1 to trigger potential race if err != nil { checkForTimeoutError(t, err) c1.SetWriteDeadline(time.Now().Add(time.Millisecond)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.2K bytes - Viewed (0) -
tests/integration/telemetry/api/dashboard_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 11.4K bytes - Viewed (0) -
src/log/slog/value.go
return math.Float64frombits(v.num) } // Time returns v's value as a [time.Time]. It panics // if v is not a time.Time. func (v Value) Time() time.Time { if g, w := v.Kind(), KindTime; g != w { panic(fmt.Sprintf("Value kind is %s, not %s", g, w)) } return v.time() } // See TimeValue to understand how times are represented. func (v Value) time() time.Time { switch a := v.any.(type) { case timeLocation:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/trace/goroutines.go
certain special time ranges. If a goroutine has spent no time in any special time ranges, it is excluded from the table. For example, how much time it spent helping the GC. Note that these times do overlap with the times from the first table. In general the goroutine may not be executing in these special time ranges. For example, it may have blocked while trying to help the GC.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.9K bytes - Viewed (0)