Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 462 for share_ (0.04 sec)

  1. 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)
  2. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Setup minimal mocks
            when(request.getRequestURI()).thenReturn("/explorer");
            when(request.getPathInfo()).thenReturn("/share/");
            when(locator.getCanonicalURL()).thenReturn("smb://server/share/");
    
            // Mock directory listing
            SmbFile file1 = mock(SmbFile.class);
            when(file1.getName()).thenReturn("document.pdf");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            CompletableFuture<WitnessRegistration> future = client.registerForNotifications("\\\\server\\share", serverAddress, listener);
    
            WitnessRegistration registration = future.get(5, TimeUnit.SECONDS);
    
            assertNotNull(registration);
            assertEquals(WitnessRegistrationState.REGISTERED, registration.getState());
            assertEquals("\\\\server\\share", registration.getShareName());
    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/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/SmbResourceLocator.java

         */
        String getURLPath();
    
        /**
         * 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
         */
        String getShare();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                                SmbTreeImpl uct = smbSession.getSmbTree(share, null).unwrap(SmbTreeImpl.class);
                                SmbTreeImpl ct = connectTree(loc, host, share, trans, uct, dr)) {
    
                            if (dr != null) {
                                ct.setTreeReferral(dr);
                                if (dr != start) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. LICENSE

          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
          "You" (or "Your") shall mean an individual or Legal Entity
          exercising permissions granted by this License.
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 29 17:31:56 UTC 2021
    - 13.3K bytes
    - Viewed (0)
Back to top