Home
last modified time | relevance | path

Searched refs:iterations (Results 1 – 25 of 512) sorted by relevance

12345678910>>...21

/third_party/lz4/examples/
Dcompress_functions.c112 const int iterations, in bench() argument
138 for (int i=1; i<=iterations; i++) in bench()
151 for (int i=1; i<=iterations; i++) in bench()
164 for (int i=1; i<=iterations; i++) in bench()
197 for (int i=1; i<=iterations; i++) in bench()
210 for (int i=1; i<=iterations; i++) in bench()
238 int iterations = 1000000; in main() local
240 iterations = atoi(argv[1]); in main()
241 if (iterations < 1) in main()
321 …_default = bench(known_good_dst, ID__LZ4_COMPRESS_DEFAULT, iterations, src, … in main()
[all …]
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
Dpbkdf2.js32 … Object.keys(derivations[passwordSize][saltSize][hashName]).forEach(function(iterations) { argument
33 …ordSize + " password, " + saltSize + " salt, " + hashName + ", with " + iterations + " iterations";
37 …Bits({name: "PBKDF2", salt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, ba… property
39 …equalBuffers(derivation, derivations[passwordSize][saltSize][hashName][iterations]), "Derived corr…
52 …ordSize + " password, " + saltSize + " salt, " + hashName + ", with " + iterations + " iterations";
56 …eKey({name: "PBKDF2", salt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, ba… property
61 …rue(equalBuffers(buffer, derivations[passwordSize][saltSize][hashName][iterations].slice(0, derive…
76 …veKey({name: "PBKDF2", salt: salts[saltSize], hash: badHash, iterations: parseInt(iterations)}, ba… property
86 …eKey({name: "PBKDF2", salt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, no… property
96 …eKey({name: "PBKDF2", salt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, wr… property
[all …]
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DTimer.java21 private int iterations; field in Timer
47 return iterations; in getIterations()
73 public String toString(long iterations) { in toString() argument
74 return nf.format(getDuration()/iterations) + "\tns"; in toString()
77 public String toString(long iterations, long other) { in toString() argument
78 …return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D… in toString()
105 iterations = 1; in timeIterations()
110 loop.time(iterations); in timeIterations()
113 duration /= iterations; in timeIterations()
116 duration /= iterations; in timeIterations()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
DTimer.java24 private int iterations; field in Timer
50 return iterations; in getIterations()
76 public String toString(long iterations) { in toString() argument
77 return nf.format(getDuration()/iterations) + "\tns"; in toString()
80 public String toString(long iterations, long other) { in toString() argument
81 …return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D… in toString()
108 iterations = 1; in timeIterations()
113 loop.time(iterations); in timeIterations()
116 duration /= iterations; in timeIterations()
119 duration /= iterations; in timeIterations()
[all …]
/third_party/musl/Benchmark/musl/
Dlibc_ctype.cpp34 state.SetItemsProcessed(state.iterations()); in Bm_function_Tolower_a()
43 state.SetItemsProcessed(state.iterations()); in Bm_function_Tolower_A()
53 state.SetItemsProcessed(state.iterations()); in Bm_function_Tolower_all_ascii()
61 state.SetItemsProcessed(state.iterations()); in Bm_function_Isspace_space()
71 state.SetItemsProcessed(state.iterations()); in Bm_function_Isspace_all_ascii()
79 state.SetItemsProcessed(state.iterations()); in Bm_function_Isalnum_a()
87 state.SetItemsProcessed(state.iterations()); in Bm_function_Isalnum_A()
95 state.SetItemsProcessed(state.iterations()); in Bm_function_Isalnum_0()
105 state.SetItemsProcessed(state.iterations()); in Bm_function_Isalnum_all_ascii()
147 state.SetItemsProcessed(state.iterations()); in Bm_function_Towupper_a()
[all …]
Dlibc_stdio.cpp282 state.SetBytesProcessed(state.iterations()); in Bm_function_Fdopen()
296 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_str()
309 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_int()
322 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_float()
335 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_longdouble()
348 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_unsigned()
361 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_long()
374 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_short()
387 state.SetBytesProcessed(state.iterations()); in Bm_function_Vfprintf_char()
401 state.SetBytesProcessed(state.iterations()); in Bm_function_Fprintf_str()
[all …]
Dlibc_errno.cpp30 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_noerror()
39 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_enoent()
48 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_enomem()
57 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_eacces()
66 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_eexist()
75 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_einval()
84 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_erofs()
93 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_etimeout()
103 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_r_noerror()
112 state.SetItemsProcessed(state.iterations()); in Bm_function_Strerror_r_enoent()
[all …]
Dlibc_fcntl.cpp43 state.SetItemsProcessed(state.iterations()); in Bm_function_Fcntl_getfl()
67 state.SetItemsProcessed(state.iterations()); in Bm_function_Fcntl_setfl()
95 state.SetItemsProcessed(state.iterations()); in Bm_function_Fcntl_setlkw()
115 state.SetItemsProcessed(state.iterations()); in Bm_function_Fcntl_dupfd()
143 state.SetBytesProcessed(state.iterations()); in Bm_function_Fcntl_setlk()
167 state.SetBytesProcessed(state.iterations()); in Bm_function_Fcntl_getlk()
184 state.SetBytesProcessed(state.iterations()); in Bm_function_Fcntl_getfd()
215 state.SetBytesProcessed(state.iterations()); in Bm_function_Fcntl_setfd()
231 state.SetItemsProcessed(state.iterations()); in Bm_function_Open_rdonly()
247 state.SetItemsProcessed(state.iterations()); in Bm_function_Open_rdwr()
[all …]
/third_party/node/lib/internal/crypto/
Dpbkdf2.js33 function pbkdf2(password, salt, iterations, keylen, digest, callback) { argument
39 ({ password, salt, iterations, keylen, digest } =
40 check(password, salt, iterations, keylen, digest));
48 iterations,
65 function pbkdf2Sync(password, salt, iterations, keylen, digest) { argument
66 ({ password, salt, iterations, keylen, digest } =
67 check(password, salt, iterations, keylen, digest));
73 iterations,
86 function check(password, salt, iterations, keylen, digest) { argument
93 validateInt32(iterations, 'iterations', 1);
[all …]
/third_party/node/test/pummel/
Dtest-webcrypto-derivebits-pbkdf2.js418 iterations) { argument
423 iterations, property
431 kDerivations[size][saltSize][hash][iterations]);
439 iterations) { argument
443 iterations, property
475 iterations) { argument
477 const algorithm = { name: 'PBKDF2', salt, iterations }; field
507 iterations) { argument
511 iterations, property
527 iterations, argument
[all …]
/third_party/vixl/benchmarks/aarch32/
Dbench-branch-link-masm.cc45 void benchmark(int iterations, InstructionSet isa) { in benchmark() argument
56 for (int i = 0; i < iterations; i++) { in benchmark()
60 for (int i = 0; i < iterations; i++) { in benchmark()
64 for (int i = 0; i < iterations; i++) { in benchmark()
68 for (int i = 0; i < iterations; i++) { in benchmark()
80 iterations, in benchmark()
86 int iterations = 0; in main() local
90 iterations = kDefaultIterationsCount; in main()
93 iterations = atoi(argv[1]); in main()
101 benchmark(iterations, A32); in main()
[all …]
Dbench-literal.cc45 void benchmark(int iterations, int literals, InstructionSet isa) { in benchmark() argument
57 for (int i = 0; i < iterations; i++) { in benchmark()
70 iterations, in benchmark()
76 int iterations = 0; in main() local
81 iterations = kDefaultIterationCount; in main()
85 iterations = atoi(argv[1]); in main()
89 iterations = atoi(argv[1]); in main()
98 benchmark(iterations, literals, A32); in main()
101 benchmark(iterations, literals, T32); in main()
Dbench-branch-masm.cc44 void benchmark(int iterations, InstructionSet isa) { in benchmark() argument
54 for (int i = 0; i < iterations; i++) { in benchmark()
70 iterations, in benchmark()
76 int iterations = 0; in main() local
80 iterations = kDefaultIterationCount; in main()
83 iterations = atoi(argv[1]); in main()
91 benchmark(iterations, A32); in main()
94 benchmark(iterations, T32); in main()
/third_party/vk-gl-cts/data/gles3/shaders/
Dloops.test58 int iterations = 0;
60 ++iterations;
61 if (iterations >= 10) {
94 for (int iterations = 0; true; in0 && foo()) {
95 ++iterations;
96 if (iterations > 10) {
129 int iterations = 0;
131 ++iterations;
132 if (iterations > 10) {
165 int iterations = 0;
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dmemutil_benchmark.cc102 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_Memmem()
111 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_MemmemMedium()
121 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_MemmemPathological()
130 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_Memcasemem()
139 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_MemcasememMedium()
149 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_MemcasememPathological()
163 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_Search()
173 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_SearchMedium()
183 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_SearchPathological()
193 state.SetBytesProcessed(kHaystackSize64 * state.iterations()); in BM_Searchcase()
[all …]
/third_party/ltp/testcases/realtime/func/gtod_latency/
Dgtod_latency.c89 static unsigned int iterations = ITERATIONS; variable
208 iterations = strtoull(argv[++i], NULL, 0); in stats_cmdline()
245 if (iterations < MIN_ITERATION) { in main()
246 iterations = MIN_ITERATION; in main()
248 iterations); in main()
251 stats_container_init(&dat, iterations); in main()
253 stats_quantiles_init(&quantiles, (int)log10(iterations)); in main()
258 start_data = calloc(iterations, sizeof(struct timespec)); in main()
261 iterations); in main()
264 stop_data = calloc(iterations, sizeof(struct timespec)); in main()
[all …]
/third_party/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c69 static int iterations = 0; variable
102 iterations = atoi(v); in parse_args()
140 for (i = 0; i < iterations; i++) { in periodic_thread()
205 if (i != iterations) { in periodic_thread()
259 if (iterations == 0) in main()
260 iterations = DEFAULT_ITERATIONS; in main()
261 if (iterations < MIN_ITERATIONS) { in main()
264 iterations, MIN_ITERATIONS); in main()
265 iterations = MIN_ITERATIONS; in main()
268 printf("Running %d iterations with a period of %llu ms\n", iterations, in main()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex_test.cc68 int iterations; member
94 for (int i = 0; i != cxt->iterations; i++) { in TestMu()
103 for (int i = 0; i != cxt->iterations; i++) { in TestTry()
115 for (int i = 0; i != cxt->iterations; i++) { in TestR20ms()
124 for (int i = 0; i != cxt->iterations; i++) { in TestRW()
132 for (int i = 0; i != cxt->iterations; i++) { in TestRW()
148 return cxt->g0 == this->target || cxt->g0 == cxt->iterations; in MyTurn()
157 while (cxt->g0 < cxt->iterations) { in TestAwait()
161 if (cxt->g0 < cxt->iterations) { in TestAwait()
173 while (cxt->g0 < cxt->iterations) { in TestSignalAll()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTestUtilities.java33 int iterations = 1000; in TestCollectionUtilitySpeed() local
44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
47 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
48 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed()
51 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument
52 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare()
53 …ouble standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterati… in timeAndCompare()
62 private long timeStandardContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeStandardContainsAll() argument
69 for (int i = 0; i < iterations; ++i) { in timeStandardContainsAll()
81 private long timeUtilityContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeUtilityContainsAll() argument
[all …]
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java30 int iterations = 1000; in TestCollectionUtilitySpeed() local
41 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
45 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed()
48 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument
49 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare()
50 …ouble standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterati… in timeAndCompare()
59 private long timeStandardContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeStandardContainsAll() argument
66 for (int i = 0; i < iterations; ++i) { in timeStandardContainsAll()
78 private long timeUtilityContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeUtilityContainsAll() argument
[all …]
/third_party/skia/tests/sksl/runtime_errors/
DLoopStructureErrors.skvm3 error: 6: loop must guarantee termination in fewer iterations
6 error: 9: loop must guarantee termination in fewer iterations
10 error: 18: loop must guarantee termination in fewer iterations
11 error: 19: loop must guarantee termination in fewer iterations
12 error: 20: loop must guarantee termination in fewer iterations
13 error: 21: loop must guarantee termination in fewer iterations
16 error: 24: loop must guarantee termination in fewer iterations
17 error: 25: loop must guarantee termination in fewer iterations
/third_party/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c43 static int iterations = ITERATIONS; variable
70 iterations = atoi(v); in parse_args()
184 if (stats_container_init(&sdat, iterations) || in main_thread()
186 stats_container_init(&cdat, iterations) || in main_thread()
207 curdat->index = iterations - 1; in main_thread()
210 for (i = 0; i < iterations; i++) in main_thread()
215 savg = delta / iterations; /* don't use the stats record, use the total time recorded */ in main_thread()
239 curdat->index = iterations - 1; in main_thread()
260 cavg = delta / iterations; /* don't use the stats record, use the total time recorded */ in main_thread()
311 if (iterations <= 0) { in main()
[all …]
/third_party/ltp/testcases/realtime/func/periodic_cpu_load/
Dperiodic_cpu_load.c71 static int iterations = ITERATIONS; variable
88 iterations = atoi(v); in parse_args()
102 int iterations; member
133 while (i < parg->iterations) { in periodic_thread()
173 if (iterations < 100) { in main()
182 printf("Running %d iterations per thread\n", iterations); in main()
198 stats_container_init(&dat[i], iterations); in main()
199 stats_quantiles_init(&quantiles[i], (int)log10(iterations)); in main()
203 { PERIOD_A, iterations, calc, (void *)CALC_LOOPS_A }; in main()
205 { PERIOD_B, iterations, calc, (void *)CALC_LOOPS_B }; in main()
[all …]
Dperiodic_cpu_load_single.c59 static int iterations = DEFAULT_ITERATIONS; variable
86 int periodic_thread(nsec_t period, int iterations, int loops) in periodic_thread() argument
100 stats_container_init(&dat, iterations); in periodic_thread()
102 stats_quantiles_init(&quantiles, (int)log10(iterations)); in periodic_thread()
115 while (i < iterations) { in periodic_thread()
180 iterations = atoi(v); in parse_args()
204 if (iterations < 100) { in main()
219 printf("Running %d iterations\n", iterations); in main()
225 ret = periodic_thread(period, iterations, calc_loops); in main()
/third_party/icu/icu4c/source/test/perf/normperf/
Dsimplenormperf.cpp189 virtual double call(int32_t iterations, int32_t pieceLength) = 0;
204 int32_t iterations = 1; in measure() local
206 double seconds = op.call(iterations, pieceLength); in measure()
208 if (iterations > 1) { in measure()
209 return seconds / (iterations * pieceLength); in measure()
212 return op.call(1, pieceLength) / (iterations * pieceLength); in measure()
216 iterations *= 10; in measure()
218 iterations *= 1.1 / seconds; in measure()
220 iterations *= 2; in measure()
239 virtual double call(int32_t iterations, int32_t pieceLength);
[all …]

12345678910>>...21