Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 4,994 for Hour (0.16 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    	// or writing the connection will return an i/o timeout if this deadline is exceeded.
    	// Currently, we use the same value as the kubelet websocket server.
    	defaultIdleConnectionTimeout = 4 * time.Hour
    
    	// Deadline for writing errors to the websocket connection before io/timeout.
    	writeErrorDeadline = 10 * time.Second
    )
    
    // Options contains details about which streams are required for
    // remote command execution.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. 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)
  4. security/pkg/pki/ra/k8s_ra_test.go

    			}
    		}
    	}()
    	return client
    }
    
    func createFakeK8sRA(client kube.Client, caCertFile string) (*KubernetesRA, error) {
    	defaultCertTTL := 30 * time.Minute
    	maxCertTTL := time.Hour
    	caSigner := "kubernates.io/kube-apiserver-client"
    	raOpts := &IstioRAOptions{
    		ExternalCAType: ExtCAK8s,
    		DefaultCertTTL: defaultCertTTL,
    		MaxCertTTL:     maxCertTTL,
    		CaSigner:       caSigner,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 00:44:54 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. pkg/log/default_test.go

    			t.Fatalf("Failed to unmarshal log entry: %v", err)
    		}
    		return e.Time
    	}
    
    	t.Run("specified time", func(t *testing.T) {
    		yesterday := time.Now().Add(-time.Hour * 24).Truncate(time.Microsecond)
    
    		stdoutLines, _ := captureStdout(func() {
    			o := DefaultOptions()
    			o.JSONEncoding = true
    			_ = Configure(o)
    			defaultScope.LogWithTime(InfoLevel, "Hello", yesterday)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. docs/sts/assume-role.md

    ## API Request Parameters
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. 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)
  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. cluster/gce/windows/configure.ps1

      $config = New-FileRotationConfig
      # TODO(random-liu): Generate containerd log into the log directory.
      Schedule-LogRotation -Pattern '.*\.log$' -Path ${env:LOGS_DIR} -RepetitionInterval $(New-Timespan -Hour 1) -Config $config
    
      Pull-InfraContainer
      # Flush cache to disk to persist the setup status
      Write-Volumecache C -PassThru
    }
    catch {
      Write-Host 'Exception caught in script:'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 28 21:28:26 UTC 2023
    - 7.1K 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