Codebase list jackson-core / 1c1e43b
prepare for rc1 Tatu Saloranta 10 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
00 Project: jackson-core
1 Version: 2.4.0 (xx-xxx-2014)
1 Version: 2.4.0-rc1 (26-Apr-2014)
22
33 #121: Increase size of low-level byte[]/char[] input/output buffers
44 (from 4k->8k for bytes, 2k->4k for chars)
11791179 while (true) {
11801180 if (_inputPtr >= end) {
11811181 // Long enough to be split across boundary, so:
1182 return _parserNumber2(outBuf, outPtr, negative, intLen);
1182 return _parseNumber2(outBuf, outPtr, negative, intLen);
11831183 }
11841184 c = (int) _inputBuffer[_inputPtr++] & 0xFF;
11851185 if (c < INT_0 || c > INT_9) {
12071207 * Method called to handle parsing when input is split across buffer boundary
12081208 * (or output is longer than segment used to store it)
12091209 */
1210 private final JsonToken _parserNumber2(char[] outBuf, int outPtr, boolean negative,
1210 private final JsonToken _parseNumber2(char[] outBuf, int outPtr, boolean negative,
12111211 int intPartLength) throws IOException
12121212 {
12131213 // Ok, parse the rest