/external/skia/tools/ |
random_parse_path.cpp | 37 int reps = rand->nextRangeU(0, 2); local 38 for (int rep = 0; rep < reps; ++rep) { 75 int reps = rand->nextRangeU(1, 3); local 76 for (int rep = 0; rep < reps; ++rep) { 81 if (rep < reps - 1 && index < legal.fScalars - 1) {
|
/external/skqp/tools/ |
random_parse_path.cpp | 37 int reps = rand->nextRangeU(0, 2); local 38 for (int rep = 0; rep < reps; ++rep) { 75 int reps = rand->nextRangeU(1, 3); local 76 for (int rep = 0; rep < reps; ++rep) { 81 if (rep < reps - 1 && index < legal.fScalars - 1) {
|
/external/caliper/examples/src/main/java/examples/ |
CopyArrayBenchmark.java | 281 @Benchmark int objects(int reps) { 283 for (int i = 0; i < reps; i++) { 289 @Benchmark int booleans(int reps) { 291 for (int i = 0; i < reps; i++) { 297 @Benchmark int bytes(int reps) { 299 for (int i = 0; i < reps; i++) { 305 @Benchmark int chars(int reps) { 307 for (int i = 0; i < reps; i++) { 313 @Benchmark int doubles(int reps) { 315 for (int i = 0; i < reps; i++) [all...] |
DoubleToStringBenchmark.java | 82 @Benchmark int primitive(int reps) { 85 for (int i = 0; i < reps; i++) { 91 @Benchmark int wrapper(int reps) { 94 for (int i = 0; i < reps; i++) {
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
StringsRepeatBenchmark.java | 39 @Benchmark void oldRepeat(int reps) { 40 for (int i = 0; i < reps; i++) { 47 @Benchmark void mikeRepeat(int reps) { 48 for (int i = 0; i < reps; i++) { 55 @Benchmark void martinRepeat(int reps) { 56 for (int i = 0; i < reps; i++) {
|
Utf8Benchmark.java | 125 @Benchmark void isWellFormed(int reps) { 126 for (int i = 0; i < reps; i++) { 141 @Benchmark void lengthOfString(int reps) { 142 for (int i = 0; i < reps; i++) { 157 @Benchmark void lengthOfStringBuilder(int reps) { 158 for (int i = 0; i < reps; i++) {
|
ToStringHelperBenchmark.java | 44 @Benchmark int toString(int reps) { 46 for (int i = 0; i < reps; i++) {
|
WhitespaceMatcherBenchmark.java | 73 @Benchmark public int countIn(int reps) { 77 for (int i = 0; i < reps; i++) { 83 @Benchmark public int collapseFrom(int reps) { 87 for (int i = 0; i < reps; i++) {
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
BigIntegerMathBenchmark.java | 89 @Benchmark int slowFactorial(int reps) { 91 for (int i = 0; i < reps; i++) { 98 @Benchmark int factorial(int reps) { 100 for (int i = 0; i < reps; i++) { 107 @Benchmark int binomial(int reps) { 109 for (int i = 0; i < reps; i++) {
|
/libcore/benchmarks/src/benchmarks/ |
XmlSerializeBenchmark.java | 95 private void internalTimeSerializer(Constructor<? extends XmlSerializer> ctor, int reps) 97 for (int i = 0; i < reps; i++) { 102 public void timeKxml(int reps) throws Exception { 103 internalTimeSerializer(kxmlConstructor, reps); 106 public void timeFast(int reps) throws Exception { 107 internalTimeSerializer(fastConstructor, reps);
|
BufferedZipFileBenchmark.java | 56 public void timeUnbufferedRead(int reps) throws Exception { 57 for (int i = 0; i < reps; i++) { 69 public void timeBufferedRead(int reps) throws Exception { 70 for (int i = 0; i < reps; i++) {
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
RuntimeWorker.java | 87 abstract long invokeTimeMethod(long reps) throws Exception; 90 * Returns a random number of reps based on a normal distribution around the estimated number of 91 * reps for the timing interval. The distribution used has a standard deviation of one fifth of 92 * the estimated number of reps. 94 @VisibleForTesting static long calculateTargetReps(long reps, long nanos, long targetNanos, 96 double targetReps = (((double) reps) / nanos) * targetNanos; 110 @Override long invokeTimeMethod(long reps) throws Exception { 111 int intReps = (int) reps; 112 if (reps != intReps) { 113 throw new InvalidBenchmarkException("%s.%s takes an int for reps, " [all...] |
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
CaliperAlpnBenchmark.java | 49 public void timeHandshake(int reps) throws Exception { 50 for (int i = 0; i < reps; ++i) {
|
CaliperEngineHandshakeBenchmark.java | 64 public void timeHandshake(int reps) throws Exception { 65 for (int i = 0; i < reps; ++i) {
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
PowerSetBenchmark.java | 42 @Benchmark int iteration(int reps) { 44 for (int i = 0; i < reps; i++) {
|
SetIterationBenchmark.java | 54 @Benchmark int iteration(int reps) { 57 for (int i = 0; i < reps; i++) {
|
MapMakerSingleThreadBenchmark.java | 79 @Benchmark int time(int reps) { 81 for (int i = 0; i < reps; i++) { 84 requests.addAndGet(reps);
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
HashFunctionBenchmark.java | 54 @Benchmark int hashFunction(int reps) { 57 for (int i = 0; i < reps; i++) {
|
/frameworks/base/core/tests/benchmarks/src/android/text/ |
SpannableStringBuilderBenchmark.java | 56 public void timeGetSpans(int reps) throws Exception { 57 for (int i = 0; i < reps; i++) {
|
/libcore/benchmarks/src/benchmarks/regression/ |
KeyPairGeneratorBenchmark.java | 57 public void time(int reps) throws Exception { 58 for (int i = 0; i < reps; ++i) {
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
LZMACoder.java | 33 static final int REPS = 4; 37 final int[] reps = new int[REPS]; field in class:LZMACoder 65 reps[0] = 0; 66 reps[1] = 0; 67 reps[2] = 0; 68 reps[3] = 0;
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
StripedBenchmark.java | 105 @Benchmark long timeConstruct(long reps) { 109 for (long i = 0; i < reps; i++) { 115 @Benchmark long timeGetAt(long reps) { 120 for (long i = 0; i < reps; i++) { 126 @Benchmark long timeBulkGet(long reps) { 130 for (long i = 0; i < reps; i++) {
|
MoreExecutorsDirectExecutorBenchmark.java | 95 @Benchmark int timeUncontendedExecute(int reps) { 98 for (int i = 0; i < reps; i++) { 104 @Benchmark int timeContendedExecute(int reps) { 112 for (int i = 0; i < reps; i++) {
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
LoadingCacheSingleThreadBenchmark.java | 76 @Benchmark int time(int reps) { 78 for (int i = 0; i < reps; i++) { 81 requests.addAndGet(reps);
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
StreamsBenchmark.java | 59 public void timeDirect(int reps) { 60 for (int i = 0; i < reps; i++) { 83 public void timeStreams(int reps) { 84 for (int i = 0; i < reps; i++) {
|