Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for hoconstant (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/cgo/doc.go

    An error on not-int-const:1 indicates that foo is not an integer constant.
    An error on not-num-const:1 indicates that foo is not a number constant.
    An error on not-str-lit:1 indicates that foo is not a string literal.
    An error on not-signed-int-const:1 indicates that foo is not a signed integer constant.
    
    The line number specifies the name involved. In the example, 1 is foo.
    
    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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/builtin/builtin.go

    //	Channel: the number of elements queued (unread) in the channel buffer;
    //	         if v is nil, len(v) is zero.
    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    // The cap built-in function returns the capacity of v, according to its 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)
Back to top