Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for 0xdead (0.13 sec)

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

    	assert(0x.1234P+12 == 1.0*0x1234/0x10)
    
    	assert(0x0p0 == 0.)
    	assert(0Xdeadcafep+1 == 0x1bd5b95fc)
    	assert(0x1234P-10 == 0x1234/1024.0)
    
    	assert(0x0.0p0 == 0.)
    	assert(0Xdead.cafep+1 == 1.0*0x1bd5b95fc/0x10000)
    	assert(0x12.34P-10 == 1.0*0x1234/0x40000)
    
    	assert(0Xdead_cafep+1 == 0xdeadcafep+1)
    	assert(0x_1234P-10 == 0x1234p-10)
    
    	assert(0X_dead_cafe.p-10 == 0xdeadcafe.p-10)
    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/encoding/json/encode_test.go

    			}
    		})
    	}
    }
    
    type marshalPanic struct{}
    
    func (marshalPanic) MarshalJSON() ([]byte, error) { panic(0xdead) }
    
    func TestMarshalPanic(t *testing.T) {
    	defer func() {
    		if got := recover(); !reflect.DeepEqual(got, 0xdead) {
    			t.Errorf("panic() = (%T)(%v), want 0xdead", got, got)
    		}
    	}()
    	Marshal(&marshalPanic{})
    	t.Error("Marshal should have panicked")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. src/strconv/quote_test.go

    var quoterunetests = []quoteRuneTest{
    	{'a', `'a'`, `'a'`, `'a'`},
    	{'\a', `'\a'`, `'\a'`, `'\a'`},
    	{'\\', `'\\'`, `'\\'`, `'\\'`},
    	{0xFF, `'ÿ'`, `'\u00ff'`, `'ÿ'`},
    	{0x263a, `'☺'`, `'\u263a'`, `'☺'`},
    	{0xdead, `'�'`, `'\ufffd'`, `'�'`},
    	{0xfffd, `'�'`, `'\ufffd'`, `'�'`},
    	{0x0010ffff, `'\U0010ffff'`, `'\U0010ffff'`, `'\U0010ffff'`},
    	{0x0010ffff + 1, `'�'`, `'\ufffd'`, `'�'`},
    	{0x04, `'\x04'`, `'\x04'`, `'\x04'`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. src/go/constant/value_test.go

    	`0x.1p-0 = 1/16`,
    	`0X.deadcafep4 = 0xdeadcafe/0x10000000`,
    	`0x.1234P+12 = 0x1234/0x10`,
    
    	`0x0p0 = 0.`,
    	`0Xdeadcafep+1 = 0x1bd5b95fc`,
    	`0x1234P-10 = 0x1234/1024`,
    
    	`0x0.0p0 = 0.`,
    	`0Xdead.cafep+1 = 0x1bd5b95fc/0x10000`,
    	`0x12.34P-10 = 0x1234/0x40000`,
    
    	`0Xdead_cafep+1 = 0xdeadcafep+1`,
    	`0x_1234P-10 = 0x1234p-10`,
    
    	`0X_dead_cafe.p-10 = 0xdeadcafe.p-10`,
    	`0x12_34.P1_2_3 = 0x1234.p123`,
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  5. src/encoding/json/decode_test.go

    			}
    		})
    	}
    }
    
    type unmarshalPanic struct{}
    
    func (unmarshalPanic) UnmarshalJSON([]byte) error { panic(0xdead) }
    
    func TestUnmarshalPanic(t *testing.T) {
    	defer func() {
    		if got := recover(); !reflect.DeepEqual(got, 0xdead) {
    			t.Errorf("panic() = (%T)(%v), want 0xdead", got, got)
    		}
    	}()
    	Unmarshal([]byte("{}"), &unmarshalPanic{})
    	t.Fatalf("Unmarshal should have panicked")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  6. src/math/big/ratconv_test.go

    	{"0O10p-3", "1", true},
    
    	// valid with separators
    	// (smoke tests only - a comprehensive set of tests is in natconv_test.go)
    	{"0b_1000/3", "8/3", true},
    	{"0B_10_00/0x8", "1", true},
    	{"0xdead/0B1101_1110_1010_1101", "1", true},
    	{"0B1101_1110_1010_1101/0XD_E_A_D", "1", true},
    	{"1_000.0", "1000", true},
    
    	{"0x_10.0", "16", true},
    	{"0x1_0.0", "16", true},
    	{"0x1.8_0", "3/2", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  7. src/strconv/isprint.go

    	0x1d92,
    	0x1f11,
    	0x246f,
    	0x6a5f,
    	0x6abf,
    	0x6b5a,
    	0x6b62,
    	0xaff4,
    	0xaffc,
    	0xafff,
    	0xd455,
    	0xd49d,
    	0xd4ad,
    	0xd4ba,
    	0xd4bc,
    	0xd4c4,
    	0xd506,
    	0xd515,
    	0xd51d,
    	0xd53a,
    	0xd53f,
    	0xd545,
    	0xd551,
    	0xdaa0,
    	0xe007,
    	0xe022,
    	0xe025,
    	0xe7e7,
    	0xe7ec,
    	0xe7ef,
    	0xe7ff,
    	0xee04,
    	0xee20,
    	0xee23,
    	0xee28,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 04:29:53 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/compact/parents.go

    	0x0197, 0x0000, 0x0000, 0x019a, 0x0000, 0x0000, 0x019d, 0x0000,
    	0x019f, 0x0000, 0x01a1, 0x0000, 0x01a3, 0x0000, 0x01a5, 0x0000,
    	0x01a7, 0x0000, 0x01a9, 0x0000, 0x01ab, 0x0000, 0x01ad, 0x0000,
    	0x01af, 0x0000, 0x01b1, 0x01b1, 0x0000, 0x01b4, 0x0000, 0x01b6,
    	0x0000, 0x01b8, 0x0000, 0x01ba, 0x0000, 0x01bc, 0x0000, 0x0000,
    	// Entry 1C0 - 1FF
    	0x01bf, 0x0000, 0x01c1, 0x0000, 0x01c3, 0x0000, 0x01c5, 0x0000,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/unicode/tables.go

    		{0x0e32, 0x0e33, 1},
    		{0x0e40, 0x0e46, 1},
    		{0x0e81, 0x0e82, 1},
    		{0x0e84, 0x0e86, 2},
    		{0x0e87, 0x0e8a, 1},
    		{0x0e8c, 0x0ea3, 1},
    		{0x0ea5, 0x0ea7, 2},
    		{0x0ea8, 0x0eb0, 1},
    		{0x0eb2, 0x0eb3, 1},
    		{0x0ebd, 0x0ec0, 3},
    		{0x0ec1, 0x0ec4, 1},
    		{0x0ec6, 0x0edc, 22},
    		{0x0edd, 0x0edf, 1},
    		{0x0f00, 0x0f40, 64},
    		{0x0f41, 0x0f47, 1},
    		{0x0f49, 0x0f6c, 1},
    		{0x0f88, 0x0f8c, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 04:29:53 UTC 2023
    - 205.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go

    	SYS_COPYFILERANGE                   = 0xDA9 // 3497
    	SYS_GETLINE                         = 0xDAA // 3498
    	SYS___GETLINE_A                     = 0xDAB // 3499
    	SYS_DIRFD                           = 0xDAC // 3500
    	SYS_CLOCK_GETTIME                   = 0xDAD // 3501
    	SYS_DUP3                            = 0xDAE // 3502
    	SYS_EPOLL_CREATE                    = 0xDAF // 3503
    	SYS_EPOLL_CREATE1                   = 0xDB0 // 3504
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 146.6K bytes
    - Viewed (0)
Back to top