svf-lib 1.0.716 → 1.0.720
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -138,7 +138,9 @@ template <> struct Hash<NodePair>
|
|
|
138
138
|
// and u64_t. If NodeID is not actually u32_t or size_t
|
|
139
139
|
// is not u64_t we should be fine since we get a
|
|
140
140
|
// consistent result.
|
|
141
|
-
|
|
141
|
+
uint32_t first = (uint32_t)(p.first);
|
|
142
|
+
uint32_t second = (uint32_t)(p.second);
|
|
143
|
+
return ((uint64_t)(first) << 32) | (uint64_t)(second);
|
|
142
144
|
}
|
|
143
145
|
};
|
|
144
146
|
|
|
@@ -266,7 +268,7 @@ template <> struct std::hash<SVF::NodePair> {
|
|
|
266
268
|
// consistent result.
|
|
267
269
|
uint32_t first = (uint32_t)(p.first);
|
|
268
270
|
uint32_t second = (uint32_t)(p.second);
|
|
269
|
-
return ((uint64_t)(
|
|
271
|
+
return ((uint64_t)(first) << 32) | (uint64_t)(second);
|
|
270
272
|
}
|
|
271
273
|
};
|
|
272
274
|
|
|
Binary file
|
|
Binary file
|
|
@@ -138,7 +138,9 @@ template <> struct Hash<NodePair>
|
|
|
138
138
|
// and u64_t. If NodeID is not actually u32_t or size_t
|
|
139
139
|
// is not u64_t we should be fine since we get a
|
|
140
140
|
// consistent result.
|
|
141
|
-
|
|
141
|
+
uint32_t first = (uint32_t)(p.first);
|
|
142
|
+
uint32_t second = (uint32_t)(p.second);
|
|
143
|
+
return ((uint64_t)(first) << 32) | (uint64_t)(second);
|
|
142
144
|
}
|
|
143
145
|
};
|
|
144
146
|
|
|
@@ -266,7 +268,7 @@ template <> struct std::hash<SVF::NodePair> {
|
|
|
266
268
|
// consistent result.
|
|
267
269
|
uint32_t first = (uint32_t)(p.first);
|
|
268
270
|
uint32_t second = (uint32_t)(p.second);
|
|
269
|
-
return ((uint64_t)(
|
|
271
|
+
return ((uint64_t)(first) << 32) | (uint64_t)(second);
|
|
270
272
|
}
|
|
271
273
|
};
|
|
272
274
|
|