* XXX from terminating. */ return lookdict(mp, key, hash); } } else if (ep->me_key == dummy && freeslot == NULL) freeslot = ep; } assert(0); /* NOT REACHED */ return 0; }字典在添加元素和查詢元素時,都需要用到字典的搜索策略,搜索時,如果不存在該key,那么返回Unused狀態(tài)的entry...
www.dbjr.com.cn/article/1643...htm 2025-6-4