Searched refs:maxValue (Results 1 - 25 of 37) sorted by relevance

12

/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/types/
H A DCIntegerType.java52 public long maxValue(); method in interface:CIntegerType
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/hpack/
H A DIntegerReader.java42 private int maxValue; field in class:IntegerReader
52 // Why is it important to configure 'maxValue' here. After all we can wait
61 public IntegerReader configure(int N, int maxValue) { argument
66 if (maxValue < 0) {
68 "maxValue >= 0: maxValue=" + maxValue);
70 this.maxValue = maxValue;
107 if (r + increment > maxValue) {
[all...]
/openjdk10/hotspot/test/gc/arguments/
H A DTestDynMinHeapFreeRatio.java48 int maxValue = DynamicVMOption.getInt("MaxHeapFreeRatio");
49 System.out.println("MaxHeapFreeRatio= " + maxValue);
58 Integer.toString(maxValue + 1),
63 Integer.toString(maxValue),
64 Integer.toString(maxValue - 1),
65 Integer.toString(maxValue / 2),
/openjdk10/jdk/test/javax/imageio/metadata/
H A DGetObjectMinValue.java48 Integer maxValue = new Integer(10);
53 minValue, maxValue, minInclusive, maxInclusive);
65 if (! act_max.equals(maxValue))
81 Comparable minValue, Comparable maxValue,
85 (Comparable<? super Integer>) minValue, (Comparable<? super Integer>) maxValue,
79 addObjectValue(String elementName, Class<?> classType, Integer defaultValue, Comparable minValue, Comparable maxValue, boolean minInclusive, boolean maxInclusive) argument
/openjdk10/jdk/src/java.management/share/classes/javax/management/openmbean/
H A DOpenMBeanParameterInfoSupport.java82 private Comparable<?> maxValue = null; field in class:OpenMBeanParameterInfoSupport
164 this.maxValue = comparableValueFrom(descriptor, "maxValue", openType);
274 * defaultValue}, {@code minValue} and {@code maxValue}.
294 * @param maxValue must be valid for the {@code openType}
299 * defaultValue}, {@code minValue}, and {@code maxValue}, if
308 * minValue} or {@code maxValue} is not a valid value for the
311 * TabularType}, or both {@code minValue} and {@code maxValue} are
312 * non-null and {@code minValue.compareTo(maxValue) > 0} is {@code
315 * {@code true}, or both {@code defaultValue} and {@code maxValue}
319 OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, Comparable<T> minValue, Comparable<T> maxValue) argument
330 OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue) argument
[all...]
H A DOpenMBeanAttributeInfoSupport.java88 private final Comparable<?> maxValue; field in class:OpenMBeanAttributeInfoSupport
194 this.maxValue = comparableValueFrom(descriptor, "maxValue", openType);
329 * {@code defaultValue}, {@code minValue} and {@code maxValue}.
358 * @param maxValue must be valid for the {@code openType}
363 * defaultValue}, {@code minValue}, and {@code maxValue}, if
372 * minValue} or {@code maxValue} is not a valid value for the
375 * TabularType}, or both {@code minValue} and {@code maxValue} are
376 * non-null and {@code minValue.compareTo(maxValue) > 0} is {@code
379 * {@code true}, or both {@code defaultValue} and {@code maxValue}
383 OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, Comparable<T> minValue, Comparable<T> maxValue) argument
397 OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue) argument
571 makeDescriptor(OpenType<T> openType, T defaultValue, T[] legalValues, Comparable<T> minValue, Comparable<T> maxValue) argument
598 makeDescriptor(OpenType<T> openType, T defaultValue, Set<T> legalValues, Comparable<T> minValue, Comparable<T> maxValue) argument
[all...]
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/asm/
H A DSwitchData.java40 int minValue, maxValue; field in class:SwitchData
67 maxValue = n;
72 if (n > maxValue) {
73 maxValue = n;
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DGradientColorFilter.java46 private float maxValue = 500; field in class:GradientColorFilter
84 } else if (value >= maxValue) {
88 double interval = maxValue - minValue;
123 return maxValue;
126 public void setMaxValue(float maxValue) { argument
127 this.maxValue = maxValue;
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/types/basic/
H A DBasicCIntegerType.java88 public long maxValue() { method in class:BasicCIntegerType
/openjdk10/jdk/test/javax/management/openmbean/
H A DConstraintTest.java55 Comparable<?> maxValue = (Comparable<?>) test[0][2];
59 "; maxValue=" + maxValue +
75 test(openType, defaultValue, minValue, maxValue, legalValues,
87 Comparable<?> maxValue, Object[] legalValues,
99 (Comparable<T>) maxValue, (T[]) legalValues, valid, invalid);
104 Comparable<T> maxValue, T[] legalValues,
108 if (legalValues != null && (minValue != null || maxValue != null))
111 if (defaultValue == null && minValue == null && maxValue == null &&
132 if (minValue == null && maxValue
85 test(OpenType<T> openType, Object defaultValue, Comparable<?> minValue, Comparable<?> maxValue, Object[] legalValues, Object[] valid, Object[] invalid) argument
102 test1(OpenType<T> openType, T defaultValue, Comparable<T> minValue, Comparable<T> maxValue, T[] legalValues, Object[] valid, Object[] invalid) argument
[all...]
H A DBadConstraintTest.java65 Comparable<?> maxValue = (Comparable<?>) test[3];
71 "; maxValue=" + maxValue +
74 genericTest(openType, defaultValue, minValue, maxValue,
108 Comparable<?> maxValue,
112 if (minValue == null && maxValue == null && legalValues == null) {
151 minValue, maxValue);
153 minValue, maxValue);
157 "maxValue", maxValue));
105 genericTest(OpenType<?> openType, Object defaultValue, Comparable<?> minValue, Comparable<?> maxValue, Object[] legalValues) argument
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/lib/
H A DExsltMath.java142 double maxValue = max(nl);
147 if (Double.isNaN(maxValue))
154 if (d == maxValue)
H A DExsltDynamic.java116 double maxValue = - Double.MAX_VALUE;
139 if (result > maxValue)
140 maxValue = result;
144 return maxValue;
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/
H A DNumUtil.java199 public static long maxValue(int bits) { method in class:NumUtil
200 return CodeUtil.maxValue(bits);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/calc/
H A DIntegerLowerThanNode.java154 protected abstract long maxValue(int bits); method in class:IntegerLowerThanNode.LowerOp
191 if (xValue != maxValue(bits)) {
198 if (yValue == maxValue(bits)) {
244 assert upperBound(succeedingXStamp) == maxValue(bits);
247 } else if (compare(upperBound(succeedingXStamp), maxValue(bits)) < 0) {
275 if (low == maxValue(bits)) {
302 long max = maxValue(bits);
H A DIntegerLessThanNode.java92 public static boolean subtractMayOverflow(long x, long y, long maxValue) { argument
96 return (((x ^ y) & (x ^ r)) < 0) || r > maxValue;
194 long maxValue = CodeUtil.maxValue(xStamp.getBits());
196 if (!subtractMayUnderflow(xStamp.lowerBound(), yStamp.upperBound(), minValue) && !subtractMayOverflow(xStamp.upperBound(), yStamp.lowerBound(), maxValue)) {
301 protected long maxValue(int bits) { method in class:IntegerLessThanNode.LessThanOp
302 return NumUtil.maxValue(bits);
/openjdk10/jdk/src/demo/share/applets/BarChart/
H A DBarChart.java69 private int maxValue = 0; field in class:BarChart
131 maxValue = Math.max(maxValue, values[i]);
218 int widthOfItems = maxLabelWidth + 3 + (maxValue * scale) + 5
219 + metrics.stringWidth(Integer.toString(maxValue));
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DBufferedBufImgOps.java227 int maxValue = (1 << nBits) - 1;
229 normOffsets[i] /= maxValue;
235 int maxValue = (1 << nBits) - 1;
236 normOffsets[i] /= maxValue;
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthSliderUI.java393 int maxValue = slider.getMaximum();
406 if (keyInt <= maxValue && keyInt > lastLblIdx) {
625 int maxValue = slider.getMaximum();
632 value = drawInverted() ? minValue : maxValue;
634 value = drawInverted() ? maxValue : minValue;
637 double valueRange = (double)maxValue - (double)minValue;
642 minValue + valueFromTrackTop : maxValue - valueFromTrackTop;
654 int maxValue = slider.getMaximum();
661 value = drawInverted() ? maxValue : minValue;
663 value = drawInverted() ? minValue : maxValue;
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/imageio/metadata/
H A DIIOMetadataFormatImpl.java129 String maxValue; field in class:IIOMetadataFormatImpl.Attribute
147 Comparable<? super T> maxValue = null; field in class:IIOMetadataFormatImpl.ObjectValue
557 * @param maxValue the largest (inclusive or exclusive depending
562 * @param maxInclusive {@code true} if {@code maxValue}
579 String maxValue,
603 attr.maxValue = maxValue;
821 * by {@code minValue} and {@code maxValue}.
835 * @param maxValue the largest (inclusive or exclusive depending
840 * @param maxInclusive {@code true} if {@code maxValue}
573 addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue, String minValue, String maxValue, boolean minInclusive, boolean maxInclusive) argument
849 addObjectValue(String elementName, Class<T> classType, T defaultValue, Comparable<? super T> minValue, Comparable<? super T> maxValue, boolean minInclusive, boolean maxInclusive) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/type/
H A DIntegerStamp.java74 assert upperBound <= CodeUtil.maxValue(bits) : this;
91 long maxValue = maxValueForMasks(bits, downMask, upMask);
92 long upperBoundTmp = Math.min(upperBoundInput, maxValue);
157 return new IntegerStamp(getBits(), CodeUtil.minValue(getBits()), CodeUtil.maxValue(getBits()), 0, CodeUtil.mask(getBits()));
162 return new IntegerStamp(getBits(), CodeUtil.maxValue(getBits()), CodeUtil.minValue(getBits()), CodeUtil.mask(getBits()), 0);
259 return lowerBound == CodeUtil.minValue(getBits()) && upperBound == CodeUtil.maxValue(getBits()) && downMask == 0 && upMask == CodeUtil.mask(getBits());
298 } else if (lowerBound != CodeUtil.minValue(getBits()) || upperBound != CodeUtil.maxValue(getBits())) {
467 return result > CodeUtil.maxValue(bits);
486 long max = CodeUtil.maxValue(bits);
516 return result > CodeUtil.maxValue(bit
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/arithmetic/
H A DIntegerAddExactNode.java96 newLowerBound = CodeUtil.maxValue(bits);
104 newUpperBound = CodeUtil.maxValue(bits);
/openjdk10/jdk/test/sanity/client/SwingSet/src/
H A DSliderDemoTest.java134 private void checkMaximum(JSliderOperator jso, int maxValue) { argument
136 waitSliderValue(jso, jSlider -> jSlider.getValue() == maxValue);
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/
H A DMenuItemLayoutHelper.java359 int maxValue = getParentIntProperty(propertyName);
361 if (value > maxValue) {
367 return maxValue;
837 int maxValue = Integer.MIN_VALUE;
839 if (i > maxValue) {
840 maxValue = i;
843 return maxValue;
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicSliderUI.java1390 int maxValue = slider.getMaximum();
1395 if (value >= minValue && value <= maxValue) {
1737 final int maxValue = slider.getMaximum();
1743 value = drawInverted() ? minValue : maxValue;
1746 value = drawInverted() ? maxValue : minValue;
1750 double valueRange = (double)maxValue - (double)minValue;
1754 value = drawInverted() ? minValue + valueFromTrackTop : maxValue - valueFromTrackTop;
1772 final int maxValue = slider.getMaximum();
1778 value = drawInverted() ? maxValue : minValue;
1781 value = drawInverted() ? minValue : maxValue;
[all...]

Completed in 143 milliseconds

12