- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for Checksum (0.05 sec)
-
guava/src/com/google/common/hash/ChecksumHashFunction.java
return toString; } /** Hasher that updates a checksum. */ private final class ChecksumHasher extends AbstractByteHasher { private final Checksum checksum; private ChecksumHasher(Checksum checksum) { this.checksum = checkNotNull(checksum); } @Override protected void update(byte b) { checksum.update(b); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:05:16 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.Random; import java.util.zip.Adler32; import java.util.zip.CRC32; import java.util.zip.Checksum; /** * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * </ul> * * @author Colin Decker */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0) -
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) -
android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.Random; import java.util.zip.Adler32; import java.util.zip.CRC32; import java.util.zip.Checksum; /** * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * </ul> * * @author Colin Decker */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)