Lines Matching defs:len
37 static long time(Adler32 adler32, byte[] data, int iters, int len) {
41 adler32.update(data, 0, len);
44 System.out.printf("%,12d", t / len);
73 static long time(CRC32 crc32, byte[] data, int iters, int len) {
77 crc32.update(data, 0, len);
80 System.out.printf("%,12d", t / len);
110 int len = 1024 * 32;
117 byte[] data = new byte[len];
123 time(adler32, data, iters, len);
125 buf = ByteBuffer.allocateDirect(len);
126 buf.put(data, 0, len);
131 System.out.println("Length byte[](ns/len) ByteBuffer(direct) ByteBuffer");
165 time(crc32, data, iters, len);
167 buf = ByteBuffer.allocateDirect(len);
168 buf.put(data, 0, len);
174 System.out.println("Length byte[](ns/len) ByteBuffer(direct) ByteBuffer");