Searched refs:MAX (Results 1 - 25 of 41) sorted by relevance

12

/openjdk7/jdk/test/java/lang/management/OperatingSystemMXBean/
H A DTestSystemLoadAvg.sh59 MAX=5
76 elif [ $i -eq $MAX ] ; then
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DTimeUnit.java84 public long toNanos(long d) { return x(d, C1/C0, MAX/(C1/C0)); }
95 public long toNanos(long d) { return x(d, C2/C0, MAX/(C2/C0)); }
96 public long toMicros(long d) { return x(d, C2/C1, MAX/(C2/C1)); }
106 public long toNanos(long d) { return x(d, C3/C0, MAX/(C3/C0)); }
107 public long toMicros(long d) { return x(d, C3/C1, MAX/(C3/C1)); }
108 public long toMillis(long d) { return x(d, C3/C2, MAX/(C3/C2)); }
117 public long toNanos(long d) { return x(d, C4/C0, MAX/(C4/C0)); }
118 public long toMicros(long d) { return x(d, C4/C1, MAX/(C4/C1)); }
119 public long toMillis(long d) { return x(d, C4/C2, MAX/(C4/C2)); }
120 public long toSeconds(long d) { return x(d, C4/C3, MAX/(C
159 static final long MAX = Long.MAX_VALUE; field in class:TimeUnit
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DProgressBarPanel.java35 private static final int MAX = 10000; field in class:ProgressBarPanel
51 bar = new JProgressBar(JProgressBar.HORIZONTAL, 0, MAX);
60 bar = new JProgressBar(JProgressBar.HORIZONTAL, 0, MAX);
80 int realVal = (int) (val * MAX);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DLoginOptions.java64 * KerberosFlags ::= BIT STRING (SIZE (32..MAX))
89 public static final int MAX = 31; field in class:LoginOptions
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DAttributesImplSerializer.java59 private static final int MAX = 12; field in class:AttributesImplSerializer
65 private static final int MAXMinus1 = MAX - 1;
77 if (super.getLength() < MAX)
115 // so either compare (index+1) to MAX, or compare index to (MAX-1)
123 switchOverToHash(MAX);
177 if (MAX <= len)
203 if (MAX <= numAtts)
219 if (super.getLength() < MAX)
/openjdk7/jdk/src/share/classes/sun/management/
H A DMemoryUsageCompositeData.java93 private static final String MAX = "max"; field in class:MemoryUsageCompositeData
99 MAX,
112 return getLong(cd, MAX);
/openjdk7/jdk/test/java/lang/management/CompositeData/
H A DMemoryUsageCompositeData.java81 if (u.getMax() != ((Long) values[MAX]).longValue()) {
83 " expected = " + values[MAX]);
154 private static final int MAX = 2; field in class:MemoryUsageCompositeData
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DTarget.java89 private static Target MAX; field in class:Target
90 public static Target MAX() { return MAX; } method in class:Target
96 MAX = t;
/openjdk7/jdk/test/sun/invoke/util/
H A DValueConversionsTest.java277 final int MAX = MAX_ARITY-2; // 253+1 would cause parameter overflow with 'this' added
278 for (int nargs = MIN; nargs <= MAX; nargs = nextArgCount(nargs, 17, MAX)) {
309 private static int nextArgCount(int nargs, int density, int MAX) { argument
311 if (nargs >= MAX) return Integer.MAX_VALUE;
312 int BOT = 20, TOP = MAX-5;
313 if (density < 10) { BOT = 10; MAX = TOP-2; }
328 int MAX = MAX_ARITY-2; // 253+1 would cause parameter overflow with 'this' added
331 if (elemType == long.class || elemType == double.class) { MAX /= 2; MIN /= 2; }
332 for (int nargs = MIN; nargs <= MAX; narg
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DOptionListModel.java51 private static final int MAX = Integer.MAX_VALUE; field in class:OptionListModel
53 private int minIndex = MAX;
57 private int firstChangedIndex = MAX;
162 firstChangedIndex = MAX;
242 minIndex = MAX;
365 int clearMin = MAX;
383 int setMin = MAX;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListSelectionModel.java56 private static final int MAX = Integer.MAX_VALUE; field in class:DefaultListSelectionModel
58 private int minIndex = MAX;
62 private int firstAdjustedIndex = MAX;
66 private int firstChangedIndex = MAX;
152 firstChangedIndex = MAX;
208 firstAdjustedIndex = MAX;
327 minIndex = MAX;
503 int clearMin = MAX;
566 int setMin = MAX;
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c134 #define MAX( a, b) ((a) > (b) ? a : b) macro
451 - MAX( vis_reg->rects[rect].x1, bbox.x);
454 - MAX( vis_reg->rects[rect].y1, bbox.y);
457 srcRect_x = MAX( 0, diff) + (vis_reg->rects[rect].x1 - reg->x_rootrel - reg->border);
458 dst_x = MAX( 0, -diff) ;
460 srcRect_y = MAX( 0, diff) + (vis_reg->rects[rect].y1 - reg->y_rootrel - reg->border);
461 dst_y = MAX( 0, -diff) ;
545 - MAX( reg->x_vis, bbox.x);
547 + bbox.y) - MAX( reg->y_vis, bbox.y);
549 srcRect_x = MAX(
[all...]
H A Dawt_util.h151 #ifndef MAX
152 #define MAX(a,b) ((a) > (b) ? (a) : (b)) macro
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/
H A DSurrogate.java50 public static final char MAX = MAX_LOW; field in class:Surrogate
75 return (MIN <= c) && (c <= MAX);
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DLinuxOperatingSystem.c218 #define MAX(a,b) (a>b?a:b) macro
280 *pkernelLoad = MAX(*pkernelLoad, 0.0);
284 user_load = MAX(user_load, 0.0);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DEngineInputRecord.java115 || (recordVersion.major > ProtocolVersion.MAX.major)) {
153 || (recordVersion.major > ProtocolVersion.MAX.major)) {
402 || (recordVersion.major > ProtocolVersion.MAX.major)) {
H A DProtocolVersion.java81 final static ProtocolVersion MAX = TLS12; field in class:ProtocolVersion
/openjdk7/jdk/src/share/npt/
H A Dutf.c446 #define MAX 1024 macro
447 char buf0[MAX];
448 char buf1[MAX];
449 char buf2[MAX];
450 unsigned short buf3[MAX];
/openjdk7/jdk/test/java/lang/invoke/
H A DRicochetTest.java146 final int MAX = MAX_ARITY-2; // 253+1 would cause parameter overflow with 'this' added
147 for (int nargs = 0; nargs <= MAX; nargs++) {
148 if (nargs > 30 && nargs < MAX-20) nargs += 10;
175 final int MAX = MAX_ARITY-2; // 253+1 would cause parameter overflow with 'this' added
176 for (int nargs = 0; nargs <= MAX; nargs++) {
177 if (nargs > 30 && nargs < MAX-20) nargs += 10;
204 final int MAX = (MAX_ARITY - 2) / 2; // 253/2+1 would cause parameter overflow with 'this' added
205 for (int nargs = 0; nargs <= MAX; nargs++) {
206 if (nargs > 30 && nargs < MAX-20) nargs += 10;
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DSurrogate.java50 public static final char MAX = Character.MAX_SURROGATE; field in class:Surrogate
75 return (MIN <= c) && (c <= MAX);
/openjdk7/langtools/test/tools/javac/file/zip/
H A DT6836682.java151 final int MAX = Short.MAX_VALUE * 2 + 10;
157 for (int i = 0; i < MAX ; i++) {
/openjdk7/jdk/test/java/util/Arrays/
H A DSorting.java472 final int MAX = 10;
475 for (int a = 0; a <= MAX; a++) {
476 for (int g = 0; g <= MAX; g++) {
477 for (int z = 0; z <= MAX; z++) {
478 for (int n = 0; n <= MAX; n++) {
479 for (int p = 0; p <= MAX; p++) {
510 final int MAX = 10;
513 for (int a = 0; a <= MAX; a++) {
514 for (int g = 0; g <= MAX; g++) {
515 for (int z = 0; z <= MAX;
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djdinput.c71 cinfo->max_h_samp_factor = MAX(cinfo->max_h_samp_factor,
73 cinfo->max_v_samp_factor = MAX(cinfo->max_v_samp_factor,
H A Djpegint.h270 #undef MAX macro
271 #define MAX(a,b) ((a) > (b) ? (a) : (b)) macro
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DProcessPath.c278 #define CALC_MAX(MAX, X) ((MAX)=((X)>(MAX))?(X):(MAX))
280 #define MAX(MAX, X) (((X)>(MAX))?(X):(MAX)) macro
605 jint maxDD = MAX(ABS32(ddpx),ABS32(ddpy));

Completed in 130 milliseconds

12