Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for funcargs (0.24 sec)

  1. src/cmd/compile/internal/types/type.go

    func (t *Type) ChanArgs() *Type {
    	t.wantEtype(TCHANARGS)
    	return t.extra.(ChanArgs).T
    }
    
    // FuncArgs returns the func type for TFUNCARGS type t.
    func (t *Type) FuncArgs() *Type {
    	t.wantEtype(TFUNCARGS)
    	return t.extra.(FuncArgs).T
    }
    
    // IsFuncArgStruct reports whether t is a struct representing function parameters or results.
    func (t *Type) IsFuncArgStruct() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/reflect/type.go

    	}
    	if abid.stackPtrs.n > 0 {
    		x.GCData = &abid.stackPtrs.data[0]
    	}
    
    	var s string
    	if rcvr != nil {
    		s = "methodargs(" + stringFor(rcvr) + ")(" + stringFor(&t.Type) + ")"
    	} else {
    		s = "funcargs(" + stringFor(&t.Type) + ")"
    	}
    	x.Str = resolveReflectName(newName(s, "", false, false))
    
    	// cache result for future callers
    	framePool = &sync.Pool{New: func() any {
    		return unsafe_New(x)
    	}}
    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/cgo/gcc.go

    		strings.HasPrefix(name, "_Ctype_union_") ||
    		strings.HasPrefix(name, "_Ctype_class_")
    }
    
    // FuncArg returns a Go type with the same memory layout as
    // dtype when used as the type of a C function argument.
    func (c *typeConv) FuncArg(dtype dwarf.Type, pos token.Pos) *Type {
    	t := c.Type(unqual(dtype), pos)
    	switch dt := dtype.(type) {
    	case *dwarf.ArrayType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top