Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0b26e389
Unverified
Commit
0b26e389
authored
Dec 08, 2021
by
丽媛自己动
Committed by
GitHub
Dec 07, 2021
Browse files
Update documentation of _dictReset (#9908)
parent
1736fa4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dict.c
View file @
0b26e389
...
@@ -93,8 +93,7 @@ uint64_t dictGenCaseHashFunction(const unsigned char *buf, int len) {
...
@@ -93,8 +93,7 @@ uint64_t dictGenCaseHashFunction(const unsigned char *buf, int len) {
/* ----------------------------- API implementation ------------------------- */
/* ----------------------------- API implementation ------------------------- */
/* Reset a hash table already initialized with ht_init().
/* Reset hash table parameters already initialized with _dictInit()*/
* NOTE: This function should only be called by ht_destroy(). */
static
void
_dictReset
(
dict
*
d
,
int
htidx
)
static
void
_dictReset
(
dict
*
d
,
int
htidx
)
{
{
d
->
ht_table
[
htidx
]
=
NULL
;
d
->
ht_table
[
htidx
]
=
NULL
;
...
...
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