Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 229 for charactersOf (0.05 sec)

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertNull(user.getName());
    
            // Test with special characters in name
            user = new TestFessUser("******@****.***", new String[] {}, new String[] {}, new String[] {});
            assertEquals("******@****.***", user.getName());
    
            // Test with Unicode characters
            user = new TestFessUser("ユーザー名", new String[] {}, new String[] {}, new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
        assertFailsToDecode(base64(), "?", "Invalid input length 1");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

    import java.io.EOFException
    import okio.Buffer
    
    /**
     * Returns true if the body in question probably contains human readable text. Uses a small
     * sample of code points to detect unicode control characters commonly used in binary file
     * signatures.
     */
    fun Buffer.isProbablyUtf8(): Boolean {
      try {
        val prefix = Buffer()
        val byteCount = size.coerceAtMost(64)
        copyTo(prefix, 0, byteCount)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashCode.java

        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a {@code HashCode} from a hexadecimal ({@code base 16}) encoded string. The string must
       * be at least 2 characters long, and contain only valid, lower-cased hexadecimal characters.
       *
       * <p>This method accepts the exact format generated by {@link #toString}. If you require more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        data = sb.toString();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                generator.generate("test_id", outputFile);
                assertTrue("Should handle special characters in paths", true);
            } catch (final Exception e) {
                assertTrue("Exception handling for special characters", true);
            } finally {
                if (outputFile.exists()) {
                    outputFile.delete();
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Funnels.java

          into.putBytes(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.byteArrayFunnel()";
        }
      }
    
      /**
       * Returns a funnel that extracts the characters from a {@code CharSequence}, a character at a
       * time, without performing any encoding. If you need to use a specific encoding, use {@link
       * Funnels#stringFunnel(Charset)} instead.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Funnels.java

          into.putBytes(from);
        }
    
        @Override
        public String toString() {
          return "Funnels.byteArrayFunnel()";
        }
      }
    
      /**
       * Returns a funnel that extracts the characters from a {@code CharSequence}, a character at a
       * time, without performing any encoding. If you need to use a specific encoding, use {@link
       * Funnels#stringFunnel(Charset)} instead.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getCause());
        }
    
        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());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. 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)
Back to top