Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for xbd (0.24 sec)

  1. test/string_lit.go

    	assert(s, "\xf4\x8f\xbf\xbf", "largest rune")
    	r = 0x10ffff + 1
    	s = string(r)
    	assert(s, "\xef\xbf\xbd", "too-large rune")
    	r = 0xD800
    	s = string(r)
    	assert(s, "\xef\xbf\xbd", "surrogate rune min")
    	r = 0xDFFF
    	s = string(r)
    	assert(s, "\xef\xbf\xbd", "surrogate rune max")
    	r = -1
    	s = string(r)
    	assert(s, "\xef\xbf\xbd", "negative rune")
    
    	// the large rune tests again, this time using constants instead of a variable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:17:02 UTC 2013
    - 3.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue23814.go

    // Examples from the language spec section on string conversions.
    
    package main
    
    func main() {
    	// 1
    	_ = string('a')  // "a"
    	_ = string(-1)   // "\ufffd" == "\xef\xbf\xbd"
    	_ = string(0xf8) // "\u00f8" == "ø" == "\xc3\xb8"
    
    	type myString string
    	_ = myString(0x65e5) // "\u65e5" == "日" == "\xe6\x97\xa5"
    
    	// 2
    	_ = string([]byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}) // "hellø"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 15 00:06:24 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. src/strconv/quote_test.go

    		// one of:
    		want    string
    		wantErr error
    	}{
    		{in: `"foo"`, want: "foo"},
    		{in: `"foo`, wantErr: ErrSyntax},
    		{in: `"` + "\xc0" + `"`, want: "\xef\xbf\xbd"},
    		{in: `"a` + "\xc0" + `"`, want: "a\xef\xbf\xbd"},
    		{in: `"\t` + "\xc0" + `"`, want: "\t\xef\xbf\xbd"},
    	}
    	for _, tt := range tests {
    		testUnquote(t, tt.in, tt.want, tt.wantErr)
    	}
    }
    
    func testUnquote(t *testing.T, in, want string, wantErr error) {
    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/cmd/vendor/rsc.io/markdown/tables.go

    	"\xB2", "%B2",
    	"\xB3", "%B3",
    	"\xB4", "%B4",
    	"\xB5", "%B5",
    	"\xB6", "%B6",
    	"\xB7", "%B7",
    	"\xB8", "%B8",
    	"\xB9", "%B9",
    	"\xBA", "%BA",
    	"\xBB", "%BB",
    	"\xBC", "%BC",
    	"\xBD", "%BD",
    	"\xBE", "%BE",
    	"\xBF", "%BF",
    	"\xC0", "%C0",
    	"\xC1", "%C1",
    	"\xC2", "%C2",
    	"\xC3", "%C3",
    	"\xC4", "%C4",
    	"\xC5", "%C5",
    	"\xC6", "%C6",
    	"\xC7", "%C7",
    	"\xC8", "%C8",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/internal/fuzz/encoding_test.go

    int(-23)
    int8(-2)
    int64(2342425)
    uint(1)
    uint16(234)
    uint32(352342)
    uint64(123)
    rune('œ')
    byte('K')
    byte('ÿ')
    []byte("hello¿")
    []byte("a")
    bool(true)
    string("hello\\xbd\\xb2=\\xbc ⌘")
    float64(-12.5)
    float32(2.5)`,
    		},
    		{
    			desc: "float edge cases",
    			// The two IEEE 754 bit patterns used for the math.Float{64,32}frombits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/math/bits/bits_tables.go

    	"\x09\x89\x49\xc9\x29\xa9\x69\xe9\x19\x99\x59\xd9\x39\xb9\x79\xf9" +
    	"\x05\x85\x45\xc5\x25\xa5\x65\xe5\x15\x95\x55\xd5\x35\xb5\x75\xf5" +
    	"\x0d\x8d\x4d\xcd\x2d\xad\x6d\xed\x1d\x9d\x5d\xdd\x3d\xbd\x7d\xfd" +
    	"\x03\x83\x43\xc3\x23\xa3\x63\xe3\x13\x93\x53\xd3\x33\xb3\x73\xf3" +
    	"\x0b\x8b\x4b\xcb\x2b\xab\x6b\xeb\x1b\x9b\x5b\xdb\x3b\xbb\x7b\xfb" +
    	"\x07\x87\x47\xc7\x27\xa7\x67\xe7\x17\x97\x57\xd7\x37\xb7\x77\xf7" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 17 03:18:12 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. src/hash/crc64/crc64_test.go

    	{0x5255866ad6ef28a6, 0x790ef2b16a745a41, "Nepal premier won't resign.", "crc\x02s\xba\x84\x84\xbb\xcd]\xef\xcbf\x11R\xbfh\xde\xc9", "crc\x02`&\x9aR\xe1\xb7\xfee6\x13ُ\x06_\xbd\x9a"},
    	{0x8a79895be1e9c361, 0x3ef8f06daccdcddf, "For every action there is an equal and opposite government program.", "crc\x02s\xba\x84\x84\xbb\xcd]\xef\xf3pV\x01c_Wu", "crc\x02`&\x9aR\xe1\xb7\xfee\xe7\xc6\n\b\x12FL\xa0"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 25 06:32:12 UTC 2018
    - 9.9K bytes
    - Viewed (0)
  8. test/typeparam/issue48191.go

    				return (G2(267.0)*G2(i2) == G2(i) || func(G2, G3) bool {
    					return <-ch0
    				}(G2(53.3), <-ch5)) && func(G2, G1) int32 {
    					return int32(63)
    				}(G2(804.8), G1(2))-i32_0 < i32_1
    			}('\xbd', i16_0)
    		}(370.9, ast0[len([]complex128{})+i-i2].s0) && (G2(245.0)-G2(i1) == G2(i1) || byte(17)&m2[false][26].m0[G2(628.5)] > m3[false][55].m0[G2(608.8)] || func(G1, G1) bool {
    			return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    	// recorded output from NewGCMTransformer at commit 3b1fc60d8010dd8b53e97ba80e4710dbb430beee
    	const legacyCiphertext = "\x9f'\xc8\xfc\xea\x8aX\xc4g\xd8\xe47\xdb\xf2\xd8YU\xf9\xb4\xbd\x91/N\xf9g\u05c8\xa0\xcb\ay}\xac\n?\n\bE`\\\xa8Z\xc8V+J\xe1"
    
    	ctx := context.Background()
    	dataCtx := value.DefaultContext("bamboo")
    
    	plaintext := []byte("pandas are the best")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  10. src/unicode/utf8/utf8_test.go

    	{0xffff, "\xef\xbf\xbf"},
    	{0x10000, "\xf0\x90\x80\x80"},
    	{0x10001, "\xf0\x90\x80\x81"},
    	{0x40000, "\xf1\x80\x80\x80"},
    	{0x10fffe, "\xf4\x8f\xbf\xbe"},
    	{0x10ffff, "\xf4\x8f\xbf\xbf"},
    	{0xFFFD, "\xef\xbf\xbd"},
    }
    
    var surrogateMap = []Utf8Map{
    	{0xd800, "\xed\xa0\x80"}, // surrogate min decodes to (RuneError, 1)
    	{0xdfff, "\xed\xbf\xbf"}, // surrogate max decodes to (RuneError, 1)
    }
    
    var testStrings = []string{
    	"",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
Back to top