/openjdk7/jdk/test/java/io/ByteArrayInputStream/ |
H A D | Skip.java | 33 private static void dotest(InputStream in, int curpos, long total, argument 38 "\nTotal bytes in the stream = " + total + 60 int total = 1024; 61 ByteArrayInputStream in = new ByteArrayInputStream(new byte[total]); 64 dotest(in, 0, total, 23, 23); 65 dotest(in, 10, total, 23, 23); 68 dotest(in, 0, total, -23, 0); 71 dotest(in, -1, total, 20, 0); 74 dotest(in, 0, total, total [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/ |
H A D | LCount.java | 48 public int captures=0,bubbles=0,defaults, total=0; field in class:LCount
|
/openjdk7/jdk/test/java/io/DataInputStream/ |
H A D | SkipBytes.java | 33 private static void dotest(DataInputStream dis, int pos, int total, argument 37 System.err.println("\n\nTotal bytes in the stream = " + total);
|
/openjdk7/jdk/test/java/nio/channels/Channels/ |
H A D | Basic2.java | 68 if (reader.total() != writer.total()) 80 private volatile int total; field in class:Basic2.Reader 106 total += n; 120 int total() { return total; } method in class:Basic2.Reader 126 private final int total; field in class:Basic2.Writer 131 this.total = 50*1000 + rand.nextInt(50*1000); 136 int rem = total; 172 int total() { retur method in class:Basic2.Writer [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | histogram.cpp | 87 jint total = 0; local 90 total += elements()->at(i)->count(); 92 st->print("%10d ", total);
|
H A D | numberSeq.hpp | 60 virtual double total() const { return (double) _num; }; function in class:AbsSeq 90 bool check_nums(NumberSeq* total, int n, NumberSeq** parts);
|
H A D | numberSeq.cpp | 54 return _sum / total(); 62 double result = _sum_of_squares / total() - x_bar * x_bar; 110 bool NumberSeq::check_nums(NumberSeq *total, int n, NumberSeq **parts) { argument 112 if (parts[i] != NULL && total->num() != parts[i]->num())
|
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/ |
H A D | MapLoops.java | 136 int total; field in class:MapLoops.Runner 166 total += LoopHelpers.compute2(LoopHelpers.compute1(x.intValue()));
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SizeRequirements.java | 168 * Determines the total space necessary to 179 * @return the total space requirements. 183 SizeRequirements total = new SizeRequirements(); 186 total.minimum = (int) Math.min((long) total.minimum + (long) req.minimum, Integer.MAX_VALUE); 187 total.preferred = (int) Math.min((long) total.preferred + (long) req.preferred, Integer.MAX_VALUE); 188 total.maximum = (int) Math.min((long) total.maximum + (long) req.maximum, Integer.MAX_VALUE); 190 return total; 258 calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans) argument 298 calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean forward) argument 416 calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans) argument 455 calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean normal) argument [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | ageTable.cpp | 83 size_t total = 0; local 87 total += sizes[age]; 90 if (total > desired_survivor_size) break; 103 total = 0; 106 total += sizes[age]; 109 gclog_or_tty->print_cr("- age %3d: %10ld bytes, %10ld total", 110 age, sizes[age]*oopSize, total*oopSize);
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/sasl/ |
H A D | SaslInputStream.java | 158 private int readFully(byte[] inBuf, int total) throws IOException { argument 162 System.err.println("readFully " + total + " from " + in); 165 while (total > 0) { 166 count = in.read(inBuf, pos, total); 176 total -= count;
|
H A D | SaslOutputStream.java | 74 public void write(byte[] buffer, int offset, int total) throws IOException { argument 80 System.err.println("Total size: " + total); 83 for (int i = 0; i < total; i += rawSendSize) { 86 count = (total - i) < rawSendSize ? (total - i) : rawSendSize;
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | SocketDispatcher.c | 140 jlong address, jint total) 151 jint len = total - count; 185 } while ((count < total) && (written == MAX_BUFFER_SIZE)); 139 Java_sun_nio_ch_SocketDispatcher_write0(JNIEnv *env, jclass clazz, jobject fdo, jlong address, jint total) argument
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | ClassTab.java | 242 private void updateClassInfo(long total, long loaded) { argument 243 long unloaded = (total - loaded); 245 loaded, unloaded, total));
|
/openjdk7/jdk/test/java/util/concurrent/ConcurrentHashMap/ |
H A D | MapLoops.java | 177 int total; field in class:MapLoops.Runner 202 position = total % key.length; // move from position 214 // total += LoopHelpers.compute1(k.intValue()); 215 total += r;
|
/openjdk7/jdk/test/javax/sound/sampled/DataLine/ |
H A D | DataLine_ArrayIndexOutOfBounds.java | 18 static int total = 0; field in class:DataLine_ArrayIndexOutOfBounds 74 log("PASSED (" + total + " tests)"); 76 log("FAILED (" + failed + " of " + total + " tests)"); 160 total++; 200 total++;
|
/openjdk7/jdk/src/solaris/native/com/sun/management/ |
H A D | MacosxOperatingSystem.c | 53 jlong total = used + load.cpu_ticks[CPU_STATE_IDLE]; local 58 last_total = total; 64 jlong total_delta = total - last_total; 69 last_total = total;
|
H A D | LinuxOperatingSystem.c | 43 uint64_t total; member in struct:ticks 67 * Return the total number of ticks since the system was booted. 70 * nice processes) since system boot. Note that this is the total number 112 pticks->total = userTicks + niceTicks + systemTicks + idleTicks; 176 // get the total 269 tdiff = pticks->total - tmp.total; 299 // Cap total systemload to 1.0
|
H A D | UnixOperatingSystem_md.c | 88 // false = get total swap in bytes 91 long total, avail; local 134 // Sum the entries to get total and free swap 135 total = 0; 138 total += stbl->swt_ent[i].ste_pages; 145 ((jlong)total * page_size); 149 jlong total = 0, avail = 0; 156 total = (jlong)si.totalswap * si.mem_unit; 159 return available ? avail : total;
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | ReferrersTest.java | 412 void showReferrers(ObjectReference objRef, int level, int total, int which) { argument 424 //System.out.println(which + "/" + total + ": " + objRef + " took " + time + " ms");
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | NetClient.java | 128 private int readFully(byte[] inBuf, int total) throws IOException { argument 131 while (total > 0) { 132 count = in.read(inBuf, pos, total); 138 total -= count;
|
/openjdk7/jdk/test/java/io/File/ |
H A D | GetXSpace.java | 109 private long total; field in class:GetXSpace.Space 112 Space(String total, String free, String name) { argument 114 this.total = Long.valueOf(total) * KSIZE; 124 long total() { return total; } method in class:GetXSpace.Space 130 return String.format("%s (%d/%d)", name, free, total); 219 String fmt = " %-4s total= %12d free = %12d usable = %12d%n"; 220 out.format(fmt, "df", s.total(), 0, s.free()); 224 if (ts != s.total()) [all...] |
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | bands.cpp | 223 int total = getInt(); local 226 if (total < 0) { 231 int prev_total = total; 232 total += vs[0].getInt(); 233 if (total < prev_total) { 239 total_memo = total+1; 240 return total; 260 int total = 0; local 262 total += (vs[0].getInt() == tag) ? 1 : 0; 265 return total; [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | inflate.h | 109 unsigned long total; /* protected copy of output count */ member in struct:inflate_state
|
/openjdk7/langtools/test/tools/javac/processing/errors/ |
H A D | TestSuppression.java | 170 int total; field in class:TestSuppression.DiagListener 174 System.err.println((++total) + ": "
|