Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 276 for tshark (0.05 sec)

  1. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator.validatePath("\\share\\folder\\file.txt");
            validator.validatePath("C:\\Windows\\System32");
            validator.validatePath(null); // Null should be allowed
            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
        public void testPathTooLong() throws Exception {
            String longPath = "\\share" + "\\folder".repeat(5000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            return this.service;
        }
    
        /**
         * Returns the native file system type of the connected share.
         *
         * @return the nativeFileSystem
         */
        public final String getNativeFileSystem() {
            return this.nativeFileSystem;
        }
    
        /**
         * Indicates whether the share supports search operations with search bits.
         *
         * @return the supportSearchBits
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. docs/smb3-features/06-witness-protocol-design.md

        RESOURCE_CHANGE(1),        // Resource state changed
        CLIENT_MOVE(2),           // Client should move to different node
        SHARE_MOVE(3),            // Share moved to different node
        IP_CHANGE(4),             // IP address changed
        SHARE_DELETE(5),          // Share deleted
        NODE_UNAVAILABLE(6),      // Cluster node unavailable
        NODE_AVAILABLE(7);        // Cluster node available
        
        private final int value;
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockReferral.getPathConsumed()).thenReturn(15); // e.g., "\\\\server\\share".length()
            when(mockReferral.next()).thenReturn(mockReferral); // Simple loop for the do-while
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 COM_TREE_DISCONNECT command implementation.
     *
     * This command disconnects from a tree connection (share) on the server.
     * It releases the tree ID and terminates access to the share.
     */
    public class SmbComTreeDisconnect extends ServerMessageBlock {
    
        /**
         * Constructs a tree disconnect request to close a connection to a shared resource.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "\\\\server\\share", "\\\\192.168.1.1\\share", "\\\\server.domain.com\\share", "\\\\server\\share\\subfolder",
                "\\\\s\\s" // Minimum path
        })
        @DisplayName("Should handle various valid path formats")
        void testVariousPathFormats(String path) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            when(tree.acquire(false)).thenReturn(tree);
            when(tree.getTreeType()).thenReturn(7);
            when(tree.getShare()).thenReturn("SHARE");
            setTree(c, tree);
    
            assertEquals(7, c.getTreeType());
            assertEquals("SHARE", c.getConnectedShare());
            // try-with-resources closes the acquired tree
            verify(tree, atLeastOnce()).close();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         *
         * @return the registration ID
         */
        public String getRegistrationId() {
            return registrationId;
        }
    
        /**
         * Gets the share name.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
        /**
         * Gets the server address.
         *
         * @return the server address
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

     * on the server, such as a file share or printer.
     *
     * @author mbechler
     */
    public class Smb2TreeConnectRequest extends ServerMessageBlock2Request<Smb2TreeConnectResponse> {
    
        private int treeFlags;
        private final String path;
    
        /**
         * Creates a new SMB2 tree connect request to establish a connection to a network share.
         *
         * @param config the CIFS configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            referral.server = "testServer";
            referral.share = "testShare";
            referral.link = "testLink";
            referral.path = "/test/path";
            referral.ttl = 300;
            referral.expiration = 1234567890L;
            referral.resolveHashes = true;
    
            // When
            String expectedString =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top