Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/twmb/murmur3
/ functions
Functions
72 in github.com/twmb/murmur3
⨍
Functions
72
◇
Types & classes
6
↓ 16 callers
Method
Write
(p []byte)
murmur.go:27
↓ 9 callers
Function
Sum128
Sum128 returns the murmur3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation): hasher := Ne
murmur128_gen.go:14
↓ 8 callers
Function
Sum32
Sum32 returns the murmur3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation): hasher := New
murmur32_gen.go:11
↓ 8 callers
Function
fmix64
(k uint64)
murmur128.go:175
↓ 6 callers
Function
New32
New32 returns a hash.Hash32 for streaming 32 bit sums.
murmur32.go:39
↓ 6 callers
Method
Sum
(b []byte)
murmur64.go:28
↓ 6 callers
Method
Sum32
()
murmur32.go:72
↓ 6 callers
Function
Sum64
Sum64 returns the murmur3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation): hasher := New64
murmur64.go:45
↓ 5 callers
Function
getblock32
testdata/MurmurHash3.cpp:55
↓ 4 callers
Function
New64
New64 returns a hash.Hash64 for streaming 64 bit sums.
murmur64.go:24
↓ 4 callers
Function
SeedSum128
SeedSum128 returns the murmur3 sum of data with digests initialized to seed1 and seed2. The canonical implementation allows only one uint32 seed; to
murmur128_gen.go:26
↓ 4 callers
Method
Sum64
()
murmur64.go:35
↓ 3 callers
Function
New128
New128 returns a Hash128 for streaming 128 bit sums.
murmur128.go:48
↓ 3 callers
Function
SeedNew128
SeedNew128 returns a Hash128 for streaming 128 bit sums with its internal digests initialized to seed1 and seed2. The canonical implementation allows
murmur128.go:40
↓ 3 callers
Function
SeedStringSum128
SeedStringSum128 is the string version of SeedSum128.
murmur128_gen.go:135
↓ 3 callers
Function
SeedSum128
(seed uint32, data []byte)
testdata/test.go:34
↓ 3 callers
Function
SeedSum32
SeedSum32 returns the murmur3 sum of data with the digest initialized to seed. This reads and processes the data in chunks of little endian uint32s;
murmur32_gen.go:20
↓ 3 callers
Function
SeedSum32
(seed uint32, data []byte)
testdata/test.go:11
↓ 3 callers
Function
SeedSum64
(seed uint32, data []byte)
testdata/test.go:21
↓ 3 callers
Method
Sum128
()
murmur128.go:23
↓ 2 callers
Method
Reset
()
murmur.go:54
↓ 2 callers
Function
SeedNew32
SeedNew32 returns a hash.Hash32 for streaming 32 bit sums with its internal digest initialized to seed. This reads and processes the data in chunks o
murmur32.go:31
↓ 2 callers
Function
SeedNew64
SeedNew64 returns a hash.Hash64 for streaming 64 bit sums. As the canonical implementation does not support Sum64, this uses SeedNew128(seed, seed)
murmur64.go:19
↓ 2 callers
Function
SeedStringSum32
SeedStringSum32 is the string version of SeedSum32.
murmur32_gen.go:68
↓ 2 callers
Function
SeedSum64
SeedSum64 returns the murmur3 sum of data with the digest initialized to seed. Because the canonical implementation does not support SeedSum64, this
murmur64.go:55
↓ 2 callers
Function
StringSum128
StringSum128 is the string version of Sum128.
murmur128_gen.go:130
↓ 2 callers
Method
bmix
(p []byte)
murmur.go:13
↓ 2 callers
Function
getblock64
testdata/MurmurHash3.cpp:60
↓ 1 callers
Function
SeedStringSum64
SeedStringSum64 is the string version of SeedSum64.
murmur64.go:67
↓ 1 callers
Method
Size
()
murmur.go:14
↓ 1 callers
Function
StringSum32
StringSum32 is the string version of Sum32.
murmur32_gen.go:63
↓ 1 callers
Function
StringSum64
StringSum64 is the string version of Sum64.
murmur64.go:61
↓ 1 callers
Method
Sum128
()
murmur128.go:97
↓ 1 callers
Method
reset
()
murmur.go:15
Function
Benchmark128Branches
(b *testing.B)
murmur_test.go:352
Function
Benchmark128Sizes
(b *testing.B)
murmur_test.go:396
Function
Benchmark32Branches
Our lengths force 1) the function base itself (no loop/tail), 2) remainders and 3) the loop itself.
murmur_test.go:324
Function
Benchmark32Sizes
Sizes below pick up where branches left off to demonstrate speed at larger slice sizes.
murmur_test.go:368
Function
Benchmark64Sizes
(b *testing.B)
murmur_test.go:382
Function
BenchmarkNoescape128
(b *testing.B)
murmur_test.go:417
Function
BenchmarkNoescape32
(b *testing.B)
murmur_test.go:410
Function
BenchmarkPartial32Branches
(b *testing.B)
murmur_test.go:337
Method
BlockSize
()
murmur.go:25
Function
MurmurHash3_x64_128
testdata/MurmurHash3.cpp:255
Function
MurmurHash3_x86_128
testdata/MurmurHash3.cpp:150
Function
MurmurHash3_x86_32
testdata/MurmurHash3.cpp:94
Function
SeedStringSum128
go:noescape SeedStringSum128 is the string version of SeedSum128.
murmur128_decl.go:36
Function
SeedSum128
go:noescape SeedSum128 returns the murmur3 sum of data with digests initialized to seed1 and seed2. The canonical implementation allows only one uint
murmur128_decl.go:26
Method
Size
()
murmur128.go:52
Method
Size
()
murmur32.go:43
Function
StringSum128
go:noescape StringSum128 is the string version of Sum128.
murmur128_decl.go:31
Method
Sum
(b []byte)
murmur128.go:56
Method
Sum
(b []byte)
murmur32.go:47
Function
Sum128
go:noescape Sum128 returns the murmur3 sum of data. It is equivalent to the following sequence (without the extra burden and the extra allocation):
murmur128_decl.go:14
Function
TestBoundaries
TestBoundaries forces every block/tail path to be exercised for Sum32 and Sum128.
murmur_test.go:242
Function
TestIncremental
(t *testing.T)
murmur_test.go:297
Function
TestQuickSeedSum128
(t *testing.T)
murmur_test.go:168
Function
TestQuickSeedSum32
(t *testing.T)
murmur_test.go:106
Function
TestQuickSeedSum64
(t *testing.T)
murmur_test.go:137
Function
TestQuickSum128
(t *testing.T)
murmur_test.go:153
Function
TestQuickSum32
(t *testing.T)
murmur_test.go:91
Function
TestQuickSum64
(t *testing.T)
murmur_test.go:122
Function
TestRef
(t *testing.T)
murmur_test.go:35
Function
TestUnaligned
go1.14 showed that doing *(*uint32)(unsafe.Pointer(&data[i*4])) was unsafe due to alignment issues; this test ensures that we will always catch that.
murmur_test.go:193
Method
bmix
(p []byte)
murmur128.go:67
Method
bmix
Digest as many blocks as possible.
murmur32.go:53
Method
reset
()
murmur128.go:54
Method
reset
()
murmur32.go:45
Function
rotl32
testdata/MurmurHash3.cpp:34
Function
rotl64
testdata/MurmurHash3.cpp:39
Function
uint32_t
testdata/MurmurHash3.cpp:68
Function
uint64_t
testdata/MurmurHash3.cpp:81