aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/murmur_hash.c
Commit message (Collapse)AuthorAge
* Eliminate gpr_ int types - and insist on C99 variants insteadGravatar Craig Tiller2015-12-22
|
* Made requested fixesGravatar murgatroid992015-06-22
|
* Silenced conversion warnings in src/core/supportGravatar murgatroid992015-06-19
|
* Add missing new-lines at end of fileGravatar Craig Tiller2015-02-18
|
* Update copyright to 2015Gravatar Craig Tiller2015-02-18
|
* Fixing an extremely suspicious-looking paradigm in murmur_hash.cGravatar Nicolas "Pixel" Noble2015-01-25
| | | | | | | | | | | | | | The current code is using the same variable name twice, k1, in two different scopes. A cursory inspection of the code looks like one is trying to sneak a vulnerability by masking off the reset of the k1 variable out of the loop; which is, in fact, what the official algorithm does explicitely. I guess this is a result of the C89-ization of the official algorithm, with the second k1 variable usually defined AFTER the loop. This change brings more sanity to the algorithm, making it much better-looking by removing all ambiguity in what we're doing. The end result is exactly the same, but at least we're explicit about it.
* Use clang-format-3.5Gravatar Craig Tiller2015-01-18
|
* Initial import.Gravatar Nicolas Noble2014-11-26