Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for 0xfffd (0.08 sec)

  1. src/unicode/utf16/utf16_test.go

    }
    
    var encodeTests = []encodeTest{
    	{[]rune{1, 2, 3, 4}, []uint16{1, 2, 3, 4}},
    	{[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff},
    		[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}},
    	{[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1},
    		[]uint16{'a', 'b', 0xd7ff, 0xfffd, 0xfffd, 0xe000, 0xfffd, 0xfffd}},
    }
    
    func TestEncode(t *testing.T) {
    	for _, tt := range encodeTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            char c;
            for (int i = 0; i < in.length(); i++) {
                c = in.charAt(i);
                if (c == 0x9 || c == 0xA || c == 0xD || c >= 0x20 && c <= 0xD7FF || c >= 0xE000 && c <= 0xFFFD
                        || c >= 0x10000 && c <= 0x10FFFF) {
                    buf.append(c);
                }
            }
            return buf.toString().trim();
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/encoding/csv/reader.go

    type Reader struct {
    	// Comma is the field delimiter.
    	// It is set to comma (',') by NewReader.
    	// Comma must be a valid rune and must not be \r, \n,
    	// or the Unicode replacement character (0xFFFD).
    	Comma rune
    
    	// Comment, if not 0, is the comment character. Lines beginning with the
    	// Comment character without preceding whitespace are ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. src/internal/fuzz/encoding_test.go

    byte('\x00')
    byte('\'')
    math.Float64frombits(0x7ff8000000000002)
    math.Float32frombits(0x7fc00001)`,
    		},
    		{
    			desc: "rune validation",
    			in: `go test fuzz v1
    rune(0)
    rune(0x41)
    rune(-1)
    rune(0xfffd)
    rune(0xd800)
    rune(0x10ffff)
    rune(0x110000)
    `,
    			want: `go test fuzz v1
    rune('\x00')
    rune('A')
    int32(-1)
    rune('�')
    int32(55296)
    rune('\U0010ffff')
    int32(1114112)`,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/unicode/letter_test.go

    	0xedd,
    	0x1000,
    	0x1200,
    	0x1312,
    	0x1401,
    	0x2c00,
    	0xa800,
    	0xf900,
    	0xfa30,
    	0xffda,
    	0xffdc,
    	0x10000,
    	0x10300,
    	0x10400,
    	0x20000,
    	0x2f800,
    	0x2fa1d,
    }
    
    var notletterTest = []rune{
    	0x20,
    	0x35,
    	0x375,
    	0x619,
    	0x700,
    	0x1885,
    	0xfffe,
    	0x1ffff,
    	0x10ffff,
    }
    
    // Contains all the special cased Latin-1 chars.
    var spaceTest = []rune{
    	0x09,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  6. src/encoding/xml/xml.go

    		{0x11F9, 0x11F9, 1},
    		{0x1E00, 0x1E9B, 1},
    		{0x1EA0, 0x1EF9, 1},
    		{0x1F00, 0x1F15, 1},
    		{0x1F18, 0x1F1D, 1},
    		{0x1F20, 0x1F45, 1},
    		{0x1F48, 0x1F4D, 1},
    		{0x1F50, 0x1F57, 1},
    		{0x1F59, 0x1F5B, 0x1F5B - 0x1F59},
    		{0x1F5D, 0x1F5D, 1},
    		{0x1F5F, 0x1F7D, 1},
    		{0x1F80, 0x1FB4, 1},
    		{0x1FB6, 0x1FBC, 1},
    		{0x1FBE, 0x1FBE, 1},
    		{0x1FC2, 0x1FC4, 1},
    		{0x1FC6, 0x1FCC, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  7. src/syscall/zerrors_solaris_amd64.go

    	SOCK_SEQPACKET                = 0x6
    	SOCK_STREAM                   = 0x2
    	SOCK_TYPE_MASK                = 0xffff
    	SOL_FILTER                    = 0xfffc
    	SOL_PACKET                    = 0xfffd
    	SOL_ROUTE                     = 0xfffe
    	SOL_SOCKET                    = 0xffff
    	SOMAXCONN                     = 0x80
    	SO_ACCEPTCONN                 = 0x2
    	SO_ALL                        = 0x3f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  8. src/strconv/quote.go

    	default:
    		switch {
    		case r < ' ' || r == 0x7f:
    			buf = append(buf, `\x`...)
    			buf = append(buf, lowerhex[byte(r)>>4])
    			buf = append(buf, lowerhex[byte(r)&0xF])
    		case !utf8.ValidRune(r):
    			r = 0xFFFD
    			fallthrough
    		case r < 0x10000:
    			buf = append(buf, `\u`...)
    			for s := 12; s >= 0; s -= 4 {
    				buf = append(buf, lowerhex[r>>uint(s)&0xF])
    			}
    		default:
    			buf = append(buf, `\U`...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go

    	SOCK_SEQPACKET                = 0x6
    	SOCK_STREAM                   = 0x2
    	SOCK_TYPE_MASK                = 0xffff
    	SOL_FILTER                    = 0xfffc
    	SOL_PACKET                    = 0xfffd
    	SOL_ROUTE                     = 0xfffe
    	SOL_SOCKET                    = 0xffff
    	SOMAXCONN                     = 0x80
    	SO_ACCEPTCONN                 = 0x2
    	SO_ALL                        = 0x3f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59K bytes
    - Viewed (0)
  10. src/strings/strings_test.go

    	in   string
    	repl string
    	out  string
    }{
    	{"", "\uFFFD", ""},
    	{"abc", "\uFFFD", "abc"},
    	{"\uFDDD", "\uFFFD", "\uFDDD"},
    	{"a\xffb", "\uFFFD", "a\uFFFDb"},
    	{"a\xffb\uFFFD", "X", "aXb\uFFFD"},
    	{"a☺\xffb☺\xC0\xAFc☺\xff", "", "a☺b☺c☺"},
    	{"a☺\xffb☺\xC0\xAFc☺\xff", "日本語", "a☺日本語b☺日本語c☺日本語"},
    	{"\xC0\xAF", "\uFFFD", "\uFFFD"},
    	{"\xE0\x80\xAF", "\uFFFD", "\uFFFD"},
    	{"\xed\xa0\x80", "abc", "abc"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top