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

Issue 1417443002: Use an even better random number generation scheme in the prune test (Closed)

Created:
5 years, 2 months ago by Mark Mentovai
Modified:
5 years, 2 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Use an even better random number generation scheme in the prune test base::RandInt(0, max - 1) has a uniform distribution. base::RandUint64() % max does not. TEST=crashpad_client_test PruneCrashReports.PruneOrder R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/07dbc3259c568fc08c868a7e14502ce617d469d9

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M client/prune_crash_reports_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
Mark Mentovai
5 years, 2 months ago (2015-10-18 17:33:49 UTC) #2
Robert Sesek
LGTM
5 years, 2 months ago (2015-10-19 15:18:48 UTC) #3
Mark Mentovai
5 years, 2 months ago (2015-10-19 15:44:04 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
07dbc3259c568fc08c868a7e14502ce617d469d9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698