Searched refs:max (Results 26 - 50 of 747) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLanczosResampler/
H A DInterpolate.java103 float max = testResampler(resampler, 0.3f, 0.3f);
104 if(max > 0.01)
105 fail("Interpolation failed, error="+max);
106 max = testResampler(resampler, 0.3f, 0.01f);
107 if(max > 0.01)
108 fail("Interpolation failed, error="+max);
109 max = testResampler(resampler, 1.0f, 0.00f);
110 if(max > 0.01)
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler/
H A DInterpolate.java103 float max = testResampler(resampler, 0.3f, 0.3f);
104 if(max > 0.001)
105 fail("Interpolation failed, error="+max);
106 max = testResampler(resampler, 0.3f, 0.01f);
107 if(max > 0.001)
108 fail("Interpolation failed, error="+max);
109 max = testResampler(resampler, 1.0f, 0.00f);
110 if(max > 0.001)
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler2/
H A DInterpolate.java103 float max = testResampler(resampler, 0.3f, 0.3f);
104 if(max > 0.2)
105 fail("Interpolation failed, error="+max);
106 max = testResampler(resampler, 0.3f, 0.01f);
107 if(max > 0.2)
108 fail("Interpolation failed, error="+max);
109 max = testResampler(resampler, 1.0f, 0.00f);
110 if(max > 0.2)
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftPointResampler/
H A DInterpolate.java103 float max = testResampler(resampler, 0.3f, 0.3f);
104 if(max > 0.2)
105 fail("Interpolation failed, error="+max);
106 max = testResampler(resampler, 0.3f, 0.01f);
107 if(max > 0.2)
108 fail("Interpolation failed, error="+max);
109 max = testResampler(resampler, 1.0f, 0.00f);
110 if(max > 0.2)
111 fail("Interpolation failed, error="+max);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSincResampler/
H A DInterpolate.java103 float max = testResampler(resampler, 0.3f, 0.3f);
104 if(max > 0.0001)
105 fail("Interpolation failed, error="+max);
106 max = testResampler(resampler, 0.3f, 0.01f);
107 if(max > 0.0001)
108 fail("Interpolation failed, error="+max);
109 max = testResampler(resampler, 1.0f, 0.00f);
110 if(max > 0.0001)
111 fail("Interpolation failed, error="+max);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/
H A DWSDLLocation.java41 int max = contexts.length;
43 if (idPos >= max) {
44 LocationContext newContexts[] = new LocationContext[max * 2];
45 System.arraycopy(contexts, 0, newContexts, 0, max);
46 max *= 2;
/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/src/share/classes/sun/java2d/loops/
H A DRenderCache.java74 int max = entries.length - 1;
75 for (int i = max; i >= 0; i--) {
81 if (i < max - 4) {
82 System.arraycopy(entries, i+1, entries, i, max - i);
83 entries[max] = e;
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DColorModelHSV.java126 float max = ColorModelHSL.max(rgb[0], rgb[1], rgb[2]);
129 float saturation = max - min;
131 saturation /= max;
133 hsv[0] = ColorModelHSL.getHue(rgb[0], rgb[1], rgb[2], max, min);
135 hsv[2] = max;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DColorType.java102 MAX_COUNT = Math.max(FOREGROUND.getID(), Math.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/jaxp/src/org/xml/sax/helpers/
H A DAttributesImpl.java225 int max = length * 5;
226 for (int i = 0; i < max; i += 5) {
244 int max = length * 5;
245 for (int i = 0; i < max; i += 5) {
266 int max = length * 5;
267 for (int i = 0; i < max; i += 5) {
286 int max = length * 5;
287 for (int i = 0; i < max; i += 5) {
308 int max = length * 5;
309 for (int i = 0; i < max;
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/util/
H A DAttributesImpl.java225 int max = length * 5;
226 for (int i = 0; i < max; i += 5) {
257 int max = length * 5;
258 for (int i = 0; i < max; i += 5) {
279 int max = length * 5;
280 for (int i = 0; i < max; i += 5) {
299 int max = length * 5;
300 for (int i = 0; i < max; i += 5) {
321 int max = length * 5;
322 for (int i = 0; i < max;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DPropertyExpander.java71 int max = value.length();
75 while (p < max) {
84 if (pe < max && value.charAt(pe) == '{') {
86 if (pe == -1 || pe+2 == max) {
96 while ((pe < max) && (value.charAt(pe) != '}')) {
99 if (pe == max) {
134 if (i < max) {
135 sb.append(value.substring(i, max));
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DStressTest.java66 threadsFactor = Math.max(2, Integer.parseInt(args[0]));
70 duration = Math.max(5, Integer.parseInt(args[1]));
84 intervalForCounterCheck = Math.max(tasks.length / nProcessors, 1);
130 int max = Integer.MIN_VALUE;
135 max = Math.max(max, counter);
137 System.out.printf("Total: %d calls, min=%d, max=%d, cache cleared %d times%n",
138 total, min, max, clearCounter.get());
146 final int max; field in class:StressTest.Worker
185 int max; field in class:StressTest.Worker.TestControl
192 TestControl(int max) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConvKernelConvert.c88 mlib_d64 sum_pos, sum_neg, sum, norm, max, f; local
117 max = 0;
122 max = (max > f) ? max : f;
125 scale1 = mlib_ilogb(max) + 1;
210 max = 0;
214 max = (max > f) ? max
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/
H A DAttributesImpl.java227 int max = length * 5;
228 for (int i = 0; i < max; i += 5) {
246 int max = length * 5;
247 for (int i = 0; i < max; i += 5) {
268 int max = length * 5;
269 for (int i = 0; i < max; i += 5) {
288 int max = length * 5;
289 for (int i = 0; i < max; i += 5) {
310 int max = length * 5;
311 for (int i = 0; i < max;
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/
H A DAttributesImpl.java227 int max = length * 5;
228 for (int i = 0; i < max; i += 5) {
246 int max = length * 5;
247 for (int i = 0; i < max; i += 5) {
268 int max = length * 5;
269 for (int i = 0; i < max; i += 5) {
288 int max = length * 5;
289 for (int i = 0; i < max; i += 5) {
310 int max = length * 5;
311 for (int i = 0; i < max;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSizeRequirements.java147 * @param max the maximum size >= 0
150 public SizeRequirements(int min, int pref, int max, float a) { argument
153 maximum = max;
213 totalAscent.minimum = Math.max(ascent, totalAscent.minimum);
214 totalDescent.minimum = Math.max(descent, totalDescent.minimum);
218 totalAscent.preferred = Math.max(ascent, totalAscent.preferred);
219 totalDescent.preferred = Math.max(descent, totalDescent.preferred);
223 totalAscent.maximum = Math.max(ascent, totalAscent.maximum);
224 totalDescent.maximum = Math.max(descent, totalDescent.maximum);
228 int max
323 compressedTile(int allocated, long min, long pref, long max, SizeRequirements[] request, int[] offsets, int[] spans, boolean forward) argument
357 expandedTile(int allocated, long min, long pref, long max, SizeRequirements[] request, int[] offsets, int[] spans, boolean forward) argument
[all...]
/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/hotspot/src/share/vm/utilities/
H A DintHisto.hpp58 // that will be added, and "max" is an outcome such that all outcomes at
60 IntHistogram(int est, int max);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DGXLayoutEngine.cpp57 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
63 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DGXLayoutEngine2.cpp54 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
60 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DHanLayoutEngine.cpp79 le_int32 HanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, argument
86 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DKhmerLayoutEngine.cpp69 le_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
76 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {

Completed in 71 milliseconds

1234567891011>>