Fixed str - find_first_empty_query
Run tests / Run tests (push) Failing after 9s

This commit is contained in:
2026-05-03 23:30:34 +03:00
parent e7c6cc507c
commit 0f62e962c9
+3
View File
@@ -545,6 +545,9 @@ __evstring_findFirst_impl(
.offset = ~0ull .offset = ~0ull
}; };
if(query.len == 0)
return result;
for(u64 i = text.offset; i < text.offset + text.len; i++) { for(u64 i = text.offset; i < text.offset + text.len; i++) {
if(text.data[i] == query.data[query.offset + found_progress]) if(text.data[i] == query.data[query.offset + found_progress])
found_progress++; found_progress++;