Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isHighSurrogate (0.05 sec)

  1. guava/src/com/google/common/escape/Escaper.java

     * escape strings and concatenate the results is if you can rule out this possibility, either by
     * splitting an existing long string into short strings adaptively around {@linkplain
     * Character#isHighSurrogate surrogate} {@linkplain Character#isLowSurrogate pairs}, or by starting
     * with short strings already known to be free of unpaired surrogates.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Strings.java

       */
      @VisibleForTesting
      static boolean validSurrogatePairAt(CharSequence string, int index) {
        return index >= 0
            && index <= (string.length() - 2)
            && Character.isHighSurrogate(string.charAt(index))
            && Character.isLowSurrogate(string.charAt(index + 1));
      }
    
      /**
       * Returns the given {@code template} string with each occurrence of {@code "%s"} replaced with
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            int startIndex = 0;
    
            for (int i = 0; i < version.length(); i++) {
                char character = version.charAt(i);
                int c = character;
                if (Character.isHighSurrogate(character)) {
                    // read the next character as a low surrogate and combine into a single int
                    try {
                        char low = version.charAt(i + 1);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top