mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
build issues, add equivalence finding to probing (disabled)
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d42a5410c9
commit
0278612328
6 changed files with 75 additions and 26 deletions
|
@ -68,6 +68,10 @@ inline unsigned hash_u_u(unsigned a, unsigned b) {
|
|||
|
||||
unsigned string_hash(const char * str, unsigned len, unsigned init_value);
|
||||
|
||||
inline unsigned unsigned_ptr_hash(unsigned const* vec, unsigned len, unsigned init_value) {
|
||||
return string_hash((char const*)(vec), len*4, init_value);
|
||||
}
|
||||
|
||||
template<typename Composite, typename GetKindHashProc, typename GetChildHashProc>
|
||||
unsigned get_composite_hash(Composite app, unsigned n, GetKindHashProc const & khasher = GetKindHashProc(), GetChildHashProc const & chasher = GetChildHashProc()) {
|
||||
unsigned a, b, c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue