Method
hash64
(long hash64, byte @NotNull [] bytes, int beginIndex, int endIndex)
Source from the content-addressed store, hash-verified
| 89 | } |
| 90 | |
| 91 | private static long hash64(long hash64, byte @NotNull [] bytes, int beginIndex, int endIndex) { |
| 92 | for (int i = beginIndex; i < endIndex; i++) |
| 93 | hash64 = (hash64 + bytes[i]) * 3074457345618258799L; |
| 94 | return hash64; |
| 95 | } |
| 96 | |
| 97 | private static long hash64(long hash64, @NotNull java.nio.ByteBuffer bb, int beginIndex, int endIndex) { |
| 98 | for (int i = beginIndex; i < endIndex; i++) |
Tested by
no test coverage detected