Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 681 for characters (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            assertEquals(innerCause, exception.getCause().getCause().getCause());
            assertFalse(exception.aborted());
        }
    
        public void test_constructor_withSpecialCharactersInUrl() {
            // Test with special characters in URL
            String url = "http://example.com/test?param=value&other=value#fragment";
            String message = "Error with special URL";
            Exception cause = new RuntimeException("Error cause");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
     * The returned string attempts to be column-aligned to 6 characters. For negative and large values
     * the returned string may be longer.
     */
    fun formatDuration(ns: Long): String {
      val s =
        when {
          ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s "
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            assertEquals(longMessage, exception.getMessage());
        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String specialMessage = "Error: \n\t\r Special chars: 日本語 中文 한국어 émojis 😀 🎉";
            ScheduledJobException exception = new ScheduledJobException(specialMessage);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            StorageException exception = new StorageException(message);
            assertEquals(message, exception.getMessage());
        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String message = "Storage error: \n\t\r\"'<>&";
            StorageException exception = new StorageException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacUnicodeStringTest.java

         */
        @Test
        void testCheck_withInvalidLength_throwsException() {
            // Length is 10 bytes, so expected string length is 5 characters
            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "too-long"; // Length is 8
    
            // Expect a PACDecodingException to be thrown
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. cmd/object-api-input-checks.go

    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	if runtime.GOOS == globalWindowsOSName && strings.Contains(object, "\\") {
    		// Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`.
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    // Checks for all ListObjects arguments validity.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    	return len(s) >= len(suffix) && Equal(s[len(s)-len(suffix):], suffix)
    }
    
    // Map returns a copy of the byte slice s with all its characters modified
    // according to the mapping function. If mapping returns a negative value, the character is
    // dropped from the byte slice with no replacement. The characters in s and the
    // output are interpreted as UTF-8-encoded code points.
    func Map(mapping func(r rune) rune, s []byte) []byte {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
        assertUnescaped(e, 'A');
        assertUnescaped(e, 'Z');
        assertUnescaped(e, '0');
        assertUnescaped(e, '9');
    
        // Unreserved characters used in java.net.URLEncoder
        assertUnescaped(e, '-');
        assertUnescaped(e, '_');
        assertUnescaped(e, '.');
        assertUnescaped(e, '*');
    
        assertEscaping(e, "%00", '\u0000'); // nul
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(expectedSize, buffer.size());
            }
    
            @Test
            @DisplayName("Should calculate size for Unicode characters")
            void testSizeWithUnicodeCharacters() {
                // Unicode characters still count as single chars in Java
                String path = "\\\\server\\共享\\路径";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

            // Default constructor
        }
    
        private int pathConsumed;
        private int numReferrals;
        private int tflags;
        private Referral[] referrals;
    
        /**
         * Get the number of characters consumed from the path
         *
         * @return the pathConsumed
         */
        public final int getPathConsumed() {
            return this.pathConsumed;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top