Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ptrTo (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	}
    
    	if namespaceIsSet {
    		paramRef.Namespace = matchingNamespace
    	}
    
    	if denyNotFound {
    		paramRef.ParameterNotFoundAction = ptrTo(admissionregistrationv1.DenyAction)
    	} else {
    		paramRef.ParameterNotFoundAction = ptrTo(admissionregistrationv1.AllowAction)
    	}
    
    	compiler := &fakeCompiler{}
    	matcher := &fakeMatcher{
    		DefaultMatch: true,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. src/reflect/type.go

    var ptrMap sync.Map // map[*rtype]*ptrType
    
    // PtrTo returns the pointer type with element t.
    // For example, if t represents type Foo, PtrTo(t) represents *Foo.
    //
    // PtrTo is the old spelling of [PointerTo].
    // The two functions behave identically.
    //
    // Deprecated: Superseded by [PointerTo].
    func PtrTo(t Type) Type { return PointerTo(t) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritedec64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	config := b.Func.Config
    	// match: (Store {t} dst (Int64Make hi lo) mem)
    	// cond: t.Size() == 8 && !config.BigEndian
    	// result: (Store {hi.Type} (OffPtr <hi.Type.PtrTo()> [4] dst) hi (Store {lo.Type} dst lo mem))
    	for {
    		t := auxToType(v.Aux)
    		dst := v_0
    		if v_1.Op != OpInt64Make {
    			break
    		}
    		lo := v_1.Args[1]
    		hi := v_1.Args[0]
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/type.go

    		TUINT32, TINT64, TUINT64, TINT, TUINT,
    		TUINTPTR, TCOMPLEX64, TCOMPLEX128, TFLOAT32, TFLOAT64:
    		return true
    	}
    	return false
    }
    
    func (t *Type) PtrTo() *Type {
    	return NewPtr(t)
    }
    
    func (t *Type) NumFields() int {
    	if t.kind == TRESULTS {
    		return len(t.extra.(*Results).Types)
    	}
    	return len(t.Fields())
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  5. src/fmt/fmt_test.go

    		if i >= 0 && i < len(s) {
    			var pattern, chars string
    			switch {
    			case strings.HasPrefix(tt.out[i:], "PTR_b"):
    				pattern = "PTR_b"
    				chars = "01"
    			case strings.HasPrefix(tt.out[i:], "PTR_o"):
    				pattern = "PTR_o"
    				chars = "01234567"
    			case strings.HasPrefix(tt.out[i:], "PTR_d"):
    				pattern = "PTR_d"
    				chars = "0123456789"
    			case strings.HasPrefix(tt.out[i:], "PTR_x"):
    				pattern = "PTR_x"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
Back to top