Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for dilation (0.14 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        state.stride_height = height;
        state.stride_width = width;
    
        if (TFIntListIs1XY1(op, "dilations", &height, &width)) {
          state.dilation_height_factor = height;
          state.dilation_width_factor = width;
        } else {
          // If the 'dilations' attribute is missing, we use the default value (1)
          // for both dilation height and width factor.
          state.dilation_height_factor = intAttrOne;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    func TestPodAddsBatching(t *testing.T) {
    	t.Parallel()
    
    	type podAdd struct {
    		delay time.Duration
    	}
    
    	tests := []struct {
    		name             string
    		batchPeriod      time.Duration
    		adds             []podAdd
    		finalDelay       time.Duration
    		wantRequestCount int
    	}{
    		{
    			name:        "three adds with no batching",
    			batchPeriod: 0 * time.Second,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    	if job.Spec.ActiveDeadlineSeconds == nil || job.Status.StartTime == nil || jobSuspended(job) {
    		return false
    	}
    	duration := jm.clock.Since(job.Status.StartTime.Time)
    	allowedDuration := time.Duration(*job.Spec.ActiveDeadlineSeconds) * time.Second
    	return duration >= allowedDuration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/options_test.go

    				HorizontalPodAutoscalerSyncPeriod:                   metav1.Duration{Duration: 45 * time.Second},
    				HorizontalPodAutoscalerDownscaleStabilizationWindow: metav1.Duration{Duration: 3 * time.Minute},
    				HorizontalPodAutoscalerCPUInitializationPeriod:      metav1.Duration{Duration: 90 * time.Second},
    				HorizontalPodAutoscalerInitialReadinessDelay:        metav1.Duration{Duration: 50 * time.Second},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    						Name: "default",
    						Webhook: &api.WebhookConfiguration{
    							Timeout:                                  metav1.Duration{Duration: 5 * time.Second},
    							AuthorizedTTL:                            metav1.Duration{Duration: 5 * time.Minute},
    							UnauthorizedTTL:                          metav1.Duration{Duration: 30 * time.Second},
    							FailurePolicy:                            "NoOpinion",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    									APIVersion: "v2",
    									Timeout: &metav1.Duration{
    										Duration: 15 * time.Second,
    									},
    									Endpoint: "unix:///tmp/testprovider.sock",
    								},
    							},
    							{
    								KMS: &apiserver.KMSConfiguration{
    									Name:       "new-kms",
    									APIVersion: "v2",
    									Timeout: &metav1.Duration{
    										Duration: 5 * time.Second,
    									},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller.go

    		return
    	}
    
    	if curPod.DeletionTimestamp != nil {
    		// when a pod is deleted gracefully its deletion timestamp is first modified to reflect a grace period,
    		// and after such time has passed, the kubelet actually deletes it from the store. We receive an update
    		// for modification of the deletion timestamp and expect an ds to create more replicas asap, not wait
    		// until the kubelet actually deletes the pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. src/time/time_test.go

    		if got := tt.d.Seconds(); got != tt.want {
    			t.Errorf("Duration(%s).Seconds() = %g; want: %g", tt.d, got, tt.want)
    		}
    	}
    }
    
    var minDurationTests = []struct {
    	d    Duration
    	want float64
    }{
    	{Duration(-60000000000), -1},
    	{Duration(-1), -1 / 60e9},
    	{Duration(1), 1 / 60e9},
    	{Duration(60000000000), 1},
    	{Duration(3000), 5e-8},
    }
    
    func TestDurationMinutes(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  9. src/time/time.go

    	}
    	return w
    }
    
    // Nanoseconds returns the duration as an integer nanosecond count.
    func (d Duration) Nanoseconds() int64 { return int64(d) }
    
    // Microseconds returns the duration as an integer microsecond count.
    func (d Duration) Microseconds() int64 { return int64(d) / 1e3 }
    
    // Milliseconds returns the duration as an integer millisecond count.
    func (d Duration) Milliseconds() int64 { return int64(d) / 1e6 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  10. pkg/proxy/winkernel/proxier.go

    	klog.V(3).InfoS("Service cleanup", "serviceInfo", svcInfo)
    	// if it's an endpoint change and winProxyOptimization annotation enable, skip lb deletion and remoteEndpoint deletion
    	winProxyOptimization := isEndpointChange && svcInfo.winProxyOptimization
    	if winProxyOptimization {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
Back to top