Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 21st, 2018
87
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
pub fn bar(rand: u32, arr: &[u8]) -> u8 {
let mul = rand as u64 * arr.len() as u64;
let hi = (mul >> 32) as u32;
arr[hi as usize]
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
JSON | 4 min ago | 13.26 KB
snowybot trial
JavaScript | 9 min ago | 1.82 KB
Odd Even Linked List
C++ | 10 min ago | 1.30 KB
lol
JavaScript | 13 min ago | 1.83 KB
Internal Bank Account
SQL | 41 min ago | 4.67 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 48 min ago | 0.39 KB
fedora-40-workstation-installer-won't-st...
Bash | 51 min ago | 3.81 KB
Untitled
Lua | 1 hour ago | 3.37 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!