MCPcopy Index your code

hub / github.com/twmb/murmur3 / functions

Functions72 in github.com/twmb/murmur3

↓ 16 callersMethodWrite
(p []byte)
murmur.go:27
↓ 9 callersFunctionSum128
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 callersFunctionSum32
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 callersFunctionfmix64
(k uint64)
murmur128.go:175
↓ 6 callersFunctionNew32
New32 returns a hash.Hash32 for streaming 32 bit sums.
murmur32.go:39
↓ 6 callersMethodSum
(b []byte)
murmur64.go:28
↓ 6 callersMethodSum32
()
murmur32.go:72
↓ 6 callersFunctionSum64
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 callersFunctiongetblock32
testdata/MurmurHash3.cpp:55
↓ 4 callersFunctionNew64
New64 returns a hash.Hash64 for streaming 64 bit sums.
murmur64.go:24
↓ 4 callersFunctionSeedSum128
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 callersMethodSum64
()
murmur64.go:35
↓ 3 callersFunctionNew128
New128 returns a Hash128 for streaming 128 bit sums.
murmur128.go:48
↓ 3 callersFunctionSeedNew128
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 callersFunctionSeedStringSum128
SeedStringSum128 is the string version of SeedSum128.
murmur128_gen.go:135
↓ 3 callersFunctionSeedSum128
(seed uint32, data []byte)
testdata/test.go:34
↓ 3 callersFunctionSeedSum32
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 callersFunctionSeedSum32
(seed uint32, data []byte)
testdata/test.go:11
↓ 3 callersFunctionSeedSum64
(seed uint32, data []byte)
testdata/test.go:21
↓ 3 callersMethodSum128
()
murmur128.go:23
↓ 2 callersMethodReset
()
murmur.go:54
↓ 2 callersFunctionSeedNew32
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 callersFunctionSeedNew64
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 callersFunctionSeedStringSum32
SeedStringSum32 is the string version of SeedSum32.
murmur32_gen.go:68
↓ 2 callersFunctionSeedSum64
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 callersFunctionStringSum128
StringSum128 is the string version of Sum128.
murmur128_gen.go:130
↓ 2 callersMethodbmix
(p []byte)
murmur.go:13
↓ 2 callersFunctiongetblock64
testdata/MurmurHash3.cpp:60
↓ 1 callersFunctionSeedStringSum64
SeedStringSum64 is the string version of SeedSum64.
murmur64.go:67
↓ 1 callersMethodSize
()
murmur.go:14
↓ 1 callersFunctionStringSum32
StringSum32 is the string version of Sum32.
murmur32_gen.go:63
↓ 1 callersFunctionStringSum64
StringSum64 is the string version of Sum64.
murmur64.go:61
↓ 1 callersMethodSum128
()
murmur128.go:97
↓ 1 callersMethodreset
()
murmur.go:15
FunctionBenchmark128Branches
(b *testing.B)
murmur_test.go:352
FunctionBenchmark128Sizes
(b *testing.B)
murmur_test.go:396
FunctionBenchmark32Branches
Our lengths force 1) the function base itself (no loop/tail), 2) remainders and 3) the loop itself.
murmur_test.go:324
FunctionBenchmark32Sizes
Sizes below pick up where branches left off to demonstrate speed at larger slice sizes.
murmur_test.go:368
FunctionBenchmark64Sizes
(b *testing.B)
murmur_test.go:382
FunctionBenchmarkNoescape128
(b *testing.B)
murmur_test.go:417
FunctionBenchmarkNoescape32
(b *testing.B)
murmur_test.go:410
FunctionBenchmarkPartial32Branches
(b *testing.B)
murmur_test.go:337
MethodBlockSize
()
murmur.go:25
FunctionMurmurHash3_x64_128
testdata/MurmurHash3.cpp:255
FunctionMurmurHash3_x86_128
testdata/MurmurHash3.cpp:150
FunctionMurmurHash3_x86_32
testdata/MurmurHash3.cpp:94
FunctionSeedStringSum128
go:noescape SeedStringSum128 is the string version of SeedSum128.
murmur128_decl.go:36
FunctionSeedSum128
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
MethodSize
()
murmur128.go:52
MethodSize
()
murmur32.go:43
FunctionStringSum128
go:noescape StringSum128 is the string version of Sum128.
murmur128_decl.go:31
MethodSum
(b []byte)
murmur128.go:56
MethodSum
(b []byte)
murmur32.go:47
FunctionSum128
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
FunctionTestBoundaries
TestBoundaries forces every block/tail path to be exercised for Sum32 and Sum128.
murmur_test.go:242
FunctionTestIncremental
(t *testing.T)
murmur_test.go:297
FunctionTestQuickSeedSum128
(t *testing.T)
murmur_test.go:168
FunctionTestQuickSeedSum32
(t *testing.T)
murmur_test.go:106
FunctionTestQuickSeedSum64
(t *testing.T)
murmur_test.go:137
FunctionTestQuickSum128
(t *testing.T)
murmur_test.go:153
FunctionTestQuickSum32
(t *testing.T)
murmur_test.go:91
FunctionTestQuickSum64
(t *testing.T)
murmur_test.go:122
FunctionTestRef
(t *testing.T)
murmur_test.go:35
FunctionTestUnaligned
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
Methodbmix
(p []byte)
murmur128.go:67
Methodbmix
Digest as many blocks as possible.
murmur32.go:53
Methodreset
()
murmur128.go:54
Methodreset
()
murmur32.go:45
Functionrotl32
testdata/MurmurHash3.cpp:34
Functionrotl64
testdata/MurmurHash3.cpp:39
Functionuint32_t
testdata/MurmurHash3.cpp:68
Functionuint64_t
testdata/MurmurHash3.cpp:81