#include "mishmash.hpp" | #include "mishmash.hpp" | ||||
namespace mishmash { | |||||
namespace codedweller { | |||||
uint32_t primes[256] { | uint32_t primes[256] { | ||||
1019, 1021, 1031, 1033, 1039, 1049, 1051, 1061, | 1019, 1021, 1031, 1033, 1039, 1049, 1051, 1061, |
#include <string> | #include <string> | ||||
#include <vector> | #include <vector> | ||||
namespace mishmash { | |||||
namespace codedweller { | |||||
uint32_t hash(const unsigned char* buffer, size_t length) noexcept; | uint32_t hash(const unsigned char* buffer, size_t length) noexcept; | ||||
uint32_t hash(const std::string &s) noexcept; | uint32_t hash(const std::string &s) noexcept; |