Browse Source

put mishmash in codedweller namespace

master
madscientist 5 years ago
parent
commit
ae144343a5
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      mishmash.cpp
  2. 1
    1
      mishmash.hpp

+ 1
- 1
mishmash.cpp View File



#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,

+ 1
- 1
mishmash.hpp View File

#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;

Loading…
Cancel
Save