We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70da167 commit edf4419Copy full SHA for edf4419
server/src/main/java/org/elasticsearch/common/hash/Murmur3Hasher.java
@@ -40,7 +40,12 @@ public void update(byte[] inputBytes) {
40
update(inputBytes, 0, inputBytes.length);
41
}
42
43
- private void update(byte[] inputBytes, int offset, int length) {
+ /**
44
+ * Similar to {@link #update(byte[])}, but processes a specific portion of the input bytes
45
+ * starting from the given {@code offset} for the specified {@code length}.
46
+ * @see #update(byte[])
47
+ */
48
+ public void update(byte[] inputBytes, int offset, int length) {
49
if (remainderLength + length >= remainder.length) {
50
if (remainderLength > 0) {
51
// fill rest of remainder from inputBytes and hash remainder
0 commit comments