Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,697 for intPtr (0.1 sec)

  1. pkg/apis/policy/v1/zz_generated.conversion.go

    import (
    	unsafe "unsafe"
    
    	v1 "k8s.io/api/policy/v1"
    	metav1 "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: Thu Nov 10 22:32:27 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.proto

    */
    
    
    // This file was autogenerated by go-to-protobuf. Do not edit it manually!
    
    syntax = "proto2";
    
    package k8s.io.apimachinery.pkg.util.intstr;
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/apimachinery/pkg/util/intstr";
    
    // IntOrString is a type that can hold an int32 or a string.  When used in
    // JSON or YAML marshalling and unmarshalling, it produces or consumes the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 04 23:57:45 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    	// Changing MinAvailable?  OK
    	newMinAvailable := intstr.FromString("28%")
    	newPdb.Spec.MinAvailable = &newMinAvailable
    	Strategy.PrepareForUpdate(ctx, newPdb, pdb)
    	errs = Strategy.ValidateUpdate(ctx, newPdb, pdb)
    	if len(errs) != 0 {
    		t.Errorf("Expected no error updating MinAvailable on poddisruptionbudgets.")
    	}
    
    	// Changing MinAvailable to MaxAvailable? OK
    	maxUnavailable := intstr.FromString("28%")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/policy/v1/zz_generated.deepcopy.go

    limitations under the License.
    */
    
    // Code generated by deepcopy-gen. DO NOT EDIT.
    
    package v1
    
    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	intstr "k8s.io/apimachinery/pkg/util/intstr"
    )
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *Eviction) DeepCopyInto(out *Eviction) {
    	*out = *in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 22:32:27 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  5. pkg/apis/apps/v1beta1/defaults.go

    		if strategy.RollingUpdate.MaxUnavailable == nil {
    			// Set default MaxUnavailable as 25% by default.
    			maxUnavailable := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxUnavailable = &maxUnavailable
    		}
    		if strategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 25% by default.
    			maxSurge := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxSurge = &maxSurge
    		}
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. pkg/apis/networking/validation/validation_test.go

    		makeNetworkPolicyCustom(setIngressPorts(
    			makePort(nil, intstr.FromInt32(80), 0),
    			makePort(&protocolTCP, intstr.FromInt32(0), 0),
    			makePort(&protocolTCP, intstr.FromInt32(443), 0),
    			makePort(&protocolUDP, intstr.FromString("dns"), 0),
    			makePort(&protocolSCTP, intstr.FromInt32(7777), 0),
    		)),
    		makeNetworkPolicyCustom(setIngressFromPodSelector("c", "d")),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go

    func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
    	var _p0 unsafe.Pointer
    	if len(mib) > 0 {
    		_p0 = unsafe.Pointer(&mib[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	_, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go

    func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
    	var _p0 unsafe.Pointer
    	if len(mib) > 0 {
    		_p0 = unsafe.Pointer(&mib[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	_, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue24491a.go

    	<-done
    
    	func() {
    		defer test("defer", uintptr(setup()), uintptr(setup()), uintptr(setup()), uintptr(setup()))
    	}()
    	<-done
    
    	func() {
    		for {
    			defer test("defer in for loop", uintptr(setup()), uintptr(setup()), uintptr(setup()), uintptr(setup()))
    			break
    		}
    	}()
    	<-done
    
    	func() {
    		s := &S{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:58 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top