/openjdk7/jdk/test/java/io/charStreams/ |
H A D | IntGenerator.java | 37 public int next(int max) { argument 38 if (max <= 0) 43 return x % (max + 1);
|
H A D | CharGenerator.java | 32 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 D | BufferSizes.java | 33 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 D | StringConvert.java | 38 static int max = 0xffff; field in class:StringConvert 57 cg = new CharGenerator(ig, 0, max);
|
/openjdk7/hotspot/test/compiler/5091921/ |
H A D | Test6931567.java | 41 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 D | Test6897150.java | 42 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 D | Test6559156.java | 52 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 D | Test6959129.java | 38 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 D | Test6992759.java | 52 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 D | TextRecord.java | 41 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 D | adlc.hpp | 85 #undef max macro 86 #define max(a, b) (((a)>(b)) ? (a) : (b)) macro
|
/openjdk7/jdk/test/java/io/RandomAccessFile/ |
H A D | SetLength.java | 37 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 D | AppendSB.java | 61 private static StringBuffer generateTestBuffer(int min, int max) { argument 63 int aNewLength = getRandomIndex(min, max);
|
H A D | AppendCharSequence.java | 113 private static StringBuffer generateTestBuffer(int min, int max) { argument 115 int aNewLength = getRandomIndex(min, max);
|
/openjdk7/jdk/test/javax/swing/JViewport/7107099/ |
H A D | bug7107099.java | 42 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 D | GenericGrowableArray.java | 53 public int max() { method in class:GenericGrowableArray
|
/openjdk7/jdk/src/share/classes/java/lang/management/ |
H A D | MemoryUsage.java | 68 * <td valign=top> <tt>max</tt> </td> 73 * or equal to <tt>max</tt> if <tt>max</tt> is defined. 76 * if <tt>used <= 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 D | cmsOopClosures.inline.hpp | 31 // 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 D | SnmpPduBulkType.java | 36 * 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 D | SnmpScopedPduBulk.java | 50 * 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 D | ciConstantPoolCache.cpp | 67 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 D | AbstractFinder.java | 203 * 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 D | intHisto.cpp | 28 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 D | FontThread.java | 66 private void dometrics(int max) { argument 69 for (char i=0;i<max;i++) {
|
/openjdk7/jdk/test/java/io/File/ |
H A D | MaxPathLength.java | 94 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++) {
|