Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 893 for isValid (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

         * @return decoded response
         */
        public static SmbDirectNegotiateResponse decode(byte[] data, int offset) {
            if (data.length - offset < 32) {
                throw new IllegalArgumentException("Invalid SMB Direct Negotiate Response length");
            }
    
            SmbDirectNegotiateResponse response = new SmbDirectNegotiateResponse();
    
            int idx = offset;
            response.minVersion = SMBUtil.readInt2(data, idx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. docs/metrics/v3.md

    | `minio_api_requests_rejected_timestamp_total`  | Total number of requests rejected for invalid timestamp. <br><br>Type: counter | `type`, `pool_index`, `server`               |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                } catch (final URISyntaxException e) {
                    throw new CrawlingAccessException("Invalid URL: " + s, e);
                }
    
                if (!"ftp".equals(uri.getScheme())) {
                    throw new CrawlingAccessException("Invalid scheme: " + uri.getScheme());
                }
    
                final String path = uri.getPath();
                if (path == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            ServerMessageBlock request = new SmbComDelete("testfile.txt");
            ServerMessageBlock response = new SmbComBlankResponse();
    
            // Should throw exception for invalid operation
            assertThrows(SmbException.class, () -> tree.send(request, response));
        }
    
        @Test
        void testTreeConnectWithWaitInterrupted() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/FileEntryTest.java

        }
    
        @Test
        @DisplayName("Calling a method on null reference throws NPE")
        void nullReference_throwsNPE() {
            // Arrange
            FileEntry e = null;
            // Act & Assert: demonstrate invalid usage results in NPE
            assertThrows(NullPointerException.class, () -> e.getName());
        }
    
        @Nested
        @DisplayName("Mockito stubbing for edge cases")
        class MockitoEdgeCases {
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        /**
         * Test that pre-auth hash is reset on error
         */
        @Test
        @DisplayName("Pre-auth integrity hash should reset on error")
        void testPreauthHashResetOnError() throws Exception {
            // Setup invalid SMB2 state to trigger error
            setPrivateField(transport, "smb2", false);
    
            // Try to update preauth hash - should fail and reset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with IOException throws ArrayIndexOutOfBoundsException")
        void testReadDataWireFormatWithIOException() throws Exception {
            // Create an invalid security descriptor buffer that will cause ArrayIndexOutOfBoundsException
            byte[] buffer = new byte[4];
    
            // Set error code to 0
            setErrorCode(response, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            if (data == null) {
                log.error("Data buffer is null in verify");
                return false;
            }
            if (offset < 0 || length < 0) {
                log.error("Invalid offset or length in verify: offset={}, length={}", offset, length);
                return false;
            }
            if (offset + length > data.length) {
                log.error("Offset + length exceeds data buffer size in verify");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. mvnw.cmd

    echo location of your Java installation. >&2
    echo. >&2
    goto error
    
    :OkJHome
    if exist "%JAVA_HOME%\bin\java.exe" goto init
    
    echo. >&2
    echo Error: JAVA_HOME is set to an invalid directory. >&2
    echo JAVA_HOME = "%JAVA_HOME%" >&2
    echo Please set the JAVA_HOME variable in your environment to match the >&2
    echo location of your Java installation. >&2
    echo. >&2
    goto error
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertNotNull(resp.getErrorData(), "Error data should be present");
            assertArrayEquals(err, resp.getErrorData());
        }
    
        @Test
        @DisplayName("Invalid structure size should throw during decode")
        void testInvalidStructureSizeThrows() {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[128];
            int headerStart = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top