Sfoglia il codice sorgente

put mishmash in codedweller namespace

master
madscientist 4 anni fa
parent
commit
ae144343a5
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      mishmash.cpp
  2. 1
    1
      mishmash.hpp

+ 1
- 1
mishmash.cpp Vedi File

@@ -3,7 +3,7 @@

#include "mishmash.hpp"

namespace mishmash {
namespace codedweller {

uint32_t primes[256] {
1019, 1021, 1031, 1033, 1039, 1049, 1051, 1061,

+ 1
- 1
mishmash.hpp Vedi File

@@ -5,7 +5,7 @@
#include <string>
#include <vector>

namespace mishmash {
namespace codedweller {

uint32_t hash(const unsigned char* buffer, size_t length) noexcept;
uint32_t hash(const std::string &s) noexcept;

Loading…
Annulla
Salva