forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
d59a965
commit cc03c6b
Showing
2 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters