- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for setParent (0.08 sec)
-
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) -
src/test/java/jcifs/SmbResourceLocatorTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
/** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(), e.lastAccess(), e.length()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
int numComplete = 0; long ltime = 0L; @Override public void run() { try { final SmbFile f = new SmbFile(url); final SmbFile d = new SmbFile(f.getParent()); final byte[] buf = new byte[1024]; for (int ii = 0; ii < numIter; ii++) { synchronized (this) { ltime = System.currentTimeMillis();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
*/ @SuppressWarnings("resource") @Override protected FileEntry open() throws CIFSException { final SmbTreeHandleImpl th = getTreeHandle(); final String uncPath = getParent().getLocator().getUNCPath(); final Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath); create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
} @SuppressWarnings("resource") @Override protected final FileEntry open() throws CIFSException { final SmbResourceLocator loc = this.getParent().getLocator(); final String unc = loc.getUNCPath(); final String p = loc.getURL().getPath(); if (p.lastIndexOf('/') != p.length() - 1) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
void testGetParent() { SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt"); assertEquals("smb://server/share/dir/", a.getParent()); SmbResourceLocatorImpl b = locator("smb://server/share/"); assertEquals("smb://server/", b.getParent()); } @Test @DisplayName("Canonical and UNC paths are computed and stable") void testCanonicalAndUNCPaths() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0)