Home
last modified time | relevance | path

Searched refs:DATA_SIZE (Results 1 – 5 of 5) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DMessageDigestBenchmark.java25 private static final int DATA_SIZE = 8192; field in MessageDigestBenchmark
26 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()
DCipherInputStreamBenchmark.java34 private static final int DATA_SIZE = 1024 * 1024; field in CipherInputStreamBenchmark
35 private static final byte[] DATA = new byte[DATA_SIZE];
41 for (int i = 0; i < DATA_SIZE; i++) {
DSignatureBenchmark.java34 private static final int DATA_SIZE = 8192; field in SignatureBenchmark
35 private static final byte[] DATA = new byte[DATA_SIZE];
37 for (int i = 0; i < DATA_SIZE; i++) {
DCipherBenchmark.java35 private static final int DATA_SIZE = 8192; field in CipherBenchmark
36 private static final byte[] DATA = new byte[DATA_SIZE];
43 for (int i = 0; i < DATA_SIZE; i++) {
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStressTest.java128 final int DATA_SIZE = 16384; in testZipDeflateInflateStress() local
132 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()