- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for getParents (0.15 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
if (dirManager != null && smbFile.getContext().getConfig().isUseDirectoryLeasing()) { // Check parent directory cache first String parentPath = smbFile.getParent(); if (parentPath != null) { var parentCache = dirManager.getCacheEntry(parentPath); if (parentCache != null && parentCache.isComplete()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
return this.url.getHost() + '/'; } return "smb://"; } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getParent() */ @Override public String getParent() { String str = this.url.getAuthority(); if (str != null && !str.isEmpty()) { final StringBuilder sb = new StringBuilder("smb://");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
return files; } @Override public boolean exists() throws IOException { if (isDirectory() && directoryLeaseManager != null) { // Check parent directory cache first String parentPath = getParent(); DirectoryCacheEntry parentCache = directoryLeaseManager.getCacheEntry(parentPath); if (parentCache != null && parentCache.isComplete()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertEquals(attrs, it.getSearchAttributes()); assertEquals(wildcard, it.getWildcard()); assertSame(parent, it.getParent()); verify(tree, times(1)).acquire(); } @Test @DisplayName("Constructor with open() returning null closes immediately and hasNext=false") void constructorOpenNullCloses() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
} } @Nested class WhenHandlingPaths { @Test void testGetParent() { // Act & Assert assertEquals("smb://localhost/share/", smbFile.getParent()); } @Test void testGetCanonicalPath() { // Act & Assert assertEquals("smb://localhost/share/file.txt", smbFile.getCanonicalPath()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
.containsExactlyElementsIn(locations); } public void testLocationEquals() { ClassLoader child = getClass().getClassLoader(); ClassLoader parent = child.getParent(); new EqualsTester() .addEqualityGroup( new ClassPath.LocationInfo(new File("foo.jar"), child), new ClassPath.LocationInfo(new File("foo.jar"), child))
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 23K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* <code>smb://</code> if the resource refers to the root of the URL * hierarchy which incidentally is also <code>smb://</code>. */ public String getParent() { return this.fileLocator.getParent(); } /** * Returns the full uncanonicalized URL of this SMB resource. An * <code>SmbFile</code> constructed with the result of this method will
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)