Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 893 for isValid (0.04 sec)

  1. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            // A null byte array should cause a PACDecodingException.
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the constructor with a byte array that is too large.
         */
        @Test
        void testConstructorWithDataTooLarge() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. cmd/admin-handlers-pools.go

    			idx, err = strconv.Atoi(pool)
    			if err != nil {
    				// We didn't find any matching pools, invalid input
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    				return
    			}
    		} else {
    			idx = globalEndpoints.GetPoolIdx(pool)
    			if idx == -1 {
    				// We didn't find any matching pools, invalid input
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    				return
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createApplicationType(String subtype) {
        return create(APPLICATION_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "audio" type and the given subtype.
       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createAudioType(String subtype) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

          "SETTINGS",
          "PUSH_PROMISE",
          "PING",
          "GOAWAY",
          "WINDOW_UPDATE",
          "CONTINUATION",
        )
    
      /**
       * Lookup table for valid flags for DATA, HEADERS, CONTINUATION. Invalid combinations are
       * represented in binary.
       */
      private val FLAGS = arrayOfNulls<String>(0x40) // Highest bit flag is 0x20.
      private val BINARY =
        Array(256) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            assertTrue(true);
        }
    
        @Test
        @DisplayName("Should handle invalid protocol ID length")
        void testInvalidProtocolIdLength() {
            // Protocol ID is a constant in transform header, not settable
            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            Throwable cause = new IllegalStateException("Invalid state");
            CommandExecutionException exception = new CommandExecutionException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Invalid state", exception.getCause().getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java

         * @param request the request holding artifact creation parameters
         * @return an {@code Artifact}, never {@code null}
         * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid
         */
        @Nonnull
        Artifact create(@Nonnull ArtifactFactoryRequest request);
    
        @Nonnull
        default Artifact create(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        public void test_process_withInvalidExpires() throws Exception {
            // Test that invalid expires value is handled
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.expires = "invalid";
    
            // Verify the expires value is set even if invalid
            assertEquals("invalid", options.expires);
        }
    
        public void test_process_withName() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception innerCause = new IllegalArgumentException("Invalid parameter");
            RuntimeException middleCause = new RuntimeException("Processing failed", innerCause);
            ThemeException exception = new ThemeException("Theme operation failed", middleCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacMacTest.java

            keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, hmacKey);
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(-1, keys, TEST_DATA)); // Invalid type
            assertEquals("Invalid MAC algorithm", e.getMessage());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top