Add verification that HASH matches in debug info if present

* We keep searching if we find a file that matches but has the wrong hash.
This commit is contained in:
baldurk
2025-04-16 17:39:51 +01:00
parent 0f019eafb9
commit 7d464fed60
5 changed files with 135 additions and 93 deletions
+5
View File
@@ -900,6 +900,11 @@ public:
size_t size() const { return N; }
size_t byteSize() const { return N * sizeof(T); }
int32_t count() const { return (int32_t)N; }
void clear()
{
for(size_t i = 0; i < N; i++)
elems[i] = T();
}
// find the first occurrence of an element
int32_t indexOf(const T &el, size_t first = 0, size_t last = ~0U) const
{