/dports/devel/R-cran-vctrs/vctrs/src/ |
H A D | arg-counter.c | 7 void init_counters(struct counters* counters, in init_counters() argument 19 …counters->curr_counter_data = new_counter_arg_data(&counters->curr, &counters->names, &counters->n… in init_counters() 20 …counters->next_counter_data = new_counter_arg_data(&counters->next, &counters->names, &counters->n… in init_counters() 33 SWAP(struct counters*, counters->prev_box_counters, counters->next_box_counters); in init_next_box_counters() 51 void counters_inc(struct counters* counters) { in counters_inc() argument 64 void counters_shift(struct counters* counters) { in counters_shift() argument 75 counters->curr = counters->next; in counters_shift() 83 struct counters* counters, 90 struct counters* counters, 103 struct counters counters; in reduce() local [all …]
|
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/master/ |
H A D | chunk_goal_counters_unittest.cc | 37 counters.addFile(1); in TEST() 40 counters.addFile(3); in TEST() 43 counters.addFile(2); in TEST() 50 counters.addFile(1); in TEST() 51 counters.addFile(1); in TEST() 52 counters.addFile(3); in TEST() 61 counters.addFile(1); in TEST() 62 counters.addFile(4); in TEST() 63 counters.addFile(5); in TEST() 64 counters.addFile(7); in TEST() [all …]
|
/dports/net/fb303/fb303-83ae662219660d30b49ad8474f5c63bbfc6d5f6f/fb303/test/ |
H A D | ExportedHistogramTest.cpp | 36 DynamicCounters counters; in TEST() local 72 EXPECT_COUNTER(200, counters, "hist1.count"); in TEST() 75 EXPECT_COUNTER(200, counters, "hist3.count"); in TEST() 86 EXPECT_COUNTER(995, counters, "hist1.rate"); in TEST() 93 EXPECT_COUNTER(497, counters, "hist1.avg"); in TEST() 97 EXPECT_COUNTER(500, counters, "hist1.p50"); in TEST() 100 EXPECT_COUNTER(2500, counters, "hist3.p50"); in TEST() 104 EXPECT_COUNTER(950, counters, "hist1.p95"); in TEST() 107 EXPECT_COUNTER(4750, counters, "hist3.p95"); in TEST() 111 EXPECT_COUNTER(990, counters, "hist1.p99"); in TEST() [all …]
|
/dports/irc/sic/sic-0.23a/ |
H A D | counter.c | 93 counters[entry].tcount += counters[entry].count; 94 if (counters[entry].vfirst == counters[entry].first) 99 counters[entry].last - counters[entry].first); 104 counters[entry].last - counters[entry].first, 133 counters[i].string + counters[i].pmatch[j].rm_so, 146 counters = realloc(counters, 154 counters[i].vfirst = counters[i].first = counters[i].last = time(NULL); 156 counters[i].tcount = counters[i].count = 1; 163 counters[i].first = counters[i].last; 170 && !(counters[i].count == 1 && counters[i].vfirst == counters[i].first)) [all …]
|
/dports/math/py-or-tools/or-tools-9.2/examples/flatzinc/ |
H A D | config.fzn | 50 constraint int_lin_eq([-1, -1, -1, -1, -1], [counters[1], counters[5], counters[9], counters[13], c… 51 constraint int_lin_eq([-1, -1, -1, -1, -1], [counters[2], counters[6], counters[10], counters[14], … 52 constraint int_lin_eq([-1, -1, -1, -1, -1], [counters[3], counters[7], counters[11], counters[15], … 53 constraint int_lin_eq([-1, -1, -1, -1, -1], [counters[4], counters[8], counters[12], counters[16], … 55 …nstraint int_lin_le([-1, 1, 1, 1, 1], [INT____00011, counters[1], counters[2], counters[3], counte… 56 …nstraint int_lin_le([-1, 1, 1, 1, 1], [INT____00012, counters[5], counters[6], counters[7], counte… 57 …straint int_lin_le([-1, 1, 1, 1, 1], [INT____00013, counters[9], counters[10], counters[11], count… 58 …traint int_lin_le([-1, 1, 1, 1, 1], [INT____00014, counters[13], counters[14], counters[15], count… 59 …traint int_lin_le([-1, 1, 1, 1, 1], [INT____00015, counters[17], counters[18], counters[19], count… 60 …aint int_lin_le([-1, 20, 40, 50, 75], [INT____00002, counters[1], counters[2], counters[3], counte… [all …]
|
/dports/net/olsrd/olsrd-0.9.8/lib/pud/src/ |
H A D | posAvg.c | 224 assert(add ? (counters->smask < maxCount):(counters->smask > 0)); in updateCounters() 236 assert(add ? (counters->sig < maxCount):(counters->sig > 0)); in updateCounters() 240 assert(add ? (counters->fix < maxCount):(counters->fix > 0)); in updateCounters() 244 assert(add ? (counters->pdop < maxCount):(counters->pdop > 0)); in updateCounters() 248 assert(add ? (counters->hdop < maxCount):(counters->hdop > 0)); in updateCounters() 252 assert(add ? (counters->vdop < maxCount):(counters->vdop > 0)); in updateCounters() 256 assert(add ? (counters->lat < maxCount):(counters->lat > 0)); in updateCounters() 260 assert(add ? (counters->lon < maxCount):(counters->lon > 0)); in updateCounters() 264 assert(add ? (counters->elv < maxCount):(counters->elv > 0)); in updateCounters() 268 assert(add ? (counters->speed < maxCount):(counters->speed > 0)); in updateCounters() [all …]
|
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/test/ |
H A D | test_block_cache.cpp | 181 counters c; in test_write() 186 TEST_EQUAL(c[counters::arc_mru_size], 0); in test_write() 188 TEST_EQUAL(c[counters::arc_mfu_size], 0); in test_write() 245 counters c; in test_insert() 250 TEST_EQUAL(c[counters::arc_mru_size], 1); in test_insert() 252 TEST_EQUAL(c[counters::arc_mfu_size], 0); in test_insert() 267 counters c; in test_evict() 272 TEST_EQUAL(c[counters::arc_mru_size], 1); in test_evict() 321 counters c; in test_arc_promote() 385 counters c; in test_arc_unghost() [all …]
|
/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/test/ |
H A D | test_block_cache.cpp | 181 counters c; in test_write() 186 TEST_EQUAL(c[counters::arc_mru_size], 0); in test_write() 188 TEST_EQUAL(c[counters::arc_mfu_size], 0); in test_write() 245 counters c; in test_insert() 250 TEST_EQUAL(c[counters::arc_mru_size], 1); in test_insert() 252 TEST_EQUAL(c[counters::arc_mfu_size], 0); in test_insert() 267 counters c; in test_evict() 272 TEST_EQUAL(c[counters::arc_mru_size], 1); in test_evict() 321 counters c; in test_arc_promote() 385 counters c; in test_arc_unghost() [all …]
|
/dports/net/fbzmq/fbzmq-2021.12.27.00/fbzmq/service/stats/tests/ |
H A D | ThreadDataTest.cpp | 24 auto counters = tData.getCounters(); in TEST() local 25 EXPECT_EQ(counters.size(), 9); in TEST() 26 for (auto const& kv : counters) { in TEST() 29 EXPECT_EQ(1, counters.count("counter_key")); in TEST() 46 counters = tData.getCounters(); in TEST() 47 EXPECT_EQ(9, counters.size()); in TEST() 48 EXPECT_EQ(11, counters["counter_key"]); in TEST() 52 EXPECT_EQ(15, counters["stats_key.avg.0"]); in TEST() 56 EXPECT_EQ(30, counters["stats_key.sum.0"]); in TEST() 64 counters = tData.getCounters(); in TEST() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libgcc/ |
H A D | libgcov-profiler.c | 52 counters[steps + 1]++; in __gcov_interval_profiler() 54 counters[steps]++; in __gcov_interval_profiler() 56 counters[delta]++; in __gcov_interval_profiler() 88 counters[0]++; in __gcov_pow2_profiler() 90 counters[1]++; in __gcov_pow2_profiler() 118 counters[0]++; in __gcov_topn_values_profiler_body() 120 ++counters; in __gcov_topn_values_profiler_body() 152 counters[2 * i + 1]--; in __gcov_topn_values_profiler_body() 248 counters[0] += value; in __gcov_average_profiler() 249 counters[1] ++; in __gcov_average_profiler() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/libgcc/ |
H A D | libgcov-profiler.c | 52 counters[steps + 1]++; in __gcov_interval_profiler() 54 counters[steps]++; in __gcov_interval_profiler() 56 counters[delta]++; in __gcov_interval_profiler() 88 counters[0]++; in __gcov_pow2_profiler() 90 counters[1]++; in __gcov_pow2_profiler() 118 counters[0]++; in __gcov_topn_values_profiler_body() 120 ++counters; in __gcov_topn_values_profiler_body() 152 counters[2 * i + 1]--; in __gcov_topn_values_profiler_body() 248 counters[0] += value; in __gcov_average_profiler() 249 counters[1] ++; in __gcov_average_profiler() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/libgcc/ |
H A D | libgcov-profiler.c | 52 counters[steps + 1]++; in __gcov_interval_profiler() 54 counters[steps]++; in __gcov_interval_profiler() 56 counters[delta]++; in __gcov_interval_profiler() 88 counters[0]++; in __gcov_pow2_profiler() 90 counters[1]++; in __gcov_pow2_profiler() 118 counters[0]++; in __gcov_topn_values_profiler_body() 120 ++counters; in __gcov_topn_values_profiler_body() 152 counters[2 * i + 1]--; in __gcov_topn_values_profiler_body() 248 counters[0] += value; in __gcov_average_profiler() 249 counters[1] ++; in __gcov_average_profiler() [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgcc/ |
H A D | libgcov-merge.c | 86 if (value && (!counters[i] || value < counters[i])) in __gcov_merge_time_profile() 87 counters[i] = value; in __gcov_merge_time_profile() 116 if (counters[0] == value) in __gcov_merge_single() 117 counters[1] += counter; in __gcov_merge_single() 120 counters[0] = value; in __gcov_merge_single() 121 counters[1] = counter - counters[1]; in __gcov_merge_single() 124 counters[1] -= counter; in __gcov_merge_single() 125 counters[2] += all; in __gcov_merge_single() 160 counters[1] = value; in __gcov_merge_delta() 161 counters[2] = counter - counters[2]; in __gcov_merge_delta() [all …]
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/admin/actions/ |
H A D | processqueue.php | 201 $counters['num_per_batch'] = min(2, $clinemax, $counters['num_per_batch']); 205 $counters['num_per_batch'] = min($clinemax, $counters['num_per_batch']); 288 …$plugin->processSendStats($counters['sent'], $counters['invalid'], $counters['failed_sent'], $unco… 289 $counters); 470 global $counters; 555 $counters['batch_total'] = $counters['num_per_batch']; 557 $counters['invalid'] = 0; 558 $counters['sent'] = 0; 961 if ($counters['num_per_batch'] && $counters['sent'] >= $counters['num_per_batch']) { 1311 …$processed = $notsent + $counters['sent'] + $counters['invalid'] + $unconfirmed + $cannotsend + $c… [all …]
|
/dports/devel/clipp/clipp-1.2.3/test/ |
H A D | joined_params_test2.cpp | 15 struct counters { struct 16 counters() = default; 19 counters(int a_, int b_): a{a_}, b{b_} {} in counters() argument 23 friend bool operator == (const counters& x, const counters& y) noexcept { in operator ==() argument 32 const counters& matches) in test() 36 counters m; in test() 45 [&]{ m = counters{}; }, in test() 55 [&]{ m = counters{}; }, in test() 65 test(__LINE__, {}, counters{}); in main() 67 test(__LINE__, {"a"}, counters{1,0}); in main() [all …]
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/ |
H A D | TestCounters.java | 60 Counters counters = new Counters(); in getEnumCounters() local 63 counters.incrCounter(key, i); in getEnumCounters() 66 return counters; in getEnumCounters() 71 Counters counters = new Counters(); in getEnumCounters() local 79 return counters; in getEnumCounters() 158 checkLegacyNames(counters); in testReadWithLegacyNames() 169 checkLegacyNames(counters); in testWriteWithLegacyNames() 280 setExpected(counters); in testMaxCountersLimits() 286 checkExpected(counters); in testMaxCountersLimits() 294 setExpected(counters); in testMaxGroupsLimits() [all …]
|
/dports/devel/swig/swig-4.0.2/CCache/ |
H A D | stats.c | 112 stats_default(counters); in stats_read_fd() 139 memset(counters, 0, sizeof(counters)); in stats_update_size() 150 counters[stat]++; in stats_update_size() 164 counters[STATS_NUMFILES] > counters[STATS_MAXFILES]) { in stats_update_size() 168 counters[STATS_TOTALSIZE] > counters[STATS_MAXSIZE]) { in stats_update_size() 174 cleanup_dir(p, counters[STATS_MAXFILES], counters[STATS_MAXSIZE], in stats_update_size() 202 stats_default(counters); in stats_read() 216 memset(counters, 0, sizeof(counters)); in stats_summary() 278 memset(counters, 0, sizeof(counters)); in stats_zero() 322 memset(counters, 0, sizeof(counters)); in stats_set_limits() [all …]
|
/dports/devel/ccache/ccache-3.7.12/src/ |
H A D | stats.c | 316 parse_stats(struct counters *counters, const char *buf) in parse_stats() argument 337 stats_write(const char *path, struct counters *counters) in stats_write() argument 368 stats_hit_rate(struct counters *counters) in stats_hit_rate() argument 430 stats_read(const char *sfile, struct counters *counters) in stats_read() argument 493 struct counters *counters = counters_init(STATS_END); in stats_flush_to_file() local 561 struct counters *counters = counters_init(STATS_END); in stats_summary() local 624 struct counters *counters = counters_init(STATS_END); in stats_print() local 652 struct counters *counters = counters_init(STATS_END); in stats_zero() local 681 struct counters *counters = counters_init(STATS_END); in stats_get_obsolete_limits() local 694 struct counters *counters = counters_init(STATS_END); in stats_set_sizes() local [all …]
|
/dports/devel/ccache-static/ccache-3.7.12/src/ |
H A D | stats.c | 316 parse_stats(struct counters *counters, const char *buf) in parse_stats() argument 337 stats_write(const char *path, struct counters *counters) in stats_write() argument 368 stats_hit_rate(struct counters *counters) in stats_hit_rate() argument 430 stats_read(const char *sfile, struct counters *counters) in stats_read() argument 493 struct counters *counters = counters_init(STATS_END); in stats_flush_to_file() local 561 struct counters *counters = counters_init(STATS_END); in stats_summary() local 624 struct counters *counters = counters_init(STATS_END); in stats_print() local 652 struct counters *counters = counters_init(STATS_END); in stats_zero() local 681 struct counters *counters = counters_init(STATS_END); in stats_get_obsolete_limits() local 694 struct counters *counters = counters_init(STATS_END); in stats_set_sizes() local [all …]
|
/dports/sysutils/intel-pcm/pcm-202109/ |
H A D | pcm-sensor.cpp | 38 AsynchronCounterState counters; in main() local 53 if (a == counters.getSocketId(i)) { in main() 124 if (a == counters.getSocketId(i)) { in main() 171 if (a == counters.getSocketId(i)) { in main() 182 if (a == counters.getSocketId(i)) { in main() 193 if (a == counters.getSocketId(i)) { in main() 203 if (a == counters.getSocketId(i)) { in main() 214 if (a == counters.getSocketId(i)) { in main() 225 if (a == counters.getSocketId(i)) { in main() 236 if (a == counters.getSocketId(i)) { in main() [all …]
|
/dports/sysutils/intel-pcm-devel/pcm-0212b38/ |
H A D | pcm-sensor.cpp | 38 AsynchronCounterState counters; in main() local 53 if (a == counters.getSocketId(i)) { in main() 124 if (a == counters.getSocketId(i)) { in main() 171 if (a == counters.getSocketId(i)) { in main() 182 if (a == counters.getSocketId(i)) { in main() 193 if (a == counters.getSocketId(i)) { in main() 203 if (a == counters.getSocketId(i)) { in main() 214 if (a == counters.getSocketId(i)) { in main() 225 if (a == counters.getSocketId(i)) { in main() 236 if (a == counters.getSocketId(i)) { in main() [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/libgcc/ |
H A D | libgcov-profiler.c | 52 counters[steps + 1]++; in __gcov_interval_profiler() 54 counters[steps]++; in __gcov_interval_profiler() 56 counters[delta]++; in __gcov_interval_profiler() 88 counters[0]++; in __gcov_pow2_profiler() 90 counters[1]++; in __gcov_pow2_profiler() 125 counters[1]++; in __gcov_one_value_profiler_body() 128 counters[1] = 1; in __gcov_one_value_profiler_body() 132 counters[1]--; in __gcov_one_value_profiler_body() 137 counters[2]++; in __gcov_one_value_profiler_body() 350 counters[1] ++; in __gcov_average_profiler() [all …]
|
/dports/lang/gcc9/gcc-9.4.0/libgcc/ |
H A D | libgcov-profiler.c | 52 counters[steps + 1]++; in __gcov_interval_profiler() 54 counters[steps]++; in __gcov_interval_profiler() 56 counters[delta]++; in __gcov_interval_profiler() 88 counters[0]++; in __gcov_pow2_profiler() 90 counters[1]++; in __gcov_pow2_profiler() 125 counters[1]++; in __gcov_one_value_profiler_body() 128 counters[1] = 1; in __gcov_one_value_profiler_body() 132 counters[1]--; in __gcov_one_value_profiler_body() 137 counters[2]++; in __gcov_one_value_profiler_body() 350 counters[1] ++; in __gcov_average_profiler() [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/libgcc/ |
H A D | libgcov-profiler.c | 52 counters[steps + 1]++; in __gcov_interval_profiler() 54 counters[steps]++; in __gcov_interval_profiler() 56 counters[delta]++; in __gcov_interval_profiler() 88 counters[0]++; in __gcov_pow2_profiler() 90 counters[1]++; in __gcov_pow2_profiler() 125 counters[1]++; in __gcov_one_value_profiler_body() 128 counters[1] = 1; in __gcov_one_value_profiler_body() 132 counters[1]--; in __gcov_one_value_profiler_body() 137 counters[2]++; in __gcov_one_value_profiler_body() 350 counters[1] ++; in __gcov_average_profiler() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gcc.target/s390/ |
H A D | htm-builtins-1.c | 123 counters.c1 = 0; in test_tbegin_ntstg_tend() 124 counters.c2 = 0; in test_tbegin_ntstg_tend() 155 counters.c1 = 0; in test_tbegin_ntstg_tabort() 156 counters.c2 = 0; in test_tbegin_ntstg_tabort() 186 counters.c1 = 0; in test_tbegin_nofloat() 187 counters.c2 = 0; in test_tbegin_nofloat() 218 counters.c1 = 0; in test_tbegin_retry() 227 (uint64_t *)&counters.c1, counters.c1 + 1); in test_tbegin_retry() 232 counters.c2 = counters.c2 + 10; in test_tbegin_retry() 273 (uint64_t *)&counters.c1, counters.c1 + 1); in test_tbegin_retry_nofloat() [all …]
|