Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,567 for rduration (0.17 sec)

  1. internal/config/identity/openid/jwt_test.go

    		t.Fatal(err)
    	}
    }
    
    func TestDefaultExpiryDuration(t *testing.T) {
    	testCases := []struct {
    		reqURL    string
    		duration  time.Duration
    		expectErr bool
    	}{
    		{
    			reqURL:   "http://127.0.0.1:8443/?Token=xxxxx",
    			duration: time.Duration(60) * time.Minute,
    		},
    		{
    			reqURL:    "http://127.0.0.1:8443/?DurationSeconds=9s",
    			expectErr: true,
    		},
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. docs_src/extra_data_types/tutorial001_an.py

    ):
        start_process = start_datetime + process_after
        duration = end_datetime - start_process
        return {
            "item_id": item_id,
            "start_datetime": start_datetime,
            "end_datetime": end_datetime,
            "process_after": process_after,
            "repeat_at": repeat_at,
            "start_process": start_process,
            "duration": duration,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 830 bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/validation/validation.go

    	}
    	if kc.ImageMaximumGCAge.Duration > 0 && kc.ImageMaximumGCAge.Duration <= kc.ImageMinimumGCAge.Duration {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: imageMaximumGCAge %v must be greater than imageMinimumGCAge %v", kc.ImageMaximumGCAge.Duration, kc.ImageMinimumGCAge.Duration))
    	}
    	if utilvalidation.IsInRange(int(kc.IPTablesDropBit), 0, 31) != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. docs_src/extra_data_types/tutorial001_an_py39.py

    ):
        start_process = start_datetime + process_after
        duration = end_datetime - start_process
        return {
            "item_id": item_id,
            "start_datetime": start_datetime,
            "end_datetime": end_datetime,
            "process_after": process_after,
            "repeat_at": repeat_at,
            "start_process": start_process,
            "duration": duration,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 801 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // whether the context has been cancelled.
    func PollUntilContextCancel(ctx context.Context, interval time.Duration, immediate bool, condition ConditionWithContextFunc) error {
    	return loopConditionUntilContext(ctx, Backoff{Duration: interval}.Timer(), immediate, false, condition)
    }
    
    // PollUntilContextTimeout will terminate polling after timeout duration by setting a context
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/hpacontroller.go

    	fs.DurationVar(&o.HorizontalPodAutoscalerSyncPeriod.Duration, "horizontal-pod-autoscaler-sync-period", o.HorizontalPodAutoscalerSyncPeriod.Duration, "The period for syncing the number of pods in horizontal pod autoscaler.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/integrator.go

    	}
    	avg := igr.IntegralX / igr.ElapsedSeconds
    	// standard deviation is sqrt( average( (x - xbar)^2 ) )
    	// = sqrt( Integral( x^2 + xbar^2 -2*x*xbar dt ) / Duration )
    	// = sqrt( ( Integral( x^2 dt ) + Duration * xbar^2 - 2*xbar*Integral(x dt) ) / Duration)
    	// = sqrt( Integral(x^2 dt)/Duration - xbar^2 )
    	variance := igr.IntegralXX/igr.ElapsedSeconds - avg*avg
    	if variance >= 0 {
    		return avg, math.Sqrt(variance)
    	}
    	return avg, math.NaN()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 17:37:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go

    func SeatsTimesDuration(seats float64, duration time.Duration) SeatSeconds {
    	return SeatSeconds(int64(math.Round(seats * float64(duration/time.Nanosecond) / (1e9 / ssScale))))
    }
    
    // ToFloat converts to a floating-point representation.
    // This conversion may lose precision.
    func (ss SeatSeconds) ToFloat() float64 {
    	return float64(ss) / ssScale
    }
    
    // DurationPerSeat returns duration per seat.
    // This division may lose precision.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 09:16:46 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

    @IntegrationTestTimeout(60)
    class TaskTimeoutIntegrationTest extends AbstractIntegrationSpec {
    
        private static final TIMEOUT = 500
    
        long postTimeoutCheckFrequencyMs = Duration.ofMinutes(3).toMillis()
        long slowStopLogStacktraceFrequencyMs = Duration.ofMinutes(3).toMillis()
    
        def operations = new BuildOperationsFixture(executer, temporaryFolder)
    
        def setup() {
            executer.beforeExecute {
                [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. pkg/wasm/options.go

    	DefaultHTTPRequestMaxRetries = 5
    )
    
    // Options contains configurations to create a Cache instance.
    type Options struct {
    	PurgeInterval         time.Duration
    	ModuleExpiry          time.Duration
    	InsecureRegistries    sets.String
    	HTTPRequestTimeout    time.Duration
    	HTTPRequestMaxRetries int
    }
    
    func defaultOptions() Options {
    	return Options{
    		PurgeInterval:         DefaultPurgeInterval,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top