Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for ch (0.65 sec)

  1. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
            }
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                }
    
                char ch = s.charAt(pos);
                pos++;
                if (ch == '\\') {
                    sb.append(ch);
                    if (pos >= end) {
                        break; // ERROR, or let it go?
                    }
                    ch = s.charAt(pos);
                    pos++;
                }
    
                sb.append(ch);
            }
    
            if (sb.length() > 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HttpHeaders.java

       * header field name.
       *
       * @since 30.0
       */
      public static final String SEC_CH_UA = "Sec-CH-UA";
    
      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-arch">{@code
       * Sec-CH-UA-Arch}</a> header field name.
       *
       * @since 30.0
       */
      public static final String SEC_CH_UA_ARCH = "Sec-CH-UA-Arch";
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

      static {
        int spaceInAscii = 32;
        int sevenBitAsciiMax = 128;
        StringBuilder sb = new StringBuilder(sevenBitAsciiMax - spaceInAscii);
        for (int ch = spaceInAscii; ch < sevenBitAsciiMax; ch++) {
          sb.append((char) ch);
        }
        ASCII_CHARACTERS = sb.toString();
      }
    
      private static final String ALL_DIGITS;
    
      static {
        StringBuilder sb = new StringBuilder();
        String zeros =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            assertTrue(result.contains("field1field2"));
            assertTrue(result.contains("exclude1exclude2"));
    
            // Count separators
            long separatorCount = result.chars().filter(ch -> ch == '\n').count();
            assertEquals(4, separatorCount);
        }
    
        public void test_getCacheKey_nullParameters() {
            String seed = "test_seed";
            String[] tags = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/text/Tokenizer.java

         *
         * @param ctype2
         *            The array of character types.
         * @param ch
         *            The character code.
         */
        protected static void ordinaryChar(final byte[] ctype2, final int ch) {
            if (ch >= 0 && ch < ctype2.length) {
                ctype2[ch] = 0;
            }
        }
    
        /**
         * Returns the value of the string.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashCode.java

        }
        return fromBytesNoCopy(bytes);
      }
    
      private static int decode(char ch) {
        if (ch >= '0' && ch <= '9') {
          return ch - '0';
        }
        if (ch >= 'a' && ch <= 'f') {
          return ch - 'a' + 10;
        }
        throw new IllegalArgumentException("Illegal hexadecimal character: " + ch);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
                if (Character.isLetterOrDigit(ch) || Character.isWhitespace(ch)) {
                    buf.append(ch);
                }
            }
            if (buf.indexOf("yy") == -1) {
                final int pos = buf.indexOf("y");
                if (pos != -1) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top