Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 430 for shard (0.01 sec)

  1. 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)
  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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // 3. Event notifications
            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "\\\\cluster\\share");
            mockService.sendNotification(WitnessEventType.CLIENT_MOVE, "\\\\cluster\\share");
            mockService.sendNotification(WitnessEventType.NODE_AVAILABLE, "\\\\cluster\\share");
    
            // 4. Cleanup and unregistration
            assertTrue(mockService.unregisterWitness(regId));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\share"));
    
            // Test forward slashes
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "//server/share"));
    
            // Test with spaces
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt"));
    
            // Test with special characters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @Test
            @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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

     */
    public class SmbShareInfo implements FileEntry {
    
        /**
         * The network name of the share.
         */
        protected String netName;
        /**
         * The type of the share (e.g., disk, printer, IPC).
         */
        protected int type;
        /**
         * The optional comment or description for the share.
         */
        protected String remark;
    
        /**
         * Default constructor for SmbShareInfo.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         * Retrieves the share associated with this SMB resource. In
         * the case of <code>smb://</code>, <code>smb://workgroup/</code>,
         * and <code>smb://server/</code> URLs which do not specify a share,
         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        public String getShare() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/HandlerTest.java

        static Stream<Arguments> portSpecs() {
            return Stream.of(
                    // spec, expectedPort
                    Arguments.of("smb://server/share", SmbConstants.DEFAULT_PORT), Arguments.of("smb://server:445/share", 445),
                    Arguments.of("smb://server:139/share", 139));
        }
    
        @ParameterizedTest(name = "parseURL: {0} -> port {1}")
        @MethodSource("portSpecs")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public int pathConsumed;
        /** Time to live for this referral in seconds */
        public long ttl;
        /** Target server for this referral */
        public String server; // Server
        /** Target share for this referral */
        public String share; // Share
        /** The complete UNC path link */
        public String link;
        /** Path relative to tree from which this referral was thrown */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top