Searched refs:DATA_SIZE (Results 1 – 5 of 5) sorted by relevance
25 private static final int DATA_SIZE = 8192; field in MessageDigestBenchmark26 private static final byte[] DATA = new byte[DATA_SIZE];28 for (int i = 0; i < DATA_SIZE; i++) {42 private static final ByteBuffer SMALL_DIRECT_BUFFER = ByteBuffer.allocateDirect(DATA_SIZE);68 digest.update(DATA, 0, DATA_SIZE); in time()86 digest.update(LARGE_DATA, LARGE_DATA_SIZE / 2, DATA_SIZE); in timeSmallChunkOfLargeArray()140 LARGE_BUFFER.limit(LARGE_BUFFER.position() + DATA_SIZE); in timeSmallChunkOfLargeByteBuffer()151 LARGE_DIRECT_BUFFER.limit(LARGE_DIRECT_BUFFER.position() + DATA_SIZE); in timeSmallChunkOfLargeDirectByteBuffer()
34 private static final int DATA_SIZE = 1024 * 1024; field in CipherInputStreamBenchmark35 private static final byte[] DATA = new byte[DATA_SIZE];41 for (int i = 0; i < DATA_SIZE; i++) {
34 private static final int DATA_SIZE = 8192; field in SignatureBenchmark35 private static final byte[] DATA = new byte[DATA_SIZE];37 for (int i = 0; i < DATA_SIZE; i++) {
35 private static final int DATA_SIZE = 8192; field in CipherBenchmark36 private static final byte[] DATA = new byte[DATA_SIZE];43 for (int i = 0; i < DATA_SIZE; i++) {
128 final int DATA_SIZE = 16384; in testZipDeflateInflateStress() local132 byte[] input = new byte[DATA_SIZE]; in testZipDeflateInflateStress()154 byte[] zipped = new byte[2 * DATA_SIZE]; // Just to make sure... in testZipDeflateInflateStress()162 byte[] output = new byte[DATA_SIZE]; in testZipDeflateInflateStress()