Home | History | Annotate | Download | only in okio

Lines Matching refs:crc

58   private final CRC32 crc = new CRC32();
90 // the end of a GzipSource you guarantee that the CRC has been checked.
109 // need to CRC the entire header. Then we read the magic ID1ID2 sequence.
158 // Confirm the optional header CRC.
163 checkEqual("FHCRC", source.readShortLe(), (short) crc.getValue());
164 crc.reset();
169 // Read the eight-byte trailer. Confirm the body's CRC and size.
173 checkEqual("CRC", source.readIntLe(), (int) crc.getValue());
185 /** Updates the CRC with the given bytes. */
197 crc.update(s.data, pos, toUpdate);