Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 0x10FFFF (0.2 sec)

  1. src/unicode/utf16/utf16_test.go

    		}
    	}
    }
    
    type encodeTest struct {
    	in  []rune
    	out []uint16
    }
    
    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}},
    }
    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

            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();
        }
    
        public static Map<String, Object> getDataMap(final AccessResultData<?> accessResultData) {
    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. android/guava-tests/test/com/google/common/base/Utf8Test.java

              +
              // Three byte characters
              THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1,048,576 [chars 0x10000L to 0x10FFFF]
      private static final long FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x10FFFF - 0x10000L + 1;
    
      // 289,571,839
      private static final long EXPECTED_FOUR_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          val deltaN = i / (codePoints.size + 1)
          if (n > Int.MAX_VALUE - deltaN) return false // Prevent overflow.
          n += deltaN
          i %= (codePoints.size + 1)
    
          if (n > 0x10ffff) return false // Not a valid code point.
    
          codePoints.add(i, n)
    
          i++
        }
    
        for (codePoint in codePoints) {
          result.writeUtf8CodePoint(codePoint)
        }
    
        return true
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/internal/fuzz/encoding_test.go

    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)`,
    		},
    		{
    			desc: "int overflow",
    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. guava/src/com/google/common/base/CharMatcher.java

     * <a href="http://www.unicode.org/glossary/#supplementary_code_point">supplementary Unicode code
     * points</a> in the range {@code 0x10000} to {@code 0x10FFFF} which includes the majority of
     * assigned characters, including important CJK characters and emoji.
     *
     * <p>Supplementary characters are <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

     * <a href="http://www.unicode.org/glossary/#supplementary_code_point">supplementary Unicode code
     * points</a> in the range {@code 0x10000} to {@code 0x10FFFF} which includes the majority of
     * assigned characters, including important CJK characters and emoji.
     *
     * <p>Supplementary characters are <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  8. src/encoding/xml/xml.go

    func isInCharacterRange(r rune) (inrange bool) {
    	return r == 0x09 ||
    		r == 0x0A ||
    		r == 0x0D ||
    		r >= 0x20 && r <= 0xD7FF ||
    		r >= 0xE000 && r <= 0xFFFD ||
    		r >= 0x10000 && r <= 0x10FFFF
    }
    
    // Get name space name: name with a : stuck in the middle.
    // The part before the : is the name space identifier.
    func (d *Decoder) nsname() (name Name, ok bool) {
    	s, ok := d.name()
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    0 and 255 inclusive.  Hexadecimal escapes satisfy this condition
    by construction. The escapes <code>\u</code> and <code>\U</code>
    represent Unicode code points so within them some values are illegal,
    in particular those above <code>0x10FFFF</code> and surrogate halves.
    </p>
    
    <p>
    After a backslash, certain single-character escapes represent special values:
    </p>
    
    <pre class="grammar">
    \a   U+0007 alert or bell
    \b   U+0008 backspace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. doc/go_spec.html

    0 and 255 inclusive.  Hexadecimal escapes satisfy this condition
    by construction. The escapes <code>\u</code> and <code>\U</code>
    represent Unicode code points so within them some values are illegal,
    in particular those above <code>0x10FFFF</code> and surrogate halves.
    </p>
    
    <p>
    After a backslash, certain single-character escapes represent special values:
    </p>
    
    <pre class="grammar">
    \a   U+0007 alert or bell
    \b   U+0008 backspace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top