Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for FuncType (0.16 sec)

  1. src/cmd/link/internal/ld/decodesym.go

    	return abi.TFlag(p[abi.TFlagOff(arch.PtrSize)])&abi.TFlagUncommon != 0
    }
    
    // Type.FuncType.dotdotdot
    func decodetypeFuncDotdotdot(arch *sys.Arch, p []byte) bool {
    	return uint16(decodeInuxi(arch, p[commonsize(arch)+2:], 2))&(1<<15) != 0
    }
    
    // Type.FuncType.inCount
    func decodetypeFuncInCount(arch *sys.Arch, p []byte) int {
    	return int(decodeInuxi(arch, p[commonsize(arch):], 2))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/iexport.go

    //         Elem typeOff
    //     }
    //
    //     type MapType struct {
    //         Tag  itag // mapType
    //         Key  typeOff
    //         Elem typeOff
    //     }
    //
    //     type FuncType struct {
    //         Tag       itag // signatureType
    //         PkgPath   stringOff
    //         Signature Signature
    //     }
    //
    //     type StructType struct {
    //         Tag     itag // structType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:40:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    	case *ast.File:
    		return 1 << nFile
    	case *ast.ForStmt:
    		return 1 << nForStmt
    	case *ast.FuncDecl:
    		return 1 << nFuncDecl
    	case *ast.FuncLit:
    		return 1 << nFuncLit
    	case *ast.FuncType:
    		return 1 << nFuncType
    	case *ast.GenDecl:
    		return 1 << nGenDecl
    	case *ast.GoStmt:
    		return 1 << nGoStmt
    	case *ast.Ident:
    		return 1 << nIdent
    	case *ast.IfStmt:
    		return 1 << nIfStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/go/ast/example_test.go

    	//     12  .  .  .  .  .  Kind: func
    	//     13  .  .  .  .  .  Name: "main"
    	//     14  .  .  .  .  .  Decl: *(obj @ 7)
    	//     15  .  .  .  .  }
    	//     16  .  .  .  }
    	//     17  .  .  .  Type: *ast.FuncType {
    	//     18  .  .  .  .  Func: 3:1
    	//     19  .  .  .  .  Params: *ast.FieldList {
    	//     20  .  .  .  .  .  Opening: 3:10
    	//     21  .  .  .  .  .  Closing: 3:11
    	//     22  .  .  .  .  }
    	//     23  .  .  .  }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/go/types/api.go

    	// The Scopes mapping does not contain an entry for the
    	// function body ([*ast.BlockStmt]); the function's scope is
    	// associated with the [*ast.FuncType].
    	//
    	// The following node types may appear in Scopes:
    	//
    	//     *ast.File
    	//     *ast.FuncType
    	//     *ast.TypeSpec
    	//     *ast.BlockStmt
    	//     *ast.IfStmt
    	//     *ast.SwitchStmt
    	//     *ast.TypeSwitchStmt
    	//     *ast.CaseClause
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api.go

    	// The Scopes mapping does not contain an entry for the
    	// function body ([*ast.BlockStmt]); the function's scope is
    	// associated with the [*ast.FuncType].
    	//
    	// The following node types may appear in Scopes:
    	//
    	//     *syntax.File
    	//     *syntax.FuncType
    	//     *syntax.TypeDecl
    	//     *syntax.BlockStmt
    	//     *syntax.IfStmt
    	//     *syntax.SwitchStmt
    	//     *syntax.CaseClause
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. src/go/ast/walk.go

    		Walk(v, n.Key)
    		Walk(v, n.Value)
    
    	// Types
    	case *ArrayType:
    		if n.Len != nil {
    			Walk(v, n.Len)
    		}
    		Walk(v, n.Elt)
    
    	case *StructType:
    		Walk(v, n.Fields)
    
    	case *FuncType:
    		if n.TypeParams != nil {
    			Walk(v, n.TypeParams)
    		}
    		if n.Params != nil {
    			Walk(v, n.Params)
    		}
    		if n.Results != nil {
    			Walk(v, n.Results)
    		}
    
    	case *InterfaceType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/printer.go

    				p.printFieldList(n.FieldList, n.TagList, _Semi)
    				p.print(outdent, newline)
    			} else {
    				p.printFieldList(n.FieldList, n.TagList, _Semi)
    			}
    		}
    		p.print(_Rbrace)
    
    	case *FuncType:
    		p.print(_Func)
    		p.printSignature(n)
    
    	case *InterfaceType:
    		p.print(_Interface)
    		if p.linebreaks && len(n.MethodList) > 1 {
    			p.print(blank)
    			p.print(_Lbrace)
    			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)
  9. src/cmd/compile/internal/types2/typexpr.go

    			if !isValid(typ.base) {
    				return Typ[Invalid]
    			}
    			return typ
    		}
    
    		check.errorf(e0, NotAType, "%s is not a type", e0)
    		check.use(e0)
    
    	case *syntax.FuncType:
    		typ := new(Signature)
    		setDefType(def, typ)
    		check.funcType(typ, nil, nil, e)
    		return typ
    
    	case *syntax.InterfaceType:
    		typ := check.newInterface()
    		setDefType(def, typ)
    		check.interfaceType(typ, e, def)
    		return typ
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/go/types/typexpr.go

    		typ.base = Typ[Invalid] // avoid nil base in invalid recursive type declaration
    		setDefType(def, typ)
    		typ.base = check.varType(e.X)
    		return typ
    
    	case *ast.FuncType:
    		typ := new(Signature)
    		setDefType(def, typ)
    		check.funcType(typ, nil, e)
    		return typ
    
    	case *ast.InterfaceType:
    		typ := check.newInterface()
    		setDefType(def, typ)
    		check.interfaceType(typ, e, def)
    		return typ
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top