Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 491 for pause (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

      @Test fun testIllegalCharsetName() {
        val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testUnsupportedCharset() {
        val mediaType = parse("text/plain; charset=utf-wtf")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() {
        val mediaType = parse("text/plain;charset=\"'utf-8'\"")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            parameters = "";
            parameterMap = ParameterUtil.parse(parameters);
            assertEquals(0, parameterMap.size());
    
            parameters = "domain";
            parameterMap = ParameterUtil.parse(parameters);
            assertEquals(1, parameterMap.size());
            assertEquals("", parameterMap.get("domain"));
    
            parameters = "domain=";
            parameterMap = ParameterUtil.parse(parameters);
            assertEquals(1, parameterMap.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/CurlExceptionTest.java

        @Test
        public void testConstructorWithMessageAndCause() {
            String message = "Test error message";
            IOException cause = new IOException("IO error");
            CurlException exception = new CurlException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertSame(cause, exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.TestUtil.repeat
    import okhttp3.internal.concurrent.TaskFaker
    import okhttp3.internal.connection.BufferedSocket
    import okhttp3.internal.ws.WebSocketExtensions.Companion.parse
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ForwardingSink
    import okio.ForwardingSource
    import okio.Socket
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java

        }
    
        /**
         * Constructor with component name and cause.
         * @param componentName The name of the component that is not available.
         * @param cause The cause of the exception.
         */
        public ContainerNotAvailableException(final String componentName, final Throwable cause) {
            super(componentName + " is not available.", cause);
            this.componentName = componentName;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

         *
         * @param message the message
         * @param cause the underlying exception
         */
        public ClUnsupportedOperationException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a {@link ClUnsupportedOperationException}.
         *
         * @param cause the underlying exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

        val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testSingleQuotesAreNotSpecial() {
        val mediaType = parse("text/plain;a=';charset=utf-8;b='")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      @Test fun testParseWithSpecialCharacters() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      protected final void notifyFailed(Throwable cause) {
        checkNotNull(cause);
    
        monitor.enter();
        try {
          State previous = state();
          switch (previous) {
            case NEW:
            case TERMINATED:
              throw new IllegalStateException("Failed while in state:" + previous, cause);
            case RUNNING:
            case STARTING:
            case STOPPING:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlException.java

         * Constructs a new CurlException with the specified detail message and cause.
         *
         * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            // Test constructor with message and cause
            String message = "Storage operation failed";
            Exception cause = new RuntimeException("Underlying error");
            StorageException exception = new StorageException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top