Searched defs:total (Results 1 - 25 of 58) sorted by relevance

123

/openjdk7/jdk/test/java/io/ByteArrayInputStream/
H A DSkip.java33 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 DLCount.java48 public int captures=0,bubbles=0,defaults, total=0; field in class:LCount
/openjdk7/jdk/test/java/io/DataInputStream/
H A DSkipBytes.java33 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 DBasic2.java68 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 Dhistogram.cpp87 jint total = 0; local
90 total += elements()->at(i)->count();
92 st->print("%10d ", total);
H A DnumberSeq.hpp60 virtual double total() const { return (double) _num; }; function in class:AbsSeq
90 bool check_nums(NumberSeq* total, int n, NumberSeq** parts);
H A DnumberSeq.cpp54 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 DMapLoops.java136 int total; field in class:MapLoops.Runner
166 total += LoopHelpers.compute2(LoopHelpers.compute1(x.intValue()));
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSizeRequirements.java168 * 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 DageTable.cpp83 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 DSaslInputStream.java158 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 DSaslOutputStream.java74 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 DSocketDispatcher.c140 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 DClassTab.java242 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 DMapLoops.java177 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 DDataLine_ArrayIndexOutOfBounds.java18 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 DMacosxOperatingSystem.c53 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 DLinuxOperatingSystem.c43 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 DUnixOperatingSystem_md.c88 // 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 DReferrersTest.java412 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 DNetClient.java128 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 DGetXSpace.java109 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 Dbands.cpp223 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 Dinflate.h109 unsigned long total; /* protected copy of output count */ member in struct:inflate_state
/openjdk7/langtools/test/tools/javac/processing/errors/
H A DTestSuppression.java170 int total; field in class:TestSuppression.DiagListener
174 System.err.println((++total) + ": "

Completed in 144 milliseconds

123