Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aappleby/smhasher
/ functions
Functions
250 in github.com/aappleby/smhasher
⨍
Functions
250
◇
Types & classes
14
↓ 56 callers
Function
Fetch64
src/City.cpp:84
↓ 30 callers
Function
Rotate
Bitwise right rotate. Normally this will compile to a single instruction, especially if the shift is a manifest constant.
src/City.cpp:100
↓ 27 callers
Function
HashLen16
src/City.cpp:116
↓ 26 callers
Function
assert
src/Bitvec.cpp:10
↓ 13 callers
Method
rand_p
src/Random.h:72
↓ 12 callers
Function
flipbit
src/Bitvec.h:59
↓ 11 callers
Function
ShiftMix
src/City.cpp:112
↓ 9 callers
Function
WeakHashLen32WithSeeds
Return a 16-byte hash for 48 bytes. Quick and dirty. Callers do best to use "random-looking" values for a and b.
src/City.cpp:154
↓ 9 callers
Function
getbit
src/Bitvec.h:37
↓ 7 callers
Function
TestHashList
src/Stats.h:191
↓ 6 callers
Function
SHA1_Update
Run your data through this. */
src/sha1.cpp:182
↓ 6 callers
Function
window
src/Bitvec.h:208
↓ 5 callers
Function
CityHash128WithSeed
src/City.cpp:279
↓ 5 callers
Function
MurmurOAAT
src/Hashes.cpp:66
↓ 5 callers
Function
Uint128High64
src/City.h:64
↓ 5 callers
Function
getblock32
src/MurmurHash3.cpp:55
↓ 5 callers
Function
setbit
src/Bitvec.cpp:146
↓ 4 callers
Function
Uint128Low64
src/City.h:63
↓ 4 callers
Function
get16bits
src/SuperFastHash.cpp:23
↓ 4 callers
Function
getbit
src/Bitvec.cpp:122
↓ 4 callers
Function
lshift32
src/Bitvec.cpp:235
↓ 4 callers
Function
lshift8
src/Bitvec.cpp:205
↓ 4 callers
Function
popcount
src/Bitvec.cpp:103
↓ 4 callers
Function
printbits
src/Bitvec.cpp:17
↓ 4 callers
Function
rand_u32
src/Random.h:96
↓ 4 callers
Function
window8
src/Bitvec.cpp:562
↓ 3 callers
Function
CalcMean
src/SpeedTest.cpp:17
↓ 3 callers
Function
PMurHash32_Process
Main hashing function. Initialise carry to 0 and h1 to 0 or an initial seed * if wanted. Both ph1 and pcarry are required arguments. */
src/PMurHash.c:178
↓ 3 callers
Function
SHA1_Final
Add padding and return the message digest. */
src/sha1.cpp:209
↓ 3 callers
Function
SHA1_Init
SHA1Init - Initialize new context */
src/sha1.cpp:168
↓ 3 callers
Function
TextKeyTest
src/KeysetTest.h:321
↓ 3 callers
Function
TwoBytesKeygen
src/KeysetTest.cpp:206
↓ 3 callers
Function
VerificationTest
src/KeysetTest.cpp:13
↓ 3 callers
Function
calcScore
src/Stats.cpp:45
↓ 3 callers
Function
lrot32
src/Bitvec.cpp:405
↓ 3 callers
Function
lrot8
src/Bitvec.cpp:367
↓ 3 callers
Function
md5_update
* MD5 process buffer */
src/md5.cpp:273
↓ 3 callers
Method
rand_u64
src/Random.h:62
↓ 3 callers
Function
rdtsc
src/Platform.h:73
↓ 3 callers
Function
rrot32
src/Bitvec.cpp:502
↓ 3 callers
Function
rrot8
src/Bitvec.cpp:462
↓ 3 callers
Function
window32
src/Bitvec.cpp:594
↓ 2 callers
Function
CityHashCrc256
src/City.cpp:434
↓ 2 callers
Function
CityHashCrc256Long
Requires len >= 240.
src/City.cpp:358
↓ 2 callers
Function
Fetch32
src/City.cpp:88
↓ 2 callers
Function
FindCollisions
src/Stats.h:42
↓ 2 callers
Function
HashLen0to16
src/City.cpp:120
↓ 2 callers
Function
PMurHash32_Result
Finalize a hash. To match the original Murmur3A the total_length must be provided */
src/PMurHash.c:263
↓ 2 callers
Function
SHA1_Transform
Hash a single 512-bit block. This is the core of the algorithm. */
src/sha1.cpp:115
↓ 2 callers
Function
SpeedTest
src/SpeedTest.cpp:168
↓ 2 callers
Function
chooseK
src/Stats.cpp:5
↓ 2 callers
Function
countbits
src/Bitslice.cpp:10
↓ 2 callers
Function
digest_to_hex
src/sha1.cpp:268
↓ 2 callers
Function
getblock64
src/MurmurHash3.cpp:60
↓ 2 callers
Function
lshift
src/Bitvec.h:79
↓ 2 callers
Function
lshift1
src/Bitvec.cpp:194
↓ 2 callers
Function
md5
* output = MD5( input buffer ) */
src/md5.cpp:353
↓ 2 callers
Function
md5_process
src/md5.cpp:147
↓ 2 callers
Function
plot
src/Stats.cpp:75
↓ 2 callers
Function
printbytes
src/Bitvec.cpp:74
↓ 2 callers
Method
rand_u32
src/Random.h:55
↓ 2 callers
Method
reserve
src/Types.h:136
↓ 2 callers
Function
rshift
src/Bitvec.h:91
↓ 2 callers
Function
rshift1
src/Bitvec.cpp:274
↓ 2 callers
Function
rshift32
src/Bitvec.cpp:314
↓ 2 callers
Function
rshift8
src/Bitvec.cpp:284
↓ 2 callers
Function
window1
src/Bitvec.cpp:547
↓ 1 callers
Function
AppendedZeroesTest
src/KeysetTest.cpp:162
↓ 1 callers
Function
Bitslice
src/Bitslice.cpp:54
↓ 1 callers
Function
BulkSpeedTest
src/SpeedTest.cpp:211
↓ 1 callers
Function
CalcStdv
src/SpeedTest.cpp:45
↓ 1 callers
Function
CityHash128
src/City.cpp:338
↓ 1 callers
Function
CityHash64
src/City.cpp:200
↓ 1 callers
Function
CityHash64WithSeed
src/City.cpp:238
↓ 1 callers
Function
CityHash64WithSeeds
src/City.cpp:242
↓ 1 callers
Function
CityHashCrc256Short
Requires len < 240.
src/City.cpp:427
↓ 1 callers
Function
CityMurmur
A subroutine for CityHash128(). Returns a decent 128-bit hash for strings of any length representable in signed long. Based on City and Murmur.
src/City.cpp:249
↓ 1 callers
Function
ContainsOutlier
src/SpeedTest.cpp:66
↓ 1 callers
Function
Crap8
src/Hashes.cpp:137
↓ 1 callers
Function
DumpCollisionMap
src/KeysetTest.cpp:270
↓ 1 callers
Function
FilterOutliers
src/SpeedTest.cpp:95
↓ 1 callers
Function
Hash128to64
Hash 128 input bits down to 64 bits of output. This is intended to be a reasonably good hash function.
src/City.h:87
↓ 1 callers
Function
HashLen17to32
This probably works well for 16-byte strings as well, but it may be overkill in that case.
src/City.cpp:143
↓ 1 callers
Function
HashLen33to64
Return an 8-byte hash for 33 to 64 bytes.
src/City.cpp:177
↓ 1 callers
Function
MurmurHash1
src/MurmurHash1.cpp:20
↓ 1 callers
Function
MurmurHash2
src/MurmurHash2.cpp:37
↓ 1 callers
Function
MurmurHash2A
src/MurmurHash2.cpp:206
↓ 1 callers
Function
MurmurHash64A
src/MurmurHash2.cpp:96
↓ 1 callers
Function
MurmurHash64B
src/MurmurHash2.cpp:142
↓ 1 callers
Function
ProcessDifferentials
src/DifferentialTest.h:22
↓ 1 callers
Function
RotateByAtLeast1
Equivalent to Rotate(), but requires the second arg to be non-zero. On x86-64, and probably others, it's possible for this to compile to a single inst
src/City.cpp:108
↓ 1 callers
Function
SanityTest
src/KeysetTest.cpp:74
↓ 1 callers
Function
SelfTest
src/main.cpp:98
↓ 1 callers
Function
SetAffinity
src/Platform.cpp:16
↓ 1 callers
Function
SparseKeygenRecurse
src/KeysetTest.h:136
↓ 1 callers
Function
TestDistribution
src/Stats.h:106
↓ 1 callers
Function
TestDistributionFast
src/Stats.h:354
↓ 1 callers
Function
TinySpeedTest
src/SpeedTest.cpp:231
↓ 1 callers
Function
UNALIGNED_LOAD32
src/City.cpp:43
↓ 1 callers
Function
UNALIGNED_LOAD64
src/City.cpp:37
next →
1–100 of 250, ranked by callers