Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for StructType (0.27 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. src/go/printer/testdata/parser.go

    	field := &ast.Field{doc, idents, typ, tag, p.lineComment}
    	p.declare(field, scope, ast.Var, idents...)
    
    	return field
    }
    
    func (p *parser) parseStructType() *ast.StructType {
    	if p.trace {
    		defer un(trace(p, "StructType"))
    	}
    
    	pos := p.expect(token.STRUCT)
    	lbrace := p.expect(token.LBRACE)
    	scope := ast.NewScope(nil) // struct scope
    	var list []*ast.Field
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/go/parser/parser.go

    	}
    
    	comment := p.expectSemi()
    
    	field := &ast.Field{Doc: doc, Names: names, Type: typ, Tag: tag, Comment: comment}
    	return field
    }
    
    func (p *parser) parseStructType() *ast.StructType {
    	if p.trace {
    		defer un(trace(p, "StructType"))
    	}
    
    	pos := p.expect(token.STRUCT)
    	lbrace := p.expect(token.LBRACE)
    	var list []*ast.Field
    	for p.tok == token.IDENT || p.tok == token.MUL || p.tok == token.LPAREN {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
Back to top