Searched defs:capacity (Results 1 - 25 of 84) sorted by relevance

1234

/openjdk7/jdk/test/sun/security/util/DerValue/
H A DBadValue.java94 * @param Initial capacity
96 public SuperSlowStream(int capacity) { argument
97 p = capacity;
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DhSpaceCounters.hpp75 jlong capacity() { function in class:HSpaceCounters
80 inline void update_all(size_t capacity, size_t used) { argument
81 update_capacity(capacity);
H A DgSpaceCounters.hpp61 _capacity->set_value(_gen->capacity());
88 jlong capacity() { function in class:GSpaceCounters
/openjdk7/hotspot/test/compiler/7048332/
H A DTest7048332.java36 static int capacity = 2; field in class:Test7048332
45 result = last - first + capacity;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/parallelScavenge/
H A DPSOldGen.java62 public long capacity() { method in class:PSOldGen
63 return objectSpace().capacity();
H A DPSYoungGen.java74 public long capacity() { method in class:PSYoungGen
75 return edenSpace().capacity() + fromSpace().capacity();
H A DParallelScavengeHeap.java73 public long capacity() { method in class:ParallelScavengeHeap
74 return youngGen().capacity() + oldGen().capacity();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_interface/
H A DCollectedHeap.java61 public long capacity() { return 0; } method in class:CollectedHeap
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DContiguousSpace.java60 public long capacity() { method in class:ContiguousSpace
H A DConcurrentMarkSweepGeneration.java60 public long capacity() { return cmsSpace().capacity(); } method in class:ConcurrentMarkSweepGeneration
H A DDefNewGeneration.java79 public long capacity() { return eden().capacity() + from().capacity(); /* to() is only used during scavenge */ } method in class:DefNewGeneration
H A DGenCollectedHeap.java96 public long capacity() { method in class:GenCollectedHeap
97 long capacity = 0;
99 capacity += getGen(i).capacity();
101 return capacity;
H A DOneContigSpaceCardGeneration.java69 public long capacity() { return theSpace().capacity(); } method in class:OneContigSpaceCardGeneration
H A DSpace.java95 public long capacity() { return end().minus(bottom()); } method in class:Space
108 tty.print(" space capacity = ");
109 tty.print(capacity());
111 tty.print((double) used() * 100.0/ capacity());
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DArrayQueue.java32 public ArrayQueue(int capacity) { argument
33 this.capacity = capacity + 1;
34 this.queue = newArray(capacity + 1);
44 if (newcapacity == this.capacity)
49 this.capacity = newcapacity;
62 int newtail = (tail + 1) % capacity;
76 head = (head + 1) % capacity;
86 int index = (head + i) % capacity;
94 diff += capacity;
98 private int capacity; field in class:ArrayQueue
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DParserPool.java45 private int capacity; field in class:ParserPool
47 public ParserPool(int capacity) { argument
48 this.capacity = capacity;
49 queue = new ArrayBlockingQueue(capacity);
53 for (int i=0; i < capacity; i++) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/
H A DByteBuffer.java32 * stored. The capacity of the ByteBuffer is the length of this array buffer,
49 * The amount by which the capacity of the ByteBuffer is automatically
50 * incremented when its size becomes greater than its capacity. If
51 * the capacity increment is less than or equal to zero, the capacity
59 * Constructs an empty ByteBuffer with the specified initial capacity and
60 * capacity increment.
62 * @param initialCapacity the initial capacity of the ByteBuffer.
63 * @param capacityIncrement the amount by which the capacity is
65 * @exception IllegalArgumentException if the specified initial capacity
144 public int capacity() { method in class:ByteBuffer
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/
H A DG1CollectedHeap.java78 public long capacity() { method in class:G1CollectedHeap
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/shared/
H A DImmutableSpace.java79 public long capacity() { return end().minus(bottom()); } method in class:ImmutableSpace
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DPerfMemory.java71 public static long capacity() { method in class:PerfMemory
/openjdk7/hotspot/src/share/vm/prims/
H A Dperf.cpp72 size_t capacity = 0; variable
90 &address, &capacity, CHECK_NULL);
94 return env->NewDirectByteBuffer(address, (jlong)capacity);
104 jlong capacity = 0; variable
106 // get buffer address and capacity
110 capacity = env->GetDirectBufferCapacity(buffer);
113 PerfMemory::detach((char*)address, capacity, CHECK);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/util/
H A DDuplicateAttributeVerifier.java78 private final void increasePool(int capacity) { argument
84 for (int i = 0; i < capacity; i++) {
/openjdk7/jdk/src/windows/native/sun/windows/
H A DHashtable.h67 int capacity; member in class:Hashtable
103 * capacity and the specified load factor.
129 return new HashtableEnumerator(table, capacity, TRUE);
138 return new HashtableEnumerator(table, capacity, FALSE);
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DPlatformMidi.c82 MidiMessageQueue* MIDI_CreateQueue(int capacity) { argument
83 MidiMessageQueue* queue = (MidiMessageQueue*) malloc(sizeof(MidiMessageQueue) + ((capacity-1) * sizeof(MidiMessage)));
87 queue->capacity = capacity;
111 if (queue->size == queue->capacity) {
117 queue->readIndex = (queue->readIndex+1) % queue->capacity;
125 queue->writeIndex = (queue->writeIndex+1) % queue->capacity;
136 if (queue->size == queue->capacity) {
142 queue->readIndex = (queue->readIndex+1) % queue->capacity;
153 queue->writeIndex = (queue->writeIndex+1) % queue->capacity;
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DLongHashMap.java152 * value of this field is (int)(capacity * loadFactor).)
176 * capacity and the specified load factor.
178 * @param initialCapacity the initial capacity of the HashMap.
180 * @throws IllegalArgumentException if the initial capacity is less
198 * Constructs a new, empty map with the specified initial capacity
201 * @param initialCapacity the initial capacity of the HashMap.
202 * @throws IllegalArgumentException if the initial capacity is less
210 * Constructs a new, empty map with a default capacity and load
424 * with a larger capacity. This method is called automatically when the
425 * number of keys in this map exceeds its capacity an
457 int capacity() { method in class:LongHashMap
[all...]

Completed in 84 milliseconds

1234