Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 434 for share3 (0.07 sec)

  1. cmd/metacache.go

    	// metacacheBlockSize is the number of file/directory entries to have in each block.
    	metacacheBlockSize = 5000
    
    	// metacacheSharePrefix controls whether prefixes on dirty paths are always shared.
    	// This will make `test/a` and `test/b` share listings if they are concurrent.
    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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/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)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

          sourceCount++
        }
    
        return RelaySource()
      }
    
      internal inner class RelaySource : Source {
        private val timeout = Timeout()
    
        /** The operator to read and write the shared file. Null if this source is closed. */
        private var fileOperator: FileOperator? = FileOperator(file!!.channel)
    
        /** The next byte to read. This is always less than or equal to [upstreamPos]. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K 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/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)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                p++;
            }
            while (p < len && pathInfo.charAt(p) == '/') {
                p++;
            }
            if (p < len) { /* then there must be a share */
                out[i] = '/';
                i++;
                do { /* collect the share name */
                    out[i++] = ch = pathInfo.charAt(p++);
                } while (p < len && ch != '/');
            }
            return new String(out, 0, i);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top