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

Method intern

ZezeJava/ZezeJava/src/main/java/Zeze/Util/BinaryPool.java:22–24  ·  view source on GitHub ↗
(byte @NotNull [] bytes)

Source from the content-addressed store, hash-verified

20 }
21
22 public @NotNull Binary intern(byte @NotNull [] bytes) {
23 return intern(bytes, 0, bytes.length);
24 }
25
26 public @NotNull Binary intern(byte @NotNull [] bytes, int beginIndex, int endIndex) {
27 var hash64 = hash64(HASH_BASE, bytes, beginIndex, endIndex);

Callers 1

decodeMethod · 0.45

Calls 9

hash64Method · 0.95
bytesUnsafeMethod · 0.95
sizeMethod · 0.95
equalsMethod · 0.95
lockMethod · 0.65
getMethod · 0.65
equalsMethod · 0.65
unlockMethod · 0.65
putMethod · 0.65

Tested by

no test coverage detected