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

Unified Diff: runtime/platform/utils.cc

Issue 9186035: Use hash map for event handler file descriptor map (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased to r3482 Created 8 years, 11 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 | « runtime/bin/hashmap_test.cc ('k') | tests/standalone/src/ProcessStderrTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/utils.cc
diff --git a/runtime/platform/utils.cc b/runtime/platform/utils.cc
index 09b9260473a3f3bffd8c85e3d518380c9db0da9d..30a5ceef820877acf218e9eae29ca6e626271278 100644
--- a/runtime/platform/utils.cc
+++ b/runtime/platform/utils.cc
@@ -75,7 +75,7 @@ uint32_t Utils::StringHash(const char* data, int length) {
}
-uint32_t WordHash(word key) {
+uint32_t Utils::WordHash(word key) {
// TODO(iposva): Need to check hash spreading.
// This example is from http://www.concentric.net/~Ttwang/tech/inthash.htm
uword a = static_cast<uword>(key);
« no previous file with comments | « runtime/bin/hashmap_test.cc ('k') | tests/standalone/src/ProcessStderrTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698