Adar Dembo has submitted this change and it was merged.

Change subject: random: change Rand64() to use all bits
......................................................................


random: change Rand64() to use all bits

Rand64() currently fills only 62 bits of the result. This changes the
function to randomize all 64 bits at the cost of a bit of performance.
This is useful in testing encodings which may have edge cases when the
MSB is set.

Change-Id: I6064ae18532bc32f24086e232200f1f0966d6b2a
Reviewed-on: http://gerrit.cloudera.org:8080/5474
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/util/random-test.cc
M src/kudu/util/random.h
2 files changed, 11 insertions(+), 13 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/5474
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6064ae18532bc32f24086e232200f1f0966d6b2a
Gerrit-PatchSet: 5
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to