| /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/hotspot/test/compiler/6796786/ |
| H A D | Test6796786.java | 38 int total = 0; 41 total++; 44 if (total != 100000) {
|
| /openjdk7/jdk/test/java/util/Random/ |
| H A D | NextIntPowerOfTwoMod.java | 36 int total = 0; 38 total += r.nextInt(16); 39 if (total != 7639)
|
| /openjdk7/hotspot/test/compiler/6909839/ |
| H A D | Test6909839.java | 102 int total = 0; 105 total += ((v >= 1 && v < 3) ? 1 : 2); 107 System.out.println(total); 111 int total = 0; 114 total += (v > 1.0) ? 1 : 2; 116 System.out.println(total); 120 int total = 0; 123 total += (v > 1.0f) ? 1 : 2; 125 System.out.println(total); 129 int total [all...] |
| /openjdk7/jdk/src/share/classes/java/util/zip/ |
| H A D | CheckedInputStream.java | 97 long total = 0; 98 while (total < n) { 99 long len = n - total; 102 return total; 104 total += len; 106 return total;
|
| H A D | DeflaterInputStream.java | 234 int total = (int)Math.min(n, Integer.MAX_VALUE); 236 while (total > 0) { 238 int len = read(rbuf, 0, (total <= rbuf.length ? total : rbuf.length)); 244 total -= len;
|
| /openjdk7/hotspot/test/compiler/6659207/ |
| H A D | Test.java | 55 int total = 0; 57 total += test(10); 59 System.out.println(total);
|
| /openjdk7/hotspot/test/compiler/6859338/ |
| H A D | Test6859338.java | 36 int total = 0; 43 total += o[j].hashCode();
|
| /openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ |
| H A D | SAJDIClassLoader.java | 132 int total = 0; 134 while ((len = in.read(b, total, b.length - total)) != -1) { 135 total += len; 136 if (total >= b.length) { 137 byte[] tmp = new byte[total * 2]; 138 System.arraycopy(b, 0, tmp, 0, total); 143 if (total != b.length) { 144 byte[] tmp = new byte[total]; 145 System.arraycopy(b, 0, tmp, 0, total); [all...] |
| /openjdk7/jdk/test/sun/management/HotspotClassLoadingMBean/ |
| H A D | GetClassLoadingTime.java | 124 for (int total = 0; total < data.length; ) { 125 total += in.read(data, total, data.length - total);
|
| /openjdk7/jdk/test/java/io/BufferedInputStream/ |
| H A D | CountUpdate.java | 47 int total = 0; 54 total += n; 64 if (total>7)
|
| /openjdk7/jdk/test/java/net/URLConnection/ |
| H A D | ZeroContentLength.java | 94 int c, total=0; 98 total++; 101 total++; 104 total++; 107 total++; 123 "(" + total + " bytes)."); 125 if (total == 0) { 229 * content-length header matches the total received on 240 int total = 0; 244 if (n > 0) total [all...] |
| /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/jdk/src/share/classes/com/sun/jndi/ldap/sasl/ |
| 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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
| H A D | ReadAllStream.java | 166 long total = 0; 170 total += read; 175 if (total > inMemory) 182 int total = 0; 183 while(total < buf.length && (read=in.read(buf, total, buf.length-total)) != -1) { 184 total += read; 186 return total;
|
| /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/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/io/InputStream/ |
| H A D | Skip.java | 36 long total , long toskip , long expected) 43 "\nTotal bytes in the Stream = " + total + 95 * long total = (long)Integer.MAX_VALUE + (long)10; 96 * long toskip = total - (long)6; 97 * in = new MyInputStream(total); 98 * dotest(in, 0, total, toskip, toskip);
|
| /openjdk7/jdk/test/java/io/LineNumberInputStream/ |
| H A D | Skip.java | 36 long total , long toskip , long expected) 43 "\nTotal bytes in the Stream = " + total +
|
| /openjdk7/jdk/src/share/sample/nio/file/ |
| H A D | DiskUsage.java | 55 long total = store.getTotalSpace() / K; 64 System.out.format("%-20s %12d %12d %12d\n", s, total, used, avail);
|
| /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/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/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/ |
| H A D | XJCListener.java | 75 public void generatedFile(String fileName, int current, int total ) {
|
| /openjdk7/jdk/src/share/classes/sun/security/krb5/internal/rcache/ |
| H A D | ReplayCache.java | 136 Object[] total = toArray(); 137 for (int i = 0; i < total.length; i++) { 138 System.out.println("object " + i + ": " + ((AuthTime)total[i]).kerberosTime + "/" 139 + ((AuthTime)total[i]).cusec);
|
| /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);
|