Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 270 for ptr (0.03 sec)

  1. pkg/config/mesh/mesh.go

    	if ph != nil && orig != nil {
    		ph.ForwardedClientCert = ptr.NonEmptyOrDefault(ph.ForwardedClientCert, orig.ForwardedClientCert)
    		ph.RequestId = ptr.NonEmptyOrDefault(ph.RequestId, orig.RequestId)
    		ph.AttemptCount = ptr.NonEmptyOrDefault(ph.AttemptCount, orig.AttemptCount)
    		ph.Server = ptr.NonEmptyOrDefault(ph.Server, orig.Server)
    		ph.EnvoyDebugHeaders = ptr.NonEmptyOrDefault(ph.EnvoyDebugHeaders, orig.EnvoyDebugHeaders)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. operator/pkg/util/reflect_test.go

    	if err == nil {
    		return ""
    	}
    	return err.Error()
    }
    
    // to ptr conversion utility functions
    func toInt8Ptr(i int8) *int8 { return &i }
    
    func TestIsValueNil(t *testing.T) {
    	if !IsValueNil(nil) {
    		t.Error("got IsValueNil(nil) false, want true")
    	}
    	if !IsValueNil((*int)(nil)) {
    		t.Error("got IsValueNil(ptr) false, want true")
    	}
    	if !IsValueNil(map[int]int(nil)) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  3. pkg/controller/job/pod_failure_policy_test.go

    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	_ "k8s.io/kubernetes/pkg/apis/core/install"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/ptr"
    )
    
    func TestMatchPodFailurePolicy(t *testing.T) {
    	validPodObjectMeta := metav1.ObjectMeta{
    		Namespace: "default",
    		Name:      "mypod",
    	}
    	ignore := batch.PodFailurePolicyActionIgnore
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. src/runtime/arena.go

    	}
    	mp.mallocing = 1
    
    	var ptr unsafe.Pointer
    	if !typ.Pointers() {
    		// Allocate pointer-less objects from the tail end of the chunk.
    		v, ok := s.userArenaChunkFree.takeFromBack(size, typ.Align_)
    		if ok {
    			ptr = unsafe.Pointer(v)
    		}
    	} else {
    		v, ok := s.userArenaChunkFree.takeFromFront(size, typ.Align_)
    		if ok {
    			ptr = unsafe.Pointer(v)
    		}
    	}
    	if ptr == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/resolver.go

    			m := &methods[i]
    			// Determine the receiver base type and associate m with it.
    			ptr, base := check.resolveBaseTypeName(m.ptr, m.recv, fileScopes)
    			if base != nil {
    				m.obj.hasPtrRecv_ = ptr
    				check.methods[base] = append(check.methods[base], m.obj)
    			}
    		}
    	}
    }
    
    // unpackRecv unpacks a receiver type and returns its components: ptr indicates whether
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func unsafeslicecheckptr(typ *byte, ptr unsafe.Pointer, len int64)
    func panicunsafeslicelen()
    func panicunsafeslicenilptr()
    func unsafestringcheckptr(ptr unsafe.Pointer, len int64)
    func panicunsafestringlen()
    func panicunsafestringnilptr()
    
    func memmove(to *any, frm *any, length uintptr)
    func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    func memclrHasPointers(ptr unsafe.Pointer, n uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. callbacks/associations.go

    					var (
    						rValLen   = db.Statement.ReflectValue.Len()
    						objs      = make([]reflect.Value, 0, rValLen)
    						fieldType = rel.Field.FieldType
    						isPtr     = fieldType.Kind() == reflect.Ptr
    					)
    
    					if !isPtr {
    						fieldType = reflect.PtrTo(fieldType)
    					}
    
    					elems := reflect.MakeSlice(reflect.SliceOf(fieldType), 0, 10)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. pkg/proxy/config/config_test.go

    	"k8s.io/apimachinery/pkg/watch"
    	informers "k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    	ktesting "k8s.io/client-go/testing"
    	klogtesting "k8s.io/klog/v2/ktesting"
    	"k8s.io/utils/ptr"
    )
    
    type sortedServices []*v1.Service
    
    func (s sortedServices) Len() int {
    	return len(s)
    }
    func (s sortedServices) Swap(i, j int) {
    	s[i], s[j] = s[j], s[i]
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. src/crypto/aes/asm_ppc64x.s

    #ifdef NEEDS_ESPERM
    	MOVD	$·rcon(SB), PTR // PTR points to rcon addr
    	LVX	(PTR), ESPERM
    	ADD	$0x10, PTR
    #else
    	MOVD	$·rcon+0x10(SB), PTR // PTR points to rcon addr (skipping permute vector)
    #endif
    
    	// Get key from memory and write aligned into VR
    	P8_LXVB16X(INP, R0, IN0)
    	ADD	$0x10, INP, INP
    	MOVD	$0x20, TEMP
    
    	CMPW	ROUNDS, $12
    	LVX	(PTR)(R0), RCON    // lvx   4,0,6      Load first 16 bytes into RCON
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/go/types/resolver.go

    		m := &methods[i]
    		// Determine the receiver base type and associate m with it.
    		ptr, base := check.resolveBaseTypeName(m.ptr, m.recv, fileScopes)
    		if base != nil {
    			m.obj.hasPtrRecv_ = ptr
    			check.methods[base] = append(check.methods[base], m.obj)
    		}
    	}
    }
    
    // unpackRecv unpacks a receiver type and returns its components: ptr indicates whether
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top