Code for logging and replay (doesn't work because of nondet in lua)
This commit is contained in:
@@ -464,7 +464,7 @@ bool StreamBuffer::contents_equal(const StreamBuffer *other) const {
|
||||
util::HashValue StreamBuffer::hash() const {
|
||||
uint64_t hash1 = 0x82A7912E7893AC87;
|
||||
uint64_t hash2 = 0x81D402740DE458F3;
|
||||
SpookyHash::Hash128(read_cursor_, write_cursor_ - read_cursor_, &hash1, &hash2);
|
||||
SpookyHash::ChainHash128(read_cursor_, write_cursor_ - read_cursor_, &hash1, &hash2);
|
||||
return std::make_pair(hash1, hash2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user