Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 376 for shard (0.05 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTree.java

         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
        SmbTree(final SmbSession session, final String share, final String service) {
            this.session = session;
            this.share = share.toUpperCase();
            if (service != null && !service.startsWith("??")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeImplTest.java

            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @ParameterizedTest
            @CsvSource({ "'\\server', 'server', '', ''", "'\\server\\share', 'server', 'share', ''",
                    "'\\server\\share\\path', 'server', 'share', 'path'",
                    "'\\server\\share\\path\\file.txt', 'server', 'share', 'path\\file.txt'",
                    "'\\server.domain.com\\share\\deep\\path\\structure', 'server.domain.com', 'share', 'deep\\path\\structure'" })
            @DisplayName("Should split DFS paths correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            assertEquals(testString, result);
        }
    
        @ParameterizedTest
        @DisplayName("Test readDataWireFormat with various share types")
        @CsvSource({ "0, SHARE, Normal share", "1, PRINTER, Printer share", "3, IPC$, IPC share", "32768, HIDDEN, Hidden share", // 0x8000 - hidden flag in lower 16 bits
                "32769, HIDDENP, Hidden printer" // 0x8001 - hidden flag + printer type
        })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_3x.md

     *  Fix: Support TLSv1.3 on devices that support it.
    
     *  Fix: Share pooled connections across equivalent `OkHttpClient` instances. Previous releases had
        a bug where a shared connection pool did not guarantee shared connections in some cases.
     *  Fix: Prefer the server's response body on all conditional cache misses. Previously we would
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  6. docs/smb3-features/04-directory-leasing-design.md

        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.directoryNotificationsEnabled", "true");
        
        SmbFile dir = new SmbFile("smb://server/share/testdir/", context);
        SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context);
        
        // Get initial listing (establishes cache)
        SmbFile[] initialFiles = dir.listFiles();
        
        // Create new file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/file.txt").getParent());
                // Test parent of a directory
                assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/dir/").getParent());
                // Test parent of a share
                assertEquals("smb1://server/", new SmbFile("smb1://server/share/").getParent());
                // Test parent of a server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

        }
    
        /**
         * Share information level 0 structure containing basic share information.
         */
        public static class ShareInfo0 extends NdrObject {
    
            /**
             * Default constructor for ShareInfo0.
             */
            public ShareInfo0() {
            }
    
            /**
             * The network name of the share.
             */
            public String netname;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Act - Create various SMB URLs using the handler
            URL url1 = new URL(null, "smb://host/share", handler);
            URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler);
            URL url3 = new URL(null, "smb://user:pass@host/share", handler);
    
            // Assert - Verify URL components
            assertEquals("smb", url1.getProtocol());
            assertEquals("host", url1.getHost());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates share name
         *
         * @param share the share name to validate
         * @throws IllegalArgumentException if share name is invalid
         */
        public static void validateShareName(String share) {
            if (share == null || share.isEmpty()) {
                throw new IllegalArgumentException("Share name cannot be null or empty");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top