Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for toen (0.15 sec)

  1. src/cmd/compile/internal/types2/util.go

    	return constant.MakeFromLiteral(lit, kind2tok[kind], 0)
    }
    
    var kind2tok = [...]token.Token{
    	syntax.IntLit:    token.INT,
    	syntax.FloatLit:  token.FLOAT,
    	syntax.ImagLit:   token.IMAG,
    	syntax.RuneLit:   token.CHAR,
    	syntax.StringLit: token.STRING,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/copyelim.go

    }
    
    // phielimValue tries to convert the phi v to a copy.
    func phielimValue(v *Value) bool {
    	if v.Op != OpPhi {
    		return false
    	}
    
    	// If there are two distinct args of v which
    	// are not v itself, then the phi must remain.
    	// Otherwise, we can replace it with a copy.
    	var w *Value
    	for _, x := range v.Args {
    		if x == v {
    			continue
    		}
    		if x == w {
    			continue
    		}
    		if w != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/help/help.go

    		fmt.Fprintln(w)
    		fmt.Fprintln(w, "// Code generated by 'go test cmd/go -v -run=^TestDocsUpToDate$ -fixdocs'; DO NOT EDIT.")
    		fmt.Fprintln(w, "// Edit the documentation in other files and then execute 'go generate cmd/go' to generate this one.")
    		fmt.Fprintln(w)
    		buf := new(strings.Builder)
    		PrintUsage(buf, base.Go)
    		usage := &base.Command{Long: buf.String()}
    		cmds := []*base.Command{usage}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/alias.go

    func (a *Alias) Rhs() Type { return a.fromRHS }
    
    // Unalias returns t if it is not an alias type;
    // otherwise it follows t's alias chain until it
    // reaches a non-alias type which is then returned.
    // Consequently, the result is never an alias type.
    func Unalias(t Type) Type {
    	if a0, _ := t.(*Alias); a0 != nil {
    		return unalias(a0)
    	}
    	return t
    }
    
    func unalias(a0 *Alias) Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/cmd/covdata/covdata.go

    	case intersectMode:
    		op = makeSubtractIntersectOp(intersectMode)
    	default:
    		usage(fmt.Sprintf("unknown command selector %q", cmd))
    	}
    
    	// Edit out command selector, then parse flags.
    	os.Args = append(os.Args[:1], os.Args[2:]...)
    	flag.Usage = func() {
    		op.Usage("")
    	}
    	flag.Parse()
    	telemetry.Inc("covdata/invocations")
    	telemetry.CountFlags("covdata/flag:", *flag.CommandLine)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/positions.go

    		case *ReturnStmt:
    			if n.Results != nil {
    				m = n.Results
    				continue
    			}
    			return n.Pos()
    		case *IfStmt:
    			if n.Else != nil {
    				m = n.Else
    				continue
    			}
    			m = n.Then
    		case *ForStmt:
    			m = n.Body
    		case *SwitchStmt:
    			return n.Rbrace
    		case *SelectStmt:
    			return n.Rbrace
    
    		// helper nodes
    		case *RangeClause:
    			m = n.X
    		case *CaseClause:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/compiler_internal.go

    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    // the newly named object is inserted into the signature's scope,
    // and the object and new field name are returned.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/temp.go

    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    )
    
    // initStackTemp appends statements to init to initialize the given
    // temporary variable to val, and then returns the expression &tmp.
    func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr {
    	if val != nil && !types.Identical(tmp.Type(), val.Type()) {
    		base.Fatalf("bad initial value for %L: %L", tmp, val)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/labels.go

    			// become forward jumps in the current block.
    			fwdJumps = append(fwdJumps, check.blockBranches(all, b, lstmt, s.List)...)
    
    		case *syntax.IfStmt:
    			stmtBranches(s.Then)
    			if s.Else != nil {
    				stmtBranches(s.Else)
    			}
    
    		case *syntax.SwitchStmt:
    			b := &block{b, lstmt, nil}
    			for _, s := range s.Body {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/scan.go

    	imports              []rawImport
    	embeds               []embed
    	directives           []build.Directive
    }
    
    type rawImport struct {
    	path     string
    	position token.Position
    }
    
    type embed struct {
    	pattern  string
    	position token.Position
    }
    
    // importRaw fills the rawPackage from the package files in srcDir.
    // dir is the package's path relative to the modroot.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top