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

Unified Diff: sdk/lib/html/html_common/jenkins_smi_hash.dart

Issue 25785003: "Reverting 28184" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « sdk/lib/html/html_common/html_common_dart2js.dart ('k') | sdk/lib/math/jenkins_smi_hash.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/html_common/jenkins_smi_hash.dart
diff --git a/sdk/lib/math/jenkins_smi_hash.dart b/sdk/lib/html/html_common/jenkins_smi_hash.dart
similarity index 90%
rename from sdk/lib/math/jenkins_smi_hash.dart
rename to sdk/lib/html/html_common/jenkins_smi_hash.dart
index 8a0056eac9fa5c7e880bf029cfecab9ee8da55df..7938e5036fd1da5d70d61b7d81d93020d899d407 100644
--- a/sdk/lib/math/jenkins_smi_hash.dart
+++ b/sdk/lib/html/html_common/jenkins_smi_hash.dart
@@ -1,7 +1,8 @@
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of dart.math;
+
+part of html_common;
/**
* This is the [Jenkins hash function][1] but using masking to keep
@@ -19,8 +20,8 @@ part of dart.math;
* }
* hash = JenkinsSmiHash.finish(hash);
*/
-class _JenkinsSmiHash {
- // TODO(11617): This class should be optimized and standardized elsewhere.
+class JenkinsSmiHash {
+ // TODO: Bug 11617- This class should be optimized and standardized elsewhere.
static int combine(int hash, int value) {
hash = 0x1fffffff & (hash + value);
« no previous file with comments | « sdk/lib/html/html_common/html_common_dart2js.dart ('k') | sdk/lib/math/jenkins_smi_hash.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698