flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 12:39:24 -05:00
commit fa54be052a
315 changed files with 49791 additions and 0 deletions

23
tjp/core/hash/Hash.cpp Executable file
View File

@@ -0,0 +1,23 @@
// TJP COPYRIGHT HEADER
#include "Hash.h"
#include "fasthash.h"
namespace tjp {
namespace core {
u32 hash32(const u8 *begin, size_t size)
{
static u32 seed = 0x026f23a;
return fasthash32(begin, size, seed);
}
u64 hash64(const u8 *begin, size_t size)
{
static u32 seed = 0x026f23a;
return fasthash64(begin, size, seed);
}
} // namespace
} // namespace