prepare for rc1
Tatu Saloranta
10 years ago
0 | 0 |
Project: jackson-core
|
1 | |
Version: 2.4.0 (xx-xxx-2014)
|
|
1 |
Version: 2.4.0-rc1 (26-Apr-2014)
|
2 | 2 |
|
3 | 3 |
#121: Increase size of low-level byte[]/char[] input/output buffers
|
4 | 4 |
(from 4k->8k for bytes, 2k->4k for chars)
|
1179 | 1179 |
while (true) {
|
1180 | 1180 |
if (_inputPtr >= end) {
|
1181 | 1181 |
// Long enough to be split across boundary, so:
|
1182 | |
return _parserNumber2(outBuf, outPtr, negative, intLen);
|
|
1182 |
return _parseNumber2(outBuf, outPtr, negative, intLen);
|
1183 | 1183 |
}
|
1184 | 1184 |
c = (int) _inputBuffer[_inputPtr++] & 0xFF;
|
1185 | 1185 |
if (c < INT_0 || c > INT_9) {
|
|
1207 | 1207 |
* Method called to handle parsing when input is split across buffer boundary
|
1208 | 1208 |
* (or output is longer than segment used to store it)
|
1209 | 1209 |
*/
|
1210 | |
private final JsonToken _parserNumber2(char[] outBuf, int outPtr, boolean negative,
|
|
1210 |
private final JsonToken _parseNumber2(char[] outBuf, int outPtr, boolean negative,
|
1211 | 1211 |
int intPartLength) throws IOException
|
1212 | 1212 |
{
|
1213 | 1213 |
// Ok, parse the rest
|