Просмотр исходного кода

no need to strip accumulator twice

master
madscientist 5 лет назад
Родитель
Сommit
06348b8104
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      mishmash.cpp

+ 1
- 1
mishmash.cpp Просмотреть файл

accumulator += accumulator >> 32; accumulator += accumulator >> 32;
accumulator &= 0x00000fffffffffff; accumulator &= 0x00000fffffffffff;
} }
return accumulator & 0x00000000ffffffff;
return static_cast<uint32_t>(accumulator);
} }


uint32_t mishmash(const std::string& s) noexcept { uint32_t mishmash(const std::string& s) noexcept {

Загрузка…
Отмена
Сохранить