Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 321 for Hour (0.04 sec)

  1. src/time/format.go

    		case stdHour:
    			hour, value, err = getnum(value, false)
    			if hour < 0 || 24 <= hour {
    				rangeErrString = "hour"
    			}
    		case stdHour12, stdZeroHour12:
    			hour, value, err = getnum(value, std == stdZeroHour12)
    			if hour < 0 || 12 < hour {
    				rangeErrString = "hour"
    			}
    		case stdMinute, stdZeroMinute:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    			}
    		})
    	}
    
    	run(t, "After", func() { After(Hour) })
    	run(t, "Tick", func() { Tick(Hour) })
    	run(t, "NewTimer", func() { NewTimer(Hour) })
    	run(t, "NewTicker", func() { NewTicker(Hour) })
    	run(t, "NewTimerStop", func() { NewTimer(Hour).Stop() })
    	run(t, "NewTickerStop", func() { NewTicker(Hour).Stop() })
    }
    
    func TestChan(t *testing.T) {
    	for _, name := range []string{"0", "1", "2"} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. pkg/kubelet/util/queue/work_queue_test.go

    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    	// Dial the time to 1 hour ahead.
    	clock.Step(time.Hour)
    	expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    }
    
    func TestNewBasicWorkQueue(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. security/pkg/util/jwtutil_test.go

    		expectedExp time.Time
    		expectedErr error
    	}{
    		"jwt with expiration time": {
    			jwt:         thirdPartyJwt,
    			expectedExp: time.Date(2020, time.April, 5, 10, 13, 54, 0, time.FixedZone("PDT", -int((7*time.Hour).Seconds()))),
    			expectedErr: nil,
    		},
    		"jwt with no expiration time": {
    			jwt:         firstPartyJwt,
    			expectedExp: time.Time{},
    			expectedErr: nil,
    		},
    		"invalid jwt": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	if t.staleUploadsCleanupInterval == 0 {
    		return 6 * time.Hour // default 6 hours
    	}
    
    	return t.staleUploadsCleanupInterval
    }
    
    func (t *apiConfig) getStaleUploadsExpiry() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.staleUploadsExpiry == 0 {
    		return 24 * time.Hour // default 24 hours
    	}
    
    	return t.staleUploadsExpiry
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		{"ms", []string{"ms", "millisecond"}, float64(time.Millisecond)},
    		{"s", []string{"s", "sec", "second"}, float64(time.Second)},
    		{"hrs", []string{"hour", "hr"}, float64(time.Hour)},
    	},
    	DefaultUnit: Unit{"s", []string{}, float64(time.Second)},
    }, {
    	Units: []Unit{
    		{"n*GCU", []string{"nanogcu"}, 1e-9},
    		{"u*GCU", []string{"microgcu"}, 1e-6},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/list.md

    | `minio_cluster_replication_last_hour_failed_bytes`         | (_Site Replication Only_) Total number of bytes failed at least once to replicate in the last full hour. |
    | `minio_cluster_replication_last_hour_failed_count`         | (_Site Replication Only_) Total number of objects which failed replication in the last full hour.        |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  8. pkg/controller/podgc/gc_controller_test.go

    			creationTime := time.Unix(0, 0)
    			nodes := []*v1.Node{testutil.NewNode("node")}
    
    			pods := make([]*v1.Pod, 0, len(test.pods))
    			for _, pod := range test.pods {
    				creationTime = creationTime.Add(1 * time.Hour)
    				pods = append(pods, &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{Name: pod.name, Namespace: metav1.NamespaceDefault, CreationTimestamp: metav1.Time{Time: creationTime}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  9. cmd/globals.go

    	// tmp directory are deemed stale.
    	GlobalStaleUploadsExpiry = time.Hour * 24 // 24 hrs.
    
    	// GlobalStaleUploadsCleanupInterval - Cleanup interval when the stale uploads cleanup is initiated.
    	GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
    
    	// Refresh interval to update in-memory iam config cache.
    	globalRefreshIAMInterval = 10 * time.Minute
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/options/options_test.go

    				CertDirectory: "/var/run/kubernetes",
    				PairName:      "apiserver",
    			},
    			HTTP2MaxStreamsPerConnection: 42,
    			Required:                     true,
    		}).WithLoopback(),
    		EventTTL: 1 * time.Hour,
    		Audit: &apiserveroptions.AuditOptions{
    			LogOptions: apiserveroptions.AuditLogOptions{
    				Path:       "/var/log",
    				MaxAge:     11,
    				MaxBackups: 12,
    				MaxSize:    13,
    				Format:     "json",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top