Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for DISK (3.94 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            int offset = 10;
    
            // Write valid structure (16 bytes)
            SMBUtil.writeInt2(16, buffer, offset); // Structure size
            buffer[offset + 2] = (byte) 0x01; // Share type (DISK)
            buffer[offset + 3] = 0; // Reserved
            SMBUtil.writeInt4(0x8001, buffer, offset + 4); // Share flags (DFS | ENCRYPT_DATA)
            SMBUtil.writeInt4(0x28, buffer, offset + 8); // Capabilities (DFS | SCALEOUT)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbOperationException.java

            /** File system errors (not found, access denied, etc.) */
            FILE_SYSTEM,
            /** Protocol errors (invalid message, unsupported operation, etc.) */
            PROTOCOL,
            /** Resource errors (out of memory, disk space, etc.) */
            RESOURCE,
            /** Configuration errors */
            CONFIGURATION,
            /** Transient errors that may succeed on retry */
            TRANSIENT,
            /** Unknown or unclassified errors */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(500L * sectorSize, fileFsSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle full disk scenario")
            void shouldHandleFullDiskScenario() throws SMBProtocolDecodingException {
                // Given - disk with no free space
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1000000L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(500L * sectorSize, fileFsFullSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle full disk scenario")
            void shouldHandleFullDiskScenario() throws SMBProtocolDecodingException {
                // Given - disk with no free space
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1000000L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @DisplayName("Should handle share type")
            void testShareType() throws Exception {
                // Test DISK share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should handle DISK share type");
    
                // Test PIPE share type
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtStatus.java

        /** No mapping between account names and security IDs was done */
        int NT_STATUS_NONE_MAPPED = 0xC0000073;
        /** The security ID structure is invalid */
        int NT_STATUS_INVALID_SID = 0xC0000078;
        /** The disk is full */
        int NT_STATUS_DISK_FULL = 0xC000007f;
        /** Insufficient resources are available to complete the request */
        int NT_STATUS_INSUFFICIENT_RESOURCES = 0xC000009a;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        void testReadDataWireFormatSingleShare() throws Exception {
            // Prepare test data
            String shareName = "SHARE1";
            int shareType = 0x00000000; // Disk share
            String remark = "Test share";
    
            // Calculate buffer size
            int shareNameSize = 14; // 13 bytes + null terminator (fixed field)
            int typeSize = 2;
            int offsetSize = 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            exception = new SmbOperationException(SmbOperationException.ErrorCode.DISK_FULL, null);
            assertTrue(exception.getMessage().contains("DISK_FULL"));
            assertTrue(exception.getMessage().contains("Disk full"));
        }
    
        @Test
        @DisplayName("Should have correct retryable flags for error codes")
        void testErrorCodeRetryableFlags() {
            // Retryable errors
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                        "DHnC", // Durable handle reconnect
                        "AlSi", // Allocation size
                        "MxAc", // Max access
                        "TWrp", // Timewarp
                        "QFid", // Query on disk ID
                        "RqLs", // Request lease
                        "DH2Q", // Durable handle request V2
                        "DH2C", // Durable handle reconnect V2
                        "ExtA", // Extended attributes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

        void mkdir() throws CIFSException;
    
        /**
         * This method returns the free disk space in bytes of the drive this share
         * represents or the drive on which the directory or file resides. Objects
         * other than <code>TYPE_SHARE</code> or <code>TYPE_FILESYSTEM</code> will result
         * in 0L being returned.
         *
         * @return the free disk space in bytes of the drive on which this file or
         *         directory resides
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top