Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,976 for Hour (0.05 sec)

  1. tests/non_std_test.go

    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/server_test.go

    			},
    			wantLeaderElection: &componentbaseconfig.LeaderElectionConfiguration{
    				LeaderElect:       false,                                    // from CLI args
    				LeaseDuration:     metav1.Duration{Duration: 2 * time.Hour}, // from CLI args
    				RenewDeadline:     metav1.Duration{Duration: 10 * time.Second},
    				RetryPeriod:       metav1.Duration{Duration: 2 * time.Second},
    				ResourceLock:      "leases",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/cache.go

    // Go developers found that essentially all reuse of cached entries happened
    // within 5 days of the previous reuse. See golang.org/issue/22990.
    const (
    	mtimeInterval = 1 * time.Hour
    	trimInterval  = 24 * time.Hour
    	trimLimit     = 5 * 24 * time.Hour
    )
    
    // used makes a best-effort attempt to update mtime on file,
    // so that mtime reflects cache access time.
    //
    // Because the reflection only needs to be approximate,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. internal/config/callhome/callhome.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
    - 2.6K bytes
    - Viewed (0)
  5. security/pkg/server/ca/authenticate/oidc_test.go

    	expStr := strconv.FormatInt(time.Now().Add(time.Hour).Unix(), 10)
    	claims := `{"iss": "` + server.URL + `", "aud": ["baz.svc.id.goog"], "sub": "system:serviceaccount:bar:foo", "exp": ` + expStr + `}`
    	token, err := generateJWT(&key, []byte(claims))
    	if err != nil {
    		t.Fatalf("failed to generate JWT: %v", err)
    	}
    	// Create an expired JWT token
    	expiredStr := strconv.FormatInt(time.Now().Add(-time.Hour).Unix(), 10)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

            triggers {
                vcs {
                    branchFilter = "+:master"
                    enabled = enableTriggers
                }
                schedule {
                    schedulingPolicy = daily {
                        hour = 3
                    }
                    branchFilter = "+:master"
                    triggerBuild = always()
                    withPendingChangesOnly = false
                    enabled = enableTriggers
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "EvaluatorTimestampFormatPatternHourClockAmPmMismatch",
    		message:    "Time stamp format pattern contains a 12-hour hour of day format symbol but doesn't also contain an AM/PM field, or it contains a 24-hour hour of day format specifier and contains an AM/PM field in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. .github/workflows/stale-pr.yml

    name: 'Close stale PRs'
    on:
      schedule:
        # Execute every hour at xx:05 to avoid conflicts with other workflows
        - cron: '5 * * * *'
    
    permissions: {}
    
    jobs:
      stale:
        permissions:
          pull-requests: write
    
        runs-on: ubuntu-latest
        steps:
          - uses: actions/stale@v9
            with:
              operations-per-run: 50
              ascending: true
              exempt-all-milestones: true
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. security/pkg/util/certutil.go

    			cert.NotAfter, now)
    	}
    	// Note: multiply time.Duration(int64) by an int (gracePeriodPercentage) will cause overflow (e.g.,
    	// when duration is time.Hour * 90000). So float64 is used instead.
    	gracePeriod := time.Duration(float64(cert.NotAfter.Sub(cert.NotBefore)) * (float64(cu.gracePeriodPercentage) / 100))
    	// waitTime is the duration between now and the grace period starts.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    func getDefaultSelfSignedIstioCAOptions(fclient *fake.Clientset) *IstioCAOptions {
    	caCertTTL := time.Hour
    	defaultCertTTL := 30 * time.Minute
    	maxCertTTL := time.Hour
    	org := "test.ca.Org"
    	client := fake.NewSimpleClientset().CoreV1()
    	if fclient != nil {
    		client = fclient.CoreV1()
    	}
    	rootCertFile := ""
    	rootCertCheckInverval := time.Hour
    	rsaKeySize := 2048
    
    	caopts, _ := NewSelfSignedIstioCAOptions(context.Background(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
Back to top