Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for DISK (2.01 sec)

  1. src/main/java/jcifs/internal/TreeConnectResponse.java

         * Returns the tree identifier (TID) assigned to this tree connection.
         *
         * @return tree id
         */
        int getTid();
    
        /**
         * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).
         *
         * @return service
         */
        String getService();
    
        /**
         * Indicates whether the connected share is part of a Distributed File System (DFS) namespace.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            SmbShareInfo pipeShare = new SmbShareInfo("PIPE", 3, "A named pipe");
            assertEquals(SmbFile.TYPE_NAMED_PIPE, pipeShare.getType());
    
            // Test for TYPE_SHARE (disk share)
            SmbShareInfo diskShare = new SmbShareInfo("DISK", 0, "A disk share");
            assertEquals(SmbFile.TYPE_SHARE, diskShare.getType());
    
            // Test for another type that should default to TYPE_SHARE
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

     *
     * @author mbechler
     */
    public class Smb2TreeConnectResponse extends ServerMessageBlock2Response implements TreeConnectResponse {
    
        /**
         * Share type constant for disk shares (file shares).
         */
        public static final byte SMB2_SHARE_TYPE_DISK = 0x1;
        /**
         * Share type constant for named pipe shares (IPC).
         */
        public static final byte SMB2_SHARE_TYPE_PIPE = 0x2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. 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)
  5. README.md

    - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    ## Installation
    
    ### Maven
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/AllocInfo.java

    package jcifs.internal;
    
    import jcifs.internal.fscc.FileSystemInformation;
    
    /**
     * Interface for file system allocation information providing capacity and free space details.
     * Used in SMB protocol operations to query disk space information from remote SMB shares.
     *
     * @author mbechler
     */
    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * Gets the total capacity of the allocation.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
            String share = "share";
            String svc = "A:"; // service string example (e.g., DISK, IPC, or other)
            SmbTree result = session.getSmbTree(share, svc);
    
            assertSame(tree, result);
    
            ArgumentCaptor<String> shareCap = ArgumentCaptor.forClass(String.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/FileNotifyInformation.java

        /**
         * Any file-size change in the watched directory or subtree causes a change notification wait operation to return.
         * The operating system detects a change in file size only when the file is written to the disk. For operating
         * systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.s
         */
        int FILE_NOTIFY_CHANGE_SIZE = 0x00000008;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            // Test different share types and their transformations
            // Type 0 (disk share) -> TYPE_SHARE (8)
            srvsvc.ShareInfo1 diskShare = new srvsvc.ShareInfo1();
            diskShare.netname = "DiskShare";
            diskShare.type = 0;
            diskShare.remark = "Disk share";
    
            // Type 1 (printer share) -> TYPE_PRINTER (4)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top