Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for tints (0.06 sec)

  1. hack/golangci-hints.yaml

    # enable an increasing amount of checks:
    # - golangci.yaml is the most permissive configuration. All existing code
    #   passed.
    # - golangci-strict.yaml adds checks that all new code in pull requests
    #   must pass.
    # - golangci-hints.yaml adds checks for code patterns where developer
    #   and reviewer may decide whether findings should get addressed before
    #   merging. Beware that the golangci-lint output includes also the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    				{Name: "nodeB", Score: 50},
    				{Name: "nodeC", Score: 0},
    			},
    		},
    		// taints-tolerations priority only takes care about the taints and tolerations that have effect PreferNoSchedule
    		{
    			name: "only taints and tolerations that have effect PreferNoSchedule are checked by taints-tolerations priority function",
    			pod: podWithTolerations("pod1", []v1.Toleration{
    				{
    					Key:      "cpu-type",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    	}
    	return s, nil
    }
    
    // CountIntolerableTaintsPreferNoSchedule gives the count of intolerable taints of a pod with effect PreferNoSchedule
    func countIntolerableTaintsPreferNoSchedule(taints []v1.Taint, tolerations []v1.Toleration) (intolerableTaints int) {
    	for _, taint := range taints {
    		// check only on taints that have effect PreferNoSchedule
    		if taint.Effect != v1.TaintEffectPreferNoSchedule {
    			continue
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. docs/en/docs/python-types.md

    Python has support for optional "type hints" (also called "type annotations").
    
    These **"type hints"** or annotations are a special syntax that allow declaring the <abbr title="for example: str, int, float, bool">type</abbr> of a variable.
    
    By declaring types for your variables, editors and tools can give you better support.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/crypto/x509/oid_test.go

    		str  string
    		ints []uint64
    	}{
    		{str: "", ints: []uint64{}},
    		{str: "1", ints: []uint64{1}},
    		{str: "3", ints: []uint64{3}},
    		{str: "3.100.200", ints: []uint64{3, 100, 200}},
    		{str: "1.81", ints: []uint64{1, 81}},
    		{str: "1.81.200", ints: []uint64{1, 81, 200}},
    	}
    
    	for _, tt := range cases {
    		oid, err := OIDFromInts(tt.ints)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/kubelet/flags_test.go

    				{Name: "hostname-override", Value: "override-name"},
    			},
    		},
    		{
    			name: "register with taints",
    			opts: kubeletFlagsOpts{
    				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{
    					CRISocket: "unix:///var/run/containerd/containerd.sock",
    					Taints: []v1.Taint{
    						{
    							Key:    "foo",
    							Value:  "bar",
    							Effect: "baz",
    						},
    						{
    							Key:    "key",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/index/suffixarray/suffixarray.go

    	if a.int32 != nil {
    		return int64(a.int32[i])
    	}
    	return a.int64[i]
    }
    
    func (a *ints) set(i int, v int64) {
    	if a.int32 != nil {
    		a.int32[i] = int32(v)
    	} else {
    		a.int64[i] = v
    	}
    }
    
    func (a *ints) slice(i, j int) ints {
    	if a.int32 != nil {
    		return ints{a.int32[i:j], nil}
    	}
    	return ints{nil, a.int64[i:j]}
    }
    
    // New creates a new [Index] for data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(complex128(0+1i)), -1-1i, -1+0i, -1+1i, 0-1i, 0+0i, 0+1i, 1-1i, 1+0i, 1+1i),
    	ct(reflect.TypeOf(false), false, true),
    	ct(reflect.TypeOf(&ints[0]), &ints[0], &ints[1], &ints[2]),
    	ct(reflect.TypeOf(unsafe.Pointer(&ints[0])), unsafe.Pointer(&ints[0]), unsafe.Pointer(&ints[1]), unsafe.Pointer(&ints[2])),
    	ct(reflect.TypeOf(chans[0]), chans[0], chans[1], chans[2]),
    	ct(reflect.TypeOf(toy{}), toy{0, 1}, toy{0, 2}, toy{1, -1}, toy{1, 1}),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/helper/helpers.go

    func GetMatchingTolerations(taints []v1.Taint, tolerations []v1.Toleration) (bool, []v1.Toleration) {
    	if len(taints) == 0 {
    		return true, []v1.Toleration{}
    	}
    	if len(tolerations) == 0 && len(taints) > 0 {
    		return false, []v1.Toleration{}
    	}
    	result := []v1.Toleration{}
    	for i := range taints {
    		tolerated := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/discovery/v1/types.go

    	// +optional
    	Zone *string `json:"zone,omitempty" protobuf:"bytes,7,opt,name=zone"`
    
    	// hints contains information associated with how an endpoint should be
    	// consumed.
    	// +optional
    	Hints *EndpointHints `json:"hints,omitempty" protobuf:"bytes,8,opt,name=hints"`
    }
    
    // EndpointConditions represents the current condition of an endpoint.
    type EndpointConditions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top