Lines Matching refs:checksum
235 MessageNano proto;// other types are wrapped in a checksum message
247 CRC32 checksum = new CRC32();
248 checksum.update(wrapper.payload);
249 if (wrapper.checksum != checksum.getValue()) {
250 System.err.println("wrapper checksum failed");
290 if (key.checksum != checkKey(key)) {
317 CRC32 checksum = new CRC32();
318 checksum.update(key.type);
319 checksum.update((int) (key.id & 0xffff));
320 checksum.update((int) ((key.id >> 32) & 0xffff));
322 checksum.update(key.name.getBytes());
324 return checksum.getValue();