Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 112 for Characters (0.07 seconds)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Character.MAX_CODE_POINT;
    import static java.lang.Character.MAX_HIGH_SURROGATE;
    import static java.lang.Character.MAX_LOW_SURROGATE;
    import static java.lang.Character.MIN_HIGH_SURROGATE;
    import static java.lang.Character.MIN_LOW_SURROGATE;
    import static java.lang.Character.MIN_SUPPLEMENTARY_CODE_POINT;
    import static java.nio.charset.StandardCharsets.UTF_8;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  2. 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 =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            // Test with Unicode characters in message
            String message = "LDAP設定エラー: 接続失敗 🚫 ñ é ü ß";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        @Test
        public void test_newlineCharactersInMessage() {
            // Test with newline characters in message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
        assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/LlmClient.java

        /**
         * Gets the maximum characters for assistant message in history.
         *
         * @return the maximum characters
         */
        default int getHistoryAssistantMaxChars() {
            return 800;
        }
    
        /**
         * Gets the maximum characters for assistant summary in history.
         *
         * @return the maximum characters
         */
        default int getHistoryAssistantSummaryMaxChars() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/BaseEncoding.java

       *     separator
       */
      public abstract BaseEncoding withPadChar(char padChar);
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but adds a separator string
       * after every {@code n} characters. Any occurrences of any characters that occur in the separator
       * are skipped over in decoding.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

        }
    
        @Test
        public void test_escapeLDAPSearchFilter_withAllSpecialCharacters() {
            LdapManager ldapManager = new LdapManager();
            ldapManager.init();
    
            // Test all special characters together (note: = is not escaped per RFC 4515)
            String input = "\\*()\0";
            String expected = "\\5c\\2a\\28\\29\\00";
            assertEquals(expected, ldapManager.escapeLDAPSearchFilter(input));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  8. 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 =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withSpecialCharacters() {
            // Test constructor with special characters
            String type = "Token-Type_123!@#";
            String message = "Error: Token contains special characters <>&\"'";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withSpecialCharacters() {
            // Test with special characters in message
            String message = "Search not supported: \n\t!@#$%^&*(){}[]|\\:;\"'<>,.?/~`";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top