Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 197 for intVar (0.34 sec)

  1. pkg/apis/apps/v1beta2/defaults.go

    			// Set default MaxUnavailable as 1 by default.
    			updateStrategy.RollingUpdate.MaxUnavailable = ptr.To(intstr.FromInt32(1))
    		}
    		if updateStrategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 0 by default.
    			updateStrategy.RollingUpdate.MaxSurge = ptr.To(intstr.FromInt32(0))
    		}
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    		obj.Spec.RevisionHistoryLimit = new(int32)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/go/constant/value.go

    func (ratVal) implementsValue()     {}
    func (intVal) implementsValue()     {}
    func (floatVal) implementsValue()   {}
    func (complexVal) implementsValue() {}
    
    func newInt() *big.Int     { return new(big.Int) }
    func newRat() *big.Rat     { return new(big.Rat) }
    func newFloat() *big.Float { return new(big.Float).SetPrec(prec) }
    
    func i64toi(x int64Val) intVal   { return intVal{newInt().SetInt64(int64(x))} }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/dec.rules

        (Load <typ.Int>
          (OffPtr <typ.IntPtr> [config.PtrSize] ptr)
          mem)
        (Load <typ.Int>
          (OffPtr <typ.IntPtr> [2*config.PtrSize] ptr)
          mem))
    (Store {t} dst (SliceMake ptr len cap) mem) =>
      (Store {typ.Int}
        (OffPtr <typ.IntPtr> [2*config.PtrSize] dst)
        cap
        (Store {typ.Int}
          (OffPtr <typ.IntPtr> [config.PtrSize] dst)
          len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_server_journal_test.go

    		{name: "boot out of range", Services: []string{service1}, options: options{Boot: intPtr(1)}, wantErr: true},
    		{name: "tailLines", Services: []string{service1}, options: options{TailLines: intPtr(100)}},
    		{name: "tailLines out of range", Services: []string{service1}, options: options{TailLines: intPtr(100000)}},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 22:27:44 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. pkg/apis/apps/v1beta1/defaults_test.go

    	_ "k8s.io/kubernetes/pkg/apis/core/install"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/ptr"
    )
    
    func TestSetDefaultDeployment(t *testing.T) {
    	defaultIntOrString := intstr.FromString("25%")
    	differentIntOrString := intstr.FromInt32(5)
    	period := int64(v1.DefaultTerminationGracePeriodSeconds)
    	defaultTemplate := v1.PodTemplateSpec{
    		Spec: v1.PodSpec{
    			DNSPolicy:                     v1.DNSClusterFirst,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    		for {
    			line = strings.TrimSpace(line)
    			if check.inStar {
    				i := strings.Index(line, "*/")
    				if i < 0 {
    					line = ""
    					break
    				}
    				line = line[i+len("*/"):]
    				check.inStar = false
    				continue
    			}
    			if strings.HasPrefix(line, "/*") {
    				check.inStar = true
    				line = line[len("/*"):]
    				continue
    			}
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. pkg/apis/apps/v1beta2/defaults_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/ptr"
    )
    
    func TestSetDefaultDaemonSetSpec(t *testing.T) {
    	defaultLabels := map[string]string{"foo": "bar"}
    	maxUnavailable := intstr.FromInt32(1)
    	maxSurge := intstr.FromInt32(0)
    	period := int64(v1.DefaultTerminationGracePeriodSeconds)
    	defaultTemplate := v1.PodTemplateSpec{
    		Spec: v1.PodSpec{
    			DNSPolicy:                     v1.DNSClusterFirst,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    		// to avoid being confused by a commented-out // comment.
    		for {
    			line = strings.TrimSpace(line)
    			if inStar {
    				var ok bool
    				_, line, ok = strings.Cut(line, "*/")
    				if !ok {
    					break
    				}
    				inStar = false
    				continue
    			}
    			line, inStar = stringsCutPrefix(line, "/*")
    			if !inStar {
    				break
    			}
    		}
    		if line != "" {
    			// Found non-comment non-blank line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. pkg/apis/policy/v1beta1/zz_generated.conversion.go

    import (
    	unsafe "unsafe"
    
    	v1beta1 "k8s.io/api/policy/v1beta1"
    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	conversion "k8s.io/apimachinery/pkg/conversion"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	intstr "k8s.io/apimachinery/pkg/util/intstr"
    	policy "k8s.io/kubernetes/pkg/apis/policy"
    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. pkg/apis/apps/v1/defaults_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/ptr"
    )
    
    func TestSetDefaultDaemonSetSpec(t *testing.T) {
    	defaultLabels := map[string]string{"foo": "bar"}
    	maxUnavailable := intstr.FromInt32(1)
    	maxSurge := intstr.FromInt32(0)
    	period := int64(v1.DefaultTerminationGracePeriodSeconds)
    	defaultTemplate := v1.PodTemplateSpec{
    		Spec: v1.PodSpec{
    			DNSPolicy:                     v1.DNSClusterFirst,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top