Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 124 for Chars (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename
                "file-with-special-chars!@#$%^&().bin" })
        void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
            byte[] buffer = createValidNotificationBuffer(fileName, FileNotifyInformation.FILE_ACTION_ADDED);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        StringBuilder builder = new StringBuilder("abc");
        List<Character> chars = charactersOf(builder);
        assertEquals(asList('a', 'b', 'c'), chars);
        builder.append("def");
        assertEquals(asList('a', 'b', 'c', 'd', 'e', 'f'), chars);
        builder.deleteCharAt(5);
        assertEquals(asList('a', 'b', 'c', 'd', 'e'), chars);
      }
    
      public void testNewArrayListEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
            final Exception cause = new RuntimeException("Special chars: \n\t\r\f\b");
    
            // Execute
            final InvalidQueryException exception = new InvalidQueryException(messageCode, message, cause);
    
            // Verify special characters are preserved
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertTrue(exception.getMessage().length() > 10000);
        }
    
        public void test_specialCharactersInMessage() {
            // Test special characters in message
            String message = "Special chars: \n\t\r\"'<>&{}[]()!@#$%^&*";
    
            SearchQueryException exception = new SearchQueryException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        public void test_unicodeInMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                // Expected exception
                assertNotNull(e);
            }
        }
    
        // Test special characters in property values
        public void test_get_specialCharacters() {
            String testKey = "special.chars";
            String specialValue = "!@#$%^&*()_+-=[]{}|;':\",./<>?";
            System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, specialValue);
    
            try {
                String value = fessConfig.get(testKey);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/PercentEscaper.java

       */
      public PercentEscaper(String safeChars, boolean plusForSpace) {
        // TODO(dbeaumont): Switch to static factory methods for creation now that class is final.
        // TODO(dbeaumont): Support escapers where alphanumeric chars are not safe.
        checkNotNull(safeChars); // eager for GWT.
        // Avoid any misunderstandings about the behavior of this escaper
        if (safeChars.matches(".*[0-9A-Za-z].*")) {
          throw new IllegalArgumentException(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Utf8.java

        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += (0x7f - c) >>> 31; // branch free!
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

      private fun largeHeaders(): List<Header> {
        val nameValues = arrayOfNulls<String>(32)
        val chars = CharArray(512)
        var i = 0
        while (i < nameValues.size) {
          Arrays.fill(chars, i.toChar())
          val string = String(chars)
          nameValues[i++] = string
          nameValues[i++] = string
        }
        return headerEntries(*nameValues)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertEquals(longId.toString(), testRule.getRuleId());
    
            // Special characters in rule ID
            testRule.setRuleId("rule-id_with.special@chars#123");
            assertEquals("rule-id_with.special@chars#123", testRule.getRuleId());
    
            // Unicode characters
            testRule.setRuleId("ルール日本語");
            assertEquals("ルール日本語", testRule.getRuleId());
    
            // Whitespace
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes.
        assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4)
    
        // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
        // Confirm the data strings are ASCII.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top