- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for constraint (0.32 sec)
-
src/cmd/cgo/doc.go
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 see https://golang.org/pkg/go/build/#hdr-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
Literal constants, <code>true</code>, <code>false</code>, <code>iota</code>, and certain <a href="#Constant_expressions">constant expressions</a> containing only untyped constant operands are untyped. </p> <p> A constant may be given a type explicitly by a <a href="#Constant_declarations">constant declaration</a> or <a href="#Conversions">conversion</a>, or implicitly when used in 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/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
Literal constants, <code>true</code>, <code>false</code>, <code>iota</code>, and certain <a href="#Constant_expressions">constant expressions</a> containing only untyped constant operands are untyped. </p> <p> A constant may be given a type explicitly by a <a href="#Constant_declarations">constant declaration</a> or <a href="#Conversions">conversion</a>, or implicitly when used in 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) -
api/go1.5.txt
pkg go/constant, const Bool = 1 pkg go/constant, const Bool Kind pkg go/constant, const Complex = 5 pkg go/constant, const Complex Kind pkg go/constant, const Float = 4 pkg go/constant, const Float Kind pkg go/constant, const Int = 3 pkg go/constant, const Int Kind pkg go/constant, const String = 2 pkg go/constant, const String Kind pkg go/constant, const Unknown = 0
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
src/cmd/asm/internal/arch/ppc64.go
} // IsPPC64CMP reports whether the op (as defined by an ppc64.A* constant) is // one of the CMP instructions that require special handling. func IsPPC64CMP(op obj.As) bool { switch op { case ppc64.ACMP, ppc64.ACMPU, ppc64.ACMPW, ppc64.ACMPWU, ppc64.AFCMPU: return true } return false } // IsPPC64NEG reports whether the op (as defined by an ppc64.A* constant) is // one of the NEG-like instructions that require special handling.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Sep 07 20:53:33 GMT 2022 - 2.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
{"DATA", "0", "expect two operands for DATA"}, {"DATA", "(0), 1", "expect /size for DATA argument"}, {"DATA", "@B(SB)/4,0", "expected '(', found B"}, // Issue 23580. {"DATA", "·A(SB)/4,0", "DATA value must be an immediate constant or address"}, {"DATA", "·B(SB)/4,$0", ""}, {"DATA", "·C(SB)/5,$0", "bad int size for DATA argument: 5"}, {"DATA", "·D(SB)/5,$0.0", "bad float size for DATA argument: 5"},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
var buf [256]byte use(buf[:]) if i == 0 { return 0 } return i + f(i-1) } r = C.int(f(128)) return } // Test that C can pass in a Go string from a string constant. func testCallGoWithString(t *testing.T) { C.callGoWithString() want := "string passed from C to Go" if stringFromGo != want { t.Errorf("string passed through C is %s, want %s", stringFromGo, want) } }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0) -
api/go1.13.txt
pkg encoding/json, method (*MarshalerError) Unwrap() error pkg errors, func As(error, interface{}) bool pkg errors, func Is(error, error) bool pkg errors, func Unwrap(error) error pkg go/constant, func Make(interface{}) Value pkg go/constant, func Val(Value) interface{} pkg go/token, func IsExported(string) bool pkg go/token, func IsIdentifier(string) bool pkg go/token, func IsKeyword(string) bool
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
src/cmd/asm/internal/lex/tokenizer.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package lex import ( "go/build/constraint" "io" "os" "strings" "text/scanner" "unicode" "cmd/asm/internal/flags" "cmd/internal/objabi" "cmd/internal/src" ) // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Viewed (0)