OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var automation = { | 5 var automation = { |
6 results: {} | 6 results: {} |
7 }; | 7 }; |
8 | 8 |
9 automation.setDone = function() { | 9 automation.setDone = function() { |
10 this.setStatus("Test complete."); | 10 this.setStatus("Test complete."); |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 this.a = this.b ^ rot(this.c, 17); | 426 this.a = this.b ^ rot(this.c, 17); |
427 this.b = uint32(this.c + this.d); | 427 this.b = uint32(this.c + this.d); |
428 this.c = uint32(this.d + e); | 428 this.c = uint32(this.d + e); |
429 this.d = uint32(e + this.a); | 429 this.d = uint32(e + this.a); |
430 return this.d; | 430 return this.d; |
431 }; | 431 }; |
432 | 432 |
433 var prng = new SmallPRNG(seed); | 433 var prng = new SmallPRNG(seed); |
434 return function() { return prng.ranval() / 0x100000000; }; | 434 return function() { return prng.ranval() / 0x100000000; }; |
435 }(0)); | 435 }(0)); |
OLD | NEW |