Files
bun.sh/test/js/bun
Tim Caswell 53a3a67a0f Fix xxhash64 to support seeds larger than u32. (#21881)
### What does this PR do?

Hopefully fix https://github.com/oven-sh/bun/issues/21879

### How did you verify your code works?

Added a test with a seed larger than u32.

The test vector is from this tiny test I wrote to rule out upstream zig
as the culprit:

```zig
const std = @import("std");
const testing = std.testing;
test "xxhash64 of short string with custom seed" {
    const input = "";
    const seed: u64 = 16269921104521594740;
    const hash = std.hash.XxHash64.hash(seed, input);
    const expected_hash: u64 = 3224619365169652240;
    try testing.expect(hash == expected_hash);
}
```
2025-08-15 17:50:35 -07:00
..
2025-06-03 22:08:51 -07:00
2025-01-21 10:28:35 -08:00
2025-05-26 21:18:22 -07:00
2025-07-15 17:18:46 -07:00
2025-01-17 22:08:07 -08:00
2024-12-27 14:07:41 -08:00