- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CONSTRAINT (0.15 sec)
-
src/cmd/cgo/doc.go
environment variable when running the go tool: set it to 1 to enable the use of cgo, and to 0 to disable it. The go tool will set the build constraint "cgo" if cgo is enabled. The special import "C" implies the "cgo" build constraint, as though the file also said "//go:build cgo". Therefore, if cgo is disabled, files that import "C" will not be built by the go tool. (For more about build constraints
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
values or variables, or components of other, non-interface types. </p> <h4 id="Satisfying_a_type_constraint">Satisfying a type constraint</h4> <p> A type argument <code>T</code><i> satisfies</i> a type constraint <code>C</code> if <code>T</code> is an element of the type set defined by <code>C</code>; i.e.,
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) -
src/builtin/builtin.go
// (booleans, numbers, strings, pointers, channels, arrays of comparable types, // structs whose fields are all comparable types). // The comparable interface may only be used as a type parameter constraint, // not as the type of a variable. type comparable interface{ comparable } // iota is a predeclared identifier representing the untyped integer ordinal
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) -
doc/go1.17_spec.html
FieldName = identifier . Element = Expression | LiteralValue . </pre> <p> The LiteralType's underlying type must be a struct, array, slice, or map type (the grammar enforces this constraint except when the type is given as a TypeName). The types of the elements and keys must be <a href="#Assignability">assignable</a> to the respective field, element, and key types of the literal type;
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
n := typ.NumMethods() list := make([]string, n) for i := range list { list[i] = typ.Method(i).Name() } sort.Strings(list) return list } // sortedEmbeddeds returns constraint types embedded in an // interface. It does not include embedded interface types or methods. func (w *Walker) sortedEmbeddeds(typ *types.Interface) []string { n := typ.NumEmbeddeds() list := make([]string, 0, n)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
api/go1.21.txt
pkg go/ast, type Importer //deprecated #52463 pkg go/ast, type Object //deprecated #52463 pkg go/ast, type Package //deprecated #52463 pkg go/ast, type Scope //deprecated #52463 pkg go/build/constraint, func GoVersion(Expr) string #59033 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
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)