- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 50 for Decl (0.04 sec)
-
src/go/types/object.go
func (obj *Func) hasPtrRecv() bool { // If a method's receiver type is set, use that as the source of truth for the receiver. // Caution: Checker.funcDecl (decl.go) marks a function by setting its type to an empty // signature. We may reach here before the signature is fully set up: we must explicitly // check if the receiver is set (we cannot just look for non-nil obj.typ).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
func (obj *Func) hasPtrRecv() bool { // If a method's receiver type is set, use that as the source of truth for the receiver. // Caution: Checker.funcDecl (decl.go) marks a function by setting its type to an empty // signature. We may reach here before the signature is fully set up: we must explicitly // check if the receiver is set (we cannot just look for non-nil obj.typ).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/runtime/asm_386.s
MOVOU -32(AX)(BX*1), X6 MOVOU -16(AX)(BX*1), X7 // scramble state once AESENC X0, X4 AESENC X1, X5 AESENC X2, X6 AESENC X3, X7 // compute number of remaining 64-byte blocks DECL BX SHRL $6, BX aesloop: // scramble state, xor in a block MOVOU (AX), X0 MOVOU 16(AX), X1 MOVOU 32(AX), X2 MOVOU 48(AX), X3 AESENC X0, X4 AESENC X1, X5 AESENC X2, X6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 15:45:13 UTC 2024 - 43.1K bytes - Viewed (0) -
src/cmd/compile/internal/ir/fmt.go
if extrablock { fmt.Fprint(s, "{") } if complexinit { fmt.Fprintf(s, " %v; ", n.Init()) } switch n.Op() { case ODCL: n := n.(*Decl) fmt.Fprintf(s, "var %v %v", n.X.Sym(), n.X.Type()) // Don't export "v = <N>" initializing statements, hope they're always // preceded by the DCL which will be re-parsed and typechecked to reproduce
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
src/cmd/doc/doc_test.go
{ "case matching on, no dups", []string{"-u", p, `duplicate`}, []string{ `Duplicate`, `duplicate`, }, []string{ "\\)\n+const", // This will appear if the const decl appears twice. }, }, { "non-imported: pkg.sym", []string{"nested.Foo"}, []string{"Foo struct"}, nil, }, { "non-imported: pkg only", []string{"nested"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 31.2K bytes - Viewed (0) -
src/go/parser/parser_test.go
if err != nil { t.Fatal(err) } // RHS refers to undefined globals; LHS does not. as := f.Decls[0].(*ast.FuncDecl).Body.List[0].(*ast.DeclStmt).Decl.(*ast.GenDecl).Specs[0].(*ast.ValueSpec) for _, v := range as.Values { id := v.(*ast.Ident) if id.Obj != nil { t.Errorf("rhs %s has Obj, should not", id.Name) } } for _, id := range as.Names {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go
// // Example: // func f(i int) int { // go int32(i) // return i // } InvalidGo // All codes below were added in Go 1.17. /* decl */ // BadDecl occurs when a declaration has invalid syntax. BadDecl // RepeatedDecl occurs when an identifier occurs more than once on the left // hand side of a short variable declaration. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 34K bytes - Viewed (0) -
src/html/template/escape.go
} var debugAllowActionJSTmpl = godebug.New("jstmpllitinterp") // escapeAction escapes an action template node. func (e *escaper) escapeAction(c context, n *parse.ActionNode) context { if len(n.Pipe.Decl) != 0 { // A local variable assignment, not an interpolation. return c } c = nudge(c) // Check for disallowed use of predefined escapers in the pipeline. for pos, idNode := range n.Pipe.Cmds {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 32.4K bytes - Viewed (0) -
src/cmd/internal/dwarf/dwarf.go
isReturn = 1 } putattr(ctxt, info, abbrev, DW_FORM_flag, DW_CLS_FLAG, isReturn, nil) // DW_AT_variable_parameter } // Line if v.Tag == DW_TAG_variable { // See issue 23374 for more on why decl line is skipped for abs params. putattr(ctxt, info, abbrev, DW_FORM_udata, DW_CLS_CONSTANT, int64(v.DeclLine), nil) // DW_AT_decl_line } // Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 43K bytes - Viewed (0) -
src/cmd/compile/internal/walk/order.go
// declaration (and possible allocation) until inside the case body. // Delete the ODCL nodes here and recreate them inside the body below. if colas { if len(init) > 0 && init[0].Op() == ir.ODCL && init[0].(*ir.Decl).X == n { init = init[1:] // iimport may have added a default initialization assignment, // due to how it handles ODCL statements.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:33 UTC 2024 - 42.7K bytes - Viewed (0)