Searched refs:capacity (Results 101 - 125 of 251) sorted by relevance

1234567891011

/openjdk7/jdk/src/share/sample/nio/server/
H A DChannelIO.java93 ByteBuffer bb = ByteBuffer.allocate(requestBB.capacity() * 2);
/openjdk7/hotspot/src/share/vm/memory/
H A DtenuredGeneration.cpp100 const size_t capacity_after_gc = capacity();
240 assert(used() == used_after_gc && used_after_gc <= capacity(),
245 _capacity_at_prologue = capacity();
284 // XXX: 10000 should be a percentage of the capacity!!!
294 if (!result && _capacity_at_prologue < capacity()) {
298 "_capacity_at_prologue: " SIZE_FORMAT " < capacity(): " SIZE_FORMAT,
299 _capacity_at_prologue, capacity());
H A Dfilemap.hpp125 size_t capacity, bool read_only, bool allow_exec);
H A DsharedHeap.cpp312 size_t capacity) {
318 byte_size_in_proper_unit(capacity),
319 proper_unit_for_byte_size(capacity));
309 print_size_transition(outputStream* out, size_t bytes_before, size_t bytes_after, size_t capacity) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEParser.java82 private final int capacity; field in class:MIMEParser
99 capacity = config.chunkSize+2+bl+4+NO_LWSP;
100 createBuf(capacity);
282 buf = new byte[min < capacity ? capacity : min];
416 * Fills the remaining buf to the full capacity
/openjdk7/jdk/test/java/nio/Buffer/
H A DBasic-X.java.template62 int n = b.capacity();
78 int n = b.capacity();
86 int n = b.capacity();
94 int n = b.capacity();
102 int n = b.capacity();
111 int n = b.capacity();
121 int n = b.capacity();
170 int n = b.capacity();
185 ck(slice, b.remaining(), slice.capacity());
264 b.limit(b.capacity());
[all...]
H A DBasicByte.java62 int n = b.capacity();
78 int n = b.capacity();
86 int n = b.capacity();
94 int n = b.capacity();
102 int n = b.capacity();
111 int n = b.capacity();
121 int n = b.capacity();
185 ck(slice, b.remaining(), slice.capacity());
264 b.limit(b.capacity());
418 b.limit(b.capacity() /
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListModel.java105 * Trims the capacity of this list to be the list's current size.
114 * Increases the capacity of this list, if necessary, to ensure
116 * the minimum capacity argument.
118 * @param minCapacity the desired minimum capacity
143 * Returns the current capacity of this list.
145 * @return the current capacity
146 * @see Vector#capacity()
148 public int capacity() { method in class:DefaultListModel
149 return delegate.capacity();
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DLinkedBlockingDeque.java49 * <p> The optional capacity bound constructor argument serves as a
50 * way to prevent excessive expansion. The capacity, if unspecified,
53 * deque above capacity.
152 private final int capacity; field in class:LinkedBlockingDeque
164 * Creates a {@code LinkedBlockingDeque} with a capacity of
172 * Creates a {@code LinkedBlockingDeque} with the given (fixed) capacity.
174 * @param capacity the capacity of this deque
175 * @throws IllegalArgumentException if {@code capacity} is less than 1
177 public LinkedBlockingDeque(int capacity) { argument
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DcodeCache.hpp168 static size_t capacity() { return _heap->capacity(); } function in class:CodeCache
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DsparsePRT.hpp142 RSHashTable(size_t capacity);
150 // entries to a larger-capacity representation.
165 size_t capacity() const { return _capacity; } function in class:RSHashTable
261 // entries to a larger-capacity representation.
277 // Clear the table, and reinitialize to initial capacity.
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DStressLoopback.java101 sentBuffer.limit(sentBuffer.capacity());
109 sentBuffer.limit(sentBuffer.capacity());
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DVectorIO.java131 total += bufs[i].capacity();
168 int size = bufs[i].capacity();
H A DCloseDuringWrite.java79 int limit = rand.nextInt(bb.capacity());
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/
H A DDelegatedTaskWrongException.java212 a.limit(a.capacity());
213 b.limit(b.capacity());
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DPlatformMidi.h95 INT32 capacity; member in struct:tag_MidiQueue
130 MidiMessageQueue* MIDI_CreateQueue(int capacity);
/openjdk7/jdk/test/java/util/zip/
H A DInflaterBufferSize.java57 private static byte[] grow(byte[] a, int capacity) { argument
58 while (a.length < capacity) {
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DByteBuffersNull.java72 ByteBuffer getByteBuffer(int capacity, int position, argument
74 ByteBuffer bb = ByteBuffer.allocate(capacity);
89 // ByteBuffer with capacity 0
90 buffers[0]= new BufferDescr("ByteBuffer with capacity == 0",
95 "ByteBuffer with some capacity but limit == 0",
98 // ByteBuffer with some remaining data (limit = capacity)
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DPerfMemory.java71 public static long capacity() { method in class:PerfMemory
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDLSSample.java69 return new AudioInputStream(is, format, data.capacity());
H A DSF2Sample.java101 return new AudioInputStream(is, format, data.capacity());
/openjdk7/jdk/src/windows/classes/java/lang/
H A DProcessEnvironment.java261 private ProcessEnvironment(int capacity) { argument
262 super(capacity);
289 static Map<String,String> emptyEnvironment(int capacity) { argument
290 return new ProcessEnvironment(capacity);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DChannelInputStream.java99 bb.limit(Math.min(off + len, bb.capacity()));
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DCompactibleFreeListSpace.java91 return capacity() - used0();
95 return capacity() - free();
136 long cap = capacity();
140 tty.print("space capacity = " + cap + " used(" + used_perc + "%)= " + used_size + " ");
/openjdk7/jdk/src/share/classes/java/lang/
H A DStringBuffer.java66 * Every string buffer has a capacity. As long as the length of the
68 * the capacity, it is not necessary to allocate a new internal
93 * initial capacity of 16 characters.
101 * the specified initial capacity.
103 * @param capacity the initial capacity.
104 * @exception NegativeArraySizeException if the <code>capacity</code>
107 public StringBuffer(int capacity) { argument
108 super(capacity);
113 * specified string. The initial capacity o
147 public synchronized int capacity() { method in class:StringBuffer
[all...]

Completed in 162 milliseconds

1234567891011