Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 16th, 2019
90
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
int hash = key.hashCode(); // get the hashcode of the key
int index = compress(hash); // compress it to an index
int compress(int hash) {
return hash % numBuckets;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Review Skilling
PHP | 2 min ago | 2.29 KB
Review Skilling
PHP | 2 min ago | 2.55 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 19 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 30 min ago | 0.38 KB
Контроль выхода
C# | 34 min ago | 0.61 KB
Review Doto
PHP | 35 min ago | 2.66 KB
Review Doto
PHP | 35 min ago | 2.45 KB
ДЗ Наибольший элемент
C# | 39 min ago | 1.54 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!