Searched refs:minLengthVarIntSize (Results 1 – 2 of 2) sorted by relevance
1443 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local1444 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()1445 position = oldPosition + minLengthVarIntSize; in writeStringNoTag()1450 int length = newPosition - oldPosition - minLengthVarIntSize; in writeStringNoTag()1758 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local1759 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()1762 final int startOfBytes = buffer.position() + minLengthVarIntSize; in writeStringNoTag()2203 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local2205 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()2206 position = oldPosition + minLengthVarIntSize; in writeStringNoTag()[all …]
301 final int minLengthVarIntSize = computeRawVarint32Size(value.length()); in writeStringNoTag() local303 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()308 if (buffer.remaining() < minLengthVarIntSize) { in writeStringNoTag()309 throw new OutOfSpaceException(oldPosition + minLengthVarIntSize, buffer.limit()); in writeStringNoTag()311 buffer.position(oldPosition + minLengthVarIntSize); in writeStringNoTag()315 writeRawVarint32(newPosition - oldPosition - minLengthVarIntSize); in writeStringNoTag()