Searched refs:sequence (Results 1 - 25 of 55) sorted by relevance

123

/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DCountUppercaseParallelTest.java35 String sequence = "In 2017 I would like to run ALL languages in one VM.";
37 count(sequence);
39 test("count", sequence);
/openjdk10/jdk/test/javax/sound/midi/File/
H A DSMPTESequence.java59 Sequence sequence = new Sequence(divisionType, 16, 1);
60 float div1 = sequence.getDivisionType();
63 MidiSystem.write(sequence, 1, outStream);
67 sequence = MidiSystem.getSequence(inStream);
68 float div2 = sequence.getDivisionType();
H A DSMFParserBreak.java46 Sequence sequence = MidiSystem.getSequence(is);
48 long duration = sequence.getMicrosecondLength() / 10000;
/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/midi/spi/
H A DMidiFileWriter.java54 * Obtains the file types that this file writer can write from the sequence
57 * @param sequence the sequence for which MIDI file type support is queried
60 * @throws NullPointerException if {@code sequence} is {@code null}
62 public abstract int[] getMidiFileTypes(Sequence sequence); argument
85 * from the sequence indicated.
88 * @param sequence the sequence for which file writing support is queried
89 * @return {@code true} if the file type is supported for this sequence,
91 * @throws NullPointerException if {@code sequence} i
93 isFileTypeSupported(int fileType, Sequence sequence) argument
[all...]
/openjdk10/jdk/test/javax/sound/midi/Sequencer/
H A DSequencerState.java129 Sequence sequence = createSequence();
130 if (sequence == null) {
135 seq.setSequence(sequence);
196 sequence = createSequence();
197 if (sequence == null) {
202 seq.setSequence(sequence);
238 Sequence sequence = null;
240 sequence = new Sequence(Sequence.PPQ, 480, 1);
244 return sequence;
255 Sequence sequence
[all...]
H A DRecording.java50 // create an arbitrary sequence which lasts 10 seconds
51 Sequence sequence = createSequence(10, 120, 240);
53 seq.setSequence(sequence);
56 Track track = sequence.createTrack();
81 // first: add an event to the middle of the sequence
133 out(" -> sequence's tick length is "+seq.getTickLength());
134 if (Math.abs(ev.getTick() - (sequence.getTickLength() / 2)) > 1000) {
161 Sequence sequence = null;
167 System.out.print("Creating sequence: "+lengthInSeconds+"sec, "
170 System.out.print("Creating sequence
[all...]
H A DLooping.java92 Sequence sequence = seq.getSequence();
93 boolean isSequenceLoaded = (sequence != null);
171 seq.setLoopEndPoint(sequence.getTickLength());
172 if (seq.getLoopEndPoint() != sequence.getTickLength()) {
238 out("Playing sequence, length="+(seq.getMicrosecondLength()/1000)+"millis");
267 Sequence sequence = null;
274 sequence = new Sequence(Sequence.PPQ, resolution, 1);
275 Track track = sequence.createTrack();
283 out("sequence length (ticks): " + sequence
[all...]
H A DMetaCallback.java56 Sequence sequence; field in class:MetaCallback
67 sequence=new Sequence(Sequence.PPQ,240);
68 track=sequence.createTrack();
88 sequencer.setSequence(sequence);
H A DLoopIAE.java57 Sequence sequence = new Sequence(Sequence.PPQ, 240);
58 Track track = sequence.createTrack();
67 sequencer.setSequence(sequence);
/openjdk10/jdk/test/java/util/Calendar/
H A DBug8152077.java87 private static void testRoll(TimeZone tz, int[] params, int[] sequence) { argument
89 for (int i = 0; i < sequence.length; i++) {
90 testRoll(+1, params, sequence, i);
91 testRoll(-1, params, sequence, i);
96 private static void testRoll(int amount, int[] params, int[] sequence, int startIndex) { argument
100 int hourOfDay = sequence[startIndex];
105 int length = sequence.length;
114 int expected = sequence[index];
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/schemagen/xmlschema/
H A DTypeDefParticle.java45 public ExplicitGroup sequence(); method in interface:TypeDefParticle
H A DContentModelContainer.java49 ExplicitGroup sequence(); method in interface:ContentModelContainer
H A DNestedParticle.java48 public ExplicitGroup sequence(); method in interface:NestedParticle
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/
H A DAuthenticator.java32 * which encapsulates a sequence number and ensures that attempts to
35 * Each connection state contains a sequence number, which is maintained
38 * For SSL/TLS protocols, the sequence number MUST be set to zero
41 * DTLS uses an explicit sequence number, rather than an implicit one.
43 * each sequence number initially being 0 for each epoch. The sequence
45 * concatenating the epoch and the sequence number.
48 * a sequence number, it must renegotiate instead. A sequence number is
50 * under a particular connection state MUST use sequence numbe
219 acquireAuthenticationBytes( byte type, int length, byte[] sequence) argument
[all...]
H A DMAC.java138 // Uses the implicit sequence number for the computation.
158 * @param sequence the explicit sequence number, or null if using
159 * the implicit sequence number for the computation
164 byte[] sequence, boolean isSimulated) {
171 // Uses the explicit sequence number for the computation.
173 acquireAuthenticationBytes(type, bb.remaining(), sequence);
196 // Uses the implicit sequence number for the computation.
163 compute(byte type, ByteBuffer bb, byte[] sequence, boolean isSimulated) argument
H A DSignatureAlgorithmsExtension.java82 int sequence = 0;
88 SignatureAndHashAlgorithm.valueOf(hash, signature, ++sequence);
H A DInputRecord.java383 byte[] sequence) throws BadPaddingException {
394 authenticator, contentType, bb, sequence);
443 if (checkMacTags(contentType, bb, signer, sequence, false)) {
469 checkMacTags(contentType, temporary, signer, sequence, true);
486 MAC signer, byte[] sequence, boolean isSimulated) {
494 byte[] hash = signer.compute(contentType, bb, sequence, isSimulated);
381 decrypt(Authenticator authenticator, CipherBox box, byte contentType, ByteBuffer bb, byte[] sequence) argument
485 checkMacTags(byte contentType, ByteBuffer bb, MAC signer, byte[] sequence, boolean isSimulated) argument
/openjdk10/jdk/test/javax/sound/midi/Track/
H A Dbug6416024.java33 * @summary Tests that sequence correctly handle removing of EndOfTrack event
39 Sequence sequence = null;
43 log("creating sequence...");
45 sequence = new Sequence(Sequence.PPQ, 10);
46 log(" - OK: " + sequence);
54 track = sequence.createTrack();
/openjdk10/jdk/test/javax/sound/midi/Sequence/
H A DGetMicrosecondLength.java69 Sequence sequence = null;
75 System.out.print("Creating sequence: "+lengthInSeconds+"sec, "
78 System.out.print("Creating sequence: "+lengthInSeconds+"sec, "
86 sequence = new Sequence(Sequence.PPQ, resolution);
87 Track track = sequence.createTrack();
110 long actualLengthInTicks = sequence.getTickLength();
118 long actualLengthInUs = sequence.getMicrosecondLength();
133 seq.setSequence(sequence);
/openjdk10/jdk/src/java.base/share/classes/java/lang/
H A DShutdown.java31 * governing the virtual-machine shutdown sequence.
149 /* The actual shutdown sequence is defined here.
160 private static void sequence() { method in class:Shutdown
163 * after DestroyJavaVM initiates the shutdown sequence
212 sequence();
234 sequence();
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DRealTimeSequencer.java90 private Sequence sequence = null; field in class:RealTimeSequencer
101 * cache value for tempo factor until sequence is set
115 * True if the sequence is running.
176 public synchronized void setSequence(Sequence sequence) argument
179 if (Printer.trace) Printer.trace(">> RealTimeSequencer: setSequence(" + sequence +")");
181 if (sequence != this.sequence) {
182 if (this.sequence != null && sequence == null) {
198 playThread.setSequence(sequence);
[all...]
H A DStandardMidiFileWriter.java91 * sequence specified.
92 * @param sequence the sequence for which midi file type support
98 public int[] getMidiFileTypes(Sequence sequence){ argument
100 Track tracks[] = sequence.getTracks();
125 // First get the fileStream from this sequence
151 private InputStream getFileStream(int type, Sequence sequence) throws IOException { argument
152 Track tracks[] = sequence.getTracks();
208 // fix for 5048381: NullPointerException when saving a MIDI sequence
215 throw new IllegalArgumentException("invalid MIDI data in sequence");
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/midi/
H A DMidiSystem.java689 * Obtains a MIDI sequence from the specified input stream. The stream must
724 Sequence sequence = null;
729 sequence = reader.getSequence( stream ); // throws IOException
736 if( sequence==null ) {
737 throw new InvalidMidiDataException("could not get sequence from input stream");
739 return sequence;
744 * Obtains a MIDI sequence from the specified URL. The URL must point to
768 Sequence sequence = null;
773 sequence = reader.getSequence( url ); // throws IOException
780 if( sequence
894 getMidiFileTypes(final Sequence sequence) argument
929 isFileTypeSupported(final int fileType, final Sequence sequence) argument
[all...]
/openjdk10/jdk/test/javax/imageio/plugins/jpeg/
H A DMagentaEXIFTest.java138 IIOMetadataNode sequence = new IIOMetadataNode("markerSequence");
141 root.appendChild(sequence);
146 sequence.appendChild(app1);
172 sequence.appendChild(sof);
180 sequence = (IIOMetadataNode)tree.getLastChild();
181 NodeList markers = sequence.getChildNodes();
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/
H A DSurrogatesTest.java93 private void generateXML(XMLStreamWriter writer, String sequence) argument
95 char[] seqArr = sequence.toCharArray();
101 writer.writeCharacters(sequence);

Completed in 287 milliseconds

123