Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 472 for charactersOf (0.09 seconds)

  1. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

        }
    
        /**
         * Gets the fragment size.
         *
         * @return the fragment size in characters
         */
        public int getFragmentSize() {
            return fragmentSize;
        }
    
        /**
         * Sets the fragment size with fluent interface.
         *
         * @param fragmentSize the fragment size in characters
         * @return this HighlightInfo instance for method chaining
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 10:17:07 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

    /**
     * Returns the next index in this at or after [startIndex] that is a character from
     * [characters]. Returns the input length if none of the requested characters can be found.
     */
    private fun String.indexOfElement(
      characters: String,
      startIndex: Int = 0,
    ): Int {
      for (i in startIndex until length) {
        if (this[i] in characters) {
          return i
        }
      }
      return length
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

        /**
         * Document identifier for the target document to redirect to.
         * This is required and limited to 100 characters.
         */
        @Required
        @Size(max = 100)
        public String docId;
    
        /**
         * Redirect target or return URL parameter.
         * This is required and limited to 10000 characters to accommodate long URLs.
         */
        @Size(max = 10000)
        @Required
        public String rt;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/DfsReferralData.java

         *
         * @return the share this referral points to
         */
        String getShare();
    
        /**
         * Get the number of characters from the UNC path that were consumed by this referral
         *
         * @return the number of characters from the unc path that were consumed by this referral
         */
        int getPathConsumed();
    
        /**
         * Get the replacement path for this referral
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertTrue(toStringResult.contains(message));
        }
    
        @Test
        public void test_constructorWithScheduledJob_specialCharacters() {
            // Test with scheduled job that has special characters in toString
            ScheduledJob scheduledJob = new ScheduledJob() {
                @Override
                public String toString() {
                    return "Job[name=\"Test & Job\", id='<123>']";
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/ldap/LdapUtil.java

    /**
     * Utility class for LDAP operations.
     */
    public final class LdapUtil {
    
        private LdapUtil() {
        }
    
        /**
         * Escapes special characters in a value for use in LDAP search filters.
         * This method escapes characters that have special meaning in LDAP filter expressions
         * to prevent LDAP injection attacks.
         *
         * @param value the value to escape (null is treated as empty string)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/InputValidator.java

        /**
         * Sanitizes a string for safe logging (removes control characters)
         *
         * @param input the string to sanitize
         * @return sanitized string safe for logging
         */
        public static String sanitizeForLogging(String input) {
            if (input == null) {
                return "null";
            }
            // Remove control characters and limit length
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. 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)
Back to Top