Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for getdirent (0.1 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            }
        }
    
        private void write(Path metadataPath, Metadata metadata) throws RepositoryException {
            try {
                Files.createDirectories(metadataPath.getParent());
                try (OutputStream output = Files.newOutputStream(metadataPath)) {
                    new MetadataStaxWriter().write(output, metadata.getDelegate());
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

        @Override
        public ClassLoader next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final ClassLoader result = classLoader;
            classLoader = classLoader.getParent();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
            while (rootDirectory != null && !isRootDirectory(rootDirectory)) {
                rootDirectory = rootDirectory.getParent();
            }
            return rootDirectory;
        }
    
        @Nonnull
        default String getNoRootMessage() {
            return UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE;
        }
    
        boolean isRootDirectory(Path dir);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

        public ArtifactMetadata getMd() {
            return md;
        }
    
        public void setMd(ArtifactMetadata md) {
            this.md = md;
        }
    
        public MetadataTreeNode getParent() {
            return parent;
        }
    
        public void setParent(MetadataTreeNode parent) {
            this.parent = parent;
        }
    
        public MetadataTreeNode[] getChildren() {
            return children;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            // load everything...
            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                if (!touchfile.getParentFile().exists()
                        && !touchfile.getParentFile().mkdirs()) {
                    getLogger()
                            .debug("Failed to create directory: " + touchfile.getParent()
                                    + " for tracking artifact metadata resolution.");
                    return;
                }
    
                FileChannel channel = null;
                FileLock lock = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                        }
                    }
                    """;
            Path appJava = cwd.resolve("src/main/java/org/apache/maven/samples/sample/App.java");
            Files.createDirectories(appJava.getParent());
            Files.writeString(appJava, appJavaString);
    
            Parser<R> parser = createParser();
            try (Invoker<R> invoker = createInvoker()) {
                for (String goal : goals) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

         * @throws CIFSException
         */
        @SuppressWarnings ( "resource" )
        @Override
        protected FileEntry open () throws CIFSException {
            SmbTreeHandleImpl th = getTreeHandle();
            String uncPath = getParent().getLocator().getUNCPath();
            Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        }
    
    
        @SuppressWarnings ( "resource" )
        @Override
        protected final FileEntry open () throws CIFSException {
            SmbResourceLocator loc = this.getParent().getLocator();
            String unc = loc.getUNCPath();
            String p = loc.getURL().getPath();
            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
Back to top