浏览代码

put mishmash in codedweller namespace

master
madscientist 5 年前
父节点
当前提交
ae144343a5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      mishmash.cpp
  2. 1
    1
      mishmash.hpp

+ 1
- 1
mishmash.cpp 查看文件



#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 查看文件

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

正在加载...
取消
保存