/dports/net-mgmt/nagtail/nagtail-0.0.31/ |
H A D | pl.cpp | 243 *n_stats = 0; in parse_2_0_statuslog() 256 if (*n_stats == n_alloc) in parse_2_0_statuslog() 267 memset(&(*pstats)[*n_stats], 0x00, sizeof(struct stats) * (n_alloc - *n_stats)); in parse_2_0_statuslog() 300 (*pstats)[*n_stats].type = type; in parse_2_0_statuslog() 301 (*n_stats)++; in parse_2_0_statuslog() 371 *n_stats = 0; in parse_1_0_statuslog() 603 (*pstats)[*n_stats].type = type; in parse_1_0_statuslog() 652 (*n_stats)++; in parse_1_0_statuslog() 705 if (n_stats > 1) in sort_stats_array() 767 for(loop=0; loop<n_stats; loop++) in find_index_by_host_and_service() [all …]
|
H A D | pl.h | 125 void parse_1_0_statuslog(int fd, struct stats **pstats, int *n_stats); 126 void parse_2_0_statuslog(int fd, struct stats **pstats, int *n_stats); 127 void free_stats_array(struct stats *pstats, int n_stats); 128 void sort_stats_array(struct stats *pstats, int n_stats); 129 int host_is_down(struct stats *pstats, int n_stats, char *host_name); 130 int should_i_show_entry(struct stats *pstats, int n_stats, int cur_index, char list_all_problems, c… 131 int find_index_by_host_and_service(struct stats *pstats, int n_stats, char *host_name, char *servic… 132 int check_max_age_last_check(struct stats *pstats, int n_stats, int max_time_last_host_update, int … 133 void calc_stats_stats(struct stats *pstats, int n_stats, char list_all_problems, char always_notify…
|
/dports/net-mgmt/nagircbot/nagircbot-0.0.33/ |
H A D | pl.cpp | 227 *n_stats = 0; in parse_2_0_statuslog() 240 if (*n_stats == n_alloc) in parse_2_0_statuslog() 251 memset(&(*pstats)[*n_stats], 0x00, sizeof(struct stats) * (n_alloc - *n_stats)); in parse_2_0_statuslog() 284 (*pstats)[*n_stats].type = type; in parse_2_0_statuslog() 285 (*n_stats)++; in parse_2_0_statuslog() 355 *n_stats = 0; in parse_1_0_statuslog() 587 (*pstats)[*n_stats].type = type; in parse_1_0_statuslog() 636 (*n_stats)++; in parse_1_0_statuslog() 689 if (n_stats > 1) in sort_stats_array() 751 for(loop=0; loop<n_stats; loop++) in find_index_by_host_and_service() [all …]
|
H A D | pl.h | 109 void parse_1_0_statuslog(int fd, struct stats **pstats, int *n_stats); 110 void parse_2_0_statuslog(int fd, struct stats **pstats, int *n_stats); 111 void free_stats_array(struct stats *pstats, int n_stats); 112 void sort_stats_array(struct stats *pstats, int n_stats); 113 int host_is_down(struct stats *pstats, int n_stats, char *host_name); 114 int should_i_show_entry(struct stats *pstats, int n_stats, int cur_index, char list_all_problems, c… 115 int find_index_by_host_and_service(struct stats *pstats, int n_stats, char *host_name, char *servic… 116 int check_max_age_last_check(struct stats *pstats, int n_stats, int max_time_last_host_update, int … 117 void calc_stats_stats(struct stats *pstats, int n_stats, char list_all_problems, char always_notify…
|
/dports/net-mgmt/nagcon/nagcon-0.0.32/ |
H A D | pl.cpp | 228 *n_stats = 0; in parse_2_0_statuslog() 241 if (*n_stats == n_alloc) in parse_2_0_statuslog() 252 memset(&(*pstats)[*n_stats], 0x00, sizeof(struct stats) * (n_alloc - *n_stats)); in parse_2_0_statuslog() 285 (*pstats)[*n_stats].type = type; in parse_2_0_statuslog() 286 (*n_stats)++; in parse_2_0_statuslog() 356 *n_stats = 0; in parse_1_0_statuslog() 588 (*pstats)[*n_stats].type = type; in parse_1_0_statuslog() 637 (*n_stats)++; in parse_1_0_statuslog() 690 if (n_stats > 1) in sort_stats_array() 752 for(loop=0; loop<n_stats; loop++) in find_index_by_host_and_service() [all …]
|
H A D | pl.h | 110 void parse_1_0_statuslog(int fd, struct stats **pstats, int *n_stats); 111 void parse_2_0_statuslog(int fd, struct stats **pstats, int *n_stats); 112 void free_stats_array(struct stats *pstats, int n_stats); 113 void sort_stats_array(struct stats *pstats, int n_stats); 114 int host_is_down(struct stats *pstats, int n_stats, char *host_name); 115 int should_i_show_entry(struct stats *pstats, int n_stats, int cur_index, char list_all_problems, c… 116 int find_index_by_host_and_service(struct stats *pstats, int n_stats, char *host_name, char *servic… 117 int check_max_age_last_check(struct stats *pstats, int n_stats, int max_time_last_host_update, int … 118 void calc_stats_stats(struct stats *pstats, int n_stats, char list_all_problems, char always_notify…
|
H A D | nc.cpp | 207 int n_stats = 0; in main() local 332 parse_2_0_statuslog(fd, &pstats, &n_stats); in main() 334 parse_1_0_statuslog(fd, &pstats, &n_stats); in main() 337 …calc_stats_stats(pstats, n_stats, list_all_problems, always_notify, also_acknowledged, hide_ok, &n… in main() 338 sort_stats_array(pstats, n_stats); in main() 372 for(int loop=0; disp_index<min(max_y - 5, n_stats) && loop<n_stats; loop++) in main() 378 …if (!should_i_show_entry(pstats, n_stats, loop, list_all_problems, always_notify, also_acknowledge… in main() 413 free_stats_array(pstats, n_stats); in main()
|
/dports/sysutils/p5-MogileFS-Server/MogileFS-Server-2.73/t/ |
H A D | fid-stat.t | 15 my $n_stats; 22 t_stat => sub { $n_stats++ }, 29 $n_stats = 0; 35 is($n_stats, 0, "no stats on empty directory"); 45 $n_stats = 0; 51 is($n_stats, 500, "500 stats"); 57 $n_stats = 0; 67 t_stat => sub { $n_stats++ }, 74 is($n_stats, 4, "and statted 4 files"); 79 $n_stats = 0; [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/qualcomm/ |
H A D | qca_uart.c | 76 n_stats->rx_errors++; in qca_tty_receive() 77 n_stats->rx_dropped++; in qca_tty_receive() 96 n_stats->rx_errors++; in qca_tty_receive() 97 n_stats->rx_dropped++; in qca_tty_receive() 101 n_stats->rx_errors++; in qca_tty_receive() 102 n_stats->rx_dropped++; in qca_tty_receive() 105 n_stats->rx_packets++; in qca_tty_receive() 106 n_stats->rx_bytes += retcode; in qca_tty_receive() 117 n_stats->rx_errors++; in qca_tty_receive() 145 n_stats->tx_packets++; in qcauart_transmit() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/qualcomm/ |
H A D | qca_uart.c | 76 n_stats->rx_errors++; in qca_tty_receive() 77 n_stats->rx_dropped++; in qca_tty_receive() 96 n_stats->rx_errors++; in qca_tty_receive() 97 n_stats->rx_dropped++; in qca_tty_receive() 101 n_stats->rx_errors++; in qca_tty_receive() 102 n_stats->rx_dropped++; in qca_tty_receive() 105 n_stats->rx_packets++; in qca_tty_receive() 106 n_stats->rx_bytes += retcode; in qca_tty_receive() 117 n_stats->rx_errors++; in qca_tty_receive() 145 n_stats->tx_packets++; in qcauart_transmit() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/qualcomm/ |
H A D | qca_uart.c | 76 n_stats->rx_errors++; in qca_tty_receive() 77 n_stats->rx_dropped++; in qca_tty_receive() 96 n_stats->rx_errors++; in qca_tty_receive() 97 n_stats->rx_dropped++; in qca_tty_receive() 101 n_stats->rx_errors++; in qca_tty_receive() 102 n_stats->rx_dropped++; in qca_tty_receive() 105 n_stats->rx_packets++; in qca_tty_receive() 106 n_stats->rx_bytes += retcode; in qca_tty_receive() 117 n_stats->rx_errors++; in qca_tty_receive() 145 n_stats->tx_packets++; in qcauart_transmit() [all …]
|
/dports/net-mgmt/collectd5/collectd-5.12.0/src/ |
H A D | ethstat.c | 200 size_t n_stats; in ethstat_read_interface() local 226 n_stats = (size_t)drvinfo.n_stats; in ethstat_read_interface() 227 if (n_stats < 1) { in ethstat_read_interface() 233 strings_size = sizeof(struct ethtool_gstrings) + (n_stats * ETH_GSTRING_LEN); in ethstat_read_interface() 234 stats_size = sizeof(struct ethtool_stats) + (n_stats * sizeof(uint64_t)); in ethstat_read_interface() 248 strings->len = n_stats; in ethstat_read_interface() 260 stats->n_stats = n_stats; in ethstat_read_interface() 272 for (size_t i = 0; i < n_stats; i++) { in ethstat_read_interface()
|
/dports/science/hdf/hdf-4.2.15/mfhdf/hdiff/ |
H A D | hdiff_array.c | 40 d_avg_diff/n_stats, d_max_diff); \ 47 (d_avg_diff / n_stats), i4_max_diff); \ 150 int n_stats = 0; in array_diff() local 259 n_stats++; in array_diff() 348 n_stats++; in array_diff() 435 n_stats++; in array_diff() 524 n_stats++; in array_diff() 609 n_stats++; in array_diff() 678 ((float64)n_stats * d_sumx2 - d_sumx * d_sumx); in array_diff() 681 ((float64)n_stats * d_sumy2 - d_sumy * d_sumy); in array_diff() [all …]
|
/dports/math/pspp/pspp-1.4.1/src/language/stats/ |
H A D | t-test-one-sample.c | 56 size_t n_stats; in addPendingLabel() 89 for (size_t i = 0; i < os->n_stats; i++) 134 for (size_t i = 0; i < os->n_stats; i++) 160 os.n_stats = tt->n_vars; 173 for (size_t i = 0; i < os.n_stats; i++) 190 for (size_t i = 0; i < os.n_stats; i++) in canReuseDataFragment() 207 for (size_t i = 0; i < os.n_stats; i++)
|
H A D | frequencies.c | 224 int n_stats; member 608 frq.n_stats = 4; in cmd_frequencies() 676 frq.n_stats++; in cmd_frequencies() 681 frq.n_stats++; in cmd_frequencies() 686 frq.n_stats++; in cmd_frequencies() 691 frq.n_stats++; in cmd_frequencies() 696 frq.n_stats++; in cmd_frequencies() 701 frq.n_stats++; in cmd_frequencies() 706 frq.n_stats++; in cmd_frequencies() 711 frq.n_stats++; in cmd_frequencies() [all …]
|
/dports/databases/unixODBC/unixODBC-2.3.9/DriverManager/ |
H A D | __stats.c | 522 int n_stats) in uodbc_get_stats() argument 539 if (n_stats < 1) in uodbc_get_stats() 599 if (++cur_stat > n_stats) return cur_stat; in uodbc_get_stats() 608 if (++cur_stat > n_stats) return cur_stat; in uodbc_get_stats() 613 if (++cur_stat > n_stats) return cur_stat; in uodbc_get_stats() 618 if (++cur_stat > n_stats) return cur_stat; in uodbc_get_stats() 623 if (++cur_stat > n_stats) return cur_stat; in uodbc_get_stats() 741 int n_stats) in uodbc_get_stats() argument
|
/dports/sysutils/node_exporter/node_exporter-1.2.2/vendor/github.com/safchain/ethtool/ |
H A D | ethtool.go | 131 n_stats uint32 member 203 n_stats uint32 member 291 NStats: i.n_stats, 589 if drvinfo.n_stats*ETH_GSTRING_LEN > MAX_GSTRINGS*ETH_GSTRING_LEN { 590 …thtool currently doesn't support more than %d entries, received %d", MAX_GSTRINGS, drvinfo.n_stats) 596 len: drvinfo.n_stats, 606 n_stats: drvinfo.n_stats, 615 for i := 0; i != int(drvinfo.n_stats); i++ {
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/ethtool/ |
H A D | stats.c | 147 unsigned int n_grps = 0, n_stats = 0; in stats_reply_size() local 151 n_stats += sizeof(struct ethtool_eth_phy_stats) / sizeof(u64); in stats_reply_size() 155 n_stats += sizeof(struct ethtool_eth_mac_stats) / sizeof(u64); in stats_reply_size() 159 n_stats += sizeof(struct ethtool_eth_ctrl_stats) / sizeof(u64); in stats_reply_size() 163 n_stats += sizeof(struct ethtool_rmon_stats) / sizeof(u64); in stats_reply_size() 176 len += n_stats * (nla_total_size(0) + /* _A_STATS_GRP_STAT */ in stats_reply_size()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/ethtool/ |
H A D | stats.c | 147 unsigned int n_grps = 0, n_stats = 0; in stats_reply_size() local 151 n_stats += sizeof(struct ethtool_eth_phy_stats) / sizeof(u64); in stats_reply_size() 155 n_stats += sizeof(struct ethtool_eth_mac_stats) / sizeof(u64); in stats_reply_size() 159 n_stats += sizeof(struct ethtool_eth_ctrl_stats) / sizeof(u64); in stats_reply_size() 163 n_stats += sizeof(struct ethtool_rmon_stats) / sizeof(u64); in stats_reply_size() 176 len += n_stats * (nla_total_size(0) + /* _A_STATS_GRP_STAT */ in stats_reply_size()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/ethtool/ |
H A D | stats.c | 147 unsigned int n_grps = 0, n_stats = 0; in stats_reply_size() local 151 n_stats += sizeof(struct ethtool_eth_phy_stats) / sizeof(u64); in stats_reply_size() 155 n_stats += sizeof(struct ethtool_eth_mac_stats) / sizeof(u64); in stats_reply_size() 159 n_stats += sizeof(struct ethtool_eth_ctrl_stats) / sizeof(u64); in stats_reply_size() 163 n_stats += sizeof(struct ethtool_rmon_stats) / sizeof(u64); in stats_reply_size() 176 len += n_stats * (nla_total_size(0) + /* _A_STATS_GRP_STAT */ in stats_reply_size()
|
/dports/science/code_saturne/code_saturne-7.1.0/src/lagr/ |
H A D | cs_lagr_log.c | 630 int n_stats = cs_glob_lagr_model->n_stat_classes + 1; in cs_lagr_log_iteration() local 633 int flow_rate_size = bdy_cond->n_zones*n_stats; in cs_lagr_log_iteration() 643 if (CS_ABS(flow_rate[z_id*n_stats]) > 0.) { in cs_lagr_log_iteration() 678 flow_rate[z_id*n_stats]/cs_glob_lagr_time_step->dtp, in cs_lagr_log_iteration() 681 for (int j = 1; j < n_stats; j++) { in cs_lagr_log_iteration() 682 if (CS_ABS(flow_rate[z_id*n_stats + j]) > 0) in cs_lagr_log_iteration() 686 flow_rate[z_id*n_stats + j]/cs_glob_lagr_time_step->dtp); in cs_lagr_log_iteration()
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/packaging/deb-in/extra/ |
H A D | mysqlreport | 293 my $n_stats; # Number of multiple sets of status values in an infile 306 $n_stats = 0; 309 $n_stats++ while $slurp =~ /Aborted_clients/g; 311 print "read_relative_infiles: found $n_stats sets of status values in file '$infile'\n" 314 if($n_stats == 1) 320 if($n_stats > 1) 328 for($i = 0; $i < $n_stats; $i++) 371 for($i = 0; $i < $n_stats; $i++)
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/packaging/deb-in/extra/ |
H A D | mysqlreport | 293 my $n_stats; # Number of multiple sets of status values in an infile 306 $n_stats = 0; 309 $n_stats++ while $slurp =~ /Aborted_clients/g; 311 print "read_relative_infiles: found $n_stats sets of status values in file '$infile'\n" 314 if($n_stats == 1) 320 if($n_stats > 1) 328 for($i = 0; $i < $n_stats; $i++) 371 for($i = 0; $i < $n_stats; $i++)
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/debian/additions/ |
H A D | mysqlreport | 293 my $n_stats; # Number of multiple sets of status values in an infile 306 $n_stats = 0; 309 $n_stats++ while $slurp =~ /Aborted_clients/g; 311 print "read_relative_infiles: found $n_stats sets of status values in file '$infile'\n" 314 if($n_stats == 1) 320 if($n_stats > 1) 328 for($i = 0; $i < $n_stats; $i++) 371 for($i = 0; $i < $n_stats; $i++)
|
/dports/databases/mysqlreport/hackmysql.com-f0f327b/mysqlreport/ |
H A D | mysqlreport | 293 my $n_stats; # Number of multiple sets of status values in an infile 306 $n_stats = 0; 309 $n_stats++ while $slurp =~ /Aborted_clients/g; 311 print "read_relative_infiles: found $n_stats sets of status values in file '$infile'\n" 314 if($n_stats == 1) 320 if($n_stats > 1) 328 for($i = 0; $i < $n_stats; $i++) 371 for($i = 0; $i < $n_stats; $i++)
|