/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | ChannelIO.java | 93 ByteBuffer bb = ByteBuffer.allocate(requestBB.capacity() * 2);
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | tenuredGeneration.cpp | 100 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 D | filemap.hpp | 125 size_t capacity, bool read_only, bool allow_exec);
|
H A D | sharedHeap.cpp | 312 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 D | MIMEParser.java | 82 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 D | Basic-X.java.template | 62 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 D | BasicByte.java | 62 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 D | DefaultListModel.java | 105 * 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 D | LinkedBlockingDeque.java | 49 * <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 D | codeCache.hpp | 168 static size_t capacity() { return _heap->capacity(); } function in class:CodeCache
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | sparsePRT.hpp | 142 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 D | StressLoopback.java | 101 sentBuffer.limit(sentBuffer.capacity()); 109 sentBuffer.limit(sentBuffer.capacity());
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | VectorIO.java | 131 total += bufs[i].capacity(); 168 int size = bufs[i].capacity();
|
H A D | CloseDuringWrite.java | 79 int limit = rand.nextInt(bb.capacity());
|
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/ |
H A D | DelegatedTaskWrongException.java | 212 a.limit(a.capacity()); 213 b.limit(b.capacity());
|
/openjdk7/jdk/src/share/native/com/sun/media/sound/ |
H A D | PlatformMidi.h | 95 INT32 capacity; member in struct:tag_MidiQueue 130 MidiMessageQueue* MIDI_CreateQueue(int capacity);
|
/openjdk7/jdk/test/java/util/zip/ |
H A D | InflaterBufferSize.java | 57 private static byte[] grow(byte[] a, int capacity) { argument 58 while (a.length < capacity) {
|
/openjdk7/jdk/test/javax/crypto/Cipher/ |
H A D | ByteBuffersNull.java | 72 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 D | PerfMemory.java | 71 public static long capacity() { method in class:PerfMemory
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | DLSSample.java | 69 return new AudioInputStream(is, format, data.capacity());
|
H A D | SF2Sample.java | 101 return new AudioInputStream(is, format, data.capacity());
|
/openjdk7/jdk/src/windows/classes/java/lang/ |
H A D | ProcessEnvironment.java | 261 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 D | ChannelInputStream.java | 99 bb.limit(Math.min(off + len, bb.capacity()));
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/ |
H A D | CompactibleFreeListSpace.java | 91 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 D | StringBuffer.java | 66 * 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...] |