Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
madscientist
/
CodeDweller
Obserwuj
1
Gwiazdka
0
Forkuj
0
Kod
Problemy
2
Pull Requests
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
no need to strip accumulator twice
master
madscientist
5 lat temu
rodzic
57459a5d9a
commit
06348b8104
1 zmienionych plików
z
1 dodań
i
1 usunięć
Widok podzielony
Pokaż statystyki zmian
1
1
mishmash.cpp
+ 1
- 1
mishmash.cpp
Wyświetl plik
@@ -57,7 +57,7 @@ namespace codedweller {
accumulator += accumulator >> 32;
accumulator &= 0x00000fffffffffff;
}
return
accumulator & 0x00000000ffffffff
;
return
static_cast<uint32_t>(accumulator)
;
}
uint32_t mishmash(const std::string& s) noexcept {
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz