Chromium Code Reviews| Index: sdk/lib/math/jenkins_smi_hash.dart |
| diff --git a/sdk/lib/html/html_common/jenkins_smi_hash.dart b/sdk/lib/math/jenkins_smi_hash.dart |
| similarity index 96% |
| rename from sdk/lib/html/html_common/jenkins_smi_hash.dart |
| rename to sdk/lib/math/jenkins_smi_hash.dart |
| index 7938e5036fd1da5d70d61b7d81d93020d899d407..0beb4719b4ddf6d0563d76e1ab2cee8d22708cd4 100644 |
| --- a/sdk/lib/html/html_common/jenkins_smi_hash.dart |
| +++ b/sdk/lib/math/jenkins_smi_hash.dart |
| @@ -1,8 +1,7 @@ |
| // 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 html_common; |
| +part of dart.math; |
| /** |
| * This is the [Jenkins hash function][1] but using masking to keep |
| @@ -20,7 +19,7 @@ part of html_common; |
| * } |
| * hash = JenkinsSmiHash.finish(hash); |
| */ |
| -class JenkinsSmiHash { |
| +class _JenkinsSmiHash { |
| // TODO: Bug 11617- This class should be optimized and standardized elsewhere. |
|
floitsch
2013/10/02 08:54:09
Please rewrite to: TODO(11617)
Emily Fortuna
2013/10/02 18:32:40
Done.
|
| static int combine(int hash, int value) { |