Home
last modified time | relevance | path

Searched refs:cstat (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/dports/net/libngtcp2/ngtcp2-224bd62/lib/
H A Dngtcp2_bbr.c152 (void)cstat; in ngtcp2_cc_bbr_cc_on_pkt_acked()
204 cstat->cwnd = 2 * cstat->max_udp_payload_size; in ngtcp2_cc_bbr_cc_on_persistent_congestion()
225 (void)cstat; in ngtcp2_cc_bbr_cc_new_rtt_sample()
238 (void)cstat; in ngtcp2_cc_bbr_cc_event()
310 cstat->cwnd = cstat->bytes_in_flight + in bbr_handle_recovery()
375 cstat->send_quantum = cstat->max_udp_payload_size; in bbr_set_send_quantum()
377 cstat->send_quantum = cstat->max_udp_payload_size * 2; in bbr_set_send_quantum()
415 cstat->cwnd = ngtcp2_max(cstat->cwnd, cstat->max_udp_payload_size); in bbr_modulate_cwnd_for_recovery()
417 cstat->cwnd = cstat->max_udp_payload_size; in bbr_modulate_cwnd_for_recovery()
437 cstat->cwnd = ngtcp2_max(cstat->cwnd, cc->prior_cwnd); in bbr_restore_cwnd()
[all …]
H A Dngtcp2_cc.c117 if (cstat->cwnd < cstat->ssthresh) { in ngtcp2_cc_reno_cc_on_pkt_acked()
128 cstat->cwnd += m / cstat->cwnd; in ngtcp2_cc_reno_cc_on_pkt_acked()
144 cstat->cwnd = ngtcp2_max(cstat->cwnd, min_cwnd); in ngtcp2_cc_reno_cc_congestion_event()
145 cstat->ssthresh = cstat->cwnd; in ngtcp2_cc_reno_cc_congestion_event()
160 cstat->cwnd = 2 * cstat->max_udp_payload_size; in ngtcp2_cc_reno_cc_on_persistent_congestion()
325 if (cstat->cwnd < cstat->ssthresh) { in ngtcp2_cc_cubic_cc_on_pkt_acked()
350 cstat->ssthresh = cstat->cwnd; in ngtcp2_cc_cubic_cc_on_pkt_acked()
381 min_rtt = cstat->min_rtt == UINT64_MAX ? cstat->initial_rtt : cstat->min_rtt; in ngtcp2_cc_cubic_cc_on_pkt_acked()
420 cstat->max_udp_payload_size * (cc->w_tcp - cstat->cwnd) / cstat->cwnd; in ngtcp2_cc_cubic_cc_on_pkt_acked()
467 cstat->ssthresh = cstat->cwnd * 7 / 10; in ngtcp2_cc_cubic_cc_congestion_event()
[all …]
/dports/math/libmesh/libmesh-1.6.2/contrib/netcdf/netcdf-c-4.6.2/libdap4/
H A Dd4http.c22 CURLcode cstat = CURLE_OK; in NCD4_fetchhttpcode() local
29 if(cstat != CURLE_OK) { in NCD4_fetchhttpcode()
63 if (cstat != CURLE_OK) in NCD4_fetchurl_file()
82 if(cstat != CURLE_OK) { in NCD4_fetchurl_file()
99 if (cstat != CURLE_OK) in NCD4_fetchurl()
104 if (cstat != CURLE_OK) in NCD4_fetchurl()
113 if (cstat != CURLE_OK) in NCD4_fetchurl()
122 cstat = CURLE_OK; in NCD4_fetchurl()
143 if(cstat != CURLE_OK) { in NCD4_fetchurl()
235 if (cstat != CURLE_OK) in NCD4_fetchlastmodified()
[all …]
/dports/science/netcdf/netcdf-c-4.7.4/libdap4/
H A Dd4http.c22 CURLcode cstat = CURLE_OK; in NCD4_fetchhttpcode() local
29 if(cstat != CURLE_OK) { in NCD4_fetchhttpcode()
63 if (cstat != CURLE_OK) in NCD4_fetchurl_file()
82 if(cstat != CURLE_OK) { in NCD4_fetchurl_file()
99 if (cstat != CURLE_OK) in NCD4_fetchurl()
104 if (cstat != CURLE_OK) in NCD4_fetchurl()
113 if (cstat != CURLE_OK) in NCD4_fetchurl()
122 cstat = CURLE_OK; in NCD4_fetchurl()
143 if(cstat != CURLE_OK) { in NCD4_fetchurl()
235 if (cstat != CURLE_OK) in NCD4_fetchlastmodified()
[all …]
/dports/math/libmesh/libmesh-1.6.2/contrib/netcdf/netcdf-c-4.6.2/oc2/
H A Dochttp.c36 CURLcode cstat = CURLE_OK; in ocfetchurl_file() local
41 if (cstat != CURLE_OK) in ocfetchurl_file()
46 if (cstat != CURLE_OK) in ocfetchurl_file()
51 if (cstat != CURLE_OK) in ocfetchurl_file()
56 if (cstat != CURLE_OK) in ocfetchurl_file()
63 if (cstat != CURLE_OK) in ocfetchurl_file()
95 if (cstat != CURLE_OK) in ocfetchurl()
100 if (cstat != CURLE_OK) in ocfetchurl()
105 if (cstat != CURLE_OK) in ocfetchurl()
117 cstat = CURLE_OK; in ocfetchurl()
[all …]
/dports/sysutils/burp-devel/burp-2.5.4/src/server/monitor/
H A Dcstat.c17 int cstat_permitted(struct cstat *cstat, in cstat_permitted() argument
48 static int cstat_set_sdirs_protocol_unknown(struct cstat *cstat, in cstat_set_sdirs_protocol_unknown() argument
99 static int cstat_set_sdirs_protocol_known(struct cstat *cstat, in cstat_set_sdirs_protocol_known() argument
127 static int set_cstat_from_conf(struct cstat *cstat, in set_cstat_from_conf() argument
191 static void cstat_free_w(struct cstat **cstat) in cstat_free_w() argument
200 void cstat_remove(struct cstat **clist, struct cstat **cstat) in cstat_remove() argument
203 if(!cstat || !*cstat) return; in cstat_remove()
209 *cstat=*clist; in cstat_remove()
220 *cstat=*clist; in cstat_remove()
359 int cstat_set_backup_list(struct cstat *cstat) in cstat_set_backup_list() argument
[all …]
H A Dcstat.h4 extern int cstat_load_data_from_disk(struct cstat **clist,
7 extern void cstat_set_run_status(struct cstat *cstat,
9 extern int cstat_set_backup_list(struct cstat *cstat);
12 extern int cstat_permitted(struct cstat *cstat,
14 extern int cstat_get_client_names(struct cstat **clist,
16 extern int cstat_reload_from_client_confs(struct cstat **clist,
19 extern void cstat_remove(struct cstat **clist, struct cstat **cstat);
20 extern int reload_from_clientdir(struct cstat **clist);
H A Djson_output.c218 static int json_send_backup(struct cstat *cstat, struct bu *bu, in json_send_backup() argument
303 static int str_array(const char *field, struct cstat *cstat) in str_array() argument
342 static int json_send_client_start(struct cstat *cstat, long peer_version) in json_send_client_start() argument
357 if(cstat->cntrs in json_send_client_start()
361 else if(cstat->cntrs) in json_send_client_start()
382 static int json_send_client_backup(struct cstat *cstat, struct bu *bu1, in json_send_client_backup() argument
400 static int json_send_client_backup_list(struct cstat *cstat, int use_cache, in json_send_client_backup_list() argument
420 int json_send(struct asfd *asfd, struct cstat *clist, struct cstat *cstat, in json_send() argument
425 struct cstat *c; in json_send()
431 if(cstat && bu) in json_send()
[all …]
/dports/sysutils/burp/burp-2.4.0/src/server/monitor/
H A Dcstat.c17 int cstat_permitted(struct cstat *cstat, in cstat_permitted() argument
48 static int cstat_set_sdirs_protocol_unknown(struct cstat *cstat, in cstat_set_sdirs_protocol_unknown() argument
99 static int cstat_set_sdirs_protocol_known(struct cstat *cstat, in cstat_set_sdirs_protocol_known() argument
127 static int set_cstat_from_conf(struct cstat *cstat, in set_cstat_from_conf() argument
191 static void cstat_free_w(struct cstat **cstat) in cstat_free_w() argument
200 void cstat_remove(struct cstat **clist, struct cstat **cstat) in cstat_remove() argument
203 if(!cstat || !*cstat) return; in cstat_remove()
209 *cstat=*clist; in cstat_remove()
220 *cstat=*clist; in cstat_remove()
359 int cstat_set_backup_list(struct cstat *cstat) in cstat_set_backup_list() argument
[all …]
H A Dcstat.h4 extern int cstat_load_data_from_disk(struct cstat **clist,
7 extern void cstat_set_run_status(struct cstat *cstat,
9 extern int cstat_set_backup_list(struct cstat *cstat);
12 extern int cstat_permitted(struct cstat *cstat,
14 extern int cstat_get_client_names(struct cstat **clist,
16 extern int cstat_reload_from_client_confs(struct cstat **clist,
19 extern void cstat_remove(struct cstat **clist, struct cstat **cstat);
20 extern int reload_from_clientdir(struct cstat **clist);
H A Djson_output.c218 static int json_send_backup(struct cstat *cstat, struct bu *bu, in json_send_backup() argument
303 static int str_array(const char *field, struct cstat *cstat) in str_array() argument
342 static int json_send_client_start(struct cstat *cstat, long peer_version) in json_send_client_start() argument
357 if(cstat->cntrs in json_send_client_start()
361 else if(cstat->cntrs) in json_send_client_start()
382 static int json_send_client_backup(struct cstat *cstat, struct bu *bu1, in json_send_client_backup() argument
400 static int json_send_client_backup_list(struct cstat *cstat, int use_cache, in json_send_client_backup_list() argument
420 int json_send(struct asfd *asfd, struct cstat *clist, struct cstat *cstat, in json_send() argument
425 struct cstat *c; in json_send()
431 if(cstat && bu) in json_send()
[all …]
/dports/science/netcdf/netcdf-c-4.7.4/oc2/
H A Dochttp.c36 CURLcode cstat = CURLE_OK; in ocfetchurl_file() local
41 if (cstat != CURLE_OK) in ocfetchurl_file()
46 if (cstat != CURLE_OK) in ocfetchurl_file()
51 if (cstat != CURLE_OK) in ocfetchurl_file()
56 if (cstat != CURLE_OK) in ocfetchurl_file()
63 if (cstat != CURLE_OK) in ocfetchurl_file()
95 if (cstat != CURLE_OK) in ocfetchurl()
100 if (cstat != CURLE_OK) in ocfetchurl()
105 if (cstat != CURLE_OK) in ocfetchurl()
117 cstat = CURLE_OK; in ocfetchurl()
[all …]
/dports/sysutils/burp-devel/burp-2.5.4/utest/server/monitor/
H A Dtest_cstat.c42 struct cstat *cstat; in setup_cstat() local
49 return cstat; in setup_cstat()
52 static void tear_down(struct cstat **cstat) in tear_down() argument
81 struct cstat *cstat; in do_test_cstat_set_backup_list() local
121 struct cstat *cstat; in START_TEST() local
426 struct cstat *cstat; in set_run_status_setup() local
435 struct cstat *cstat; in test_cstat_set_run_status_not_permitted() local
444 struct cstat *cstat; in test_cstat_set_run_status_idle() local
453 struct cstat *cstat; in test_cstat_set_run_status_running() local
511 static void check_restore_clients(struct cstat *cstat, in check_restore_clients() argument
[all …]
H A Dtest_browse.c38 struct cstat *cstat; in setup_cstat() local
44 cstat->sdirs=sdirs; in setup_cstat()
45 return cstat; in setup_cstat()
48 static void tear_down(struct cstat **cstat) in tear_down() argument
51 cstat_free(cstat); in tear_down()
62 struct cstat *cstat; in run_test() local
63 cstat=setup_cstat(CNAME, protocol); in run_test()
66 cstat->permitted=1; in run_test()
69 cstat, in run_test()
70 cstat->bu, in run_test()
[all …]
/dports/sysutils/burp/burp-2.4.0/utest/server/monitor/
H A Dtest_cstat.c42 struct cstat *cstat; in setup_cstat() local
49 return cstat; in setup_cstat()
52 static void tear_down(struct cstat **cstat) in tear_down() argument
81 struct cstat *cstat; in do_test_cstat_set_backup_list() local
121 struct cstat *cstat; in START_TEST() local
426 struct cstat *cstat; in set_run_status_setup() local
435 struct cstat *cstat; in test_cstat_set_run_status_not_permitted() local
444 struct cstat *cstat; in test_cstat_set_run_status_idle() local
453 struct cstat *cstat; in test_cstat_set_run_status_running() local
511 static void check_restore_clients(struct cstat *cstat, in check_restore_clients() argument
[all …]
H A Dtest_browse.c38 struct cstat *cstat; in setup_cstat() local
44 cstat->sdirs=sdirs; in setup_cstat()
45 return cstat; in setup_cstat()
48 static void tear_down(struct cstat **cstat) in tear_down() argument
51 cstat_free(cstat); in tear_down()
62 struct cstat *cstat; in run_test() local
63 cstat=setup_cstat(CNAME, protocol); in run_test()
66 cstat->permitted=1; in run_test()
69 cstat, in run_test()
70 cstat->bu, in run_test()
[all …]
/dports/sysutils/burp/burp-2.4.0/src/
H A Dcstat.c11 return (struct cstat *)calloc_w(1, sizeof(struct cstat), __func__); in cstat_alloc()
14 int cstat_init(struct cstat *cstat, in cstat_init() argument
61 void cstat_free(struct cstat **cstat) in cstat_free() argument
63 if(!cstat || !*cstat) return; in cstat_free()
65 free_v((void **)cstat); in cstat_free()
68 void cstat_add_to_list(struct cstat **clist, struct cstat *cnew) in cstat_add_to_list()
70 struct cstat *c=NULL; in cstat_add_to_list()
116 const char *run_status_to_str(struct cstat *cstat) in run_status_to_str() argument
138 struct cstat *cstat_get_by_name(struct cstat *clist, const char *name) in cstat_get_by_name()
140 struct cstat *c; in cstat_get_by_name()
[all …]
H A Dcstat.h17 struct cstat struct
38 struct cstat *prev; argument
39 struct cstat *next; argument
42 extern struct cstat *cstat_alloc(void);
43 extern int cstat_init(struct cstat *cstat,
45 extern void cstat_free(struct cstat **cstat);
46 extern void cstat_list_free(struct cstat **clist);
47 extern void cstat_add_to_list(struct cstat **clist, struct cstat *cnew);
51 extern const char *run_status_to_str(struct cstat *cstat);
54 extern struct cstat *cstat_get_by_name(struct cstat *clist, const char *name);
[all …]
/dports/sysutils/burp-devel/burp-2.5.4/src/
H A Dcstat.c11 return (struct cstat *)calloc_w(1, sizeof(struct cstat), __func__); in cstat_alloc()
14 int cstat_init(struct cstat *cstat, in cstat_init() argument
61 void cstat_free(struct cstat **cstat) in cstat_free() argument
63 if(!cstat || !*cstat) return; in cstat_free()
65 free_v((void **)cstat); in cstat_free()
68 void cstat_add_to_list(struct cstat **clist, struct cstat *cnew) in cstat_add_to_list()
70 struct cstat *c=NULL; in cstat_add_to_list()
116 const char *run_status_to_str(struct cstat *cstat) in run_status_to_str() argument
138 struct cstat *cstat_get_by_name(struct cstat *clist, const char *name) in cstat_get_by_name()
140 struct cstat *c; in cstat_get_by_name()
[all …]
H A Dcstat.h17 struct cstat struct
38 struct cstat *prev; argument
39 struct cstat *next; argument
42 extern struct cstat *cstat_alloc(void);
43 extern int cstat_init(struct cstat *cstat,
45 extern void cstat_free(struct cstat **cstat);
46 extern void cstat_list_free(struct cstat **clist);
47 extern void cstat_add_to_list(struct cstat **clist, struct cstat *cnew);
51 extern const char *run_status_to_str(struct cstat *cstat);
54 extern struct cstat *cstat_get_by_name(struct cstat *clist, const char *name);
[all …]
/dports/games/flare-engine/flare-engine-1.12/src/
H A DMenuCharacter.cpp65 cstat[i].hover.x = cstat[i].hover.y = 0; in MenuCharacter()
66 cstat[i].hover.w = cstat[i].hover.h = 0; in MenuCharacter()
162cstat[CSTAT_NAME].value->setBasePos(cstat[CSTAT_NAME].value_pos.x, cstat[CSTAT_NAME].value_pos.y +… in MenuCharacter()
167cstat[CSTAT_LEVEL].value->setBasePos(cstat[CSTAT_LEVEL].value_pos.x + (cstat[CSTAT_LEVEL].value_po… in MenuCharacter()
369 cstat[j].tip.clear(); in refreshStats()
370 cstat[j].tip.addText(cstat[j].label->getText()); in refreshStats()
529 cstat[i].label->render(); in render()
530 cstat[i].value->render(); in render()
551 …if (Utils::isWithinRect(cstat[i].hover, position) && !cstat[i].tip.isEmpty() && !cstat[i].label->i… in renderTooltips()
594 delete cstat[i].label; in ~MenuCharacter()
[all …]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/netcdf/vtknetcdf/libdispatch/
H A Ddhttp.c90 CURLcode cstat = CURLE_OK; in nc_http_open() local
92 if(cstat != CURLE_OK) in nc_http_open()
157 CURLcode cstat = CURLE_OK; in nc_http_read() local
170 if(cstat != CURLE_OK) in nc_http_read()
335 CURLcode cstat = CURLE_OK; in setupconn() local
381 CURLcode cstat = CURLE_OK; in execute() local
389 if(cstat != CURLE_OK) goto fail; in execute()
410 CURLcode cstat = CURLE_OK; in headerson() local
447 if(cstat != CURLE_OK) in reporterror()
449 cstat,curl_easy_strerror(cstat),state->errbuf); in reporterror()
[all …]
/dports/science/netcdf/netcdf-c-4.7.4/libdispatch/
H A Ddhttp.c138 CURLcode cstat = CURLE_OK; in nc_http_read() local
151 if(cstat != CURLE_OK) in nc_http_read()
252 CURLcode cstat = CURLE_OK; in setupconn() local
261 if (cstat != CURLE_OK) goto fail; in setupconn()
263 if (cstat != CURLE_OK) goto fail; in setupconn()
265 if (cstat != CURLE_OK) goto fail; in setupconn()
267 if (cstat != CURLE_OK) goto fail; in setupconn()
294 CURLcode cstat = CURLE_OK; in execute() local
303 if(cstat != CURLE_OK) goto fail; in execute()
325 CURLcode cstat = CURLE_OK; in headerson() local
[all …]
/dports/net/libngtcp2/ngtcp2-224bd62/tests/
H A Dngtcp2_rtb_test.c37 memset(cstat, 0, sizeof(*cstat)); in conn_stat_init()
50 ngtcp2_conn_stat cstat; in test_ngtcp2_rtb_add() local
58 conn_stat_init(&cstat); in test_ngtcp2_rtb_add()
165 ngtcp2_conn_stat cstat; in test_ngtcp2_rtb_recv_ack() local
179 conn_stat_init(&cstat); in test_ngtcp2_rtb_recv_ack()
203 conn_stat_init(&cstat); in test_ngtcp2_rtb_recv_ack()
232 conn_stat_init(&cstat); in test_ngtcp2_rtb_recv_ack()
253 conn_stat_init(&cstat); in test_ngtcp2_rtb_recv_ack()
272 conn_stat_init(&cstat); in test_ngtcp2_rtb_recv_ack()
302 ngtcp2_conn_stat cstat; in test_ngtcp2_rtb_lost_pkt_ts() local
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/stats/
H A Dhelper.go37 cstat, found := latestContainerStats(info)
49 if cstat.CpuInst != nil {
52 if cstat.Cpu != nil {
61 UsageBytes: &cstat.Memory.Usage,
63 RSSBytes: &cstat.Memory.RSS,
107 cfs := cstat.Filesystem
179 if !found || cstat.Processes == nil {
182 num := cstat.Processes.ProcessCount
197 if cstat.Network == nil {
202 Time: metav1.NewTime(cstat.Timestamp),
[all …]

12345678910>>...42