- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for top (3.93 sec)
-
src/cmd/cgo/ast.go
// For now, assume that the only instance of capital C is when // used as the imported package identifier. // The parser should take care of scoping in the future, so // that we will be able to distinguish a "top-level C" from a // local C. if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" { return } if context == ctxAssign2 { context = ctxExpr } if context == ctxEmbedType {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/cgo/doc.go
generated by cgo. A typical preamble #includes necessary definitions: // #include <stdio.h> import "C" For more details about the usage of cgo, see the documentation comment at the top of this file. Understanding C Cgo scans the Go source files that import "C" for uses of that package, such as C.puts. It collects all such identifiers. The next
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
doc/godebug.md
programs listing versions of Go earlier than Go 1.20 are configured to match Go 1.20, not the older version. To override these defaults, a main package's source files can include one or more `//go:debug` directives at the top of the file (preceding the `package` statement). Continuing the `panicnil` example, if the module or workspace is updated to say `go` `1.21`, the program can opt back into the old `panic(nil)` behavior by including this directive:
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
func (in *Input) expectText(args ...interface{}) { in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...) } // enabled reports whether the input is enabled by an ifdef, or is at the top level. func (in *Input) enabled() bool { return len(in.ifdefStack) == 0 || in.ifdefStack[len(in.ifdefStack)-1] } func (in *Input) expectNewline(directive string) { tok := in.Stack.Next() if tok != '\n' {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 12.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
output = output[1:] } // Checked printing. // Now check machine code layout. top := pList.Firstpc var text *obj.LSym ok = true ctxt.DiagFunc = func(format string, args ...interface{}) { t.Errorf(format, args...) ok = false } obj.Flushplist(ctxt, pList, nil) for p := top; p != nil; p = p.Link { if p.As == obj.ATEXT { text = p.From.Sym } hexes := hexByLine[p.Line()]
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0) -
doc/asm.html
This form is used to name global functions and data. Adding <code><></code> to the name, as in <span style="white-space: nowrap"><code>foo<>(SB)</code></span>, makes the name visible only in the current source file, like a top-level <code>static</code> declaration in a C file. Adding an offset to the name refers to that offset from the symbol's address, so <code>foo+4(SB)</code> is four bytes past the start of <code>foo</code>. </p> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0)