Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
daa5d2a6
Commit
daa5d2a6
authored
Dec 26, 2013
by
zhanghailei
Committed by
antirez
Mar 11, 2014
Browse files
FIXED a typo more thank should be more than
parent
ca0720b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dict.c
View file @
daa5d2a6
...
@@ -239,7 +239,7 @@ int dictExpand(dict *d, unsigned long size)
...
@@ -239,7 +239,7 @@ int dictExpand(dict *d, unsigned long size)
/* Performs N steps of incremental rehashing. Returns 1 if there are still
/* Performs N steps of incremental rehashing. Returns 1 if there are still
* keys to move from the old to the new hash table, otherwise 0 is returned.
* keys to move from the old to the new hash table, otherwise 0 is returned.
* Note that a rehashing step consists in moving a bucket (that may have more
* Note that a rehashing step consists in moving a bucket (that may have more
* than
k
one key as we use chaining) from the old to the new hash table. */
* than one key as we use chaining) from the old to the new hash table. */
int
dictRehash
(
dict
*
d
,
int
n
)
{
int
dictRehash
(
dict
*
d
,
int
n
)
{
if
(
!
dictIsRehashing
(
d
))
return
0
;
if
(
!
dictIsRehashing
(
d
))
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment