commit | 84e78f9102dfbe9fc17aecd8d9d816042425a294 | [log] [tgz] |
---|---|---|
author | terelius <terelius@webrtc.org> | Thu Dec 10 09:50:55 2015 |
committer | Commit bot <commit-bot@chromium.org> | Thu Dec 10 09:51:02 2015 |
tree | f3bee872f397daec902cb682d0c3336eeae9f70c | |
parent | 0b3d7eec07100a9df006e679408a8e015af643d6 [diff] |
Rewrote the PRNG using an xorshift* algorithm and moved the files from test/ to base/. Created a simple unit test for the new random number generator. (It mostly tests that the generated numbers are consistent with the intended distribution, e.g. uniform. It is not a comprehensive test of the quality of the random numbers.) Several assertions in OveruseDetectorTest seem to depend on the exact sequence of random numbers. I updated those numbers to work with the new PRNG. Compute the standard deviation of the expected result in TestReorderFilter instead of passing an uncertainty parameter. BUG=webrtc:5177 Review URL: https://codereview.webrtc.org/1457023002 Cr-Commit-Position: refs/heads/master@{#10965}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.