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

Method hash

ZezeJava/ZezeJava/src/main/java/Zeze/Util/IntHashMap.java:61–63  ·  view source on GitHub ↗
(int key)

Source from the content-addressed store, hash-verified

59 }
60
61 private int hash(int key) {
62 return (int)((key * 0x9E3779B97F4A7C15L) >>> shift);
63 }
64
65 public int @NotNull [] getKeyTable() {
66 return keyTable;

Callers 12

containsKeyMethod · 0.95
containsMethod · 0.95
getMethod · 0.95
getOrDefaultMethod · 0.95
putMethod · 0.95
putIfAbsentMethod · 0.95
computeIfAbsentMethod · 0.95
replaceMethod · 0.95
computeMethod · 0.95
removeMethod · 0.95
resizeMethod · 0.95
foreachUpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected