Searched refs:counter (Results 1 - 25 of 373) sorted by relevance

1234567891011>>

/openjdk10/hotspot/test/compiler/codegen/
H A DBitTests.java57 private final long testIntSignedBranch(long counter) { argument
59 counter = increment(counter);
61 return counter;
64 private final long testLongSignedBranch(long counter) { argument
66 counter = increment(counter);
68 return counter;
71 private final long testIntBitBranch(long counter) { argument
73 counter
81 testLongBitBranch(long counter) argument
91 testLongMaskBranch(long counter) argument
98 testIntMaskBranch(long counter) argument
105 testLongMaskBranch(long counter, long mask) argument
112 testIntMaskBranch(long counter, int mask) argument
119 step(long counter) argument
[all...]
/openjdk10/nashorn/test/script/basic/es6/
H A Dcomputed-property-setter.js32 var counter = 0; variable
36 counter++;
41 Assert.assertTrue(counter === 1);
43 Assert.assertTrue(counter === 2);
/openjdk10/jdk/src/java.management/share/classes/sun/management/counter/
H A DByteArrayCounter.java26 package sun.management.counter;
29 * Interface for performance counter wrapping <code>byte[]</code> objects.
H A DLongArrayCounter.java26 package sun.management.counter;
29 * Interface for performance counter wrapping <code>long[]</code> objects.
H A DStringCounter.java26 package sun.management.counter;
29 * Interface for a performance counter wrapping a <code>String</code> object.
H A DLongCounter.java26 package sun.management.counter;
29 * Interface for a performance counter wrapping a
37 * Get the value of this Long performance counter
/openjdk10/hotspot/test/runtime/execstack/
H A DTest.java40 public static int counter = 1; field in class:Test
43 counter = counter * -1;
44 int i = counter;
45 if (counter < 2) counter += Runner();
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/
H A DBakedArrayList.java59 for (int counter = 0, max = data.size(); counter < max; counter++){
60 add(data.get(counter));
71 for (int counter = size() - 1; counter >= 0; counter--) {
72 _hashCode = 31 * _hashCode + get(counter).hashCode();
/openjdk10/hotspot/test/compiler/c2/
H A DTest6985295.java40 long counter = 0;
43 counter++;
44 if (counter > 1000000) {
49 System.out.println("iteration went " + counter + " times (" + i + ")");
/openjdk10/jdk/test/java/lang/instrument/
H A DRedefineMethodAddInvokeTarget_1.java27 public void test(int counter) throws Exception { argument
29 (counter == 0 ? "" : counter));
H A DRedefineMethodAddInvokeTarget.java27 public void test(int counter) throws Exception { argument
29 (counter == 0 ? "" : counter));
H A DRedefineMethodAddInvokeTarget_2.java27 public void test(int counter) throws Exception { argument
29 (counter == 0 ? "" : counter));
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DMap.java83 for (int counter = areaAttributes.size() - 1; counter >= 0;
84 counter--) {
85 if (areaAttributes.elementAt(counter).isEqual(as)){
86 areaAttributes.removeElementAt(counter);
87 if (counter < numAreas) {
88 areas.removeElementAt(counter);
126 for (int counter = 0; counter < numAttributes; counter
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/
H A DCloseableCounter.java27 * values for some kind of counter-like measurement.
33 protected final AccumulatedKey counter; field in class:CloseableCounter
37 CloseableCounter(DebugContext debug, CloseableCounter parent, AccumulatedKey counter) { argument
41 this.counter = counter;
52 * {@link CloseableCounter#counter}.
54 * @param difference since the last invocation of this counter flat
62 * invocation of {@link CloseableCounter#close()} of this flat {@link CloseableCounter#counter}.
64 * @param difference since the last invocation of this counter flat
75 if (!counter
[all...]
/openjdk10/langtools/test/tools/javac/lambda/
H A DNestedCapture04.java37 static int counter = 0; field in class:NestedCapture04.A
46 A.counter++;
48 A.counter++;
51 A.counter++;
57 A.counter++;
61 A.counter++;
64 A.counter++;
70 A.counter++;
74 A.counter++;
79 A.counter
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/stackslotalloc/
H A DStackSlotAllocatorUtil.java41 public static CounterKey allocatedSlots = DebugContext.counter("StackSlotAllocator[allocatedSlots]");
45 public static CounterKey reusedSlots = DebugContext.counter("StackSlotAllocator[reusedSlots]");
50 public static CounterKey allocatedFramesize = DebugContext.counter("StackSlotAllocator[AllocatedFramesize]");
52 public static CounterKey virtualFramesize = DebugContext.counter("StackSlotAllocator[VirtualFramesize]");
/openjdk10/jdk/src/java.management/share/classes/sun/management/
H A DHotspotMemoryMBean.java28 import sun.management.counter.Counter;
/openjdk10/jdk/src/java.management/share/classes/sun/management/counter/perf/
H A DInstrumentationException.java26 package sun.management.counter.perf;
/openjdk10/jdk/test/javax/swing/JSlider/6918861/
H A Dbug6918861.java49 if (ui.counter != 111) {
55 if (ui.counter != 0) {
63 private int counter; field in class:bug6918861.HackedSynthSliderUI
72 counter += 1;
78 counter -= 1;
84 counter += 10;
90 counter -= 10;
96 counter += 100;
102 counter -= 100;
/openjdk10/jdk/test/java/text/Format/common/
H A DFormatIteratorTest.java155 for (int counter = 0; counter < test.size(); counter++) {
156 logln("creating: " + (counter / 2));
159 create((Map)test.get(counter));
161 logln("verifying: " + (counter / 2));
162 verify(iterator, (Map)test.get(++counter));
186 for (int counter = 0; counter < length; counter
[all...]
/openjdk10/jdk/src/demo/share/jfc/SampleTree/
H A DDynamicTreeNode.java117 for (int counter = 0, maxCounter = NAMES.length;
118 counter < maxCounter; counter++) {
120 fonts[counter] = new Font(fontNames[counter], 0, fontSize);
122 fonts[counter] = null;
169 for (int counter = 0; counter < DynamicTreeNode.DEFAULT_CHILDREN_COUNT;
170 counter++) {
180 if (counter
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DActionMap.java214 int counter;
216 for (counter = keys.length - 1; counter >= 0; counter--) {
217 keyMap.put(keys[counter], keys[counter]);
219 for (counter = pKeys.length - 1; counter >= 0; counter--) {
220 keyMap.put(pKeys[counter], pKey
[all...]
H A DInputMap.java217 int counter;
219 for (counter = keys.length - 1; counter >= 0; counter--) {
220 keyMap.put(keys[counter], keys[counter]);
222 for (counter = pKeys.length - 1; counter >= 0; counter--) {
223 keyMap.put(pKeys[counter], pKey
[all...]
/openjdk10/hotspot/test/testlibrary/jittester/src/jdk/test/lib/jittester/factories/
H A DCounterManipulatorFactory.java35 private final LocalVariable counter; field in class:CounterManipulatorFactory
37 CounterManipulatorFactory(LocalVariable counter) { argument
38 this.counter = counter;
44 IRNode manipulator = new UnaryOperator(OperatorKind.POST_DEC, counter);
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DThreadLocalRandom8Test.java98 LongAdder counter = new LongAdder();
102 counter.reset();
103 r.ints(size).parallel().forEach(x -> counter.increment());
104 assertEquals(size, counter.sum());
113 LongAdder counter = new LongAdder();
117 counter.reset();
118 r.longs(size).parallel().forEach(x -> counter.increment());
119 assertEquals(size, counter.sum());
128 LongAdder counter = new LongAdder();
132 counter
[all...]

Completed in 215 milliseconds

1234567891011>>