Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 213 for UInt32 (0.14 sec)

  1. src/net/http/transport.go

    	if limit1 := t.MaxResponseHeaderBytes; limit1 != 0 && t2.MaxHeaderListSize == 0 {
    		const h2max = 1<<32 - 1
    		if limit1 >= h2max {
    			t2.MaxHeaderListSize = h2max
    		} else {
    			t2.MaxHeaderListSize = uint32(limit1)
    		}
    	}
    }
    
    // ProxyFromEnvironment returns the URL of the proxy to use for a
    // given request, as indicated by the environment variables
    // HTTP_PROXY, HTTPS_PROXY and NO_PROXY (or the lowercase versions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				},
    				RegistryPullQPS:                           utilpointer.Int32(5),
    				RegistryBurst:                             10,
    				EventRecordQPS:                            utilpointer.Int32(50),
    				EventBurst:                                100,
    				EnableDebuggingHandlers:                   utilpointer.Bool(true),
    				HealthzPort:                               utilpointer.Int32(10248),
    				HealthzBindAddress:                        "127.0.0.1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/validation/validation_test.go

    		ScaleDown: nil,
    	}, {
    		ScaleUp: &autoscaling.HPAScalingRules{
    			StabilizationWindowSeconds: utilpointer.Int32(3600),
    			SelectPolicy:               &minPolicy,
    			Policies:                   simplePoliciesList,
    		},
    		ScaleDown: &autoscaling.HPAScalingRules{
    			StabilizationWindowSeconds: utilpointer.Int32(0),
    			SelectPolicy:               &disabledPolicy,
    			Policies:                   simplePoliciesList,
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  4. pkg/proxy/endpointschangetracker_test.go

    			startingSlices: []*discovery.EndpointSlice{
    				generateEndpointSlice("svc1", "ns1", 1, 3, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](80), ptr.To[int32](443)}),
    				generateEndpointSlice("svc1", "ns1", 2, 2, 999, 999, []string{"host1", "host2"}, []*int32{ptr.To[int32](80), ptr.To[int32](443)}),
    			},
    			endpointsChangeTracker: NewEndpointsChangeTracker("host1", nil, v1.IPv4Protocol, nil, nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal.go

    func calculateScaleUpLimitWithScalingRules(currentReplicas int32, scaleUpEvents, scaleDownEvents []timestampedScaleEvent, scalingRules *autoscalingv2.HPAScalingRules) int32 {
    	var result int32
    	var proposed int32
    	var selectPolicyFn func(int32, int32) int32
    	if *scalingRules.SelectPolicy == autoscalingv2.DisabledPolicySelect {
    		return currentReplicas // Scaling is disabled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/validation/validation_test.go

    	tests := []struct {
    		lendablePercent       *int32
    		borrowingLimitPercent *int32
    		errExpected           field.ErrorList
    	}{{
    		lendablePercent: nil,
    		errExpected:     nil,
    	}, {
    		lendablePercent: pointer.Int32(0),
    		errExpected:     nil,
    	}, {
    		lendablePercent: pointer.Int32(100),
    		errExpected:     nil,
    	}, {
    		lendablePercent: pointer.Int32(101),
    		errExpected:     errLendablePercentFn(101),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types.go

    	RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,8,opt,name=revisionHistoryLimit"`
    
    	// Minimum number of seconds for which a newly created pod should be ready
    	// without any of its container crashing for it to be considered available.
    	// Defaults to 0 (pod will be considered available as soon as it is ready)
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  8. pkg/controller/history/controller_history_test.go

    		}
    	}
    	ss1 := newStatefulSet(3, "ss1", types.UID("ss1"), map[string]string{"foo": "bar"})
    	ss1.Status.CollisionCount = new(int32)
    	ss2 := newStatefulSet(3, "ss2", types.UID("ss2"), map[string]string{"goo": "car"})
    	ss2.Status.CollisionCount = new(int32)
    	ss1Rev1, err := NewControllerRevision(ss1, parentKind, ss1.Spec.Template.Labels, rawTemplate(&ss1.Spec.Template), 1, ss1.Status.CollisionCount)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta2/types.go

    type ScaleSpec struct {
    	// desired number of instances for the scaled object.
    	// +optional
    	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
    }
    
    // ScaleStatus represents the current status of a scale subresource.
    type ScaleStatus struct {
    	// actual number of observed instances of the scaled object.
    	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  10. pkg/controller/disruption/disruption_test.go

    	dc.sync(ctx, pdbName)
    	ps.VerifyPdbStatus(t, pdbName, 0, 1, 2, 10, map[string]metav1.Time{})
    }
    
    func TestScaleResource(t *testing.T) {
    	customResourceUID := uuid.NewUUID()
    	replicas := int32(10)
    	pods := int32(4)
    	maxUnavailable := int32(5)
    
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top