Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for forStmt (0.36 sec)

  1. src/go/printer/nodes.go

    			p.setPos(body.Lbrace)
    			p.print(token.LBRACE)
    			p.setPos(body.Rbrace)
    			p.print(token.RBRACE)
    		} else {
    			p.block(body, 0)
    		}
    
    	case *ast.ForStmt:
    		p.print(token.FOR)
    		p.controlClause(true, s.Init, s.Cond, s.Post)
    		p.block(s.Body, 1)
    
    	case *ast.RangeStmt:
    		p.print(token.FOR, blank)
    		if s.Key != nil {
    			p.expr(s.Key)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    				kind = "switch"
    			case *syntax.SelectStmt:
    				kind = "select"
    			case *syntax.CaseClause:
    				kind = "case"
    			case *syntax.CommClause:
    				kind = "comm"
    			case *syntax.ForStmt:
    				kind = "for"
    			default:
    				kind = fmt.Sprintf("%T", node)
    			}
    
    			// look for matching scope description
    			desc := kind + ":" + strings.Join(scope.Names(), " ")
    			found := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    			case *ast.SwitchStmt:
    				kind = "switch"
    			case *ast.TypeSwitchStmt:
    				kind = "type switch"
    			case *ast.CaseClause:
    				kind = "case"
    			case *ast.CommClause:
    				kind = "comm"
    			case *ast.ForStmt:
    				kind = "for"
    			case *ast.RangeStmt:
    				kind = "range"
    			}
    
    			// look for matching scope description
    			desc := kind + ":" + strings.Join(scope.Names(), " ")
    			found := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </p>
    
    <pre class="ebnf">
    Statement =
    	Declaration | LabeledStmt | SimpleStmt |
    	GoStmt | ReturnStmt | BreakStmt | ContinueStmt | GotoStmt |
    	FallthroughStmt | Block | IfStmt | SwitchStmt | SelectStmt | ForStmt |
    	DeferStmt .
    
    SimpleStmt = EmptyStmt | ExpressionStmt | SendStmt | IncDecStmt | Assignment | ShortVarDecl .
    </pre>
    
    <h3 id="Terminating_statements">Terminating statements</h3>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    </p>
    
    <pre class="ebnf">
    Statement =
    	Declaration | LabeledStmt | SimpleStmt |
    	GoStmt | ReturnStmt | BreakStmt | ContinueStmt | GotoStmt |
    	FallthroughStmt | Block | IfStmt | SwitchStmt | SelectStmt | ForStmt |
    	DeferStmt .
    
    SimpleStmt = EmptyStmt | ExpressionStmt | SendStmt | IncDecStmt | Assignment | ShortVarDecl .
    </pre>
    
    <h3 id="Terminating_statements">Terminating statements</h3>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  6. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

          CHECK-SAME        loc("tfr_gen_test.py":%[[for_line]]:2)
          CHECK-NEXT:   %[[step:.*]] = arith.constant 1 : index
          CHECK-SAME        loc("tfr_gen_test.py":%[[for_line]]:2)
          CHECK-NEXT:   %[[for_stmt:.*]] = scf.for %[[itr_1:.*]] = %[[begin]] to %[[end]] step %[[step]]
          CHECK-SAME:       iter_args(%[[it_arg:.*]] = %[[elt]]) -> (!tfr.tensor) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        'bool': TFRTypes.I1,
        'int64': TFRTypes.I64,
        'int32': TFRTypes.I32,
        'int16': TFRTypes.I16,
        'int8': TFRTypes.I8,
        'float32': TFRTypes.F32,
    }
    
    _AG_FIXED_RETURN_TYPE = {
        'for_stmt': type(None),
        'if_stmt': type(None),
        'Undefined': TFRTypes.AG_UNDEFINED_VAL,
    }
    
    QN = qual_names.QN
    
    # TODO(mdan): Fix this with an importable module.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg go/ast, type File struct, Unresolved []*Ident
    pkg go/ast, type Filter func(string) bool
    pkg go/ast, type ForStmt struct
    pkg go/ast, type ForStmt struct, Body *BlockStmt
    pkg go/ast, type ForStmt struct, Cond Expr
    pkg go/ast, type ForStmt struct, For token.Pos
    pkg go/ast, type ForStmt struct, Init Stmt
    pkg go/ast, type ForStmt struct, Post Stmt
    pkg go/ast, type FuncDecl struct
    pkg go/ast, type FuncDecl struct, Body *BlockStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    		b.Pos = s.lastPos.WithIsStmt() // Do this even if b is an empty block.
    		b.AddEdgeTo(to)
    
    	case ir.OFOR:
    		// OFOR: for Ninit; Left; Right { Nbody }
    		// cond (Left); body (Nbody); incr (Right)
    		n := n.(*ir.ForStmt)
    		base.Assert(!n.DistinctVars) // Should all be rewritten before escape analysis
    		bCond := s.f.NewBlock(ssa.BlockPlain)
    		bBody := s.f.NewBlock(ssa.BlockPlain)
    		bIncr := s.f.NewBlock(ssa.BlockPlain)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top