MCPcopy Create free account
hub / github.com/e2wugui/zeze / hash32

Method hash32

ZezeJava/ZezeJava/src/main/java/Zeze/Transaction/Bean.java:194–197  ·  view source on GitHub ↗
(@NotNull String name)

Source from the content-addressed store, hash-verified

192 }
193
194 public static int hash32(@NotNull String name) {
195 long hash64 = hash64(name);
196 return (int)(hash64 ^ (hash64 >> 32));
197 }
198
199 // PMap<K, V>
200 public static int hashLog(long initial, @NotNull Class<?> key, @NotNull Class<?> value) {

Callers 15

BenchProtocolClass · 0.95
BenchEndClass · 0.95
mainMethod · 0.95
mainMethod · 0.95
testBenchMethod · 0.95
testFullMethod · 0.95
test1Method · 0.95
test1Method · 0.95
test1Method · 0.95
test2Method · 0.95
testConsistentHashMethod · 0.95

Calls 1

hash64Method · 0.95

Tested by 11

mainMethod · 0.76
mainMethod · 0.76
testBenchMethod · 0.76
testFullMethod · 0.76
test1Method · 0.76
test1Method · 0.76
test1Method · 0.76
test2Method · 0.76
testConsistentHashMethod · 0.76
testNoneMethod · 0.64