Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 0x1234 (0.12 sec)

  1. src/internal/types/testdata/check/literals.go

    	assert(0Xdead_cafep+1 == 0xdeadcafep+1)
    	assert(0x_1234P-10 == 0x1234p-10)
    
    	assert(0X_dead_cafe.p-10 == 0xdeadcafe.p-10)
    	assert(0x12_34.P1_2_3 == 0x1234.p123)
    
    	assert(1_234i == 1234i)
    	assert(1_234_567i == 1234567i)
    
    	assert(0.i == 0i)
    	assert(123.i == 123i)
    	assert(0123.i == 123i)
    
    	assert(0.e+1i == 0i)
    	assert(123.E-1_0i == 123e-10i)
    	assert(01_23.e123i == 123e123i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. src/go/printer/testdata/go2numbers.norm

    	// 0-octals
    	_	= 0
    	_	= 0123
    	_	= 0123456
    
    	_	= 0_123
    	_	= 0123_456
    
    	// decimals
    	_	= 1
    	_	= 1234
    	_	= 1234567
    
    	_	= 1_234
    	_	= 1_234_567
    
    	// hexadecimals
    	_	= 0x0
    	_	= 0x1234
    	_	= 0xcafef00d
    
    	_	= 0x0
    	_	= 0x1234
    	_	= 0xCAFEf00d
    
    	_	= 0x_0
    	_	= 0x_1234
    	_	= 0x_CAFE_f00d
    
    	// octals
    	_	= 0o0
    	_	= 0o1234
    	_	= 0o01234567
    
    	_	= 0o0
    	_	= 0o1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

                missing("root"),
                regularFile("root", 0x1234)
            ) == [added("root")]
        }
    
        def "type change regular file -> directory"() {
            expect:
            changes(
                regularFile("root", 0x1234),
                directory("root", [
                    regularFile("root/one", 0x1234),
                    regularFile("root/two", 0x2345)
                ])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. src/cmd/gofmt/testdata/go2numbers.golden

    	// 0-octals
    	_ = 0
    	_ = 0123
    	_ = 0123456
    
    	_ = 0_123
    	_ = 0123_456
    
    	// decimals
    	_ = 1
    	_ = 1234
    	_ = 1234567
    
    	_ = 1_234
    	_ = 1_234_567
    
    	// hexadecimals
    	_ = 0x0
    	_ = 0x1234
    	_ = 0xcafef00d
    
    	_ = 0x0
    	_ = 0x1234
    	_ = 0xCAFEf00d
    
    	_ = 0x_0
    	_ = 0x_1234
    	_ = 0x_CAFE_f00d
    
    	// octals
    	_ = 0o0
    	_ = 0o1234
    	_ = 0o01234567
    
    	_ = 0o0
    	_ = 0o1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 21 17:24:29 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  5. src/go/printer/testdata/go2numbers.input

    	// 0-octals
    	_ = 0
    	_ = 0123
    	_ = 0123456
    
    	_ = 0_123
    	_ = 0123_456
    
    	// decimals
    	_ = 1
    	_ = 1234
    	_ = 1234567
    
    	_ = 1_234
    	_ = 1_234_567
    
    	// hexadecimals
    	_ = 0x0
    	_ = 0x1234
    	_ = 0xcafef00d
    
    	_ = 0X0
    	_ = 0X1234
    	_ = 0XCAFEf00d
    
    	_ = 0X_0
    	_ = 0X_1234
    	_ = 0X_CAFE_f00d
    
    	// octals
    	_ = 0o0
    	_ = 0o1234
    	_ = 0o01234567
    
    	_ = 0O0
    	_ = 0O1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 21:54:06 UTC 2020
    - 2K bytes
    - Viewed (0)
  6. src/cmd/gofmt/testdata/go2numbers.input

    	// 0-octals
    	_ = 0
    	_ = 0123
    	_ = 0123456
    
    	_ = 0_123
    	_ = 0123_456
    
    	// decimals
    	_ = 1
    	_ = 1234
    	_ = 1234567
    
    	_ = 1_234
    	_ = 1_234_567
    
    	// hexadecimals
    	_ = 0x0
    	_ = 0x1234
    	_ = 0xcafef00d
    
    	_ = 0X0
    	_ = 0X1234
    	_ = 0XCAFEf00d
    
    	_ = 0X_0
    	_ = 0X_1234
    	_ = 0X_CAFE_f00d
    
    	// octals
    	_ = 0o0
    	_ = 0o1234
    	_ = 0o01234567
    
    	_ = 0O0
    	_ = 0O1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 21 17:24:29 UTC 2019
    - 2K bytes
    - Viewed (0)
  7. src/go/printer/testdata/go2numbers.golden

    	// 0-octals
    	_	= 0
    	_	= 0123
    	_	= 0123456
    
    	_	= 0_123
    	_	= 0123_456
    
    	// decimals
    	_	= 1
    	_	= 1234
    	_	= 1234567
    
    	_	= 1_234
    	_	= 1_234_567
    
    	// hexadecimals
    	_	= 0x0
    	_	= 0x1234
    	_	= 0xcafef00d
    
    	_	= 0X0
    	_	= 0X1234
    	_	= 0XCAFEf00d
    
    	_	= 0X_0
    	_	= 0X_1234
    	_	= 0X_CAFE_f00d
    
    	// octals
    	_	= 0o0
    	_	= 0o1234
    	_	= 0o01234567
    
    	_	= 0O0
    	_	= 0O1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 21:54:06 UTC 2020
    - 2K bytes
    - Viewed (0)
  8. test/convinline.go

    			fallthrough
    		case "int32":
    			inputs = append(inputs, "-0x8000_0000", "-0x7fff_ffff", "-0x12_3456", "0x12_3456", "0x7fff_ffff")
    			fallthrough
    		case "int16":
    			inputs = append(inputs, "-0x8000", "-0x7fff", "-0x1234", "0x1234", "0x7fff")
    			fallthrough
    		case "int8":
    			inputs = append(inputs, "-0x80", "-0x7f", "-0x12", "-1", "0", "1", "0x12", "0x7f")
    
    		case "uint64", "uint", "uintptr":
    			if t1 == "uint64" || bits.UintSize == 64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  9. test/fixedbugs/issue5809.go

    // license that can be found in the LICENSE file.
    
    // issue 5809: 6g and 8g attempted to constant propagate indexed LEA
    
    package main
    
    import "fmt"
    
    func main() {
    	const d16 = "0123456789ABCDEF"
    	k := 0x1234
    	var x [4]byte
    	
    	x[0] = d16[k>>12&0xf]
    	x[1] = d16[k>>8&0xf]
    	x[2] = d16[k>>4&0xf]
    	x[3] = d16[k&0xf]
    	
    	if x != [4]byte{'1','2','3','4'} {
    		fmt.Println(x)
    		panic("x != [4]byte{'1','2','3','4'}")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 529 bytes
    - Viewed (0)
  10. test/rotate.go

    	}
    }
    
    const prolog = `
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    var (
    	i8 int8 = 0x12
    	i16 int16 = 0x1234
    	i32 int32 = 0x12345678
    	i64 int64 = 0x123456789abcdef0
    	ui8 uint8 = 0x12
    	ui16 uint16 = 0x1234
    	ui32 uint32 = 0x12345678
    	ui64 uint64 = 0x123456789abcdef0
    
    	ni8 = ^i8
    	ni16 = ^i16
    	ni32 = ^i32
    	ni64 = ^i64
    	nui8 = ^ui8
    	nui16 = ^ui16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
Back to top