Procházet zdrojové kódy

put mishmash in codedweller namespace

master
madscientist před 4 roky
rodič
revize
ae144343a5
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1
    1
      mishmash.cpp
  2. 1
    1
      mishmash.hpp

+ 1
- 1
mishmash.cpp Zobrazit soubor



#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 Zobrazit soubor

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

Načítá se…
Zrušit
Uložit