Searched refs:size (Results 176 - 200 of 3453) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/security/util/
H A DCache.java42 * . maximum size. Replacements are made in LRU order.
51 * possible to simple set the maximum size to a very large value and let
52 * the GC automatically size the cache dynamically depending on the
57 * eagerly. Performance may be improved if the Java heap size is set to larger
63 * maximum cache size to value that uses those buckets fully. For example,
65 * maximum size of 750 would be a good choice: try 1024 buckets, with a
68 * generally reasonable to set the size to a fairly large value.
81 public abstract int size(); method in class:Cache
104 * Set the maximum size.
106 public abstract void setCapacity(int size); argument
122 newSoftMemoryCache(int size) argument
131 newSoftMemoryCache(int size, int timeout) argument
139 newHardMemoryCache(int size) argument
155 newHardMemoryCache(int size, int timeout) argument
210 public int size() { method in class:NullCache
230 setCapacity(int size) argument
333 public synchronized int size() { method in class:MemoryCache
402 setCapacity(int size) argument
[all...]
/openjdk7/jdk/test/java/util/ArrayList/
H A DRangeCheckMicroBenchmark.java155 * Usage: [iterations=N] [size=N] [filter=REGEXP]
159 final int size = intArg(args, "size", 1000);
164 for (int i = 0; i < size; i++)
170 for (int k = 0; k < size; k++)
176 Integer[] xs = list.toArray(new Integer[size]);
178 for (int k = 0; k < size; k++)
184 for (int k = 0; k < size; k++)
185 list.set(k, list.get(size - k - 1));
191 for (int k = 0; k < size
[all...]
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLotsOfWrites.java40 * Asynchronously writes a known pattern to a file up to a given size,
45 private final long size; field in class:LotsOfWrites.Writer
58 int n = Math.min(8192 + rand.nextInt(8192), (int)(size - position));
75 Writer(File file, long size, CountDownLatch latch) throws IOException { argument
77 this.size = size;
86 long size() { method in class:LotsOfWrites.Writer
87 return size;
102 if (position >= size) {
126 long size
[all...]
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DRenderTests.java139 String[] paintStrArr = new String[paintStrs.size()];
141 String[] paintDescArr = new String[paintDescs.size()];
376 private TexturePaint makeTexturePaint(int size, boolean alpha) { argument
377 int s2 = size / 2;
380 BufferedImage img = new BufferedImage(size, size, type);
393 Rectangle2D bounds = new Rectangle2D.Float(0, 0, size, size);
408 int size = rctx.size
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSList.java42 return new Integer(list.size());
59 final int size = list.size();
60 Object[] res = new Object[superIds.length + size];
61 for (int i = 0; i < size; i++) {
64 System.arraycopy(superIds, 0, res, size, superIds.length);
111 return index >= 0 && index < list.size();
/openjdk7/langtools/test/tools/apt/Compile/
H A DClassDeclApf2.java82 int size = env.getSpecifiedTypeDeclarations().size();
87 switch (size) {
93 throw new RuntimeException("Got " + size + " decl's in round " + round);
104 throw new RuntimeException("Got " + size + " decl's in round " + round);
109 throw new RuntimeException("Got " + size + " decl's in round " + round);
113 throw new RuntimeException("Unexpected number of declarations:" + size +
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DPermStat.java52 long size; field in class:PermStat.ClassData
54 ClassData(Klass klass, long size) { argument
55 this.klass = klass; this.size = size;
108 long size = computeSize((InstanceKlass)k);
109 ld.classDetail.add(new ClassData(k, size));
110 ld.classSize += size;
241 long size = 0L;
243 size += k.getObjectSize();
247 size
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBoxLayout.java127 * of all JavaBeans<sup><font size="-2">TM</font></sup>
297 Dimension size;
301 size = new Dimension(xTotal.preferred, yTotal.preferred);
305 size.width = (int) Math.min((long) size.width + (long) insets.left + (long) insets.right, Integer.MAX_VALUE);
306 size.height = (int) Math.min((long) size.height + (long) insets.top + (long) insets.bottom, Integer.MAX_VALUE);
307 return size;
322 Dimension size;
326 size
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/util/
H A DIdentityLinkedList.java94 private transient int size = 0; field in class:IdentityLinkedList
123 if (size==0)
136 if (size==0)
200 public int size() { method in class:IdentityLinkedList
201 return size;
252 return addAll(size, c);
271 if (index < 0 || index > size)
273 ", Size: "+size);
280 Entry<E> successor = (index==size ? header : entry(index));
289 size
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DDnsName.java147 int b = n.size() - end;
148 int e = n.size() - beg;
151 if (size() == n.size()) {
199 public int size() { method in class:DnsName
200 return labels.size();
204 return (size() == 0);
209 for (int i = 0; i < size(); i++) {
220 return ((size() == n.size())
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DfreeList.cpp63 _size = fc->size();
68 _allocation_stats.set_returned_bytes(size() * HeapWordSize);
145 assert(size() == fc->size(), "Wrong list");
178 assert(head() == NULL || head()->size() == size(), "wrong item on list");
179 assert(tail() == NULL || tail()->size() == size(), "wrong item on list");
187 assert(size() == chunk->size(), "Wron
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/
H A DMultiComboBoxUI.java79 for (int i = 1; i < uis.size(); i++) {
89 for (int i = 0; i < uis.size(); i++) {
103 for (int i = 1; i < uis.size(); i++) {
122 for (int i = 1; i < uis.size(); i++) {
132 for (int i = 0; i < uis.size(); i++) {
153 for (int i = 0; i < uis.size(); i++) {
162 for (int i = 0; i < uis.size(); i++) {
171 for (int i = 0; i < uis.size(); i++) {
185 for (int i = 1; i < uis.size(); i++) {
200 for (int i = 1; i < uis.size();
[all...]
H A DMultiTreeUI.java81 for (int i = 1; i < uis.size(); i++) {
96 for (int i = 1; i < uis.size(); i++) {
111 for (int i = 1; i < uis.size(); i++) {
126 for (int i = 1; i < uis.size(); i++) {
141 for (int i = 1; i < uis.size(); i++) {
156 for (int i = 1; i < uis.size(); i++) {
171 for (int i = 1; i < uis.size(); i++) {
181 for (int i = 0; i < uis.size(); i++) {
190 for (int i = 0; i < uis.size(); i++) {
204 for (int i = 1; i < uis.size();
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/undo/
H A DUndoManager.java49 * either the size of the current list of edits, or if
129 * of all JavaBeans<sup><font size="-2">TM</font></sup>
180 * Reduces the number of queued edits to a range of size limit,
185 int size = edits.size();
187 // " size: " + size +
191 if (size > limit) {
213 if (keepTo >= size) {
214 int delta = size
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvirtualspace.hpp39 // The base and size prior to any alignment done by this class; used only on
49 ReservedSpace(char* base, size_t size, size_t alignment, bool special,
53 const size_t size, bool special);
54 void initialize(size_t size, size_t alignment, bool large,
62 // address and size when releasing.
72 // The total size of the result region is size prefix_size + suffix_size.
89 void protect_noaccess_prefix(const size_t size);
93 ReservedSpace(size_t size);
94 ReservedSpace(size_t size, size_
105 size_t size() const { return _size; } function in class:VALUE_OBJ_CLASS_SPEC
[all...]
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DMemoryHandler.java63 * <li> java.util.logging.MemoryHandler.size
64 * defines the buffer size (defaults to 1000).
78 private int size; field in class:MemoryHandler
91 size = manager.getIntProperty(cname + ".size", DEFAULT_SIZE);
92 if (size <= 0) {
93 size = DEFAULT_SIZE;
123 buffer = new LogRecord[size];
133 * argument and buffer size argument are used.
136 * @param size th
141 MemoryHandler(Handler target, int size, Level pushLevel) argument
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A Dsymbol.hpp115 size_t size = heap_word_size(sizeof(Symbol) + (length > 0 ? length - 1 : 0)); local
116 return align_object_size(size);
125 void* operator new(size_t size, int len, TRAPS);
126 void* operator new(size_t size, int len, Arena* arena, TRAPS);
134 // Returns the largest size symbol we can safely hold.
176 char* as_C_string(char* buf, int size) const;
177 // Use buf if needed buffer length is <= size.
178 char* as_C_string_flexible_buffer(Thread* t, char* buf, int size) const;
183 char* as_utf8_flexible_buffer(Thread* t, char* buf, int size) const {
184 return as_C_string_flexible_buffer(t, buf, size);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DASCIIUtility.java115 int size = end - start;
116 char[] theChars = new char[size];
118 for (int i = 0, j = start; i < size; )
126 int size = chars.length;
127 byte[] bytes = new byte[size];
129 for (int i = 0; i < size;)
141 int size = 1024;
142 byte[] buf = new byte[size];
145 while ((len = is.read(buf, 0, size)) != -1)
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest6187118.java103 int size = list.list.size();
104 if (0 < size) {
105 list.list.remove(size - 1);
111 int size = this.list.size();
112 return (0 < size)
113 ? this.list.get(size - 1)
118 return 0 < this.list.size();
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransferToChannel.java40 // Chunk size should be larger than FileChannelImpl.TRANSFER_SIZE for good test
75 long remainingBytes = in.size();
76 long size = remainingBytes;
91 void checkData(byte[] incoming, int size) {
92 byte[] expected = new byte[size];
94 for (int i=0; i<size; i++)
100 long bytesTransferred = in.transferTo(size - remainingBytes,
110 long remainingBytes = in.size();
111 long size = remainingBytes;
115 long bytesTransferred = in.transferTo(size
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DMoveDecoder.java37 int size = byteIndex - instrStartIndex;
40 return factory.newMoveInstruction(name, (X86Register)op1, (ImmediateOrRegister)op2, size, prefixes);
43 return factory.newGeneralInstruction(name, op1, op2, size, prefixes);
46 return factory.newMoveStoreInstruction(name, (Address)op1, (X86Register)op2, 0, size, prefixes);
49 return factory.newMoveLoadInstruction(name, (X86Register)op1, (Address)op2, 0, size, prefixes);
H A DSSEMoveDecoder.java38 int size = byteIndex - instrStartIndex;
41 return factory.newMoveInstruction(name, (X86Register)op1, (ImmediateOrRegister)op2, size, 0);
44 return factory.newGeneralInstruction(name, op1, op2, size, 0);
47 return factory.newMoveStoreInstruction(name, (Address)op1, (X86Register)op2, 0, size, 0);
50 return factory.newMoveLoadInstruction(name, (X86Register)op1, (Address)op2, 0, size, 0);
H A DX86Instruction.java31 final private int size; field in class:X86Instruction
34 public X86Instruction(String name, int size, int prefixes) { argument
36 this.size = size;
71 return size;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicFunctionType.java35 public BasicFunctionType(String name, int size, Type returnType) { argument
36 this(name, size, returnType, 0);
39 protected BasicFunctionType(String name, int size, Type returnType, int cvAttributes) { argument
40 super(name, size, cvAttributes);
48 public int getNumArguments() { return ((argumentTypes == null) ? 0 : argumentTypes.size()); }
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DLivenessPath.java45 public int size() { method in class:LivenessPath
46 return stack.size();
55 for (int j = 0; j < size(); j++) {
74 if (size() == 0)
98 for (int i = 0; i < stack.size(); i++) {

Completed in 306 milliseconds

1234567891011>>