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

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

Issue 963593002: Disable formatting and add new-lines to make tests faster. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
1 part of dart.math; 1 part of dart.math;
2 2 class _JenkinsSmiHash {static int combine(int hash, int value) {
3 class _JenkinsSmiHash { 3 hash = 0x1fffffff & (hash + value);
4 static int combine(int hash, int value) { 4 hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
5 hash = 0x1fffffff & (hash + value); 5 return hash ^ (hash >> 6);
6 hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
7 return hash ^ (hash >> 6);
8 } 6 }
9 static int finish(int hash) { 7 static int finish(int hash) {
10 hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3)); 8 hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
11 hash = hash ^ (hash >> 11); 9 hash = hash ^ (hash >> 11);
12 return 0x1fffffff & (hash + ((0x00003fff & hash) << 15)); 10 return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
13 } 11 }
14 static int hash2(a, b) => finish(combine(combine(0, DDC$RT.cast(a, dynamic, 12 static int hash2(a, b) => finish(combine(combine(0, DDC$RT.cast(a, dynamic, int , "CastGeneral", """line 37, column 55 of dart:math/jenkins_smi_hash.dart: """, a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGeneral", """line 37, column 59 of dart:math/jenkins_smi_hash.dart: """, b is int, true)));
15 int, "CastGeneral", 13 static int hash4(a, b, c, d) => finish(combine(combine(combine(combine(0, DDC$R T.cast(a, dynamic, int, "CastGeneral", """line 40, column 49 of dart:math/jenkin s_smi_hash.dart: """, a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGenera l", """line 40, column 53 of dart:math/jenkins_smi_hash.dart: """, b is int, tru e)), DDC$RT.cast(c, dynamic, int, "CastGeneral", """line 40, column 57 of dart:m ath/jenkins_smi_hash.dart: """, c is int, true)), DDC$RT.cast(d, dynamic, int, " CastGeneral", """line 40, column 61 of dart:math/jenkins_smi_hash.dart: """, d i s int, true)));
16 """line 37, column 55 of dart:math/jenkins_smi_hash.dart: """,
17 a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGeneral",
18 """line 37, column 59 of dart:math/jenkins_smi_hash.dart: """, b is int,
19 true)));
20 static int hash4(a, b, c, d) => finish(combine(combine(combine(combine(0,
21 DDC$RT.cast(a, dynamic, int, "CastGeneral",
22 """line 40, column 49 of dart:math/jenkins_smi_hash.dart: """,
23 a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGeneral",
24 """line 40, column 53 of dart:math/jenkins_smi_hash.dart: """,
25 b is int, true)), DDC$RT.cast(c, dynamic, int, "CastGeneral",
26 """line 40, column 57 of dart:math/jenkins_smi_hash.dart: """,
27 c is int, true)), DDC$RT.cast(d, dynamic, int, "CastGeneral",
28 """line 40, column 61 of dart:math/jenkins_smi_hash.dart: """, d is int,
29 true)));
30 } 14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698