Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for share3 (0.06 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            shareInfo1.netname = "Share1";
            shareInfo1.type = 0;
            shareInfo1.remark = "Remark for Share1";
    
            srvsvc.ShareInfo1 shareInfo2 = new srvsvc.ShareInfo1();
            shareInfo2.netname = "Share2";
            shareInfo2.type = 1;
            shareInfo2.remark = "Remark for Share2";
    
            // Create ShareInfoCtr1 with the shares
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            SmbShareInfo share1 = (SmbShareInfo) response.results[0];
            assertEquals("SHARE1", share1.getName().trim(), "Share 1 name should be correct.");
            assertEquals(0, share1.type, "Share 1 raw type should be 0.");
            assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct.");
    
            SmbShareInfo share2 = (SmbShareInfo) response.results[1];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

         * Test of equals method, of class SmbShareInfo.
         */
        @Test
        void testEquals() {
            SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1");
            SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2");
            SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1");
            Object notAShareInfo = new Object();
    
            assertTrue(instance1.equals(instance2)); // Should be equal based on netName
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

     * tree, including share type and capabilities.
     *
     * @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).
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // The getEntries method returns FileEntry objects. We can check their names.
            assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct.");
            assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct.");
        }
    
        /**
         * Test the getEntries() method when the DfsEnumArray200 is empty.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

        /**
         * Creates a new request to enumerate shares on a server.
         *
         * @param server the server name to enumerate shares from
         */
        public MsrpcShareEnum(final String server) {
            super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Act - Create various SMB URLs using the handler
            URL url1 = new URL(null, "smb://host/share", handler);
            URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler);
            URL url3 = new URL(null, "smb://user:pass@host/share", handler);
    
            // Assert - Verify URL components
            assertEquals("smb", url1.getProtocol());
            assertEquals("host", url1.getHost());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

        /**
         * Creates a new request to enumerate shares on a server.
         *
         * @param server the server name to enumerate shares from
         */
        public MsrpcShareEnum(final String server) {
            super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. cmd/shared-lock.go

    Anis Elleuch <******@****.***> 1676280398 +0100
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

         */
        protected String remark;
    
        /**
         * Default constructor for SMB share information.
         */
        public SmbShareInfo() {
        }
    
        /**
         * Constructs SMB share information with specified properties.
         *
         * @param netName the network name of the share
         * @param type the type of the share
         * @param remark the descriptive comment about the share
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top