Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 0XCAFEF00D (0.14 sec)

  1. src/go/printer/testdata/go2numbers.norm

    	_	= 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
    	_	= 0o01234567
    
    	_	= 0o_0
    	_	= 0o_1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/gofmt/testdata/go2numbers.golden

    	_ = 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
    	_ = 0o01234567
    
    	_ = 0o_0
    	_ = 0o_1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 21 17:24:29 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  3. src/go/printer/testdata/go2numbers.input

    	_ = 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
    	_ = 0O01234567
    
    	_ = 0o_0
    	_ = 0o_1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 21:54:06 UTC 2020
    - 2K bytes
    - Viewed (0)
  4. src/cmd/gofmt/testdata/go2numbers.input

    	_ = 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
    	_ = 0O01234567
    
    	_ = 0o_0
    	_ = 0o_1234
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 21 17:24:29 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. src/go/printer/testdata/go2numbers.golden

    	_	= 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
    	_	= 0O01234567
    
    	_	= 0o_0
    	_	= 0o_1234
    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/internal/types/testdata/check/literals.go

    	assert(0123_456 == 0123456)
    
    	// decimals
    	assert(1_234 == 1234)
    	assert(1_234_567 == 1234567)
    
    	// hexadecimals
    	assert(0X_0 == 0)
    	assert(0X_1234 == 0x1234)
    	assert(0X_CAFE_f00d == 0xcafef00d)
    
    	// octals
    	assert(0o0 == 0)
    	assert(0o1234 == 01234)
    	assert(0o01234567 == 01234567)
    
    	assert(0O0 == 0)
    	assert(0O1234 == 01234)
    	assert(0O01234567 == 01234567)
    
    	assert(0o_0 == 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. test/literal2.go

    	// decimals
    	assert(1_000_000 == 1000000)
    	assert(1_000i == complex(0, 1000))
    
    	// hexadecimals
    	assert(0x_1 == 0x1)
    	assert(0x1_2 == 0x12)
    	assert(0x_cafe_f00d == 0xcafef00d)
    	assert(0x_cafei == complex(0, 0xcafe))
    
    	// octals
    	assert(0o_1 == 01)
    	assert(0o12 == 012)
    	assert(0o_1_2 == 012)
    	assert(0o_1_2i == complex(0, 0o12))
    
    	// binaries
    	assert(0b_1 == 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 19 22:45:09 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/scanner_test.go

    		{ImagLit, "123.E-10i", "123.E-10i", ""},
    		{ImagLit, ".123E+10i", ".123E+10i", ""},
    
    		// hexadecimals
    		{IntLit, "0x0", "0x0", ""},
    		{IntLit, "0x1234", "0x1234", ""},
    		{IntLit, "0xcafef00d", "0xcafef00d", ""},
    		{IntLit, "0XCAFEF00D", "0XCAFEF00D", ""},
    
    		{IntLit, "0x", "0x", "hexadecimal literal has no digits"},
    		{IntLit, "0x1g", "0x1 g", ""},
    
    		{ImagLit, "0xf00i", "0xf00i", ""},
    
    		// hexadecimal floats
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  9. src/text/scanner/scanner_test.go

    		{Float, "1.0P-1", "1.0P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		// hexadecimals
    		{Int, "0x0", "0x0", ""},
    		{Int, "0x1234", "0x1234", ""},
    		{Int, "0xcafef00d", "0xcafef00d", ""},
    		{Int, "0XCAFEF00D", "0XCAFEF00D", ""},
    
    		{Int, "0x", "0x", "hexadecimal literal has no digits"},
    		{Int, "0x1g", "0x1 g", ""},
    
    		// hexadecimal floats
    		{Float, "0x0p0", "0x0p0", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  10. src/go/scanner/scanner_test.go

    		{token.IMAG, ".123E+10i", ".123E+10i", ""},
    
    		// hexadecimals
    		{token.INT, "0x0", "0x0", ""},
    		{token.INT, "0x1234", "0x1234", ""},
    		{token.INT, "0xcafef00d", "0xcafef00d", ""},
    		{token.INT, "0XCAFEF00D", "0XCAFEF00D", ""},
    
    		{token.INT, "0x", "0x", "hexadecimal literal has no digits"},
    		{token.INT, "0x1g", "0x1 g", ""},
    
    		{token.IMAG, "0xf00i", "0xf00i", ""},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top