History

remove whitespace

Andrew Meadows committed 10 years ago

Commit af1be8c1 parent e0867922 files · +6 −6Browse files

Showing the changes to libraries/shared/src/DoubleHashKey.cpp (1 of 2 files). Show all

Unified · Split

libraries/shared/src/DoubleHashKey.cpp+3−3
@@ -12,7 +12,7 @@ · 11 unmodified lines
1212 #include "DoubleHashKey.h"
1313
1414 const uint32_t NUM_PRIMES = 64;
15−const uint32_t PRIMES[] = {
15+const uint32_t PRIMES[] = {
1616 4194301U, 4194287U, 4194277U, 4194271U, 4194247U, 4194217U, 4194199U, 4194191U,
1717 4194187U, 4194181U, 4194173U, 4194167U, 4194143U, 4194137U, 4194131U, 4194107U,
1818 4194103U, 4194023U, 4194011U, 4194007U, 4193977U, 4193971U, 4193963U, 4193957U,
@@ -27,8 +27,8 @@ uint32_t DoubleHashKey::hashFunction(uint32_t value, uint32_t primeIndex) { · 8 unmodified lines
2727 uint32_t hash = PRIMES[primeIndex % NUM_PRIMES] * (value + 1U);
2828 hash += ~(hash << 15);
2929 hash ^= (hash >> 10);
30− hash += (hash << 3);
31− hash ^= (hash >> 6);
30+ hash += (hash << 3);
31+ hash ^= (hash >> 6);
3232 hash += ~(hash << 11);
3333 return hash ^ (hash >> 16);
3434 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t