Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 45 of 45 for StructType (0.25 sec)

  1. src/runtime/cgocall.go

    		}
    	case abi.String:
    		ss := (*stringStruct)(p)
    		if !cgoIsGoPointer(ss.str) {
    			return
    		}
    		if !top && !isPinned(ss.str) {
    			panic(errorString(msg))
    		}
    	case abi.Struct:
    		st := (*structtype)(unsafe.Pointer(t))
    		if !indir {
    			if len(st.Fields) != 1 {
    				throw("can't happen")
    			}
    			cgoCheckArg(st.Fields[0].Typ, p, st.Fields[0].Typ.Kind_&abi.KindDirectIface == 0, top, msg)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/printer.go

    			len = n.Len
    		}
    		p.print(_Lbrack, len, _Rbrack, n.Elem)
    
    	case *SliceType:
    		p.print(_Lbrack, _Rbrack, n.Elem)
    
    	case *DotsType:
    		p.print(_DotDotDot, n.Elem)
    
    	case *StructType:
    		p.print(_Struct)
    		if len(n.FieldList) > 0 && p.linebreaks {
    			p.print(blank)
    		}
    		p.print(_Lbrace)
    		if len(n.FieldList) > 0 {
    			if p.linebreaks {
    				p.print(newline, indent)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v1/types.go

    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    // CrossVersionObjectReference contains enough information to let you identify the referred resource.
    // +structType=atomic
    type CrossVersionObjectReference struct {
    	// kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. src/go/doc/reader.go

    	r.order++
    }
    
    // fields returns a struct's fields or an interface's methods.
    func fields(typ ast.Expr) (list []*ast.Field, isStruct bool) {
    	var fields *ast.FieldList
    	switch t := typ.(type) {
    	case *ast.StructType:
    		fields = t.Fields
    		isStruct = true
    	case *ast.InterfaceType:
    		fields = t.Methods
    	}
    	if fields != nil {
    		list = fields.List
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. src/cmd/internal/dwarf/dwarf.go

    		DW_CHILDREN_yes,
    		[]dwAttrForm{
    			{DW_AT_name, DW_FORM_string},
    			{DW_AT_byte_size, DW_FORM_udata},
    			{DW_AT_go_kind, DW_FORM_data1},
    			{DW_AT_go_runtime_type, DW_FORM_addr},
    		},
    	},
    
    	/* STRUCTTYPE */
    	{
    		DW_TAG_structure_type,
    		DW_CHILDREN_yes,
    		[]dwAttrForm{
    			{DW_AT_name, DW_FORM_string},
    			{DW_AT_byte_size, DW_FORM_udata},
    			{DW_AT_go_kind, DW_FORM_data1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top