273 |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
274 |
if (count < 0) |
if (count < 0) |
275 |
throw new StringIndexOutOfBoundsException("count: " + count); |
throw new StringIndexOutOfBoundsException("count: " + count); |
276 |
if (offset + count < 0 || offset + count > ascii.length) |
// equivalent to: offset + count < 0 || offset + count > ascii.length |
277 |
|
if (ascii.length - offset < count) |
278 |
throw new StringIndexOutOfBoundsException("offset + count: " |
throw new StringIndexOutOfBoundsException("offset + count: " |
279 |
+ (offset + count)); |
+ (offset + count)); |
280 |
value = new char[count]; |
value = new char[count]; |
339 |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
340 |
if (count < 0) |
if (count < 0) |
341 |
throw new StringIndexOutOfBoundsException("count: " + count); |
throw new StringIndexOutOfBoundsException("count: " + count); |
342 |
if (offset + count < 0 || offset + count > data.length) |
// equivalent to: offset + count < 0 || offset + count > data.length |
343 |
|
if (data.length - offset < count) |
344 |
throw new StringIndexOutOfBoundsException("offset + count: " |
throw new StringIndexOutOfBoundsException("offset + count: " |
345 |
+ (offset + count)); |
+ (offset + count)); |
346 |
try |
try |
420 |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
421 |
if (count < 0) |
if (count < 0) |
422 |
throw new StringIndexOutOfBoundsException("count: " + count); |
throw new StringIndexOutOfBoundsException("count: " + count); |
423 |
if (offset + count < 0 || offset + count > data.length) |
// equivalent to: offset + count < 0 || offset + count > data.length |
424 |
|
if (data.length - offset < count) |
425 |
throw new StringIndexOutOfBoundsException("offset + count: " |
throw new StringIndexOutOfBoundsException("offset + count: " |
426 |
+ (offset + count)); |
+ (offset + count)); |
427 |
int o, c; |
int o, c; |
536 |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
throw new StringIndexOutOfBoundsException("offset: " + offset); |
537 |
if (count < 0) |
if (count < 0) |
538 |
throw new StringIndexOutOfBoundsException("count: " + count); |
throw new StringIndexOutOfBoundsException("count: " + count); |
539 |
if (offset + count < 0 || offset + count > data.length) |
// equivalent to: offset + count < 0 || offset + count > data.length |
540 |
|
if (data.length - offset < count) |
541 |
throw new StringIndexOutOfBoundsException("offset + count: " |
throw new StringIndexOutOfBoundsException("offset + count: " |
542 |
+ (offset + count)); |
+ (offset + count)); |
543 |
if (dont_copy) |
if (dont_copy) |