Searched defs:initialSize (Results 1 - 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | LinuxAsynchronousChannelProvider.java | 61 public AsynchronousChannelGroup openAsynchronousChannelGroup(ExecutorService executor, int initialSize) argument 64 return new EPollPort(this, ThreadPool.wrap(executor, initialSize)).start();
|
H A D | ThreadPool.java | 41 "java.nio.channels.DefaultThreadPool.initialSize"; 113 int initialSize = getDefaultThreadPoolInitialSize(); 114 if (initialSize < 0) 115 initialSize = Runtime.getRuntime().availableProcessors(); 122 return new ThreadPool(executor, false, initialSize); 134 public static ThreadPool wrap(ExecutorService executor, int initialSize) { argument 141 if (initialSize < 0) { 142 initialSize = Runtime.getRuntime().availableProcessors(); 145 initialSize = 0; 150 if (initialSize < [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_StringWriter.java | 39 * size of <code>initialSize</code> characters. The StringBuffer is also 42 public Support_StringWriter(int initialSize) { argument 43 if (initialSize >= 0) { 44 buf = new StringBuffer(initialSize);
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | StringWriter.java | 58 * @param initialSize 63 * If <tt>initialSize</tt> is negative 65 public StringWriter(int initialSize) { argument 66 if (initialSize < 0) { 69 buf = new StringBuffer(initialSize);
|
H A D | CharArrayWriter.java | 64 * @param initialSize an int specifying the initial buffer size. 65 * @exception IllegalArgumentException if initialSize is negative 67 public CharArrayWriter(int initialSize) { argument 68 if (initialSize < 0) { 70 + initialSize); 72 buf = new char[initialSize];
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | AsynchronousChannelGroup.java | 80 * <td> {@code java.nio.channels.DefaultThreadPool.initialSize} </td> 81 * <td> The value of the {@code initialSize} parameter for the default 199 * <p> The {@code initialSize} parameter may be used by the implementation 217 * @param initialSize 229 int initialSize) 233 .openAsynchronousChannelGroup(executor, initialSize); 259 * initialSize} of {@code 0}. 228 withCachedThreadPool(ExecutorService executor, int initialSize) argument
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
H A D | AsynchronousChannelProvider.java | 194 * @param initialSize 206 openAsynchronousChannelGroup(ExecutorService executor, int initialSize) throws IOException; argument
|
/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | Files.java | 3082 * Reads all the bytes from an input stream. Uses {@code initialSize} as a hint 3087 * @param initialSize 3097 private static byte[] read(InputStream source, int initialSize) throws IOException { argument 3098 int capacity = initialSize; 3103 // read to EOF which may read more or less than initialSize (eg: file
|
Completed in 1145 milliseconds