Searched defs:max (Results 1 - 25 of 198) sorted by relevance

12345678

/openjdk7/jdk/test/java/io/charStreams/
H A DIntGenerator.java37 public int next(int max) { argument
38 if (max <= 0)
43 return x % (max + 1);
H A DCharGenerator.java32 int min = 0, max = 0xffff; field in class:CharGenerator
38 public CharGenerator(IntGenerator r, int min, int max) { argument
41 this.max = max;
47 c = (char) (r.next(max - min) + min);
H A DBufferSizes.java33 static int max = 110; field in class:BufferSizes
38 for (int sz = min; sz <= max; sz++) {
55 for (int sz = min; sz <= max; sz++) {
H A DStringConvert.java38 static int max = 0xffff; field in class:StringConvert
57 cg = new CharGenerator(ig, 0, max);
/openjdk7/hotspot/test/compiler/5091921/
H A DTest6931567.java41 private static void booleanInvert(final int max) { argument
45 for (int i = 0; i < max; i++) {
49 for (int i = 0; i < max; i++) {
H A DTest6897150.java42 static void verify(int max, int a) { argument
43 if ( a != (max - 1)) {
44 System.out.println("Expected: " + (max - 1));
49 static void loopAndPrint(int max) { argument
52 for (; i < max; i++) {
55 verify(max, a);
H A DTest6559156.java52 void doTest1(int expected, int max, int i) { argument
55 (counted <= max) && (counted < expected);
60 " max=" + max +
66 void doTest2(int expected, int max, int i) { argument
70 (counted < expected) && (counted <= max);
75 " max=" + max +
H A DTest6959129.java38 int max = Integer.MAX_VALUE;
41 maxmoves = maxMoves(min, max);
74 * between min to max.
76 * For rec1 - Assume that min is bigger than max.
78 public static long maxMoves(int min, int max) { argument
80 for (int n = min; n <= max; n++) {
H A DTest6992759.java52 void doTest(int expected, int max, int i) { argument
55 (counted <= max) && (counted < expected);
60 " max=" + max +
/openjdk7/jdk/src/share/classes/sun/font/
H A DTextRecord.java41 public int max; field in class:TextRecord
43 public void init(char[] text, int start, int limit, int min, int max) { argument
48 this.max = max;
/openjdk7/hotspot/src/share/vm/adlc/
H A Dadlc.hpp85 #undef max macro
86 #define max(a, b) (((a)>(b)) ? (a) : (b)) macro
/openjdk7/jdk/test/java/io/RandomAccessFile/
H A DSetLength.java37 static void go(File fn, int max) throws IOException { argument
38 int chunk = max / 4;
46 byte[] buf = new byte[max];
48 if (f.length() != max) fail("Write didn't work");
49 if (f.getFilePointer() != max) fail("File pointer inconsistent");
/openjdk7/jdk/test/java/lang/StringBuffer/
H A DAppendSB.java61 private static StringBuffer generateTestBuffer(int min, int max) { argument
63 int aNewLength = getRandomIndex(min, max);
H A DAppendCharSequence.java113 private static StringBuffer generateTestBuffer(int min, int max) { argument
115 int aNewLength = getRandomIndex(min, max);
/openjdk7/jdk/test/javax/swing/JViewport/7107099/
H A Dbug7107099.java42 private static int max; field in class:bug7107099
73 max = model.getMaximum();
93 max != model.getMaximum() ||
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DGenericGrowableArray.java53 public int max() { method in class:GenericGrowableArray
/openjdk7/jdk/src/share/classes/java/lang/management/
H A DMemoryUsage.java68 * <td valign=top> <tt>max</tt> </td>
73 * or equal to <tt>max</tt> if <tt>max</tt> is defined.
76 * if <tt>used &lt= max</tt> would still be true (for example,
98 * max
112 private final long max; field in class:MemoryUsage
122 * @param max the maximum amount of memory in bytes that
127 * <li> the value of <tt>init</tt> or <tt>max</tt> is negative
133 * <li> <tt>committed</tt> is greater than the value of <tt>max</tt>
134 * <tt>max</t
137 MemoryUsage(long init, long used, long committed, long max) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcmsOopClosures.inline.hpp31 // Trim our work_queue so its length is below max at return
32 inline void Par_MarkRefsIntoAndScanClosure::trim_queue(uint max) { argument
33 while (_work_queue->size() > max) {
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpPduBulkType.java36 * The <CODE>max-repetitions</CODE> setter.
37 * @param max Maximum repetition.
39 public void setMaxRepetitions(int max); argument
48 * The <CODE>max-repetitions</CODE> getter.
H A DSnmpScopedPduBulk.java50 * The <CODE>max-repetitions</CODE> value.
61 * The <CODE>max-repetitions</CODE> setter.
62 * @param max Maximum repetition.
64 public void setMaxRepetitions(int max) { argument
65 maxRepetitions = max;
77 * The <CODE>max-repetitions</CODE> getter.
/openjdk7/hotspot/src/share/vm/ci/
H A DciConstantPoolCache.cpp67 int max = _keys->length()-1; local
69 while (max >= min) {
70 int mid = (max + min) / 2;
75 max = mid - 1;
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DAbstractFinder.java203 * or is a superclass of, the corresponding class in {@code max} array.
211 * @param max the array of classes that is used to check
213 * are assignable from corresponding classes in {@code max} array,
218 private boolean isAssignable(Class<?>[] min, Class<?>[] max) { argument
221 if (!min[i].isAssignableFrom(max[i])) {
/openjdk7/hotspot/src/share/vm/utilities/
H A DintHisto.cpp28 IntHistogram::IntHistogram(int est, int max) : _max(max), _tot(0) { argument
29 assert(0 <= est && est <= max, "Preconditions");
56 // Does it have any max entries?
/openjdk7/jdk/test/java/awt/font/Threads/
H A DFontThread.java66 private void dometrics(int max) { argument
69 for (char i=0;i<max;i++) {
/openjdk7/jdk/test/java/io/File/
H A DMaxPathLength.java94 static void testLongPath(int max, String fn, argument
96 String[] created = new String[max];
98 for (int i = 0; i < max -1; i++) {
100 created[max - 1 -i] = pathString;
128 if (isWindows && lastMax != max) {
138 lastMax = max;
209 for (int i = 0; i < max; i++) {

Completed in 56 milliseconds

12345678