Searched defs:newLength (Results 1 - 4 of 4) sorted by relevance
/libcore/luni/src/main/java/java/io/ |
H A D | RandomAccessFile.java | 610 * Sets the length of this file to {@code newLength}. If the current file is 613 * size is bigger than {@code newLength}. If the current file pointer 616 * @param newLength 619 * if {@code newLength < 0}. 623 public void setLength(long newLength) throws IOException { argument 624 if (newLength < 0) { 625 throw new IllegalArgumentException("newLength < 0"); 628 Libcore.os.ftruncate(fd, newLength); 634 if (filePointer > newLength) { 635 seek(newLength); [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | Arrays.java | 2421 * Copies {@code newLength} elements from {@code original} into a new array. 2422 * If {@code newLength} is greater than {@code original.length}, the result is padded 2426 * @param newLength the length of the new array 2428 * @throws NegativeArraySizeException if {@code newLength < 0} 2432 public static boolean[] copyOf(boolean[] original, int newLength) { argument 2433 if (newLength < 0) { 2434 throw new NegativeArraySizeException(Integer.toString(newLength)); 2436 return copyOfRange(original, 0, newLength); 2440 * Copies {@code newLength} elements from {@code original} into a new array. 2441 * If {@code newLength} i 2451 copyOf(byte[] original, int newLength) argument 2470 copyOf(char[] original, int newLength) argument 2489 copyOf(double[] original, int newLength) argument 2508 copyOf(float[] original, int newLength) argument 2527 copyOf(int[] original, int newLength) argument 2546 copyOf(long[] original, int newLength) argument 2565 copyOf(short[] original, int newLength) argument 2584 copyOf(T[] original, int newLength) argument 2608 copyOf(U[] original, int newLength, Class<? extends T[]> newType) argument [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 565 public void setLength(long newLength) { argument 566 length = newLength;
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |
Completed in 334 milliseconds