Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,785 for Hour (0.1 sec)

  1. src/go/printer/testdata/expressions.golden

    	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.4K bytes
    - Viewed (0)
  2. src/go/printer/testdata/expressions.raw

    	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.4K bytes
    - Viewed (0)
  3. internal/config/identity/openid/openid.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_test.go

    	restored := make(map[string]string)
    	restored[xhttp.AmzRestore] = completedRestoreObj(time.Now().UTC().Add(time.Hour)).String()
    
    	restoredExpired := make(map[string]string)
    	restoredExpired[xhttp.AmzRestore] = completedRestoreObj(time.Now().UTC().Add(-time.Hour)).String()
    
    	testCases := []struct {
    		xlmeta xlMetaV2Object
    		uses   bool
    	}{
    		{ // transitioned object version
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    	fakeRuntime, _, m, err := createTestRuntimeManager()
    	assert.NoError(t, err)
    
    	podStateProvider := m.containerGC.podStateProvider.(*fakePodStateProvider)
    	defaultGCPolicy := kubecontainer.GCPolicy{MinAge: time.Hour, MaxPerPodContainer: 2, MaxContainers: 6}
    
    	for _, test := range []struct {
    		description          string                  // description of the test case
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

        public void testDefaultBuildTimestampFormatShouldFormatTimeIn24HourFormat() {
            Calendar cal = Calendar.getInstance();
            cal.setTimeZone(MavenBuildTimestamp.DEFAULT_BUILD_TIME_ZONE);
            cal.set(Calendar.HOUR, 12);
            cal.set(Calendar.AM_PM, Calendar.AM);
    
            // just to make sure all the bases are covered...
            cal.set(Calendar.HOUR_OF_DAY, 0);
            cal.set(Calendar.MINUTE, 16);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. src/net/timeout_test.go

    			// to trigger runtime adjusttimers calls.
    			for j := tries; j > 0; j-- {
    				for k := 0; k < conns; k++ {
    					c[k].SetReadDeadline(now.Add(2*time.Hour + time.Duration(i*j*k)*time.Second))
    					c[k].SetWriteDeadline(now.Add(1*time.Hour + time.Duration(i*j*k)*time.Second))
    				}
    			}
    		}(i)
    	}
    	wg.Wait()
    }
    
    // isDeadlineExceeded reports whether err is or wraps os.ErrDeadlineExceeded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle.go

    func ExpectedExpiryTime(modTime time.Time, days int) time.Time {
    	if days == 0 {
    		return modTime
    	}
    	t := modTime.UTC().Add(time.Duration(days+1) * 24 * time.Hour)
    	return t.Truncate(24 * time.Hour)
    }
    
    // SetPredictionHeaders sets time to expiry and transition headers on w for a
    // given obj.
    func (lc Lifecycle) SetPredictionHeaders(w http.ResponseWriter, obj ObjectOpts) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. 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)
  10. pkg/serviceaccount/claims_test.go

    			expiry:    *jwt.NewNumericDate(now().Add(-1_000 * time.Hour)),
    			expectErr: "service account token has expired",
    		},
    		{
    			name:      "not yet valid",
    			getter:    fakeGetter{serviceAccount, nil, nil, nil},
    			private:   &privateClaims{Kubernetes: kubernetes{Svcacct: ref{Name: "saname", UID: "sauid"}, Namespace: "ns"}},
    			notBefore: *jwt.NewNumericDate(now().Add(1_000 * time.Hour)),
    			expectErr: "service account token is not valid yet",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top