Correct Mistyped 2 ^ 32

This commit is contained in:
martinsumner 2016-12-11 20:38:20 +00:00
parent f96d148073
commit 4b48ed14c6
2 changed files with 2 additions and 3 deletions

View file

@ -74,8 +74,7 @@
%%
%% Hash function contains mysterious constants, some explanation here as to
%% what they are -
%% http://stackoverflow.com/ ++
%% questions/10696223/reason-for-5381-number-in-djb-hash-function
%% http://stackoverflow.com/questions/10696223/reason-for-5381-number-in-djb-hash-function
magic_hash({?RIAK_TAG, Bucket, Key, _SubKey}) ->
magic_hash({Bucket, Key});

View file

@ -598,7 +598,7 @@ skiplist_timingtest(KL, SkipList, N, Bloom) ->
case Bloom of
true ->
HashList = lists:map(fun(_X) ->
random:uniform(4296967295) end,
random:uniform(4294967295) end,
lists:seq(1, 2000)),
SWh = os:timestamp(),
lists:foreach(fun(X) ->