Searched refs:DATA_SIZE (Results 1 – 3 of 3) 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 = 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++) {