Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 360 for spare (0.22 sec)

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

     *  smb1://host/share/foo/bar/
     * </code></td><td ><code>
     *  ../zip/
     * </code></td><td><code>
     *  smb1://host/share/foo/zip/
     * </code></td></tr>
     *
     * <tr><td ><code>
     *  smb1://host/share/zig/zag
     * </code></td><td ><code>
     *  smb1://foo/bar/
     * </code></td><td><code>
     *  smb1://foo/bar/
     * </code></td></tr>
     *
     * <tr><td ><code>
     *  smb1://host/share/foo/
     * </code></td><td ><code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling <code>getSecurity</code> on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            // Normal extensions should be allowed
            assertEquals("\\share\\file.txt", validator.validatePath("\\share\\file.txt"));
            assertEquals("\\share\\document.docx", validator.validatePath("\\share\\document.docx"));
            assertEquals("\\share\\archive.tar.gz", validator.validatePath("\\share\\archive.tar.gz"));
        }
    
        @Test
        public void testInternationalCharacters() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt");
            assertEquals("file.txt", a.getName());
    
            // share name with trailing slash when only share present
            SmbResourceLocatorImpl b = locator("smb://server/share/");
            assertEquals("share/", b.getName());
    
            // host when no path/share
            SmbResourceLocatorImpl c = locator("smb://server/");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionInternalTest.java

                "share, " // empty service
        })
        void getSmbTree_invalid(String share, String service) {
            doThrow(new IllegalArgumentException("invalid share/service")).when(session).getSmbTree(eq(share), eq(service));
    
            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> session.getSmbTree(share, service));
            assertTrue(ex.getMessage().contains("invalid"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                assertEquals(expectedLength, length, "Should return correct file length");
                assertEquals(expectedFreeSpace, freeSpace, "Should return correct free space");
                assertTrue(length >= 0, "Length should be non-negative");
                assertTrue(freeSpace >= 0, "Free space should be non-negative");
            }
    
            @Test
            @DisplayName("fileIndex should return valid index")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top