- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 48 for unicode (0.27 sec)
-
android/guava/src/com/google/common/base/CharMatcher.java
* * <p><b>Warning:</b> This class deals only with {@code char} values, that is, <a * href="http://www.unicode.org/glossary/#BMP_character">BMP characters</a>. It does not understand * <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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode * characters. * * <p>As there are important reasons, including potential security issues, to handle Unicode * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper * wherever possible. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 13.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
String safeChars = "\0\u0100\uD800\uDC00\uFFFF"; assertEquals(safeChars, escaper.escape(safeChars)); // Ensure that Unicode escapers behave correctly wrt badly formed input. String badUnicode = "\uDC00\uD800"; try { escaper.escape(badUnicode); fail("should fail for bad Unicode"); } catch (IllegalArgumentException e) { // Pass } } public void testSafeRange() throws IOException {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 23:02:38 GMT 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
char c = s.charAt(index); if (c >= safeOctets.length || !safeOctets[c]) { return escapeSlow(s, index); } } return s; } /** Escapes the given Unicode code point in UTF-8. */ @Override @CheckForNull protected char[] escape(int cp) { // We should never get negative values here but if we do it will throw an
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
* * <p><b>Warning:</b> This class deals only with {@code char} values, that is, <a * href="http://www.unicode.org/glossary/#BMP_character">BMP characters</a>. It does not understand * <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
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
public final class InternetDomainNameTest extends TestCase { private static final InternetDomainName UNICODE_EXAMPLE = InternetDomainName.from("j\u00f8rpeland.no"); private static final InternetDomainName PUNYCODE_EXAMPLE = InternetDomainName.from("xn--jrpeland-54a.no"); /** The Greek letter delta, used in unicode testing. */ private static final String DELTA = "\u0394";
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 13:16:00 GMT 2024 - 17.3K bytes - Viewed (0) -
android/guava/src/com/google/common/html/HtmlEscapers.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 14 22:08:54 GMT 2021 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
import junit.framework.TestCase; /** * Unit test for {@link Ascii}. * * @author Craig Berry */ @GwtCompatible public class AsciiTest extends TestCase { /** * The Unicode points {@code 00c1} and {@code 00e1} are the upper- and lowercase forms of * A-with-acute-accent, {@code Á} and {@code á}. */ private static final String IGNORED = "`10-=~!@#$%^&*()_+[]\\{}|;':\",./<>?'\u00c1\u00e1\n";
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
HashFunctionEnum hashFunctionEnum; private String[] strings; static final int SAMPLES = 0x100; static final int SAMPLE_MASK = 0xFF; /** * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and * StringBuilders (in a CharSequence[] to make it a little harder for the JVM). */ @BeforeExperiment void setUp() { final long seed = 99;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Charsets.java
* @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Charsets { private Charsets() {} /** * US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US). * * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link * java.nio.charset.StandardCharsets#US_ASCII} instead. * */ @J2ktIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0)