Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 716 for characters (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

            // Test all special characters
            String input = "Test & < > \"quote\" 'apos'";
            String expected = "Test &amp; &lt; &gt; &quot;quote&quot; &apos;apos&apos;";
            assertEquals(expected, XmlUtil.escapeXml(input));
        }
    
        public void test_escapeXml_noSpecialChars() {
            // Test string without special characters
            String input = "Simple text without special characters";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
      private fun String.asciiToLowercase(): String =
        when {
          isAscii() -> lowercase(Locale.US) // This is an ASCII string.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (chars.length >= 2 && Character.isUpperCase(chars[0]) && Character.isUpperCase(chars[1])) {
                return name;
            }
            chars[0] = Character.toLowerCase(chars[0]);
            return new String(chars);
        }
    
        /**
         * Capitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be capitalized.
         * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CharUtil.java

    package org.codelibs.fess.crawler.util;
    
    /**
     * Utility class for character-related operations.
     */
    public final class CharUtil {
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private CharUtil() {
        }
    
        /**
         * Checks if the given character is a valid URL character.
         *
         * Valid URL characters include:
         * - Lowercase letters (a-z)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

                assertTrue("Error message should contain 'text content'", message.contains("text content"));
            }
        }
    
        /**
         * Test extraction with special characters and control characters.
         */
        public void test_getText_withSpecialCharacters_handlesCorrectly() {
            final String specialContent = "Tab\there\nNewline\rCarriage return\0Null byte";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/tokenizer.go

    	file *os.File // If non-nil, file descriptor to close.
    }
    
    func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer {
    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Resources.java

        return asByteSource(url).read();
      }
    
      /**
       * Reads all characters from a URL into a {@link String}, using the given character set.
       *
       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return a string containing all the characters from the URL
       * @throws IOException if an I/O error occurs.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
        String msg = "Alphanumeric characters are always 'safe' and should not be explicitly specified";
        IllegalArgumentException expected =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Hexdump.java

                }
                size--;
            }
        }
    
        /**
         * Converts a long value to hexadecimal characters and writes them to the specified character array.
         *
         * @param val the long value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
         * @param dstIndex the starting index in the destination array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

    }
    
    /**
     * Returns the next index in this at or after [startIndex] that is a character from
     * [characters]. Returns the input length if none of the requested characters can be found.
     */
    private fun String.indexOfElement(
      characters: String,
      startIndex: Int = 0,
    ): Int {
      for (i in startIndex until length) {
        if (this[i] in characters) {
          return i
        }
      }
      return length
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top