Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,785 for Hour (0.07 sec)

  1. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            days << [-1, 0]
        }
    
        def "cleanup is triggered after max number of hours expires"() {
            def originalCheckTime = initializeHome()
    
            // One hour isn't enough to trigger
            when:
            // Set the time back 1 hour
            def lastCleanupCheck = markCacheLastCleaned(originalCheckTime - TimeUnit.HOURS.toMillis(1))
            run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. pkg/registry/core/persistentvolume/strategy_test.go

    		map[string]string{"name": "metadata.name"},
    	)
    }
    
    func TestStatusUpdate(t *testing.T) {
    	now := metav1.Now()
    	origin := metav1.NewTime(now.Add(time.Hour))
    	later := metav1.NewTime(now.Add(time.Hour * 2))
    	NowFunc = func() metav1.Time { return now }
    	defer func() {
    		NowFunc = metav1.Now
    	}()
    	tests := []struct {
    		name        string
    		fg          bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go

    		{"string", true, nil},
    		{"string", "foo", "foo"},
    
    		{"date", int64(42), nil},
    		{"date", float64(3.14), nil},
    		{"date", true, nil},
    		{"date", time.Now().Add(-time.Hour*12 - 30*time.Minute).UTC().Format(time.RFC3339), "12h"},
    		{"date", time.Now().Add(+time.Hour*12 + 30*time.Minute).UTC().Format(time.RFC3339), "<invalid>"},
    		{"date", "", "<unknown>"},
    
    		{"unknown", "foo", nil},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/defaults.go

    		obj.DefaultMode = &perm
    	}
    }
    func SetDefaults_ServiceAccountTokenProjection(obj *v1.ServiceAccountTokenProjection) {
    	hour := int64(time.Hour.Seconds())
    	if obj.ExpirationSeconds == nil {
    		obj.ExpirationSeconds = &hour
    	}
    }
    func SetDefaults_PersistentVolume(obj *v1.PersistentVolume) {
    	if obj.Status.Phase == "" {
    		obj.Status.Phase = v1.VolumePending
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K 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. 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)
  7. src/go/printer/testdata/expressions.input

    	draw.Color(0xBB005DFF), /* maroon */
    }
    
    
    func same(t, u *Time) bool {
    	// respect source lines in multi-line expressions
    	return t.Year == u.Year &&
    		t.Month == u.Month &&
    		t.Day == u.Day &&
    		t.Hour == u.Hour &&
    		t.Minute == u.Minute &&
    		t.Second == u.Second &&
    		t.Weekday == u.Weekday &&
    		t.ZoneOffset == u.ZoneOffset &&
    		t.Zone == u.Zone
    }
    
    
    func (p *parser) charClass() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.1K 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. pkg/controlplane/controller/kubernetesservice/controller_test.go

    		t.Run(test.testName, func(t *testing.T) {
    			master := Controller{}
    			fakeClient := fake.NewSimpleClientset(test.service)
    			serviceInformer := v1informers.NewServiceInformer(fakeClient, metav1.NamespaceDefault, 12*time.Hour, cache.Indexers{})
    			serviceStore := serviceInformer.GetIndexer()
    			err := serviceStore.Add(test.service)
    			if err != nil {
    				t.Fatalf("unexpected error adding service %v to the store: %v", test.service, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 10:41:06 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                    createSearchLogCondition(pager, cb);
                    cb.aggregation().setRequestedAt_DateHistogram(SearchLogPager.LOG_TYPE_SEARCH_COUNT_HOUR, op -> {
                        op.calendarInterval(DateHistogramInterval.HOUR);
                        op.minDocCount(0);
                        op.order(BucketOrder.key(true));
                    }, null);
                });
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top