Searched refs:maxSize (Results 1 - 25 of 34) sorted by relevance

12

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaOptionPaneUI.java127 final Dimension maxSize = new Dimension(kOKCancelButtonWidth, kButtonHeight);
130 maxSize.width = Math.max(maxSize.width, sizes.width);
131 maxSize.height = Math.max(maxSize.height, sizes.height);
135 int xLocation = container.getSize().width - (maxSize.width * numChildren + (numChildren - 1) * padding);
136 final int xOffset = maxSize.width + padding;
140 children[i].setBounds(xLocation, yLocation, maxSize.width, maxSize.height);
H A DAquaSplitPaneDividerUI.java90 final int maxSize = getMaxDividerSize();
93 if (size.height > maxSize) {
94 final int diff = size.height - maxSize;
96 size.height = maxSize;
100 if (size.width > maxSize) {
101 final int diff = size.width - maxSize;
103 size.width = maxSize;
160 final int maxSize = getMaxDividerSize();
176 if (size.height > maxSize) {
177 final int diff = size.height - maxSize;
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/toa/
H A DTransientObjectManager.java39 private int maxSize = 128; field in class:TransientObjectManager
51 elementArray = new Element[maxSize];
52 elementArray[maxSize-1] = new Element(maxSize-1,null);
53 for ( int i=maxSize-2; i>=0; i-- )
126 for ( int i=0; i<maxSize; i++ )
140 int oldSize = maxSize;
141 maxSize *= 2;
142 elementArray = new Element[maxSize];
147 elementArray[maxSize
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DpsMemoryPool.cpp54 size_t maxSize = (available_for_allocation() ? max_size() : 0); local
58 return MemoryUsage(initial_size(), used, committed, maxSize);
79 size_t maxSize = (available_for_allocation() ? max_size() : 0); local
83 return MemoryUsage(initial_size(), used, committed, maxSize);
101 size_t maxSize = (available_for_allocation() ? max_size() : 0); local
104 return MemoryUsage(initial_size(), used, committed, maxSize);
H A DmemoryPool.cpp187 size_t maxSize = (available_for_allocation() ? max_size() : 0);
191 return MemoryUsage(initial_size(), used, committed, maxSize);
204 size_t maxSize = (available_for_allocation() ? max_size() : 0);
208 return MemoryUsage(initial_size(), used, committed, maxSize);
222 size_t maxSize = (available_for_allocation() ? max_size() : 0);
226 return MemoryUsage(initial_size(), used, committed, maxSize);
241 size_t maxSize = (available_for_allocation() ? max_size() : 0);
243 return MemoryUsage(initial_size(), used, committed, maxSize);
254 size_t maxSize = (available_for_allocation() ? max_size() : 0);
256 return MemoryUsage(initial_size(), used, committed, maxSize);
[all...]
/openjdk7/jdk/test/java/util/concurrent/ConcurrentHashMap/
H A DtoArray.java38 final int maxSize = 1000;
43 for (int i = 0; i < maxSize; i++)
53 if (size > maxSize) throw new RuntimeException("OVERSHOOT");
54 if (size == maxSize) return true;
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DStringGen.java80 if (stringEntry.maxSize () == null)
83 bound = Util.parseExpression (stringEntry.maxSize ());
113 if (string.maxSize () != null)
115 stream.println (indent + "if (" + name + ".length () > (" + Util.parseExpression (string.maxSize ()) + "))");
124 if (string.maxSize () != null)
126 stream.print (indent + "if (" + name + ".length () > (" + Util.parseExpression (string.maxSize ()) + "))");
H A DSequenceGen.java87 Expression maxSize = ((SequenceEntry)entry).maxSize ();
88 if (maxSize == null)
91 stream.println (indent + name + " = org.omg.CORBA.ORB.init ().create_recursive_sequence_tc (" + Util.parseExpression (maxSize) + ", " + (offsetOfType - tcoffsets.currentOffset ()) + ");");
99 Expression maxSize = ((SequenceEntry)entry).maxSize ();
100 if (maxSize == null)
103 stream.println (indent + name + " = org.omg.CORBA.ORB.init ().create_sequence_tc (" + Util.parseExpression (maxSize) + ", " + name + ");");
128 Expression maxSize = ((SequenceEntry)entry).maxSize ();
[all...]
H A DMethodGen.java505 if (string.maxSize () != null)
514 Util.parseExpression (string.maxSize ()) + "))");
597 if (string.maxSize () != null)
602 Util.parseExpression (string.maxSize ()) + "))");
611 if (string.maxSize () != null)
614 Util.parseExpression (string.maxSize ()) + "))");
868 Expression e = s.maxSize ();
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DParseException.java128 int maxSize = 0;
130 if (maxSize < expectedTokenSequences[i].length) {
131 maxSize = expectedTokenSequences[i].length;
143 for (int i = 0; i < maxSize; i++) {
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/
H A DParseException.java139 int maxSize = 0;
141 if (maxSize < expectedTokenSequence.length) {
142 maxSize = expectedTokenSequence.length;
154 for (int i = 0; i < maxSize; i++) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DParseException.java129 int maxSize = 0;
131 if (maxSize < expectedTokenSequences[i].length) {
132 maxSize = expectedTokenSequences[i].length;
144 for (int i = 0; i < maxSize; i++) {
/openjdk7/jdk/test/java/awt/image/
H A DIncorrectSampleMaskTest.java68 int maxSize = DataBuffer.getDataTypeSize(dataType);
69 System.out.println("Type size: " + maxSize);
71 int theMask = (int)(1L << (maxSize + 2)) - 1;
81 if (s > maxSize) {
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/
H A DConnections.java72 final private int maxSize; field in class:Connections
85 * @param maxSize the maximum size of the pool. The pool will not exceed
91 Connections(Object id, int initSize, int prefSize, int maxSize, argument
94 this.maxSize = maxSize;
95 if (maxSize > 0) {
96 // prefSize and initSize cannot exceed specified maxSize
97 this.prefSize = Math.min(prefSize, maxSize);
98 initSize = Math.min(initSize, maxSize);
102 conns = new ArrayList(maxSize >
[all...]
H A DPool.java90 final private int maxSize; // max num of identical conn per pool field in class:Pool
95 public Pool(int initSize, int prefSize, int maxSize) { argument
98 this.maxSize = maxSize;
104 * newly created, as governed by the maxSize and prefSize settings.
106 * to the maxSize constraint, this call blocks until the constraint
132 conns = new Connections(id, initSize, prefSize, maxSize,
210 out.println("maximum pool size: " + maxSize);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DParseException.java138 int maxSize = 0;
140 if (maxSize < expectedTokenSequences[i].length) {
141 maxSize = expectedTokenSequences[i].length;
153 for (int i = 0; i < maxSize; i++) {
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DCache.java252 private int maxSize; field in class:MemoryCache
256 public MemoryCache(boolean soft, int maxSize) { argument
257 this(soft, maxSize, 0);
260 public MemoryCache(boolean soft, int maxSize, int lifetime) { argument
261 this.maxSize = maxSize;
264 int buckets = (int)(maxSize / LOAD_FACTOR) + 1;
362 if (maxSize > 0 && cacheMap.size() > maxSize) {
364 if (cacheMap.size() > maxSize) { // stil
[all...]
H A DDisabledAlgorithmConstraints.java402 private int maxSize; // the maximal available key size field in class:DisabledAlgorithmConstraints.KeySizeConstraint
409 this.maxSize = Integer.MAX_VALUE;
414 this.maxSize = length;
418 this.maxSize = Integer.MAX_VALUE;
422 this.maxSize = Integer.MAX_VALUE;
426 this.maxSize = length;
430 this.maxSize = length > 1 ? (length - 1) : 0;
435 this.maxSize = -1;
446 return ((size < minSize) || (size > maxSize) ||
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DSequenceEntry.java113 public void maxSize (Expression expr) method in class:SequenceEntry
116 } // maxSize
120 public Expression maxSize () method in class:SequenceEntry
123 } // maxSize
H A DStringEntry.java103 public void maxSize (Expression expr) method in class:StringEntry
106 } // maxSize
110 public Expression maxSize () method in class:StringEntry
113 } // maxSize
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DGenerationSpec.java66 public long maxSize() { method in class:GenerationSpec
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DFileChannelImpl.c64 jlong maxSize = off + len; local
65 jint lowLen = (jint)(maxSize);
66 jint highLen = (jint)(maxSize >> 32);
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapPoolManager.java110 private static final int maxSize; // max num of identical conns/pool field in class:LdapPoolManager
121 maxSize = getInteger(MAX_POOL_SIZE, DEFAULT_MAX_POOL_SIZE);
143 pools[p] = new Pool(initSize, prefSize, maxSize);
336 out.println("maximum pool size: " + maxSize);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DRepaintManager.java1019 Dimension maxSize = getDoubleBufferMaximumSize();
1021 (proposedWidth > maxSize.width? maxSize.width : proposedWidth);
1023 (proposedHeight > maxSize.height? maxSize.height : proposedHeight);
1038 Dimension maxSize = getDoubleBufferMaximumSize();
1057 (proposedWidth > maxSize.width? maxSize.width : proposedWidth);
1059 (proposedHeight > maxSize.height? maxSize
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthInternalFrameTitlePane.java340 Dimension maxSize = (Dimension)context.getStyle().get(context,
344 if (maxSize != null) {
345 maxWidth = maxSize.width;
346 maxHeight = maxSize.height;

Completed in 686 milliseconds

12