Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for constraint (0.25 sec)

  1. 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)
  2. api/go1.18.txt

    pkg go/types, method (*Term) Tilde() bool
    pkg go/types, method (*Term) Type() Type
    pkg go/types, method (*TypeList) At(int) Type
    pkg go/types, method (*TypeList) Len() int
    pkg go/types, method (*TypeParam) Constraint() Type
    pkg go/types, method (*TypeParam) Index() int
    pkg go/types, method (*TypeParam) Obj() *TypeName
    pkg go/types, method (*TypeParam) SetConstraint(Type)
    pkg go/types, method (*TypeParam) String() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  3. 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)
  4. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. 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)
  6. api/go1.6.txt

    pkg go/build, const IgnoreVendor = 8
    pkg go/build, const IgnoreVendor ImportMode
    pkg go/build, type Package struct, InvalidGoFiles []string
    pkg go/constant, func ToComplex(Value) Value
    pkg go/constant, func ToFloat(Value) Value
    pkg go/constant, func ToInt(Value) Value
    pkg go/constant, type Value interface, ExactString() string
    pkg go/types, method (*Package) SetName(string)
    pkg go/types, type ImportMode int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  7. doc/asm.html

    </pre>
    
    <h3 id="constants">Constants</h3>
    
    <p>
    Although the assembler takes its guidance from the Plan 9 assemblers,
    it is a distinct program, so there are some differences.
    One is in constant evaluation.
    Constant expressions in the assembler are parsed using Go's operator
    precedence, not the C-like precedence of the original.
    Thus <code>3&amp;1&lt;&lt;2</code> is 4, not 0—it parses as <code>(3&amp;1)&lt;&lt;2</code>
    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)
  8. src/cmd/asm/internal/arch/arch.go

    	"cmd/internal/obj/ppc64"
    	"cmd/internal/obj/riscv"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/obj/wasm"
    	"cmd/internal/obj/x86"
    	"fmt"
    	"strings"
    )
    
    // Pseudo-registers whose names are the constant name without the leading R.
    const (
    	RFP = -(iota + 1)
    	RSB
    	RSP
    	RPC
    )
    
    // Arch wraps the link architecture object with more architecture-specific information.
    type Arch struct {
    	*obj.LinkArch
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/asm/internal/asm/parse.go

    		if p.have(scanner.Float) {
    			if prefix != '$' {
    				p.errorf("floating-point constant must be an immediate")
    			}
    			a.Type = obj.TYPE_FCONST
    			a.Val = p.floatExpr()
    			// fmt.Printf("FCONST %s\n", obj.Dconv(&emptyProg, 0, a))
    			p.expectOperandEnd()
    			return
    		}
    		if p.have(scanner.String) {
    			if prefix != '$' {
    				p.errorf("string constant must be an immediate")
    				return
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top