Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 614 for equals (0.03 seconds)

  1. cmd/storage-datatypes.go

    func (fi FileInfo) ReadQuorum(dquorum int) int {
    	if fi.Deleted {
    		return dquorum
    	}
    	return fi.Erasure.DataBlocks
    }
    
    // Equals checks if fi(FileInfo) matches ofi(FileInfo)
    func (fi FileInfo) Equals(ofi FileInfo) (ok bool) {
    	typ1, ok1 := crypto.IsEncrypted(fi.Metadata)
    	typ2, ok2 := crypto.IsEncrypted(ofi.Metadata)
    	if ok1 != ok2 {
    		return false
    	}
    	if typ1 != typ2 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                ArtifactResult result = new ArtifactResult(request);
                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

                    artifactHandler,
                    parent.isOptional());
    
            setDependencyTrail(Collections.singletonList(parent.getId()));
    
            this.parent = parent;
    
            if (getId().equals(parent.getId())) {
                throw new InvalidArtifactRTException(
                        parent.getGroupId(),
                        parent.getArtifactId(),
                        parent.getVersion(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            assertEquals("etl", dl.getLifeCycles().get(3).getId());
        }
    
        private Lifecycle getLifeCycleById(String id) {
            return defaultLifeCycles.getLifeCycles().stream()
                    .filter(l -> id.equals(l.getId()))
                    .findFirst()
                    .orElseThrow(IllegalArgumentException::new);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

                    return a;
                }
            }
    
            return g;
        }
    
        // ---------------------------------------------------------------------
        @Override
        public boolean equals(Object vo) {
            if (vo instanceof MetadataGraphVertex metadataGraphVertex) {
                return compareTo(metadataGraphVertex) == 0;
            }
            return false;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

        }
    
        private boolean isLocalRepository(ArtifactRepository repository) {
            // unfortunately, the API doesn't allow to tell a remote repo and the local repo apart...
            return "local".equals(repository.getId());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                        .get(Sha1ChecksumAlgorithmFactory.NAME);
                String existing = sourceState.get();
                if (!Files.exists(target) || !Objects.equals(current, existing)) {
                    pomArtifactTransformer.transform(project, session, src, target);
                    Files.setLastModifiedTime(target, Files.getLastModifiedTime(src.getPath()));
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

                SourceRoot source = sourcesList.get(i);
                if (source.scope() == originalSourceRoot.scope()
                        && source.language() == originalSourceRoot.language()
                        && source.directory().equals(originalSourceRoot.directory())) {
                    index = i;
                    break;
                }
            }
    
            if (index >= 0) {
                // Replace the SourceRoot at the same position
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            fillMojoDescriptor(session, project, mojoExecution);
    
            mojoExecutionConfigurator(mojoExecution)
                    .configure(project, mojoExecution, MojoExecution.Source.CLI.equals(mojoExecution.getSource()));
    
            finalizeMojoConfiguration(mojoExecution);
    
            calculateForkedExecutions(mojoExecution, session, project, alreadyPlannedExecutions);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top