Searched refs:frequency (Results 1 - 20 of 20) sorted by relevance

/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/util/
H A DFrequencyEncoder.java32 * Creates an array of T objects order by the occurrence frequency of each object. The most
37 * equality} can be used to build the array and count the frequency.
43 protected int frequency; field in class:FrequencyEncoder.Entry
87 entry.frequency++;
121 sortedEntries.sort((e1, e2) -> -Integer.compare(e1.frequency, e2.frequency));
/openjdk10/jdk/test/java/util/Collections/
H A DFrequency.java27 * @summary Basic test for Collections.frequency
47 if (Collections.frequency(list, i) != i)
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/ref/
H A DIncrementalSAXSource_Filter.java88 private int frequency=5; field in class:IncrementalSAXSource_Filter
138 eventcounter=frequency;
203 frequency=eventcounter=events;
231 eventcounter=frequency;
253 eventcounter=frequency;
264 eventcounter=frequency;
275 eventcounter=frequency;
286 eventcounter=frequency;
297 eventcounter=frequency;
308 eventcounter=frequency;
[all...]
/openjdk10/hotspot/src/share/vm/interpreter/
H A DbytecodeHistogram.hpp48 static double frequency() PRODUCT_RETURN0; // bytecodes/seconds
H A DbytecodeHistogram.cpp52 double BytecodeCounter::frequency() { function in class:BytecodeCounter
62 frequency() / 1000000.0
/openjdk10/langtools/test/tools/javac/lambda/8068399/
H A DT8068399.java91 protected int getXByFrequency(double frequency) { argument
92 return (int) Math.round(interpolate(frequency,
/openjdk10/jdk/test/javax/sound/sampled/Mixers/DirectSoundUnderrunSilence/
H A DDirectSoundUnderrunSilence.java39 static double frequency = 1000.0; field in class:DirectSoundUnderrunSilence
129 audioData[i] = (byte)(Math.sin(RAD*frequency/sampleRate*i)*127.0);
/openjdk10/jdk/test/javax/sound/sampled/Mixers/DirectSoundRepeatingBuffer/
H A DDirectSoundRepeatingBuffer.java39 static double frequency = 1000.0; field in class:DirectSoundRepeatingBuffer
125 audioData[i] = (byte)(Math.sin(RAD*frequency/sampleRate*i)*127.0);
/openjdk10/jdk/test/javax/sound/sampled/Lines/ClickInPlay/
H A DClickInPlay.java39 static double frequency = 2000.0; field in class:ClickInPlay
123 audioData[i] = (byte)(Math.sin(RAD*frequency/sampleRate*i)*127.0);
/openjdk10/jdk/test/javax/sound/sampled/DirectAudio/
H A DTickAtEndOfPlay.java63 double frequency = 1000.0;
81 buf[i] = (byte)(Math.sin(RAD*frequency/sampleRate*i)*127.0);
/openjdk10/hotspot/src/share/vm/runtime/
H A DcompilationPolicy.hpp145 static const char* shouldInline (const methodHandle& callee, float frequency, int cnt);
/openjdk10/jdk/test/javax/sound/sampled/Lines/
H A DStopStart.java44 static double frequency = 2000.0; field in class:StopStart
195 audioData[i] = (byte)(Math.sin(RAD*frequency/sampleRate*i)*127.0);
/openjdk10/jdk/test/javax/sound/sampled/LinuxBlock/
H A DPlaySine.java44 static double frequency = 2000.0; field in class:PlaySine
224 audioData[i] = (byte)(Math.sin(RAD*frequency/sampleRate*i)*127.0);
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/png/
H A DPNGMetadata.java727 entry.setAttribute("frequency",
1571 int[] frequency = new int[256];
1597 frequency[index] =
1598 getIntAttribute(sPLT_entry, "frequency");
1613 System.arraycopy(frequency, 0,
/openjdk10/hotspot/src/share/vm/c1/
H A Dc1_LIRGenerator.cpp3483 ciMethod *method, int frequency,
3485 assert(frequency == 0 || is_power_of_2(frequency + 1), "Frequency must be x^2 - 1 or 0");
3520 int freq = frequency << InvocationCounter::count_shift;
3482 increment_event_counter_impl(CodeEmitInfo* info, ciMethod *method, int frequency, int bci, bool backedge, bool notify) argument
H A Dc1_LIRGenerator.hpp372 ciMethod *method, int frequency,
/openjdk10/jdk/src/java.desktop/share/native/libsplashscreen/libpng/
H A Dpng.h579 png_uint_16 frequency; member in struct:png_sPLT_entry_struct
587 * is zero-filled. The frequency member always occupies the full 16 bits.
H A Dpngrutil.c1799 pp->frequency = png_get_uint_16(entry_start); entry_start += 2;
1823 pp[i].frequency = png_get_uint_16(entry_start); entry_start += 2;
/openjdk10/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/
H A DSystemModulesPlugin.java908 .filter(s -> Collections.frequency(values, s) > 1)
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DCollections.java5294 * @param c the collection in which to determine the frequency
5296 * @param o the object whose frequency is to be determined
5301 public static int frequency(Collection<?> c, Object o) { method in class:Collections

Completed in 143 milliseconds