Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 477 for Share1 (0.05 seconds)

  1. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 NetShareEnum response message for enumerating network shares on a server.
     * This class handles the response data from a NetShareEnum RPC call, which returns
     * information about all available shares on the target server.
     */
    public class NetShareEnumResponse extends SmbComTransactionResponse {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertNotEquals(a, c);
    
            // Same subject instance -> equal
            Subject shared = new Subject();
            Kerb5Authenticator d1 = new Kerb5Authenticator(shared);
            Kerb5Authenticator d2 = new Kerb5Authenticator(shared);
            assertEquals(d1, d2);
    
            // Different type -> false
            assertFalse(a.equals("not-an-auth"));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test getPath returns correct formatted path")
        void testGetPath() {
            request = new Smb2CreateRequest(mockConfig, "share\\file.txt");
            assertEquals("\\share\\file.txt", request.getPath());
    
            request.setPath("newpath\\newfile.txt");
            assertEquals("\\newpath\\newfile.txt", request.getPath());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

            assertEquals("smb://server/share", wizardAction.convertCrawlingPath("smb://server/share"));
            assertEquals("smb://192.168.1.1/path", wizardAction.convertCrawlingPath("smb://192.168.1.1/path"));
        }
    
        @Test
        public void test_convertCrawlingPath_smb1_protocol() {
            assertEquals("smb1://server/share", wizardAction.convertCrawlingPath("smb1://server/share"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. build-logic-commons/build.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    description = "Provides a set of plugins that are shared between the Gradle and build-logic builds"
    
    tasks.register("check") {
        dependsOn(subprojects.map { "${it.name}:check" })
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 04:30:54 GMT 2025
    - 800 bytes
    - Click Count (0)
Back to Top