Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 507 for share1 (0.23 seconds)

  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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. build-logic-commons/settings.gradle.kts

        }
    }
    
    plugins {
        id("gradlebuild.version-catalogs")
        id("gradlebuild.default-settings-plugins")
    }
    
    includeBuild("../build-logic-settings")
    
    // Shared basics for all
    include("basics")
    
    // Platform: defines shared dependency versions
    include("build-platform")
    
    // Compute the identity/version we are building and related details (like current git commit)
    include("module-identity")
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  3. 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();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  8. src/test/java/jcifs/smb1/smb1/DfsTest.java

        }
    
        @Test
        void testGetReferral_Success() throws IOException, SmbAuthException {
            String domain = "domain.com";
            String root = "share";
            String path = "\\folder";
            String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder"
    
            lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SmbResourceLocatorTest.java

        class HappyPath {
            @Test
            void testBasicProperties() throws Exception {
                String url = "smb://server/share/path/file.txt";
                DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
                assertEquals("file.txt", loc.getName());
                assertEquals("smb://server/share/path/", loc.getParent());
                assertEquals(url, loc.getPath());
                // canonicalisation simply removes '.' and '..'
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. 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;
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
Back to Top