Searched refs:testarray (Results 26 - 35 of 35) sorted by relevance

12

/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBufferWavetable/
H A DOpenStream.java40 static float[] testarray; field in class:OpenStream
65 testarray = new float[1024];
69 testarray[i] = (float) Math.sin(10 * ii * 2 * Math.PI);
70 testarray[i] += (float) Math.sin(1.731 + 2 * ii * 2 * Math.PI);
71 testarray[i] += (float) Math.sin(0.231 + 6.3 * ii * 2 * Math.PI);
72 testarray[i] *= 0.3;
74 test_byte_array = new byte[testarray.length * 2];
75 AudioFloatConverter.getConverter(format).toByteArray(testarray,
79 byte[] test_byte_array2 = new byte[testarray.length * 3];
81 test_byte_array_8ext = new byte[testarray
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/AudioFloatConverter/
H A DToFloatArray.java36 float[] testarray = new float[1024];
40 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
41 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
42 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
43 testarray[i] *= 0.3;
53 byte[] buff = new byte[testarray.length * frm.getFrameSize()];
54 float[] testarray2 = new float[testarray.length];
56 conv.toByteArray(testarray, buff);
59 if(Math.abs(testarray[i] - testarray2[i]) > 0.05)
69 byte[] buff = new byte[testarray
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/
H A DLoadAll.java41 static float[] testarray; field in class:LoadAll
47 testarray = new float[1024];
51 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
53 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
54 testarray[i] *= 0.3;
56 test_byte_array = new byte[testarray.length*2];
57 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/RandomFileInputStream/
H A DAvailable.java40 static float[] testarray; field in class:Available
46 testarray = new float[1024];
50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
53 testarray[i] *= 0.3;
55 test_byte_array = new byte[testarray.length*2];
56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
H A DMarkSupported.java40 static float[] testarray; field in class:MarkSupported
46 testarray = new float[1024];
50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
53 testarray[i] *= 0.3;
55 test_byte_array = new byte[testarray.length*2];
56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
H A DRead.java40 static float[] testarray; field in class:Read
46 testarray = new float[1024];
50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
53 testarray[i] *= 0.3;
55 test_byte_array = new byte[testarray.length*2];
56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
H A DReadByte.java40 static float[] testarray; field in class:ReadByte
46 testarray = new float[1024];
50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
53 testarray[i] *= 0.3;
55 test_byte_array = new byte[testarray.length*2];
56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
H A DReadByteIntInt.java40 static float[] testarray; field in class:ReadByteIntInt
46 testarray = new float[1024];
50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
53 testarray[i] *= 0.3;
55 test_byte_array = new byte[testarray.length*2];
56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
H A DMarkReset.java40 static float[] testarray; field in class:MarkReset
46 testarray = new float[1024];
50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
53 testarray[i] *= 0.3;
55 test_byte_array = new byte[testarray.length*2];
56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
H A DSkip.java40 static float[] testarray; field in class:Skip
46 testarray = new float[1024];
50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
53 testarray[i] *= 0.3;
55 test_byte_array = new byte[testarray.length*2];
56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);

Completed in 34 milliseconds

12