Searched defs:sbuf (Results 1 - 25 of 39) sorted by relevance

12

/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DCons.java56 StreamBuffer sbuf = new StreamBuffer();
58 doReps(sbuf, dummy, 1); // warmup
61 doReps(sbuf, dummy, reps);
68 void doReps(StreamBuffer sbuf, Dummy dummy, int reps) throws Exception { argument
69 OutputStream out = sbuf.getOutputStream();
70 InputStream in = sbuf.getInputStream();
72 sbuf.reset();
H A DBooleanArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, boolean[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, boolean[][] arrays, int nbatches) argument
H A DBooleans.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DByteArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, byte[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, byte[][] arrays, int nbatches) argument
H A DBytes.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DCharArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, char[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, char[][] arrays, int nbatches) argument
H A DChars.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DDoubleArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, double[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, double[][] arrays, int nbatches) argument
H A DDoubles.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DFloatArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, float[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, float[][] arrays, int nbatches) argument
H A DFloats.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DIntArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, int[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int[][] arrays, int nbatches) argument
H A DInts.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DLongArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, long[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, long[][] arrays, int nbatches) argument
H A DLongs.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DRepeatObjs.java55 StreamBuffer sbuf = new StreamBuffer();
57 new ObjectOutputStream(sbuf.getOutputStream());
59 new ObjectInputStream(sbuf.getInputStream());
61 doReps(oout, oin, sbuf, objs, 1); // warmup
64 doReps(oout, oin, sbuf, objs, nbatches);
82 StreamBuffer sbuf, Node[] objs, int nbatches)
87 sbuf.reset();
81 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] objs, int nbatches) argument
H A DShortArrays.java51 StreamBuffer sbuf = new StreamBuffer();
53 new ObjectOutputStream(sbuf.getOutputStream());
55 new ObjectInputStream(sbuf.getInputStream());
57 doReps(oout, oin, sbuf, arrays, 1); // warmup
60 doReps(oout, oin, sbuf, arrays, nbatches);
69 StreamBuffer sbuf, short[][] arrays, int nbatches)
74 sbuf.reset();
68 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, short[][] arrays, int nbatches) argument
H A DShorts.java49 StreamBuffer sbuf = new StreamBuffer();
51 new ObjectOutputStream(sbuf.getOutputStream());
53 new ObjectInputStream(sbuf.getInputStream());
55 doReps(oout, oin, sbuf, 1, ncycles); // warmup
58 doReps(oout, oin, sbuf, nbatches, ncycles);
67 StreamBuffer sbuf, int nbatches, int ncycles)
71 sbuf.reset();
66 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, int nbatches, int ncycles) argument
H A DStrings.java52 StreamBuffer sbuf = new StreamBuffer();
54 new ObjectOutputStream(sbuf.getOutputStream());
56 new ObjectInputStream(sbuf.getInputStream());
58 doReps(oout, oin, sbuf, strs, 1, ncycles); // warmup
61 doReps(oout, oin, sbuf, strs, nbatches, ncycles);
86 StreamBuffer sbuf, String[] strs, int nbatches, int ncycles)
90 sbuf.reset();
85 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, String[] strs, int nbatches, int ncycles) argument
H A DProxyArrays.java68 StreamBuffer sbuf = new StreamBuffer();
70 new ObjectOutputStream(sbuf.getOutputStream());
72 new ObjectInputStream(sbuf.getInputStream());
74 doReps(oout, oin, sbuf, arrays, 1); // warmup
77 doReps(oout, oin, sbuf, arrays, nbatches);
105 StreamBuffer sbuf, Proxy[][] arrays, int nbatches)
110 sbuf.reset();
104 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Proxy[][] arrays, int nbatches) argument
H A DSmallObjTrees.java64 StreamBuffer sbuf = new StreamBuffer();
66 new ObjectOutputStream(sbuf.getOutputStream());
68 new ObjectInputStream(sbuf.getInputStream());
70 doReps(oout, oin, sbuf, trees, 1); // warmup
73 doReps(oout, oin, sbuf, trees, nbatches);
93 StreamBuffer sbuf, Node[] trees, int nbatches)
98 sbuf.reset();
92 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument
H A DObjArrays.java73 StreamBuffer sbuf = new StreamBuffer();
75 new ObjectOutputStream(sbuf.getOutputStream());
77 new ObjectInputStream(sbuf.getInputStream());
79 doReps(oout, oin, sbuf, arrays, 1); // warmup
82 doReps(oout, oin, sbuf, arrays, nbatches);
104 StreamBuffer sbuf, Node[][] arrays, int nbatches)
109 sbuf.reset();
103 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[][] arrays, int nbatches) argument
H A DObjTrees.java73 StreamBuffer sbuf = new StreamBuffer();
75 new ObjectOutputStream(sbuf.getOutputStream());
77 new ObjectInputStream(sbuf.getInputStream());
79 doReps(oout, oin, sbuf, trees, 1); // warmup
82 doReps(oout, oin, sbuf, trees, nbatches);
102 StreamBuffer sbuf, Node[] trees, int nbatches)
107 sbuf.reset();
101 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument
H A DProxyClassDesc.java64 StreamBuffer sbuf = new StreamBuffer();
66 new ObjectOutputStream(sbuf.getOutputStream());
68 new ObjectInputStream(sbuf.getInputStream());
71 doReps(oout, oin, sbuf, descs, 1); // warmup
74 doReps(oout, oin, sbuf, descs, ncycles);
111 StreamBuffer sbuf, ObjectStreamClass[] descs, int ncycles)
116 sbuf.reset();
110 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, ObjectStreamClass[] descs, int ncycles) argument
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/
H A DInstructionAssembler.java303 StringBuffer sbuf = new StringBuffer(insLocs[insCount]);
305 //System.out.println("output id="+id+" loc="+insLocs[id]+" len="+(insLocs[id+1]-insLocs[id])+" #sbuf="+sbuf.length());
306 assert (sbuf.length() == insLocs[id]);
315 sbuf.append((char) op);
319 putInt(sbuf, nextpc - pc, -2);
320 assert (sbuf.length() == pc + GOTO_LEN);
321 sbuf.append((char) GOTO_W);
322 putInt(sbuf, target - (pc + GOTO_LEN), 4);
327 sbuf
447 putInt(StringBuffer sbuf, int x, int len) argument
[all...]

Completed in 75 milliseconds

12