Searched defs:counter (Results 26 - 50 of 84) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/management/counter/perf/
H A DPerfByteArrayCounter.java26 package sun.management.counter.perf;
28 import sun.management.counter.*;
H A DPerfLongArrayCounter.java26 package sun.management.counter.perf;
28 import sun.management.counter.*;
H A DPerfStringCounter.java26 package sun.management.counter.perf;
28 import sun.management.counter.*;
H A DPerfDataType.java26 package sun.management.counter.perf;
H A DPerfInstrumentation.java26 package sun.management.counter.perf;
28 import sun.management.counter.*;
105 Counter counter = null;
109 counter = new PerfStringCounter(entry.name(),
115 counter = new PerfByteArrayCounter(entry.name(),
128 counter = new PerfLongCounter(entry.name(),
134 counter = new PerfLongArrayCounter(entry.name(),
147 return counter;
177 // apply pattern to counter name
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/tasks/
H A DThreadService.java156 super(threadGroup, "ThreadService-"+counter++);
242 private static long counter = 0; field in class:ThreadService
/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/
H A DCNBindingEnumeration.java52 private int counter; // pointer in _bindingList field in class:CNBindingEnumeration
93 counter = 0;
102 if (more && counter >= _bindingList.value.length) {
105 if (more && counter < _bindingList.value.length) {
106 org.omg.CosNaming.Binding bndg = _bindingList.value[counter];
107 counter++;
124 return more ? (counter < _bindingList.value.length || getMore()) : false;
189 counter = 0; // reset
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/
H A DMemberSummaryWriter.java71 * @param counter the counter for determing style for the table row
74 Tag[] firstSentenceTags, Content tableTree, int counter);
73 addMemberSummary(ClassDoc classDoc, ProgramElementDoc member, Tag[] firstSentenceTags, Content tableTree, int counter) argument
/openjdk7/jdk/test/javax/imageio/stream/StreamCloserLeak/test/
H A DMain.java202 static int counter = 0; field in class:Main
207 final String uniqClassName = "testapp/Uniq" + counter;
208 final boolean saveStrongRef = forgetSomeStreams ? (counter % 5 == 4) : false;
249 "AppThread" + counter++);
/openjdk7/jdk/test/javax/management/monitor/
H A DCounterMonitorThresholdTest.java96 int counter[],
142 // Play with counter
144 for (int i = 0; i < counter.length; i++) {
145 mbean.setCounter(counter[i]);
95 runTest(int offset, int counter[], int derivedGauge[], int threshold[]) argument
/openjdk7/jdk/test/javax/management/proxy/
H A DNotificationEmitterProxy.java67 final private Counter counter; field in class:NotificationEmitterProxy.CounterListener
68 public CounterListener(Counter counter) { argument
69 this.counter = counter;
75 counter.count();
93 final Counter counter = new Counter();
94 final CounterListener listener = new CounterListener(counter);
150 final int reg = counter.waitfor(expected,3000);
168 final int unreg = counter.waitfor(expected+reg,3000);
/openjdk7/jdk/src/share/classes/sun/management/counter/
H A DAbstractCounter.java26 package sun.management.counter;
84 * Return true if this performance counter is a vector
102 * return the flags associated with the counter.
/openjdk7/jdk/src/share/classes/sun/misc/
H A DGC.java176 /* Instance counter, used to generate unique identifers */
177 private static long counter = 0; field in class:GC.LatencyRequest
213 this.id = ++counter;
/openjdk7/langtools/test/tools/javac/util/context/
H A DT7021650.java126 static void preRegister(Context context, final Counter counter) { argument
129 counter.count++;
148 static void preRegister(Context context, final Counter counter) { argument
151 counter.count++;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DNamespaceSupport.java397 private int counter = 0; field in class:NamespaceSupport.IteratorPrefixes
412 return (counter < size);
419 if (counter< size){
420 return fPrefixes[counter++];
443 private int counter = 0; field in class:NamespaceSupport.Prefixes
458 return (counter< size);
465 if (counter< size){
466 return fPrefixes[counter++];
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/pcosnaming/
H A DServantManagerImpl.java72 private int counter; field in class:ServantManagerImpl
80 // initialize the counter database
208 counterFileName = "counter";
211 counter = new Integer(rootCounter);
223 counter = (Integer) ois.readObject();
235 oos.writeObject(counter);
245 int counterVal = counter.intValue();
246 counter = new Integer(++counterVal);
254 private Integer counter; field in class:CounterDB
256 private static String counterFileName = "counter";
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/toa/
H A DTransientObjectManager.java75 int counter = ORBUtility.bytesToInt(transientKey,4);
78 dprint( "lookupServant called with index=" + index + ", counter=" + counter ) ;
80 if (elementArray[index].counter == counter &&
96 int counter = ORBUtility.bytesToInt(transientKey,4);
99 dprint( "lookupServantData called with index=" + index + ", counter=" + counter ) ;
101 if (elementArray[index].counter == counter
159 int counter=0; field in class:Element
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orbutil/fsm/
H A DFSMTest.java145 public int counter = 0 ; field in class:MyFSM
163 return Guard.Result.convert( mfsm.counter < 3 ) ;
/openjdk7/jdk/src/share/classes/java/security/
H A DSecureRandom.java580 private long counter; field in class:SecureRandom
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DCounterMode.java31 * This class represents ciphers in counter (CTR) mode.
44 // current counter value
45 private final byte[] counter; field in class:CounterMode
47 // encrypted bytes of the previous counter value
60 counter = new byte[blockSize];
79 System.arraycopy(iv, 0, counter, 0, blockSize);
91 System.arraycopy(counter, 0, counterSave, 0, blockSize);
101 System.arraycopy(counterSave, 0, counter, 0, blockSize);
185 * Increment the counter value.
197 * keystream generated by encrypting the counter value
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dtimer.cpp42 double TimeHelper::counter_to_seconds(jlong counter) { argument
43 double count = (double) counter;
45 return counter/freq;
79 jlong counter = _counter + os::elapsed_counter() - _start_counter; local
80 return counter;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/
H A DTimeStatisticImpl.java63 public TimeStatisticImpl(long counter, long maximumTime, long minimumTime, argument
67 count = counter;
68 initCount = counter;
/openjdk7/jdk/test/java/awt/Modal/WsDisabledStyle/CloseBlocker/
H A DCloseBlocker.java77 private static int counter = 0; field in class:CloseBlocker
86 Sysout.print(" * test #" + (++counter) + " is running ... ");
/openjdk7/jdk/test/java/awt/Modal/WsDisabledStyle/OverBlocker/
H A DOverBlocker.java75 private static int counter = 0; field in class:OverBlocker
84 Sysout.print(" * test #" + (++counter) + " is running ... ");
/openjdk7/jdk/test/java/rmi/activation/log/
H A DLogTest.java47 private static Counter counter = new Counter(); field in class:LogTest
56 log = new ReliableLog(".", new TestLogHandler(counter), false);
77 counter.increment();
78 log.update(counter);
92 ((counter.value() + 1 == expectedCount) ? "" : "not ") +
94 counter.increment();
95 log.update(counter);
110 counter = (Counter) log.recover();
111 System.err.println("recovered counter value: " + counter
[all...]

Completed in 88 milliseconds

1234