Searched refs:checkSummer (Results 1 – 2 of 2) sorted by relevance
136 CRC32 checkSummer = new CRC32(); in writeIfChanged() local137 checkSummer.update(data); in writeIfChanged()138 long newChecksum = checkSummer.getValue(); in writeIfChanged()
832 CRC32 checkSummer = new CRC32(); in getChecksum() local835 new CheckedInputStream(new FileInputStream(file), checkSummer)){ in getChecksum() argument842 checkSum = checkSummer.getValue(); in getChecksum()855 checkSummer.reset(); in getChecksum()856 checkSummer.update(array); in getChecksum()857 checkSum += checkSummer.getValue(); in getChecksum()858 if (DBG) log("Checksum after adding resource is " + checkSummer.getValue()); in getChecksum()