Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 449 for share$ (0.05 sec)

  1. 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)
  2. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
                    "'\\\\server\\share\\very\\long\\path\\with\\many\\segments', 100" })
            void testSizeCalculation(String path, int expectedSize) {
                buffer = new DfsReferralRequestBuffer(path, 3);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTreeHandle.java

         * @throws CIFSException if an error occurs retrieving the domain name
         */
        String getOEMDomainName() throws CIFSException;
    
        /**
         * Gets the name of the share this tree is connected to
         * @return the share we are connected to
         */
        String getConnectedShare();
    
        /**
         * Checks if this tree handle refers to the same tree as another
         * @param th the tree handle to compare with
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CIFSContextTest.java

        void testCIFSContextInterface() {
            // Verify interface methods exist
            assertDoesNotThrow(() -> {
                mockContext.get("smb://server/share");
                mockContext.getPipe("smb://server/share/pipe", 0);
                mockContext.close();
                mockContext.getConfig();
                mockContext.getNameServiceClient();
                mockContext.getBufferCache();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessEventType.java

         */
        CLIENT_MOVE(2),
    
        /**
         * Share moved to different node - share mobility event
         */
        SHARE_MOVE(3),
    
        /**
         * IP address changed - network configuration change
         */
        IP_CHANGE(4),
    
        /**
         * Share deleted - share removal notification
         */
        SHARE_DELETE(5),
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DfsReferralDataTest.java

        }
    
        @Test
        @DisplayName("Should get share")
        void testGetShare() {
            // Given
            String share = "testshare";
            when(mockReferralData.getShare()).thenReturn(share);
    
            // When
            String result = mockReferralData.getShare();
    
            // Then
            assertEquals(share, result);
            verify(mockReferralData).getShare();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

     *
     * This command is used to connect to a shared resource
     * 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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbFile.java

     *
     * <tr>
     * <td ><code>
     *  smb://host/share/a/b/
     * </code></td>
     * <td ><code>
     *  c/d/
     * </code></td>
     * <td><code>
     *  smb://host/share/a/b/c/d/
     * </code></td>
     * </tr>
     *
     * <tr>
     * <td ><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td ><code>
     *  /share2/zig/zag
     * </code></td>
     * <td><code>
     *  smb://host/share2/zig/zag
     * </code></td>
     * </tr>
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top