同步操作将从 OpenHarmony/docs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Related Modules:
Description:
Provides functions and related data structures, such as creating, destroying, or searching for a hash table.
You can use the functions provided in this file to perform operations related to wide character types during development, such as, creating, destroying, or searching for a hash table, and creating or searching for a binary tree.
Since:
1.0
Version:
1.0
Creates a queue from the doubly linked list for insque and remque. |
|
typedef struct entry |
hcreate (size_t nel) |
|
hdestroy (void) |
|
ENTRY * |
|
hcreate_r (size_t nel, struct hsearch_data *htab) |
Creates a hash table based on the number of entries and its description. |
hdestroy_r (struct hsearch_data *htab) |
|
hsearch_r (ENTRY item, ACTION action, ENTRY **retval, struct hsearch_data *htab) |
|
insque (void *element, void *pred) |
|
remque (void *elem) |
|
lsearch (const void *key, const void *base, size_t *nelp, size_t width, int(*compar)(const void *, const void *)) |
Performs a linear search for a key in the array and adds a key to the end of the array if the key is not found. |
lfind (const void *key, const void *base, size_t *nelp, size_t width, int(*compar)(const void *, const void *)) |
|
tdelete (const void *key, void **rootp, int(*compar)(const void *, const void *)) |
|
tfind (const void *key, void *const *rootp, int(*compar)(const void *, const void *)) |
|
tsearch (const void *key, void *const *rootp, int(*compar)(const void *, const void *)) |
Searches for a key in the binary tree and adds a key to the tree if the key is not found. |
twalk (const void *root, void(*action)(const void *nodep, VISIT which, int depth)) |
|
tdestroy (void *root, void(*free_node)(void *nodep)) |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。