Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for _getParent (0.05 sec)

  1. 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)
  2. 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)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
            Map map = project1.getArtifactMap();
            assertNotNull(map, "No artifacts");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/ParamMap.java

         */
        public ParamMap(final Map<K, V> parent) {
            this.parent = parent;
        }
    
        /**
         * Gets the parent map.
         *
         * @return the parent map
         */
        public Map<K, V> getParent() {
            return parent;
        }
    
        /**
         * Converts a key to camelCase.
         *
         * @param key the key to convert
         * @return the converted key
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Delete {}", path);
                    }
    
                    Path parent = path.getParent();
                    while (deleteEmptyDirectory(parent)) {
                        parent = parent.getParent();
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to delete {}", path, e);
                }
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

         */
        protected static Map<String, Object> getDataMap(final Map<String, Object> params) {
            if (params instanceof final ParamMap<String, Object> paramMap) {
                return paramMap.getParent();
            }
            return params;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top