Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Knot projects
Knot Resolver
Merge requests
!346
kr_rand_uint: nitpicks
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Vladimír Čunát
requested to merge
rand_uint
into
master
Aug 03, 2017
Overview
0
Commits
1
Pipelines
1
Changes
6
the returned value is up to max-1 and not max (tiny bias)
improve efficiency slightly
unsigned -> uint32_t, as that's the range it supports (mostly equal)