Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for setParent (0.06 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

            return this.wildcard;
        }
    
        /**
         * Gets the parent resource being enumerated.
         *
         * @return the parent
         */
        public final SmbResource getParent() {
            return this.parent;
        }
    
        private final boolean filter(final FileEntry fe) {
            final String name = fe.getName();
            if (name.length() < 3) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        @Override
        public void retrieve(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceLocator.java

         *         <code>smb://</code> if the resource refers to the root of the URL
         *         hierarchy which incidentally is also <code>smb://</code>.
         */
        String getParent();
    
        /**
         * Returns the full uncanonicalized URL of this SMB resource. An
         * <code>SmbFile</code> constructed with the result of this method will
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            /**
             * Gets the parent SearchRequestParams object that this wrapper delegates to.
             *
             * @return the parent SearchRequestParams instance
             */
            public SearchRequestParams getParent() {
                return parent;
            }
    
            @Override
            public String getQuery() {
                return parent.getQuery();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top