Searched refs:LARGE_BUFFER (Results 1 – 1 of 1) sorted by relevance
48 private static final ByteBuffer LARGE_BUFFER = ByteBuffer.wrap(LARGE_DATA); field in MessageDigestBenchmark117 LARGE_BUFFER.position(0); in timeLargeByteBuffer()118 LARGE_BUFFER.limit(LARGE_BUFFER.capacity()); in timeLargeByteBuffer()119 digest.update(LARGE_BUFFER); in timeLargeByteBuffer()139 LARGE_BUFFER.position(LARGE_BUFFER.capacity() / 2); in timeSmallChunkOfLargeByteBuffer()140 LARGE_BUFFER.limit(LARGE_BUFFER.position() + DATA_SIZE); in timeSmallChunkOfLargeByteBuffer()141 digest.update(LARGE_BUFFER); in timeSmallChunkOfLargeByteBuffer()