/dports/net/py-ripe.atlas.sagan/ripe.atlas.sagan-1.3.0/tests/ |
H A D | traceroute.py | 39 assert(result.hops[3].index == 4) 44 assert(result.hops[-1].index == 255) 67 assert(result.hops[3].index == 4) 94 assert(result.hops[3].index == 4) 121 assert(result.hops[3].index == 4) 148 assert(result.hops[3].index == 4) 175 assert(result.hops[3].index == 4) 202 assert(result.hops[3].index == 4) 229 assert(result.hops[3].index == 4) 255 assert(result.hops[3].index == 4) [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | path.c | 160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover() 161 if (!path->hops) { in tb_path_discover() 191 path->hops[i].in_port = p; in tb_path_discover() 192 path->hops[i].in_hop_index = h; in tb_path_discover() 194 path->hops[i].out_port = out_port; in tb_path_discover() 260 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc() 261 if (!path->hops) { in tb_path_alloc() 321 path->hops[i].in_port = in_port; in tb_path_alloc() 323 path->hops[i].out_port = out_port; in tb_path_alloc() 361 kfree(path->hops); in tb_path_free() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | path.c | 160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover() 161 if (!path->hops) { in tb_path_discover() 191 path->hops[i].in_port = p; in tb_path_discover() 192 path->hops[i].in_hop_index = h; in tb_path_discover() 194 path->hops[i].out_port = out_port; in tb_path_discover() 260 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc() 261 if (!path->hops) { in tb_path_alloc() 321 path->hops[i].in_port = in_port; in tb_path_alloc() 323 path->hops[i].out_port = out_port; in tb_path_alloc() 361 kfree(path->hops); in tb_path_free() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | path.c | 160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover() 161 if (!path->hops) { in tb_path_discover() 191 path->hops[i].in_port = p; in tb_path_discover() 192 path->hops[i].in_hop_index = h; in tb_path_discover() 194 path->hops[i].out_port = out_port; in tb_path_discover() 260 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc() 261 if (!path->hops) { in tb_path_alloc() 321 path->hops[i].in_port = in_port; in tb_path_alloc() 323 path->hops[i].out_port = out_port; in tb_path_alloc() 361 kfree(path->hops); in tb_path_free() [all …]
|
/dports/net-p2p/c-lightning/lightning-0.10.2/common/ |
H A D | route.c | 80 size_t num_hops = tal_count(*hops); in dijkstra_to_hops() 89 tal_resize(hops, num_hops + 1); in dijkstra_to_hops() 94 (*hops)[num_hops].direction = 0; in dijkstra_to_hops() 97 (*hops)[num_hops].direction = 1; in dijkstra_to_hops() 107 (*hops)[num_hops].style = ROUTE_HOP_TLV; in dijkstra_to_hops() 112 (*hops)[num_hops].blinding = NULL; in dijkstra_to_hops() 113 (*hops)[num_hops].enctlv = NULL; in dijkstra_to_hops() 118 (*hops)[num_hops].amount = *amount; in dijkstra_to_hops() 119 (*hops)[num_hops].delay = *cltv; in dijkstra_to_hops() 140 return tal_free(hops); in route_from_dijkstra() [all …]
|
/dports/net-p2p/c-lightning/lightning-0.10.2/lightningd/ |
H A D | onion_message.c | 341 (*hops)[i].blinding = tal(*hops, struct pubkey); in param_hops() 353 (*hops)[i].scid = tal(*hops, struct short_channel_id); in param_hops() 362 (*hops)[i].enctlv = in param_hops() 398 (*hops)[i].rawtlv = in param_hops() 478 if (hops[i].rawtlv) in populate_tlvs() 483 if (hops[i].scid) { in populate_tlvs() 486 hops[i].scid); in populate_tlvs() 506 hops[i].rawtlv = tal_arr(hops, u8, 0); in populate_tlvs() 516 struct hop *hops; in json_send_obs_onion_message() local 546 sphinx_add_modern_hop(sphinx_path, &hops[i].id, hops[i].rawtlv); in json_send_obs_onion_message() [all …]
|
/dports/devel/py-gtfslib/gtfslib-1.0.0/test/ |
H A D | test_mini.py | 74 for st1, st2 in trip.hops(): 98 hops = dao.hops() 100 for st1, st2 in hops: 110 for st1, st2 in hops: 119 for st1, st2 in hops: 127 … hops = dao.hops(fltr=(dao.hop_second().arrival_time - dao.hop_first().departure_time >= 3600)) 128 for st1, st2 in hops: 130 … hops = dao.hops(fltr=(dao.hop_second().arrival_time - dao.hop_first().departure_time < 3600)) 131 for st1, st2 in hops: 135 hops = dao.hops(delta=2) [all …]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cisco/ios/plugins/module_utils/network/ios/facts/static_routes/ |
H A D | static_routes.py | 182 hops = {} 193 hops = {} 202 hops["interface"] = route[3] 213 hops["interface"] = route[1] 222 hops["interface"] = route[1] 250 hops["multicast"] = True 252 hops["dhcp"] = True 254 hops["global"] = True 256 hops["permanent"] = True 261 next_hops.append(hops) [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/plugins/gssapi/negoextest/ |
H A D | main.c | 63 assert(hops > 0); in gss_init_sec_context() 81 ctx->hops = hops; in gss_init_sec_context() 85 ctx->hops--; in gss_init_sec_context() 86 assert(ctx->hops == hops); in gss_init_sec_context() 89 if (ctx->hops > 0) { in gss_init_sec_context() 91 ctx->hops--; in gss_init_sec_context() 136 ctx->hops = hops; in gss_accept_sec_context() 140 ctx->hops--; in gss_accept_sec_context() 141 assert(ctx->hops == hops); in gss_accept_sec_context() 144 if (ctx->hops > 0) { in gss_accept_sec_context() [all …]
|
/dports/security/krb5/krb5-1.19.2/src/plugins/gssapi/negoextest/ |
H A D | main.c | 72 assert(hops > 0); in gss_init_sec_context() 90 ctx->hops = hops; in gss_init_sec_context() 94 ctx->hops--; in gss_init_sec_context() 95 assert(ctx->hops == hops); in gss_init_sec_context() 98 if (ctx->hops > 0) { in gss_init_sec_context() 100 ctx->hops--; in gss_init_sec_context() 154 ctx->hops = hops; in gss_accept_sec_context() 158 ctx->hops--; in gss_accept_sec_context() 159 assert(ctx->hops == hops); in gss_accept_sec_context() 162 if (ctx->hops > 0) { in gss_accept_sec_context() [all …]
|
/dports/net-mgmt/librenms/librenms-21.5.1/includes/html/pages/routing/ |
H A D | mpls-path-map.inc.php | 16 $hops = []; variable 47 $hops[$remote_node_id] = [ 53 $hops[$remote_node_id]['color'] = '#ccffcc'; 54 $hops[$remote_node_id]['title'] = 'Node Protected'; 56 $hops[$remote_node_id]['color'] = '#cccccc'; 57 $hops[$remote_node_id]['title'] = 'Node Not Protected'; 61 $hops[$remote_node_id]['shape'] = 'circle'; 127 if (empty($hops[$remote_node_id])) { 128 $hops[$remote_node_id] = [ 159 $nodes = json_encode(array_values($hops)); [all …]
|
/dports/www/firefox/firefox-99.0/third_party/rust/jsparagus-stencil/src/ |
H A D | env_coord.rs | 33 hops: u8, field 37 pub fn new(hops: u8) -> Self { in new() 38 Self { hops } in new() 42 self.hops += 1; in next() 47 fn from(hops: EnvironmentHops) -> u8 { in from() 48 hops.hops in from()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/jsparagus-stencil/src/ |
H A D | env_coord.rs | 33 hops: u8, field 37 pub fn new(hops: u8) -> Self { in new() 38 Self { hops } in new() 42 self.hops += 1; in next() 47 fn from(hops: EnvironmentHops) -> u8 { in from() 48 hops.hops in from()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/jsparagus-stencil/src/ |
H A D | env_coord.rs | 33 hops: u8, field 37 pub fn new(hops: u8) -> Self { in new() 38 Self { hops } in new() 42 self.hops += 1; in next() 47 fn from(hops: EnvironmentHops) -> u8 { in from() 48 hops.hops in from()
|
/dports/net/tcpdump/tcpdump-4.99.1/tests/ |
H A D | mstp-v.out | 10 MSTI bridge-prio 6, port-prio 8, hops 20 13 MSTI bridge-prio 8, port-prio 8, hops 20 23 MSTI bridge-prio 8, port-prio 8, hops 20 26 MSTI bridge-prio 8, port-prio 8, hops 20 36 MSTI bridge-prio 6, port-prio 8, hops 20 39 MSTI bridge-prio 8, port-prio 8, hops 20 49 MSTI bridge-prio 8, port-prio 8, hops 20 52 MSTI bridge-prio 8, port-prio 8, hops 20 62 MSTI bridge-prio 6, port-prio 8, hops 20 65 MSTI bridge-prio 8, port-prio 8, hops 20 [all …]
|
/dports/net/scamper/scamper-cvs-20211026/scamper/trace/ |
H A D | scamper_trace.c | 56 hop = trace->pmtud->hops; in scamper_trace_pmtud_free() 200 if(trace->hops == NULL) in scamper_trace_hops_alloc() 208 trace->hops = h; in scamper_trace_hops_alloc() 233 int hops = 0; in scamper_trace_hop_count() local 238 hops++; in scamper_trace_hop_count() 240 return hops; in scamper_trace_hop_count() 347 if(trace->hops[i] != NULL) in scamper_trace_pathlength() 362 if(trace->hops[i] == NULL) in scamper_trace_iscomplete() 511 if(trace->hops != NULL) in scamper_trace_free() 515 hop = trace->hops[i]; in scamper_trace_free() [all …]
|
H A D | scamper_trace_text.c | 257 hop = trace->hops[h]; in hop_tostr() 433 if(trace->hops[i] == NULL) in pmtud_ver1() 549 if(trace->hops[i] == NULL) in pmtud_ver2() 591 if(trace->hops[i] == NULL || in pmtud_ver2() 650 char **hops = NULL; in scamper_file_text_trace_write() local 679 len += strlen(hops[i]); in scamper_file_text_trace_write() 708 if(hops != NULL) in scamper_file_text_trace_write() 736 if(hops != NULL) in scamper_file_text_trace_write() 739 if(hops[i] != NULL) in scamper_file_text_trace_write() 740 free(hops[i]); in scamper_file_text_trace_write() [all …]
|
/dports/devel/boost-docs/boost_1_72_0/libs/asio/test/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/asio/test/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/asio/test/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|
/dports/www/restbed/restbed-4.8/dependency/asio/asio/src/tests/unit/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|
/dports/databases/percona57-server/boost_1_59_0/libs/asio/test/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|
/dports/databases/xtrabackup/boost_1_59_0/libs/asio/test/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|
/dports/databases/percona57-client/boost_1_59_0/libs/asio/test/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|
/dports/emulators/mess/mame-mame0226/3rdparty/asio/src/tests/unit/ip/ |
H A D | unicast.cpp | 44 ip::unicast::hops hops1(1024); in test() 46 ip::unicast::hops hops2; in test() 93 ip::unicast::hops hops1(1); in test() 104 ip::unicast::hops hops2; in test() 115 ip::unicast::hops hops3(255); in test() 126 ip::unicast::hops hops4; in test() 140 ip::unicast::hops hops1(1); in test() 145 ip::unicast::hops hops2; in test() 150 ip::unicast::hops hops3(255); in test() 155 ip::unicast::hops hops4; in test()
|