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.
2 parents c5df275 + a07f208 commit cbf7074Copy full SHA for cbf7074
src/core/store/BufferedIndexInput.cpp
@@ -32,10 +32,10 @@ uint8_t BufferedIndexInput::readByte() {
32
return __buffer[bufferPosition++];
33
}
34
35
-static const int MAX_VARINT32_LENGHT = 5;
+static const int MAX_VARINT32_LENGTH = 5;
36
37
int32_t BufferedIndexInput::readVInt() {
38
- if (bufferPosition + MAX_VARINT32_LENGHT < bufferLength) {
+ if (bufferPosition + MAX_VARINT32_LENGTH < bufferLength) {
39
uint8_t b = __buffer[bufferPosition++];
40
int32_t i = (b & 0x7f);
41
for (int32_t shift = 7; (b & 0x80) != 0; shift += 7) {
0 commit comments