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
a61705dd
Commit
a61705dd
authored
Oct 02, 2012
by
Greg Hurrell
Committed by
antirez
Oct 22, 2012
Browse files
Fix (cosmetic) typos in dict.h
parent
16144589
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dict.h
View file @
a61705dd
/* Hash Tables Implementation.
/* Hash Tables Implementation.
*
*
* This file implements in
memory hash tables with insert/del/replace/find/
* This file implements in
-
memory hash tables with insert/del/replace/find/
* get-random-element operations. Hash tables will auto
resize if needed
* get-random-element operations. Hash tables will auto
-
resize if needed
* tables of power of two in size are used, collisions are handled by
* tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :)
* chaining. See the source code for more information... :)
*
*
* Copyright (c) 2006-201
0
, Salvatore Sanfilippo <antirez at gmail dot com>
* Copyright (c) 2006-201
2
, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* Redistribution and use in source and binary forms, with or without
...
@@ -80,7 +80,7 @@ typedef struct dict {
...
@@ -80,7 +80,7 @@ typedef struct dict {
int
iterators
;
/* number of iterators currently running */
int
iterators
;
/* number of iterators currently running */
}
dict
;
}
dict
;
/* If safe is set to 1 this is a safe ite
a
rtor, that means, you can call
/* If safe is set to 1 this is a safe iter
a
tor, that means, you can call
* dictAdd, dictFind, and other functions against the dictionary even while
* dictAdd, dictFind, and other functions against the dictionary even while
* iterating. Otherwise it is a non safe iterator, and only dictNext()
* iterating. Otherwise it is a non safe iterator, and only dictNext()
* should be called while iterating. */
* should be called while iterating. */
...
...
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