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

Issue 1412183002: Fix off-by-one error in PRNG. (Closed)

Created:
5 years, 2 months ago by the sun
Modified:
5 years, 2 months ago
Reviewers:
terelius, pbos-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix off-by-one error in PRNG. BUG= Committed: https://crrev.com/0d97d5380854ba571672c2b33bfc6b6c03b69853 Cr-Commit-Position: refs/heads/master@{#10328}

Patch Set 1 #

Total comments: 3

Patch Set 2 : made Rand() interval exclusive of 1.0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M webrtc/test/random.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/test/random.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
the sun
5 years, 2 months ago (2015-10-19 15:10:52 UTC) #2
pbos-webrtc
lgtm
5 years, 2 months ago (2015-10-19 15:12:03 UTC) #3
pbos-webrtc
pls fix, then lgtm https://codereview.webrtc.org/1412183002/diff/1/webrtc/test/random.cc File webrtc/test/random.cc (right): https://codereview.webrtc.org/1412183002/diff/1/webrtc/test/random.cc#newcode34 webrtc/test/random.cc:34: float uniform = Rand() * ...
5 years, 2 months ago (2015-10-19 15:22:22 UTC) #4
terelius
https://codereview.webrtc.org/1412183002/diff/1/webrtc/test/random.cc File webrtc/test/random.cc (right): https://codereview.webrtc.org/1412183002/diff/1/webrtc/test/random.cc#newcode34 webrtc/test/random.cc:34: float uniform = Rand() * (high - low) + ...
5 years, 2 months ago (2015-10-19 15:27:24 UTC) #6
the sun
On 2015/10/19 15:27:24, terelius wrote: > https://codereview.webrtc.org/1412183002/diff/1/webrtc/test/random.cc > File webrtc/test/random.cc (right): > > https://codereview.webrtc.org/1412183002/diff/1/webrtc/test/random.cc#newcode34 > ...
5 years, 2 months ago (2015-10-19 15:31:55 UTC) #7
terelius
On 2015/10/19 15:31:55, the sun wrote: > On 2015/10/19 15:27:24, terelius wrote: > > https://codereview.webrtc.org/1412183002/diff/1/webrtc/test/random.cc ...
5 years, 2 months ago (2015-10-19 15:40:19 UTC) #8
terelius
On 2015/10/19 15:40:19, terelius wrote: > On 2015/10/19 15:31:55, the sun wrote: > > On ...
5 years, 2 months ago (2015-10-19 16:01:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412183002/20001
5 years, 2 months ago (2015-10-19 16:37:21 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
5 years, 2 months ago (2015-10-19 17:32:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412183002/20001
5 years, 2 months ago (2015-10-19 21:04:27 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-19 21:07:49 UTC) #17
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 21:07:52 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0d97d5380854ba571672c2b33bfc6b6c03b69853
Cr-Commit-Position: refs/heads/master@{#10328}

Powered by Google App Engine
This is Rietveld 408576698