Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for StructType (0.24 sec)

  1. src/reflect/type.go

    	abi.PtrType
    }
    
    // sliceType represents a slice type.
    type sliceType struct {
    	abi.SliceType
    }
    
    // Struct field
    type structField = abi.StructField
    
    // structType represents a struct type.
    type structType struct {
    	abi.StructType
    }
    
    func pkgPath(n abi.Name) string {
    	if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
    		return ""
    	}
    	i, l := n.ReadVarint(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    		// by the general code after the switch.
    
    	case TSTRUCT:
    		if t.StructType().Map == nil {
    			if x.StructType().Map != nil {
    				return CMPlt // nil < non-nil
    			}
    			// to the fallthrough
    		} else if x.StructType().Map == nil {
    			return CMPgt // nil > non-nil
    		} else if t.StructType().Map.MapType().Bucket == t {
    			// Both have non-nil Map
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    		// assume element type is simply absent - don't advance
    	}
    
    	return typ
    }
    
    // StructType = "struct" "{" { FieldDecl ";" } "}" .
    func (p *parser) structType() *StructType {
    	if trace {
    		defer p.trace("structType")()
    	}
    
    	typ := new(StructType)
    	typ.pos = p.pos()
    
    	p.want(_Struct)
    	p.want(_Lbrace)
    	p.list("struct type", _Semi, _Rbrace, func() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    var unionWithPointer = make(map[ast.Expr]bool)
    
    // anonymousStructTag provides a consistent tag for an anonymous struct.
    // The same dwarf.StructType pointer will always get the same tag.
    var anonymousStructTag = make(map[*dwarf.StructType]string)
    
    func (c *typeConv) Init(ptrSize, intSize int64) {
    	c.ptrSize = ptrSize
    	c.intSize = intSize
    	c.m = make(map[string]*Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

    // on whether it meets the match criteria.
    // The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
    // +structType=atomic
    message MatchResources {
      // NamespaceSelector decides whether to run the admission control policy on an object based
      // on whether the namespace for that object matches the selector. If the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

    // on whether it meets the match criteria.
    // The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
    // +structType=atomic
    message MatchResources {
      // NamespaceSelector decides whether to run the admission control policy on an object based
      // on whether the namespace for that object matches the selector. If the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// +optional
    	Variables []Variable `json:"variables,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=variables"`
    }
    
    // ParamKind is a tuple of Group Kind and Version.
    // +structType=atomic
    type ParamKind struct {
    	// APIVersion is the API group version the resources belong to.
    	// In format of "group/version".
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// +optional
    	Variables []Variable `json:"variables,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=variables"`
    }
    
    // ParamKind is a tuple of Group Kind and Version.
    // +structType=atomic
    type ParamKind struct {
    	// APIVersion is the API group version the resources belong to.
    	// In format of "group/version".
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/out.go

    // These assumptions are checked by the gccProlog.
    // Also assumes that gc convention is to word-align the
    // input and output parameters.
    func (p *Package) structType(n *Name) (string, int64) {
    	var buf strings.Builder
    	fmt.Fprint(&buf, "struct {\n")
    	off := int64(0)
    	for i, t := range n.FuncType.Params {
    		if off%t.Align != 0 {
    			pad := t.Align - off%t.Align
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/types.go

    	// +optional
    	MessageExpression string
    }
    
    // Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
    // +structType=atomic
    type Variable struct {
    	// Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables.
    	// The variable can be accessed in other expressions through `variables`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
Back to top