Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 56 of 56 for IndexExpr (0.22 sec)

  1. src/cmd/compile/internal/staticinit/sched.go

    	case ir.ODOT:
    		n := n.(*ir.SelectorExpr)
    		if name, offset, ok = StaticLoc(n.X); !ok {
    			break
    		}
    		offset += n.Offset()
    		return name, offset, true
    
    	case ir.OINDEX:
    		n := n.(*ir.IndexExpr)
    		if n.X.Type().IsSlice() {
    			break
    		}
    		if name, offset, ok = StaticLoc(n.X); !ok {
    			break
    		}
    		l := getlit(n.Index)
    		if l < 0 {
    			break
    		}
    
    		// Check for overflow.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			s.assign(left.X, new, false, 0)
    			// TODO: do we need to update named values here?
    			return
    		}
    		if left.Op() == ir.OINDEX && left.(*ir.IndexExpr).X.Type().IsArray() {
    			left := left.(*ir.IndexExpr)
    			s.pushLine(left.Pos())
    			defer s.popLine()
    			// We're assigning to an element of an ssa-able array.
    			// a[i] = v
    			t := left.X.Type()
    			n := t.NumElem()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    		if !p.isType(c.Fun) && !p.isUnsafeData(c.Fun, false) {
    			break
    		}
    		x = c.Args[0]
    	}
    	u, ok := x.(*ast.UnaryExpr)
    	if !ok || u.Op != token.AND {
    		return false
    	}
    	index, ok := u.X.(*ast.IndexExpr)
    	if !ok {
    		return false
    	}
    
    	addr := ""
    	deref := ""
    	if p.isVariable(index.X) {
    		addr = "&"
    		deref = "*"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	case *ast.UnaryExpr:
    		u.node(node.X)
    	case *ast.BinaryExpr:
    		u.node(node.X)
    		u.node(node.Y)
    	case *ast.StarExpr:
    		u.node(node.X)
    	case *ast.ParenExpr:
    		u.node(node.X)
    	case *ast.IndexExpr:
    		u.node(node.X)
    		u.node(node.Index)
    	case *ast.TypeAssertExpr:
    		u.node(node.X)
    		u.node(node.Type)
    	case *ast.Ident:
    		if obj := u.scope.Lookup(node.Name); obj != nil {
    			obj.numUses++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"IncDecStmt", Type, 0},
    		{"IncDecStmt.Tok", Field, 0},
    		{"IncDecStmt.TokPos", Field, 0},
    		{"IncDecStmt.X", Field, 0},
    		{"IndexExpr", Type, 0},
    		{"IndexExpr.Index", Field, 0},
    		{"IndexExpr.Lbrack", Field, 0},
    		{"IndexExpr.Rbrack", Field, 0},
    		{"IndexExpr.X", Field, 0},
    		{"IndexListExpr", Type, 18},
    		{"IndexListExpr.Indices", Field, 18},
    		{"IndexListExpr.Lbrack", Field, 18},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg go/ast, type IncDecStmt struct, TokPos token.Pos
    pkg go/ast, type IncDecStmt struct, X Expr
    pkg go/ast, type IndexExpr struct
    pkg go/ast, type IndexExpr struct, Index Expr
    pkg go/ast, type IndexExpr struct, Lbrack token.Pos
    pkg go/ast, type IndexExpr struct, Rbrack token.Pos
    pkg go/ast, type IndexExpr struct, X Expr
    pkg go/ast, type InterfaceType struct
    pkg go/ast, type InterfaceType struct, Incomplete bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top