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
ecd82f59
Commit
ecd82f59
authored
Oct 22, 2012
by
Salvatore Sanfilippo
Browse files
Merge pull request #693 from ghurrell/dict-h-typos
Fix (cosmetic) typos in dict.h
parents
e5f794ff
4b1f6ad3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dict.h
View file @
ecd82f59
/* 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