Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Checksum (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    }
                }
    
                // Pre-store the checksums as any future puts will overwrite them
                for (String extension : checksums.keySet()) {
                    ChecksumObserver observer = checksums.get(extension);
                    sums.put(extension, observer.getActualChecksum());
                }
    
                // We do this in here so we can checksum the artifact metadata too, otherwise it could be metadata itself
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

    import org.eclipse.aether.internal.impl.checksum.DefaultChecksumAlgorithmFactorySelector;
    import org.eclipse.aether.internal.impl.checksum.Md5ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha1ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha256ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha512ChecksumAlgorithmFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "lower-case-checksum");
            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
            wagon.addExpectedContent("path.sha1", "B7BB97D7D0B9244398D9B47296907F73313663E6");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

    import org.eclipse.aether.internal.impl.checksum.DefaultChecksumAlgorithmFactorySelector;
    import org.eclipse.aether.internal.impl.checksum.Md5ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha1ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha256ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha512ChecksumAlgorithmFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. apache-maven/pom.xml

              </plugin>
              <!-- calculate checksums of source release for Apache dist area -->
              <plugin>
                <groupId>net.nicoulaj.maven.plugins</groupId>
                <artifactId>checksum-maven-plugin</artifactId>
                <version>1.11</version>
                <executions>
                  <execution>
                    <id>source-release-checksum</id>
                    <goals>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:41:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/ChecksumFailedException.java

     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import org.apache.maven.wagon.TransferFailedException;
    
    /**
     * Occurs when a download checksum fails.
     *
     */
    @Deprecated
    public class ChecksumFailedException extends TransferFailedException {
        public ChecksumFailedException(String s) {
            super(s);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

                    updates = policy.getUpdatePolicy();
                }
                if (policy.getChecksumPolicy() != null) {
                    checksums = policy.getChecksumPolicy();
                }
            }
    
            return new RepositoryPolicy(enabled, updates, checksums);
        }
    
        public static String toRepositoryChecksumPolicy(final String artifactRepositoryPolicy) {
            switch (artifactRepositoryPolicy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    const minIOErasureUpgraded = "x-minio-internal-erasure-upgraded"
    
    const erasureAlgorithm = "rs-vandermonde"
    
    // GetChecksumInfo - get checksum of a part.
    func (e ErasureInfo) GetChecksumInfo(partNumber int) (ckSum ChecksumInfo) {
    	for _, sum := range e.Checksums {
    		if sum.PartNumber == partNumber {
    			// Return the checksum
    			return sum
    		}
    	}
    	return ChecksumInfo{Algorithm: DefaultBitrotAlgorithm}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            if (invokerRequest.options().relaxedChecksums().orElse(false)) {
                logger.info("Disabling strict checksum verification on all artifact downloads.");
            } else if (invokerRequest.options().strictChecksums().orElse(false)) {
                logger.info("Enabling strict checksum verification on all artifact downloads.");
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    				actualSize = int64(decSize)
    			}
    		default:
    			actualSize = n
    		}
    	}
    	if fi.Checksum == nil {
    		// Trailing headers checksums should now be filled.
    		fi.Checksum = opts.WantChecksum.AppendTo(nil, nil)
    		if opts.EncryptFn != nil {
    			fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    		}
    	}
    	for i, w := range writers {
    		if w == nil {
    			onlineDisks[i] = nil
    			continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top