Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 102 for StructType (0.24 sec)

  1. src/cmd/compile/internal/syntax/nodes_test.go

    }
    
    var types = []test{
    	{"Operation", `@*T`},
    	{"Operation", `@*struct{}`},
    
    	{"ArrayType", `@[10]T`},
    	{"ArrayType", `@[...]T`},
    
    	{"SliceType", `@[]T`},
    	{"DotsType", `@...T`},
    	{"StructType", `@struct{}`},
    	{"InterfaceType", `@interface{}`},
    	{"FuncType", `func@()`},
    	{"MapType", `@map[T]T`},
    
    	{"ChanType", `@chan T`},
    	{"ChanType", `@chan<- T`},
    	{"ChanType", `@<-chan T`},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. src/runtime/cgocheck.go

    				skipped = at.Elem.Size_
    			}
    			checked := at.Elem.Size_ - skipped
    			off -= skipped
    			if size <= checked {
    				return
    			}
    			size -= checked
    		}
    	case abi.Struct:
    		st := (*structtype)(unsafe.Pointer(typ))
    		for _, f := range st.Fields {
    			if off < f.Typ.Size_ {
    				cgoCheckUsingType(f.Typ, src, off, size)
    			}
    			src = add(src, f.Typ.Size_)
    			skipped := off
    			if skipped > f.Typ.Size_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/api/discovery/v1/generated.proto

      // enable topology aware routing.
      // +listType=atomic
      repeated ForZone forZones = 1;
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    // +structType=atomic
    message EndpointPort {
      // name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/api/discovery/v1/types.go

    type ForZone struct {
    	// name represents the name of the zone.
    	Name string `json:"name" protobuf:"bytes,1,name=name"`
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    // +structType=atomic
    type EndpointPort struct {
    	// name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K 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/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)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      optional LocalObjectReference localObjectReference = 1;
    
      // Specify whether the ConfigMap must be defined
      // +optional
      optional bool optional = 2;
    }
    
    // Selects a key from a ConfigMap.
    // +structType=atomic
    message ConfigMapKeySelector {
      // The ConfigMap to select from.
      optional LocalObjectReference localObjectReference = 1;
    
      // The key to select.
      optional string key = 2;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
Back to top