Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,567 for rduration (0.13 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/SkipEmptyIncrementalWorkStep.java

                } else {
                    skipOutcome = ExecutionOutcome.SHORT_CIRCUITED;
                }
            }
            Duration duration = skipOutcome == ExecutionOutcome.SHORT_CIRCUITED ? Duration.ZERO : Duration.ofMillis(timer.getElapsedMillis());
            return CachingResult.shortcutResult(duration, Execution.skipped(skipOutcome, work), null, executionReason, null);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. pkg/controller/job/backoff_utils.go

    	if p.DeletionTimestamp != nil {
    		finishTime := p.DeletionTimestamp.Time.Add(-time.Duration(ptr.Deref(p.DeletionGracePeriodSeconds, 0)) * time.Second)
    		return &finishTime
    	}
    	return nil
    }
    
    func (backoff backoffRecord) getRemainingTime(clock clock.WithTicker, defaultBackoff time.Duration, maxBackoff time.Duration) time.Duration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. cmd/os-instrumented.go

    func (o *osMetrics) time(s osMetric) func() {
    	startTime := time.Now()
    	return func() {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&o.operations[s], 1)
    		o.latency[s].add(duration)
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    func (o *osMetrics) incTime(s osMetric, d time.Duration) {
    	atomic.AddUint64(&o.operations[s], 1)
    	o.latency[s].add(d)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/autoscaling.go

    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerSyncPeriod.Duration,
    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerDownscaleStabilizationWindow.Duration,
    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerTolerance,
    		controllerContext.ComponentConfig.HPAController.HorizontalPodAutoscalerCPUInitializationPeriod.Duration,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 01:37:36 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/log/slog/example_test.go

    		slog.Group("req",
    			slog.String("method", r.Method),
    			slog.String("url", r.URL.String())),
    		slog.Int("status", http.StatusOK),
    		slog.Duration("duration", time.Second))
    
    	// Output:
    	// level=INFO msg=finished req.method=GET req.url=localhost status=200 duration=1s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 14:56:30 UTC 2023
    - 857 bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	var src string
    	duration, timeout := time.Duration(s.Seconds)*time.Second, time.Duration(s.Timeout)*time.Second
    	if fetcher != nil {
    		p, src, err = fetcher.Fetch(source, duration, timeout)
    		if err != nil {
    			return
    		}
    	}
    	if err != nil || p == nil {
    		// Fetch the profile over HTTP or from a file.
    		p, src, err = fetch(source, duration, timeout, ui, tr)
    		if err != nil {
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. internal/config/drive/drive.go

    	MaxTimeout time.Duration `json:"maxTimeout"`
    }
    
    // Update - updates the config with latest values
    func (c *Config) Update(new Config) error {
    	configLk.Lock()
    	defer configLk.Unlock()
    	c.MaxTimeout = getMaxTimeout(new.MaxTimeout)
    	return nil
    }
    
    // GetMaxTimeout - returns the per call drive operation timeout
    func (c *Config) GetMaxTimeout() time.Duration {
    	return c.GetOPTimeout()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/DefaultTestReportTest.groovy

                    testcase("passed") {
                        duration = 1000;
                    }
                    testcase("ignored") {
                        duration = 1000;
                        ignore()
                    }
                }
                testClassResult("org.gradle.failing.SomeIgnoredSomePassedSomeFailed") {
                    testcase("passed") {
                        duration = 1000;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/defaults.go

    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_WebhookConfiguration(obj *WebhookConfiguration) {
    	if obj.AuthorizedTTL.Duration == 0 {
    		obj.AuthorizedTTL.Duration = 5 * time.Minute
    	}
    	if obj.UnauthorizedTTL.Duration == 0 {
    		obj.UnauthorizedTTL.Duration = 30 * time.Second
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 07:00:31 UTC 2024
    - 986 bytes
    - Viewed (0)
  10. src/time/tick.go

    		return
    	}
    	stopTimer((*Timer)(unsafe.Pointer(t)))
    }
    
    // Reset stops a ticker and resets its period to the specified duration.
    // The next tick will arrive after the new period elapses. The duration d
    // must be greater than zero; if not, Reset will panic.
    func (t *Ticker) Reset(d Duration) {
    	if d <= 0 {
    		panic("non-positive interval for Ticker.Reset")
    	}
    	if !t.initTicker {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top