Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 644 for Characters (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    /**
     * Returns the index of the first character in this string that is either a control character (like
     * `\u0000` or `\n`) or a non-ASCII character. Returns -1 if this string has no such characters.
     */
    internal fun String.indexOfControlOrNonAscii(): Int {
      for (i in 0 until length) {
        val c = this[i]
        if (c <= '\u001f' || c >= '\u007f') {
          return i
        }
      }
      return -1
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            assertEquals("Not Found:  Parent: ", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withSpecialCharacters() {
            // Test with URLs containing special characters
            String parentUrl = "http://example.com/parent?query=test&id=123";
            String url = "http://example.com/child#fragment";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/QueryCommand.java

            }
            return new DefaultQueryBuilder(boolQuery);
        }
    
        /**
         * Builds a match phrase query, with special handling for single CJK characters.
         * For single CJK characters in title or content fields, uses prefix query instead.
         * @param f The field name.
         * @param text The text to search for.
         * @return The appropriate query builder.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Test with special characters in message
            String message = "LDAP error: \n\t\r Special chars: @#$%^&*(){}[]|\\:;\"'<>,.?/~`";
            LdapOperationException exception = new LdapOperationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        public void test_unicodeMessage() {
            // Test with Unicode characters in message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_withSpecialCharactersInMessage() {
            // Test with special characters in message
            String message = "Error with special chars: \n\t\r\"'<>&";
            ScriptEngineException exception = new ScriptEngineException(message);
    
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            assertEquals("Invalid parameter", nestedCause.getMessage());
        }
    
        public void test_messageWithSpecialCharacters() {
            // Test message with special characters
            String message = "Theme error: 日本語 & special <characters> \"quoted\" 'text'";
            ThemeException exception = new ThemeException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            assertNotNull(urlFilter);
        }
    
        /**
         * Test special characters in URL patterns
         */
        public void test_specialCharactersInPatterns() {
            String sessionId = "test-session-018";
            urlFilter.init(sessionId);
    
            // Test patterns with special regex characters
            urlFilter.addInclude("https://example\\.com/\\?.*");
            urlFilter.addInclude(".*\\$price=\\d+.*");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertEquals(longMessage, exception.getMessage());
            });
    
            // Test message with special characters
            String specialMessage = "Error: ñoñ-ASCII çhárácters & symbols!@#$%^&*()";
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(specialMessage);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals(mockNotifyInfo2, response2.getNotifyInformation().get(0));
        }
    
        @Test
        @DisplayName("Test NotifyResponse with special characters in filenames")
        void testNotifyResponseWithSpecialCharactersInFilenames() {
            // Create notifications with special characters
            FileNotifyInformation unicodeFile = mock(FileNotifyInformation.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top