Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 305 for rduration (2.25 sec)

  1. pkg/kubemark/hollow_kubelet.go

    	c.StaticPodPath = podFilePath
    	c.FileCheckFrequency.Duration = 20 * time.Second
    	c.HTTPCheckFrequency.Duration = 20 * time.Second
    	c.NodeStatusUpdateFrequency.Duration = 10 * time.Second
    	c.NodeStatusReportFrequency.Duration = 5 * time.Minute
    	c.SyncFrequency.Duration = 10 * time.Second
    	c.EvictionPressureTransitionPeriod.Duration = 5 * time.Minute
    	c.MaxPods = int32(opt.MaxPods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/license-update.go

    			// license update stopped for some reason.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func licenceUpdaterLoop(ctx context.Context, objAPI ObjectLayer) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Range.groovy

        Range(long millis) {
            this.millis = millis
        }
    
        @Override
        String toString() {
            return "[approx $millis millis]"
        }
    
        boolean isCase(Duration duration) {
            def actualMillis = duration.millis
            return actualMillis > millis - 500 && actualMillis < millis + 2000
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. src/time/sleep.go

    // license that can be found in the LICENSE file.
    
    package time
    
    import (
    	"internal/godebug"
    	"unsafe"
    )
    
    // Sleep pauses the current goroutine for at least the duration d.
    // A negative or zero duration causes Sleep to return immediately.
    func Sleep(d Duration)
    
    var asynctimerchan = godebug.New("asynctimerchan")
    
    // syncTimer returns c as an unsafe.Pointer, for passing to newTimer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiClusterDeadline,
    			Description: `set the deadline for cluster readiness check` + defaultHelpPostfix(apiClusterDeadline),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiCorsAllowOrigin,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 15 01:07:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. internal/config/identity/tls/config.go

    	InsecureSkipVerify bool `json:"skip_verify"`
    }
    
    const (
    	defaultExpiry time.Duration = 1 * time.Hour
    	minExpiry     time.Duration = 15 * time.Minute
    	maxExpiry     time.Duration = 365 * 24 * time.Hour
    )
    
    // GetExpiryDuration - return parsed expiry duration.
    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    		return defaultExpiry, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/PrettyCalculatorSpec.groovy

    import org.gradle.performance.measure.Duration
    import spock.lang.Specification
    
    import static org.gradle.performance.results.PrettyCalculator.percentChange
    
    class PrettyCalculatorSpec extends Specification {
    
        def "knows percentage change"() {
            expect:
            percentChange(Amount.valueOf(current, Duration.SECONDS), Amount.valueOf(previous, Duration.SECONDS)) == percent
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/options/attachdetachcontroller.go

    	fs.DurationVar(&o.ReconcilerSyncLoopPeriod.Duration, "attach-detach-reconcile-sync-period", o.ReconcilerSyncLoopPeriod.Duration, "The reconciler sync wait time between volume attach detach. This duration must be larger than one second, and increasing this value from the default may allow for volumes to be mismatched with pods.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

        }
    
        public static String formatDuration(long duration) {
            // CHECKSTYLE_OFF: MagicNumber
            long ms = duration % 1000;
            long s = (duration / ONE_SECOND) % 60;
            long m = (duration / ONE_MINUTE) % 60;
            long h = (duration / ONE_HOUR) % 24;
            long d = duration / ONE_DAY;
            // CHECKSTYLE_ON: MagicNumber
    
            String format;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/testing/testing_windows.go

    }
    
    func (a highPrecisionTime) sub(b highPrecisionTime) time.Duration {
    	delta := a.now - b.now
    
    	if queryPerformanceFrequency == 0 {
    		queryPerformanceFrequency = windows.QueryPerformanceFrequency()
    	}
    	hi, lo := bits.Mul64(uint64(delta), uint64(time.Second)/uint64(time.Nanosecond))
    	quo, _ := bits.Div64(hi, lo, uint64(queryPerformanceFrequency))
    	return time.Duration(quo)
    }
    
    var queryPerformanceFrequency int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top