Searched refs:checksum (Results 1 – 6 of 6) sorted by relevance
361 checksum = (data_len + sum(bytearray(data))) % 256362 out = struct.pack('B', data_len) + data + struct.pack('B', checksum)381 checksum = (sum(struct.unpack('B' * len(body), body)) + data_len) % 256382 if result[-1] != checksum:385 hex(checksum), hex(result[-1]))
30 const int non_sum = sizeof(header->magic) + sizeof(header->checksum); in ComputeChecksum()
355 header->checksum = dex::ComputeChecksum(header); in CreateImage()
132 checksum = sum(body, data_len) & 0xFF133 if result[-1] != checksum:136 'got %s', hex(checksum), hex(result[-1]))
136 u4 checksum; member
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...