Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 682 for Characters (0.04 seconds)

  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";
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. 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";
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. 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.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. 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>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. 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)
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 1.8K bytes
    - Click Count (1)
  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 |
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

        @Test
        @DisplayName("Should handle control characters in hexdump")
        void testHexdumpControlCharacters() {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream ps = new PrintStream(baos);
    
            // Test with control characters and printable characters
            byte[] data = { 0x00, 0x01, 0x09, 0x0A, 0x0D, 0x1F, // Control characters
                    0x20, 0x41, 0x42, 0x7E, // Printable characters
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. 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.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. docs/minio-limits.md

    > **This list is non exhaustive, it depends on the operating system and filesystem under use - please consult your operating system vendor for a more comprehensive list of special characters**.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

        }
    
        /**
         * Test with special characters in the target name.
         */
        @Test
        void testSpecialCharacters() {
            String specialChars = "サーバー名/ドメイン.com-123!@#$"; // Japanese characters and symbols
            AvTargetName avTargetName = new AvTargetName(specialChars);
            assertEquals(specialChars, avTargetName.getTargetName(), "Special characters should be handled correctly");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top