Home
last modified time | relevance | path

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

/libcore/benchmarks/src/benchmarks/regression/
DMessageDigestBenchmark.java24 private static final int DATA_SIZE = 8192; field in MessageDigestBenchmark
25 private static final byte[] DATA = new byte[DATA_SIZE];
27 for (int i = 0; i < DATA_SIZE; i++) {
44 digest.update(DATA, 0, DATA_SIZE); in time()
DDigestBenchmark.java25 private static final int DATA_SIZE = 8192; field in DigestBenchmark
26 private static final byte[] DATA = new byte[DATA_SIZE];
28 for (int i = 0; i < DATA_SIZE; i++) {
62 digest.update(DATA, 0, DATA_SIZE); in time()
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()