Home
last modified time | relevance | path

Searched defs:capacity (Results 1 – 25 of 45) sorted by relevance

12

/libcore/luni/src/main/java/java/util/
DLinkedHashSet.java54 public LinkedHashSet(int capacity) { in LinkedHashSet()
67 public LinkedHashSet(int capacity, float loadFactor) { in LinkedHashSet()
88 HashMap<E, HashSet<E>> createBackingMap(int capacity, float loadFactor) { in createBackingMap()
DHashSet.java49 public HashSet(int capacity) { in HashSet()
62 public HashSet(int capacity, float loadFactor) { in HashSet()
210 HashMap<E, HashSet<E>> createBackingMap(int capacity, float loadFactor) { in createBackingMap()
DPriorityQueue.java304 int capacity = in.readInt(); in readObject() local
312 private E[] newElementArray(int capacity) { in newElementArray()
399 int capacity = (int) Math.ceil(c.size() in initSize() local
DWeakHashMap.java200 public WeakHashMap(int capacity) { in WeakHashMap()
223 public WeakHashMap(int capacity, float loadFactor) { in WeakHashMap()
DVector.java78 public Vector(int capacity) { in Vector()
93 public Vector(int capacity, int capacityIncrement) { in Vector()
235 public synchronized int capacity() { in capacity() method in Vector
/libcore/luni/src/main/java/libcore/io/
DStrictLineReader.java80 public StrictLineReader(InputStream in, int capacity) { in StrictLineReader()
108 public StrictLineReader(InputStream in, int capacity, Charset charset) { in StrictLineReader()
DIoUtils.java214 int capacity; in FileReader() local
234 int capacity = bytes.length; in readFully() local
/libcore/luni/src/main/java/java/nio/
DBuffer.java56 final int capacity; field in Buffer
91 Buffer(int elementSizeShift, int capacity, long effectiveDirectAddress) { in Buffer()
141 public final int capacity() { in capacity() method in Buffer
DMappedByteBuffer.java43 MappedByteBuffer(MemoryBlock block, int capacity, MapMode mapMode, long effectiveDirectAddress) { in MappedByteBuffer()
DDoubleBuffer.java48 public static DoubleBuffer allocate(int capacity) { in allocate()
95 DoubleBuffer(int capacity, long effectiveDirectAddress) { in DoubleBuffer()
DFloatBuffer.java47 public static FloatBuffer allocate(int capacity) { in allocate()
96 FloatBuffer(int capacity, long effectiveDirectAddress) { in FloatBuffer()
DLongBuffer.java47 public static LongBuffer allocate(int capacity) { in allocate()
94 LongBuffer(int capacity, long effectiveDirectAddress) { in LongBuffer()
DShortBuffer.java47 public static ShortBuffer allocate(int capacity) { in allocate()
94 ShortBuffer(int capacity, long effectiveDirectAddress) { in ShortBuffer()
DIntBuffer.java45 public static IntBuffer allocate(int capacity) { in allocate()
92 IntBuffer(int capacity, long effectiveDirectAddress) { in IntBuffer()
DByteBuffer.java52 public static ByteBuffer allocate(int capacity) { in allocate()
68 public static ByteBuffer allocateDirect(int capacity) { in allocateDirect()
119 ByteBuffer(int capacity, long effectiveDirectAddress) { in ByteBuffer()
DCharBuffer.java50 public static CharBuffer allocate(int capacity) { in allocate()
140 CharBuffer(int capacity, long effectiveDirectAddress) { in CharBuffer()
DLongArrayBuffer.java35 private LongArrayBuffer(int capacity, long[] backingArray, int arrayOffset, boolean isReadOnly) { in LongArrayBuffer()
DFloatArrayBuffer.java35 …private FloatArrayBuffer(int capacity, float[] backingArray, int arrayOffset, boolean isReadOnly) { in FloatArrayBuffer()
DDoubleArrayBuffer.java35 …private DoubleArrayBuffer(int capacity, double[] backingArray, int arrayOffset, boolean isReadOnly… in DoubleArrayBuffer()
DShortArrayBuffer.java35 …private ShortArrayBuffer(int capacity, short[] backingArray, int arrayOffset, boolean isReadOnly) { in ShortArrayBuffer()
DIntArrayBuffer.java35 private IntArrayBuffer(int capacity, int[] backingArray, int arrayOffset, boolean isReadOnly) { in IntArrayBuffer()
/libcore/luni/src/main/java/libcore/reflect/
DListOfTypes.java30 ListOfTypes(int capacity) { in ListOfTypes()
/libcore/luni/src/main/java/java/lang/
DThreadLocal.java243 private void initializeTable(int capacity) { in initializeTable()
306 int capacity = table.length >> 1; in rehash() local
/libcore/luni/src/test/java/libcore/java/io/
DOldFileWriterTest.java118 int capacity = 65536; in test_handleEarlyEOFChar_2() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTest.java106 MockWriter(int capacity) { in MockWriter()

12