Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 856 for isInvalid (0.06 sec)

  1. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
            if (offset < 0 || length < 0 || offset + length > data.length) {
                throw new CIFSException("Invalid offset or length");
            }
            if (!isAlgorithmSupported(algorithm)) {
                throw new CIFSException("Unsupported compression algorithm: " + algorithm);
            }
            if (length < MIN_COMPRESSION_SIZE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            // Test with an invalid Kerberos version
            byte[] invalidVersionToken = createTestTicketBytes(99, SERVER_REALM, SERVER_PRINCIPAL_NAME, ENCRYPTION_TYPE, ENCRYPTED_DATA, null);
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(invalidVersionToken, (byte) 0, keys));
            assertTrue(e.getMessage().startsWith("Invalid kerberos version"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/NegTokenTargTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link NegTokenTarg}. The class has no external
     * collaborators so tests are mostly focused on round‑trip
     * serialisation and invalid input handling.
     */
    class NegTokenTargTest {
    
        @Test
        @DisplayName("happy path – full token round‑trip")
        void testRoundTripFull() throws IOException {
            // Arrange – create a fully populated token
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

                new SmbTreeConnectionTrace(ctx).getConnectedShare();
            }));
        }
    
        @ParameterizedTest(name = "Invalid usage causes NPE: {0}")
        @MethodSource("npePublicGetters")
        void getters_withoutTree_throwNPE(String name, org.junit.jupiter.api.function.Executable call) {
            // Each call is invalid without a held tree and should throw NPE
            assertThrows(NullPointerException.class, call);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. cmd/tier-handlers.go

    		Message:    "Remote tier bucket not found",
    		StatusCode: http.StatusBadRequest,
    	}
    	// error returned when remote tier credentials are invalid.
    	errTierInvalidCredentials = AdminError{
    		Code:       "XMinioAdminTierInvalidCredentials",
    		Message:    "Invalid remote tier credentials",
    		StatusCode: http.StatusBadRequest,
    	}
    	// error returned when reserved internal names are used.
    	errTierReservedName = AdminError{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        assertThat(client.processNextFrame()).isFalse()
        client.listener.assertClosing(1000, "Bye!")
      }
    
      @Test
      fun protocolErrorBeforeCloseSendsFailure() {
        server.sink.write("0a00".decodeHex()).emit() // Invalid non-final ping frame.
        client.processNextFrame() // Detects error, send close, close connection.
        taskFaker.runTasks()
        client.webSocket!!.finishReader()
        assertThat(client.closed).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. cmd/object-api-utils_test.go

    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"a.b", true},
    		{"ab.a.bc", true},
    		// cases for which test should fail.
    		// passing invalid bucket names.
    		{"------", false},
    		{"my..bucket", false},
    		{"192.168.1.1", false},
    		{"$this-is-not-valid-too", false},
    		{"contains-$-dollar", false},
    		{"contains-^-caret", false},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java

                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        void testMessageAndCauseConstructor() {
            // Test the constructor with both message and cause arguments
            String message = "Test message with cause";
            Throwable cause = new IllegalArgumentException("Invalid argument");
            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top