Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for 0x1234 (0.1 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. src/go/constant/value_test.go

    	"testing"
    )
    
    var intTests = []string{
    	// 0-octals
    	`0_123 = 0123`,
    	`0123_456 = 0123456`,
    
    	// decimals
    	`1_234 = 1234`,
    	`1_234_567 = 1234567`,
    
    	// hexadecimals
    	`0X_0 = 0`,
    	`0X_1234 = 0x1234`,
    	`0X_CAFE_f00d = 0xcafef00d`,
    
    	// octals
    	`0o0 = 0`,
    	`0o1234 = 01234`,
    	`0o01234567 = 01234567`,
    
    	`0O0 = 0`,
    	`0O1234 = 01234`,
    	`0O01234567 = 01234567`,
    
    	`0o_0 = 0`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  10. src/image/image_test.go

    		color.NRGBA64Model,
    		color.Alpha16Model,
    		color.Gray16Model,
    	}
    	for _, cm := range testColorModel {
    		c := cm.Convert(color.RGBA64{0x1234, 0x1234, 0x1234, 0x1234}) // Premultiplied alpha.
    		r, _, _, _ := c.RGBA()
    		if r != 0x1234 {
    			t.Errorf("%T: want red value 0x%04x got 0x%04x", c, 0x1234, r)
    			continue
    		}
    	}
    	testImage := []image{
    		NewRGBA64(Rect(0, 0, 10, 10)),
    		NewNRGBA64(Rect(0, 0, 10, 10)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 30 02:00:49 UTC 2021
    - 10.8K bytes
    - Viewed (0)
Back to top