Selaa lähdekoodia

put mishmash in codedweller namespace

master
madscientist 5 vuotta sitten
vanhempi
commit
ae144343a5
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1
    1
      mishmash.cpp
  2. 1
    1
      mishmash.hpp

+ 1
- 1
mishmash.cpp Näytä tiedosto



#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 Näytä tiedosto

#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…
Peruuta
Tallenna