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

Side by Side Diff: test/dart_codegen/expect/math/jenkins_smi_hash.dart

Issue 1148283010: Remove dart backend (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « test/dart_codegen/expect/d/d.dart ('k') | test/dart_codegen/expect/math/math » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 part of dart.math;
2 class _JenkinsSmiHash {static int combine(int hash, int value) {
3 hash = 0x1fffffff & (hash + value);
4 hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
5 return hash ^ (hash >> 6);
6 }
7 static int finish(int hash) {
8 hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
9 hash = hash ^ (hash >> 11);
10 return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
11 }
12 static int hash2(a, b) => finish(combine(combine(0, DEVC$RT.cast(a, dynamic, in t, "DynamicCast", """line 37, column 55 of dart:math/jenkins_smi_hash.dart: """, a is int, true)), DEVC$RT.cast(b, dynamic, int, "DynamicCast", """line 37, colu mn 59 of dart:math/jenkins_smi_hash.dart: """, b is int, true)));
13 static int hash4(a, b, c, d) => finish(combine(combine(combine(combine(0, DEVC$ RT.cast(a, dynamic, int, "DynamicCast", """line 40, column 49 of dart:math/jenki ns_smi_hash.dart: """, a is int, true)), DEVC$RT.cast(b, dynamic, int, "DynamicC ast", """line 40, column 53 of dart:math/jenkins_smi_hash.dart: """, b is int, t rue)), DEVC$RT.cast(c, dynamic, int, "DynamicCast", """line 40, column 57 of dar t:math/jenkins_smi_hash.dart: """, c is int, true)), DEVC$RT.cast(d, dynamic, in t, "DynamicCast", """line 40, column 61 of dart:math/jenkins_smi_hash.dart: """, d is int, true)));
14 }
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/d/d.dart ('k') | test/dart_codegen/expect/math/math » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698