代码拉取完成,页面将自动刷新
同步操作将从 ylyhappy/编译原理虎书代码 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
* table.h - generic hash table
*
* No algorithm should use these functions directly, because
* programming with void* is too error-prone. Instead,
* each module should make "wrapper" functions that take
* well-typed arguments and call the TAB_ functions.
*/
#ifndef __TABLE_H
#define __TABLE_H
typedef struct TAB_table_ *TAB_table;
/* Make a new table mapping "keys" to "values". */
TAB_table TAB_empty(void);
/* Enter the mapping "key"->"value" into table "t",
* shadowing but not destroying any previous binding for "key". */
void TAB_enter(TAB_table t, void *key, void *value);
/* Look up the most recent binding for "key" in table "t" */
void *TAB_look(TAB_table t, void *key);
/* Pop the most recent binding and return its key.
* This may expose another binding for the same key, if there was one. */
void *TAB_pop(TAB_table t);
/* Call "show" on every "key"->"value" pair in the table,
* including shadowed bindings, in order from the most
* recent binding of any key to the oldest binding in the table */
void TAB_dump(TAB_table t, void (*show)(void *key, void *value));
#endif // !__TABLE_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。