Searched defs:count (Results 26 - 50 of 617) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/lang/ThreadGroup/
H A DSuspend.java33 private static volatile int count = 0; field in class:Suspend
47 count++;
66 count = 0;
69 // Increment of the count indicates that the second thread is still running
70 boolean failed = (count > 1);
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DBarrier.java32 private int count; field in class:Barrier
35 public Barrier(int count) { argument
36 if (count <= 0) {
39 this.count = count;
42 public void set(int count) { argument
46 this.count = count;
53 while (count > 0) {
66 count
[all...]
/openjdk7/jdk/test/java/net/MulticastSocket/
H A DTest.java35 static int count = 0; field in class:Test
43 count++;
45 System.out.println("Test " + count + ": " + ia);
195 System.out.println(count + " test(s) executed. " + failures +
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DSelectorLimit.java47 volatile int count = 0; field in class:SelectorLimit.Listener
58 count++;
92 if (lth.count >= MIN_KEYS)
96 log.println(lth.count + " connections accepted");
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DAbstractCallback.java33 * an integer count parameter. This parameter indicates the number of times
43 int count; field in class:AbstractCallback.Request
47 count = 0;
67 request (msg, req.count++);
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_stack.h48 int count; member in struct:Stack
/openjdk7/jdk/src/share/native/common/
H A Djio.c36 jio_vsnprintf(char *str, size_t count, const char *fmt, va_list args);
39 jio_snprintf(char *str, size_t count, const char *fmt, ...) argument
45 len = jio_vsnprintf(str, count, fmt, args);
/openjdk7/jdk/test/java/rmi/testlibrary/
H A DStreamPipe.java38 private static int count = 0; field in class:StreamPipe
57 name = "java.rmi.testlibrary.StreamPipe-" + (count++);
/openjdk7/jdk/test/java/util/Locale/
H A DBug6989440.java58 private static int count; field in class:Bug6989440.TestThread
65 int which = count++ % 3;
/openjdk7/jdk/test/javax/management/modelmbean/
H A DUnserializableTargetObjectTest.java61 int count; field in class:UnserializableTargetObjectTest.Resource
69 return count;
72 public void setCount(int count) { argument
73 this.count = count;
139 if (resource2.count != 53)
140 throw new Exception("count: " + resource2.count);
143 throw new Exception("got count: " + got);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4177735.java53 if (test.count != 0) {
54 throw new Error("JColorChooser leaves " + test.count + " threads running");
82 private int count; field in class:Test4177735
87 int count = group.enumerate(threads, false);
88 for (int i = 0; i < count; i++) {
91 this.count++;
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/simple/
H A DDefaultCaching.java84 boolean shouldSucceed, int count) {
87 if (got != count) {
88 throw new RuntimeException ("lookups exp/got: " + count+"/"+got);
83 test(String host, String address, boolean shouldSucceed, int count) argument
/openjdk7/jdk/test/sun/net/www/httptest/
H A DAbstractCallback.java33 * an integer count parameter. This parameter indicates the number of times
43 int count; field in class:AbstractCallback.Request
47 count = 0;
67 request (msg, req.count++);
/openjdk7/langtools/test/tools/javac/api/6412656/
H A DT6412656.java43 int count = 0; field in class:T6412656
50 if (count == 0)
67 test.count++;
/openjdk7/langtools/test/tools/javac/processing/6348499/
H A DT6348499.java70 System.err.println(dl.count + " diagnostics; " + s.length() + " characters");
71 if (dl.count != 1 || s.length() != 0)
78 count++;
81 public int count; field in class:T6348499.MyDiagListener
/openjdk7/jaxp/src/org/w3c/dom/
H A DCharacterData.java98 * @param count The number of 16-bit units to extract.
100 * <code>count</code> exceeds the <code>length</code>, then all 16-bit
105 * <code>data</code>, or if the specified <code>count</code> is
111 int count)
143 * @param count The number of 16-bit units to delete. If the sum of
144 * <code>offset</code> and <code>count</code> exceeds
150 * <code>data</code>, or if the specified <code>count</code> is
155 int count)
162 * @param count The number of 16-bit units to replace. If the sum of
163 * <code>offset</code> and <code>count</cod
110 substringData(int offset, int count) argument
154 deleteData(int offset, int count) argument
177 replaceData(int offset, int count, String arg) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/
H A DExceptionListImpl.java53 public int count() method in class:ExceptionListImpl
/openjdk7/corba/src/share/classes/org/omg/CORBA/
H A DNVList.java80 * a method for getting the count of <code>NamedValue</code> objects in
103 public abstract int count(); method in class:NVList
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DFreeList.java65 public long count() { method in class:FreeList
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DCounterData.java55 int count() { method in class:CounterData
69 st.println("count(" + count() + ")");
/openjdk7/jdk/src/share/classes/sun/font/
H A DType1GlyphMapper.java102 public void charsToGlyphs(int count, char[] unicodes, int[] glyphs) { argument
107 for (int i=0; i<count; i++) {
111 code <= HI_SURROGATE_END && i < count - 1) {
128 public void charsToGlyphs(int count, int[] unicodes, int[] glyphs) { argument
133 for (int i=0; i<count; i++) {
144 public boolean charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) { argument
146 for (int i=0; i<count; i++) {
150 code <= HI_SURROGATE_END && i < count - 1) {
/openjdk7/jdk/src/share/classes/java/io/
H A DBufferedOutputStream.java47 * <tt>buf[0]</tt> through <tt>buf[count-1]</tt> contain valid
50 protected int count; field in class:BufferedOutputStream
81 if (count > 0) {
82 out.write(buf, 0, count);
83 count = 0;
94 if (count >= buf.length) {
97 buf[count++] = (byte)b;
125 if (len > buf.length - count) {
128 System.arraycopy(b, off, buf, count, len);
129 count
[all...]
H A DStringBufferInputStream.java65 protected int count; field in class:StringBufferInputStream
74 count = s.length();
92 return (pos < count) ? (buffer.charAt(pos++) & 0xFF) : -1;
118 if (pos >= count) {
121 if (pos + len > count) {
122 len = count - pos;
147 if (n > count - pos) {
148 n = count - pos;
158 * @return the value of <code>count&nbsp;-&nbsp;pos</code>, which is the
162 return count
[all...]
/openjdk7/jdk/src/share/classes/java/lang/management/
H A DMemoryNotificationInfo.java45 * For usage threshold notifications, this count will be the
47 * count}. For collection threshold notifications,
48 * this count will be the
50 * collection usage threshold count}.
110 private final long count; field in class:MemoryNotificationInfo
146 * @param count The threshold crossing count.
150 long count) {
160 this.count = count;
148 MemoryNotificationInfo(String poolName, MemoryUsage usage, long count) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DWatchEvent.java33 * #count() count} to indicate the number of times that the event has been
91 * Returns the event count. If the event count is greater than {@code 1}
94 * @return the event count
96 int count(); method in interface:WatchEvent

Completed in 78 milliseconds

1234567891011>>