- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for declarations (0.2 sec)
-
doc/go1.17_spec.html
</ol> <p> Blocks nest and influence <a href="#Declarations_and_scope">scoping</a>. </p> <h2 id="Declarations_and_scope">Declarations and scope</h2> <p> A <i>declaration</i> binds a non-<a href="#Blank_identifier">blank</a> identifier to a <a href="#Constant_declarations">constant</a>, <a href="#Type_declarations">type</a>, <a href="#Variable_declarations">variable</a>,
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
Using //export in a file places a restriction on the preamble: since it is copied into two different C output files, it must not contain any definitions, only declarations. If a file contains both definitions and declarations, then the two output files will produce duplicate symbols and the linker will fail. To avoid this, definitions must be placed in preambles in other files, or in C source files.
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/go_spec.html
</ol> <p> Blocks nest and influence <a href="#Declarations_and_scope">scoping</a>. </p> <h2 id="Declarations_and_scope">Declarations and scope</h2> <p> A <i>declaration</i> binds a non-<a href="#Blank_identifier">blank</a> identifier to a <a href="#Constant_declarations">constant</a>, <a href="#Type_declarations">type</a>, <a href="#Type_parameter_declarations">type parameter</a>,
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/p1.go
// license that can be found in the LICENSE file. package p1 import ( ptwo "p2" ) const ( ConstChase2 = constChase // forward declaration to unexported ident constChase = AIsLowerA // forward declaration to exported ident // Deprecated: use B. A = 1 a = 11 A64 int64 = 1 AIsLowerA = a // previously declared ) const (
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 3.3K bytes - Viewed (0) -
doc/godebug.md
[`httpmuxgo121` setting](/pkg/net/http/#ServeMux). Go 1.22 added the [Alias type](/pkg/go/types#Alias) to [go/types](/pkg/go/types) for the explicit representation of [type aliases](/ref/spec#Type_declarations). Whether the type checker produces `Alias` types or not is controlled by the [`gotypesalias` setting](/pkg/go/types#Alias). For Go 1.22 it defaults to `gotypesalias=0`.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0) -
doc/asm.html
which the .s files can then <code>#include</code>. The file contains symbolic <code>#define</code> constants for the offsets of Go struct fields, the sizes of Go struct types, and most Go <code>const</code> declarations defined in the current package. Go assembly should avoid making assumptions about the layout of Go types and instead use these constants. This improves the readability of assembly code, and keeps it robust to
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/builtin/builtin.go
type comparable interface{ comparable } // iota is a predeclared identifier representing the untyped integer ordinal // number of the current const specification in a (usually parenthesized) // const declaration. It is zero-indexed. const iota = 0 // Untyped int. // nil is a predeclared identifier representing the zero value for a // pointer, channel, func, interface, map, or slice type.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
"-ferror-limit=0", // Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn) // doesn't have -Wno-unneeded-internal-declaration, so we need yet another // flag to disable the warning. Yes, really good diagnostics, clang. "-Wno-unknown-warning-option", "-Wno-unneeded-internal-declaration", "-Wno-unused-function", "-Qunused-arguments", // Clang embeds prototypes for some builtin functions,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
doc/go1.22.html
</p> </dd> </dl><!-- encoding/json --> <dl id="go/ast"><dt><a href="/pkg/go/ast/">go/ast</a></dt> <dd> <p><!-- https://go.dev/issue/52463, https://go/dev/cl/504915 --> The following declarations related to <a href='https://pkg.go.dev/go/ast#Object'>syntactic identifier resolution</a> are now <a href="https://go.dev/issue/52463">deprecated</a>: <code>Ident.Obj</code>, <code>Object</code>,
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.6K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/go/types/66559.md
The [Alias] type now has an [Rhs] method that returns the type on the right-hand side of its declaration: given `type A = B`, the `Rhs` of A
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 24 21:50:16 GMT 2024 - 172 bytes - Viewed (0)