Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 95 for setSize (0.06 sec)

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

            if (recessive.getVersioning() != null) {
                metadata.setVersioning(recessive.getVersioning());
            }
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new PluginsMetadata(pluginInfo, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    dependency.getClassifier(),
                    new TestArtifactHandler(dependency.getType()));
    
            if (Artifact.SCOPE_SYSTEM.equals(dependency.getScope())) {
                artifact.setFile(new File(dependency.getSystemPath()));
                artifact.setResolved(true);
            }
    
            return artifact;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
                        artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource(
                                ProjectClasspathTestType.dir + "transitive-" + scope + "-dep.xml"));
                        result.setArtifact(artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    ActivationFile file = new ActivationFile();
    
                    file.setExists(profileFile.getExists());
                    file.setMissing(profileFile.getMissing());
    
                    activation.setFile(file);
                }
    
                profile.setActivation(activation);
            }
    
            profile.setProperties(profileXmlProfile.getProperties());
    
            List repos = profileXmlProfile.getRepositories();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
            return result;
        }
    
        public LocalMetadataResult find(RepositorySystemSession session, LocalMetadataRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            return metadata;
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new LocalSnapshotMetadata(metadata, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    fd.markClosed();
                    return 0;
                }
                return resp.getAvailable();
            }
            catch ( SmbException se ) {
                throw seToIoe(se);
            }
        }
    
    
        @Override
        public void close () {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            super(metadata, path, timestamp);
            this.buildNumber = buildNumber;
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new RemoteSnapshotMetadata(metadata, file.toPath(), timestamp, buildNumber);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                ZipArchiveEntry entry = null;
                long contentSize = 0;
                while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId();
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new VersionsMetadata(artifact, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top