- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for directives (0.18 sec)
-
src/cmd/cgo/doc.go
to be made when linking the final binary. Linking Directives In either linking mode, package-specific directives must be passed through to cmd/link. These are communicated by writing //go: directives in a Go source file compiled by gc. The directives are copied into the .o object file and then processed by the linker. The directives are: //go:cgo_import_dynamic <local> [<remote> ["<library>"]]
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/asm.html
own source code, making it easier to move the code from one location to another. </p> <h3 id="directives">Directives</h3> <p> The assembler uses various directives to bind text and data to symbol names. For example, here is a simple complete function definition. The <code>TEXT</code> directive declares the symbol <code>runtime·profileloop</code> and the instructions that follow form the body of the function.
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) -
doc/godebug.md
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: //go:debug panicnil=1 Starting in Go 1.21, the Go toolchain treats a `//go:debug` 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/cgo/gcc.go
// #cgo (nocallback|noescape) <function name> if fields := strings.Fields(l); len(fields) == 3 { directive := fields[1] funcName := fields[2] if directive == "nocallback" { fatalf("#cgo nocallback disabled until Go 1.23") f.NoCallbacks[funcName] = true } else if directive == "noescape" { fatalf("#cgo noescape disabled until Go 1.23") f.NoEscapes[funcName] = true } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
api/go1.21.txt
pkg go/build, type Directive struct #56986 pkg go/build, type Directive struct, Pos token.Position #56986 pkg go/build, type Directive struct, Text string #56986 pkg go/build, type Package struct, Directives []Directive #56986 pkg go/build, type Package struct, TestDirectives []Directive #56986 pkg go/build, type Package struct, XTestDirectives []Directive #56986 pkg go/token, method (*File) Lines() []int #57708
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/02-pkgsite-removal.yml
It does not affect the behaviour of proxy.golang.org or the go command. Instead we recommend using the retract directive which will be processed by all 3 of the above. If you have deleted your repo, please recreate it and publish a retraction. Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version.
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
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' { in.expectText("expected newline after", directive) } } func (in *Input) Next() ScanToken { if in.peek { in.peek = false tok := in.peekToken in.text = in.peekText return tok }
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) -
api/go1.txt
pkg encoding/xml, method (*UnsupportedTypeError) Error() string pkg encoding/xml, method (CharData) Copy() CharData pkg encoding/xml, method (Comment) Copy() Comment pkg encoding/xml, method (Directive) Copy() Directive pkg encoding/xml, method (ProcInst) Copy() ProcInst pkg encoding/xml, method (StartElement) Copy() StartElement pkg encoding/xml, method (UnmarshalError) Error() string pkg encoding/xml, type Attr struct
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (2) -
doc/go_spec.html
interface{ chan int | chan<- string } // channels have different element types interface{ <-chan int | chan<- int } // directional channels have different directions </pre> <p> Some operations (<a href="#Slice_expressions">slice expressions</a>, <a href="#Appending_and_copying_slices"><code>append</code> and <code>copy</code></a>)
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
doc/next/3-tools.md
analyzer, which flags references to symbols that are too new for the version of Go in effect in the referring file. (The effective version is determined by the `go` directive in the file's enclosing `go.mod` file, and by any [`//go:build` constraints](https://pkg.go.dev/cmd/go#hdr-Build_constraints) in the file.) For example, it will report a diagnostic for a reference to the
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri May 03 01:02:40 GMT 2024 - 977 bytes - Viewed (0)