HomeSort by relevance Sort by last modified time
    Searched refs:Checksum (Results 1 - 23 of 23) sorted by null

  /libcore/luni/src/main/java/java/util/zip/
Checksum.java 21 * The interface common to checksum classes such as {@link Adler32} and {@link CRC32}.
23 public interface Checksum {
26 * Returns the current calculated checksum value.
28 * @return the checksum.
33 * Resets the checksum value applied before beginning calculations on a new
39 * Updates the checksum with the given bytes.
51 * Updates the checksum value with the given byte.
54 * the byte to update the checksum with.
CheckedOutputStream.java 24 * The {@code CheckedOutputStream} class is used to maintain a running checksum
25 * of all data written to a stream. The purpose of this checksum is to establish
26 * data integrity, by publishing the checksum to other parties wanting to read
31 private final Checksum check;
35 * {@code os}. The checksum is calculated using the algorithm implemented
39 * the output stream to calculate checksum for.
41 * an entity implementing the checksum algorithm.
43 public CheckedOutputStream(OutputStream os, Checksum cs) {
49 * Returns the checksum calculated on the stream read so far.
51 * @return the updated checksum
    [all...]
CheckedInputStream.java 25 * The {@code CheckedInputStream} class is used to maintain a checksum at the
26 * same time as the data, on which the checksum is computed, is read from a
27 * stream. The purpose of this checksum is to establish data integrity,
28 * comparing the computed checksum against a published checksum value.
32 private final Checksum check;
36 * {@code is}. The checksum will be calculated using the algorithm
43 * the input stream to calculate checksum from.
45 * an entity implementing the checksum algorithm.
47 public CheckedInputStream(InputStream is, Checksum csum)
    [all...]
Adler32.java 23 * The Adler-32 class is used to compute the {@code Adler32} checksum from a set
27 public class Adler32 implements Checksum {
32 * Returns the {@code Adler32} checksum for all input received.
34 * @return The checksum for this instance.
41 * Reset this instance to its initial checksum.
48 * Update this {@code Adler32} checksum with the single byte provided as
52 * the byte to update checksum with.
59 * Update this {@code Adler32} checksum using the contents of {@code buf}.
62 * bytes to update checksum with.
69 * Update this {@code Adler32} checksum with the contents of {@code buf}
    [all...]
CRC32.java 23 * The CRC32 class is used to compute a CRC32 checksum from data provided as
26 public class CRC32 implements Checksum {
33 * Returns the CRC32 checksum for all input received.
35 * @return The checksum for this instance.
42 * Resets the CRC32 checksum to it initial state.
50 * Updates this checksum with the byte value provided as integer.
53 * represents the byte to update the checksum.
60 * Updates this checksum with the bytes contained in buffer {@code buf}.
63 * the buffer holding the data to update the checksum with.
70 * Update this {@code CRC32} checksum with the contents of {@code buf}
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
CrcFunction.java 25 import java.util.zip.Checksum;
40 Checksum crc = new CRC32();
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
GZIPOutputStreamTest.java 25 import java.util.zip.Checksum;
40 Checksum getChecksum() {
146 assertEquals("the checksum value was incorrect result of write from GZIP",
GZIPInputStreamTest.java 27 import java.util.zip.Checksum;
45 Checksum getChecksum() {
142 "the checkSum value of the compressed and decompressed data does not equal",
260 assertEquals("the checkSum value of the compressed and decompressed data does not equal",
  /external/guava/guava/src/com/google/common/io/
Files.java 46 import java.util.zip.Checksum;
563 * Computes and returns the checksum value for a file.
564 * The checksum object is reset when this method returns successfully.
567 * @param checksum the checksum object
568 * @return the result of {@link Checksum#getValue} after updating the
569 * checksum object with all of the bytes in the file
572 public static long getChecksum(File file, Checksum checksum)
574 return ByteStreams.getChecksum(newInputStreamSupplier(file), checksum);
    [all...]
ByteStreams.java 37 import java.util.zip.Checksum;
722 * Computes and returns the checksum value for a supplied input stream.
723 * The checksum object is reset when this method returns successfully.
726 * @param checksum the checksum object
727 * @return the result of {@link Checksum#getValue} after updating the
728 * checksum object with all of the bytes in the stream
732 final Checksum checksum) throws IOException {
736 checksum.update(buf, off, len)
    [all...]
  /build/tools/droiddoc/templates-sdk/
sdkpage.cs 85 <th>MD5 Checksum</th>
145 <th>MD5 Checksum</th>
  /packages/apps/Email/src/org/apache/commons/io/
FileUtils.java 35 import java.util.zip.Checksum;
59 * <li>calculating a checksum
1678 checksum(file, crc); method
1699 public static Checksum checksum(File file, Checksum checksum) throws IOException { method in class:FileUtils
    [all...]
  /external/llvm/include/llvm/Support/
COFF.h 357 uint32_t CheckSum;
429 uint16_t Checksum;
465 uint32_t CheckSum;
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant.jar 
  /prebuilts/tools/common/ant/
ant.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 1310 milliseconds