- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for _Cvar_ (0.15 sec)
-
tensorflow/compiler/aot/codegen.cc
set_arg_data({{I}}, data); } {{MAYBE_CONST}}{{TYPE}}* var_{{NAME}}_data() { return static_cast<{{MAYBE_CONST}}{{TYPE}}*>(arg_data({{I}})); } {{MAYBE_CONST}}{{TYPE}}& var_{{NAME}}({{DIM_VARS}}) { return (*static_cast<{{MAYBE_CONST}}{{TYPE}}(*){{DIM_SIZES}}>( arg_data({{I}}))){{INDICES}}; } const {{TYPE}}* var_{{NAME}}_data() const { return static_cast<const {{TYPE}}*>(arg_data({{I}}));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
if ir.IsBlank(a) { return walkExpr(typecheck.Stmt(n), init) } var_ := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewPtr(t.Elem())) var_.SetTypecheck(1) var_.MarkNonNil() // mapaccess always returns a non-nil pointer n.Lhs[0] = var_ init.Append(walkExpr(n, init)) as := ir.NewAssignStmt(base.Pos, a, ir.NewStarExpr(base.Pos, var_)) return walkExpr(typecheck.Stmt(as), init) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
// where an array/slice element is accessed before it is set up. func (subst *subster) typOrNil(typ Type) Type { if typ == nil { return Typ[Invalid] } return subst.typ(typ) } func (subst *subster) var_(v *Var) *Var { if v != nil { if typ := subst.typ(v.typ); typ != v.typ { return substVar(v, typ) } } return v } func substVar(v *Var, typ Type) *Var { copy := *v copy.typ = typ
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
src/go/types/subst.go
// where an array/slice element is accessed before it is set up. func (subst *subster) typOrNil(typ Type) Type { if typ == nil { return Typ[Invalid] } return subst.typ(typ) } func (subst *subster) var_(v *Var) *Var { if v != nil { if typ := subst.typ(v.typ); typ != v.typ { return substVar(v, typ) } } return v } func substVar(v *Var, typ Type) *Var { copy := *v copy.typ = typ
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
} p.advance(_Import, _Const, _Type, _Var, _Func) continue } // Reset p.pragma BEFORE advancing to the next token (consuming ';') // since comments before may set pragmas for the next function decl. p.clearPragma() if p.tok != _EOF && !p.got(_Semi) { p.syntaxError("after top level declaration") p.advance(_Import, _Const, _Type, _Var, _Func) } } // p.tok == _EOF
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
result); } Node* MakeWrite(const Scope& scope, Output value_to_write, const string& id) { Output var_handle = ops::VarHandleOp(scope.WithOpName("Var_" + id), DT_FLOAT, TensorShape({})); ops::AssignVariableOp assign_op(scope.WithOpName("Assignee_" + id), var_handle, value_to_write);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
init.Append(typecheck.Stmt(nif)) t = types.NewArray(t.Elem(), i) // [r]T var_ := typecheck.TempAt(base.Pos, ir.CurFunc, t) appendWalkStmt(init, ir.NewAssignStmt(base.Pos, var_, nil)) // zero temp r := ir.NewSliceExpr(base.Pos, ir.OSLICE, var_, nil, l, nil) // arr[:l] // The conv is necessary in case n.Type is named. return walkExpr(typecheck.Expr(typecheck.Conv(r, n.Type())), init)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
p.printParameterList(n.TParamList, _Type) } p.print(blank) if n.Alias { p.print(_Assign, blank) } p.print(n.Type) case *VarDecl: if n.Group == nil { p.print(_Var, blank) } p.printNameList(n.NameList) if n.Type != nil { p.print(blank, n.Type) } if n.Values != nil { p.print(blank, _Assign, blank, n.Values) } case *FuncDecl:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner.go
return (uint(s[0])<<4 ^ uint(s[1]) + uint(len(s))) & uint(len(keywordMap)-1) } var keywordMap [1 << 6]token // size must be power of two func init() { // populate keywordMap for tok := _Break; tok <= _Var; tok++ { h := hash([]byte(tok.String())) if keywordMap[h] != 0 { panic("imperfect hash") } keywordMap[h] = tok } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 28 18:17:41 UTC 2022 - 17.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner_test.go
{_Package, "package", 0, 0}, {_Range, "range", 0, 0}, {_Return, "return", 0, 0}, {_Select, "select", 0, 0}, {_Struct, "struct", 0, 0}, {_Switch, "switch", 0, 0}, {_Type, "type", 0, 0}, {_Var, "var", 0, 0}, } func TestComments(t *testing.T) { type comment struct { line, col uint // 0-based text string } for _, test := range []struct { src string want comment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 14 16:11:21 UTC 2022 - 21.9K bytes - Viewed (0)