Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 240 for SHARE (0.06 sec)

  1. 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)
  2. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(path, entryByPath.getPath());
        }
    
        @Test
        @DisplayName("Should release all leases")
        void testReleaseAll() {
            String path1 = "/share/file1.txt";
            String path2 = "/share/file2.txt";
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        @DisplayName("Test getType with different share types")
        @CsvSource({ "1, " + SmbConstants.TYPE_PRINTER, // Printer share
                "3, " + SmbConstants.TYPE_NAMED_PIPE, // Named pipe
                "0, " + SmbConstants.TYPE_SHARE, // Standard share
                "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
                "4, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

            void testGetShare() {
                // Act & Assert
                assertEquals("share", smbFile.getShare());
            }
    
            @Test
            void testGetUncPath() {
                // Arrange
                doReturn("\\localhost\share\file.txt").when(smbFile).getUncPath();
    
                // Act & Assert
                assertEquals("\\localhost\share\file.txt", smbFile.getUncPath());
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/TreeConnectResponse.java

     * service type, and DFS information for the connected share.
     *
     * @author mbechler
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * 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).
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test valid share names")
        @ValueSource(strings = { "share", "share$", "SHARE", "share123", "share-name", "share_name", "share.name" })
        void testValidShareNames(String share) {
            assertDoesNotThrow(() -> InputValidator.validateShareName(share));
        }
    
        @Test
        @DisplayName("Test port validation")
        void testPortValidation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

        }
    
        /**
         * Share information level 0 structure containing basic share information.
         */
        public static class ShareInfo0 extends NdrObject {
    
            /**
             * Default constructor for ShareInfo0.
             */
            public ShareInfo0() {
            }
    
            /**
             * The network name of the share.
             */
            public String netname;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        private int pathConsumed;
        private long ttl;
        private String server; // Server
        private String share; // Share
        private String link;
        private String path; // Path relative to tree from which this referral was thrown
    
        private long expiration;
        private int rflags;
    
        private boolean resolveHashes;
    
        private DfsReferralDataImpl next;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *  smb1://host/share/foo/bar/
     * </code></td><td ><code>
     *  ../zip/
     * </code></td><td><code>
     *  smb1://host/share/foo/zip/
     * </code></td></tr>
     *
     * <tr><td ><code>
     *  smb1://host/share/zig/zag
     * </code></td><td ><code>
     *  smb1://foo/bar/
     * </code></td><td><code>
     *  smb1://foo/bar/
     * </code></td></tr>
     *
     * <tr><td ><code>
     *  smb1://host/share/foo/
     * </code></td><td ><code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java

            this.version = version;
        }
    
        /**
         * Gets the share name to monitor.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
        /**
         * Sets the share name to monitor.
         *
         * @param shareName the share name
         */
        public void setShareName(String shareName) {
            this.shareName = shareName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top