Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Wendell (0.18 sec)

  1. src/cmd/cgo/ast.go

    	f.NamePos = make(map[*Name]token.Pos)
    
    	// In ast1, find the import "C" line and get any extra C preamble.
    	sawC := false
    	for _, decl := range ast1.Decls {
    		switch decl := decl.(type) {
    		case *ast.GenDecl:
    			for _, spec := range decl.Specs {
    				s, ok := spec.(*ast.ImportSpec)
    				if !ok || s.Path.Value != `"C"` {
    					continue
    				}
    				sawC = true
    				if s.Name != nil {
    Go
    - Registered: 2023-11-28 11:13
    - Last Modified: 2023-06-07 16:54
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/godefs.go

    	// except in the definition (handled at end of function).
    	refName := make(map[*ast.Expr]*Name)
    	for _, r := range f.Ref {
    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    Go
    - Registered: 2023-11-28 11:13
    - Last Modified: 2022-09-08 14:33
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    		ast.Inspect(file, func(n ast.Node) bool {
    			switch n := n.(type) {
    			case *ast.File:
    				if isDeprecated(n.Doc) {
    					mark(n.Name)
    				}
    				return true
    			case *ast.GenDecl:
    				if isDeprecated(n.Doc) {
    					for _, spec := range n.Specs {
    						switch spec := spec.(type) {
    						case *ast.ValueSpec:
    							for _, id := range spec.Names {
    								mark(id)
    							}
    Go
    - Registered: 2023-11-28 11:13
    - Last Modified: 2023-11-14 15:24
    - 31.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    	case *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
    		return true
    	case *ast.Ident:
    		// TODO: Handle types defined within function.
    		for _, d := range p.Decl {
    			gd, ok := d.(*ast.GenDecl)
    			if !ok || gd.Tok != token.TYPE {
    				continue
    			}
    			for _, spec := range gd.Specs {
    				ts, ok := spec.(*ast.TypeSpec)
    				if !ok {
    					continue
    				}
    				if ts.Name.Name == t.Name {
    Go
    - Registered: 2023-11-28 11:13
    - Last Modified: 2023-11-02 16:43
    - 97K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg go/ast, type FuncType struct, Results *FieldList
    pkg go/ast, type GenDecl struct
    pkg go/ast, type GenDecl struct, Doc *CommentGroup
    pkg go/ast, type GenDecl struct, Lparen token.Pos
    pkg go/ast, type GenDecl struct, Rparen token.Pos
    pkg go/ast, type GenDecl struct, Specs []Spec
    pkg go/ast, type GenDecl struct, Tok token.Token
    pkg go/ast, type GenDecl struct, TokPos token.Pos
    pkg go/ast, type GoStmt struct
    Plain Text
    - Registered: 2023-11-28 11:13
    - Last Modified: 2013-08-14 18:58
    - 1.7M bytes
    - Viewed (1)
  6. RELEASE.md

    ## Thanks to our Contributors
    
    This release contains contributions from many people at Google, as well as:
    
    @a7744hsc, Abhi Agg, @admcrae, Adriano Carmezim, Aki Sukegawa, Alex Kendall,
    Alexander Rosenberg Johansen, @amcrae, Amlan Kar, Andre Simpelo, Andreas Eberle,
    Andrew Hundt, Arnaud Lenglet, @b0noI, Balachander Ramachandran, Ben Barsdell,
    Plain Text
    - Registered: 2023-11-28 12:39
    - Last Modified: 2023-11-16 21:19
    - 716.9K bytes
    - Viewed (2)
Back to top