Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: src/hashmap.h

Issue 113397: Add a remove method to the hash map (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/hashmap.cc » ('j') | src/hashmap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hashmap.h
===================================================================
--- src/hashmap.h (revision 1955)
+++ src/hashmap.h (working copy)
@@ -75,6 +75,9 @@
// Otherwise, NULL is returned.
Entry* Lookup(void* key, uint32_t hash, bool insert);
+ // Removes the entry with matching key.
+ void Remove(void* key, uint32_t hash);
+
// Empties the hash map (occupancy() == 0).
void Clear();
« no previous file with comments | « no previous file | src/hashmap.cc » ('j') | src/hashmap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698