Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 7,470 for Time (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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: 2024-06-12 16:32
    - Last Modified: 2024-02-13 01:05
    - 22.4K bytes
    - Viewed (0)
  6. plugin/pkg/admission/imagepolicy/config.go

    package imagepolicy
    
    import (
    	"fmt"
    	"time"
    
    	"k8s.io/klog/v2"
    )
    
    const (
    	defaultRetryBackoff = time.Duration(500) * time.Millisecond
    	minRetryBackoff     = time.Duration(1)
    	maxRetryBackoff     = time.Duration(5) * time.Minute
    	defaultAllowTTL     = time.Duration(5) * time.Minute
    	defaultDenyTTL      = time.Duration(30) * time.Second
    	minAllowTTL         = time.Duration(1) * time.Second
    Registered: 2024-06-15 01:39
    - Last Modified: 2022-08-25 04:07
    - 3.1K bytes
    - Viewed (0)
  7. internal/cachevalue/cache_test.go

    		func(ctx context.Context) (time.Time, error) {
    			return time.Now(), nil
    		},
    	)
    
    	t1, _ := cache.Get()
    
    	t2, _ := cache.Get()
    
    	if !t1.Equal(t2) {
    		t.Fatalf("expected time to be equal: %s != %s", t1, t2)
    	}
    
    	time.Sleep(3 * time.Second)
    	t3, _ := cache.Get()
    
    	if t1.Equal(t3) {
    		t.Fatalf("expected time to be un-equal: %s == %s", t1, t3)
    	}
    }
    
    func BenchmarkCache(b *testing.B) {
    Registered: 2024-06-16 00:44
    - Last Modified: 2024-05-09 00:51
    - 2.7K bytes
    - Viewed (0)
  8. pkg/controller/certificates/authority/authority_test.go

    				NotBefore:             now.Add(-5 * time.Minute),
    				NotAfter:              now.Add(-4 * time.Minute),
    				BasicConstraintsValid: true,
    			},
    		},
    		{
    			name:   "backdate with short",
    			policy: PermissiveSigningPolicy{TTL: time.Hour, Backdate: 5 * time.Minute, Short: 8 * time.Hour, Now: nowFunc},
    			want: x509.Certificate{
    				NotBefore:             now.Add(-5 * time.Minute),
    Registered: 2024-06-15 01:39
    - Last Modified: 2021-06-23 19:36
    - 7.3K bytes
    - Viewed (0)
  9. src/runtime/signal_solaris.go

    	/* 62 */ {_SigNotify, "real time signal"},
    	/* 63 */ {_SigNotify, "real time signal"},
    	/* 64 */ {_SigNotify, "real time signal"},
    	/* 65 */ {_SigNotify, "real time signal"},
    	/* 66 */ {_SigNotify, "real time signal"},
    	/* 67 */ {_SigNotify, "real time signal"},
    	/* 68 */ {_SigNotify, "real time signal"},
    	/* 69 */ {_SigNotify, "real time signal"},
    	/* 70 */ {_SigNotify, "real time signal"},
    Registered: 2024-06-12 16:32
    - Last Modified: 2019-04-16 20:27
    - 4.5K bytes
    - Viewed (0)
  10. pkg/util/async/bounded_frequency_runner_test.go

    type timerUpdate struct {
    	active bool
    	next   time.Duration // iff active == true
    }
    
    // Fake time.
    type fakeTimer struct {
    	c chan time.Time
    
    	lock    sync.Mutex
    	now     time.Time
    	timeout time.Time
    	active  bool
    
    	updated chan timerUpdate
    }
    
    func newFakeTimer() *fakeTimer {
    	ft := &fakeTimer{
    		now:     time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC),
    		c:       make(chan time.Time),
    Registered: 2024-06-15 01:39
    - Last Modified: 2022-11-15 09:36
    - 12.5K bytes
    - Viewed (0)
Back to top