Home
last modified time | relevance | path

Searched refs:get_attr (Results 1 – 25 of 1461) sorted by relevance

12345678910>>...59

/dports/x11-wm/herbstluftwm/herbstluftwm-0.9.2/tests/
H A Dtest_tags.py5 assert hlwm.get_attr('tags.count') == '1'
6 assert hlwm.get_attr('tags.0.name') == 'default'
10 focus_before = hlwm.get_attr('tags.focus.name')
14 assert hlwm.get_attr('tags.count') == '2'
15 assert hlwm.get_attr('tags.1.client_count') == '0'
16 assert hlwm.get_attr('tags.1.client_count') == '0'
20 assert hlwm.get_attr('tags.1.index') == '1'
21 assert hlwm.get_attr('tags.1.name') == 'foobar'
31 assert hlwm.get_attr('tags.focus.index') == '0'
122 assert hlwm.get_attr('tags.count') == '1'
[all …]
H A Dtest_clients.py17 assert hlwm.get_attr('clients.focus.winid') == winid
87 assert hlwm.get_attr('clients.focus.winid') != winid
92 assert hlwm.get_attr('clients.focus.winid') == winid
120 assert hlwm.get_attr(clients_win_tag) == hlwm.get_attr('tags.0.name')
124 assert hlwm.get_attr(clients_win_tag) == 'othertag'
129 assert int(hlwm.get_attr('clients.focus.pid')) == 2342
134 assert int(hlwm.get_attr('clients.focus.pid')) == -1
159 assert hlwm.get_attr('clients.focus.winid') == bonnie
177 assert hlwm.get_attr('clients.focus.winid') == winid
273 assert hlwm.get_attr('clients.focus.winid') == winid
[all …]
H A Dtest_monitor.py5 assert hlwm.get_attr('monitors.count') == '1'
6 assert hlwm.get_attr('monitors.focus.name') == ''
7 assert hlwm.get_attr('monitors.focus.index') == '0'
13 assert hlwm.get_attr('monitors.count') == '1'
23 assert hlwm.get_attr('monitors.count') == '2'
32 assert hlwm.get_attr('monitors.count') == '2'
33 assert hlwm.get_attr('monitors.1.name') == ''
39 assert hlwm.get_attr('monitors.count') == '1'
45 assert hlwm.get_attr('monitors.count') == '1'
267 oldtag = hlwm.get_attr('monitors.0.tag')
[all …]
H A Dtest_rules.py236 assert hlwm.get_attr('monitors.focus.name') == ''
241 assert hlwm.get_attr('clients', winid, 'tag') == 'tag2'
288 assert hlwm.get_attr('clients', winid, 'tag') == 'tag2'
297 assert hlwm.get_attr('clients', winid, 'tag') == 'tag2'
317 assert hlwm.get_attr('clients', winid, 'tag') == 'tag2'
469 assert hlwm.get_attr('clients.{}.tag'.format(winid)) \
470 == hlwm.get_attr('tags.focus.name')
663 assert hlwm.get_attr('tags.focus.name') == 'default'
669 assert hlwm.get_attr('tags.focus.name') == 'tag2'
681 assert hlwm.get_attr('tags.focus.name') == 'default'
[all …]
H A Dtest_ewmh.py55 assert hlwm.get_attr('tags.by-name.tag3.index') == '3'
66 assert hlwm.get_attr('tags.by-name.tag3.index') == '2'
76 assert hlwm.get_attr('tags.by-name.tag2.index') == '2'
96 focus_name = hlwm.get_attr('tags.focus.name')
102 assert focus_name == hlwm.get_attr('tags.focus.name')
123 assert hlwm.get_attr(f'tags.{idx}.name') == name
146 assert hlwm.get_attr(f'tags.{idx}.name') == name
220 assert int(hlwm.get_attr('tags.focus.index')) == 0
263 assert hlwm.get_attr('clients.focus.winid') == winid
281 assert hlwm.get_attr('tags.focus.name') == 'tag2'
[all …]
/dports/graphics/wxsvg/wxsvg-1.5.22/scripts/
H A DgenGetAttributes.py53 get_attr = get_attr + '.GetBaseVal()'
64 check = get_attr
67 check = '%s != 0'%get_attr
87 get_attr = etype + get_attr
88 get_attr = 'wxString::Format(wxT("%%d"), %s)'%get_attr
90 get_attr = etype + get_attr
91 get_attr = 'wxString::Format(wxT("%%d"), %s)'%get_attr
93 check = '%s > 0'%get_attr
94 get_attr = 'wxString::Format(wxT("%%g"), %s)'%get_attr
97 get_attr = '%s.GetCSSText()'%get_attr
[all …]
H A DgenGetAttribute.py53 get_attr = get_attr + '.GetBaseVal()'
70 get_attr = ''' {
76 }'''%(get_attr,get_attr)
90 get_attr = etype + get_attr
91 get_attr = ' return wxString::Format(wxT("%%d"), %s);'%get_attr
93 get_attr = etype + get_attr
94 get_attr = ' return wxString::Format(wxT("%%d"), %s);'%get_attr
96 get_attr = ' return wxString::Format(wxT("%%g"), %s);'%get_attr
98 get_attr = ' return %s.GetCSSText();'%get_attr
100 get_attr = ' return %s.GetValueAsString();'%get_attr
[all …]
/dports/science/quantum-espresso/q-e-qe-6.7.0/upflib/
H A Dread_upf_new.f90197 CALL get_attr ('date', upf%date)
199 CALL get_attr ('element', upf%psd)
215 CALL get_attr ('l_max', upf%lmax)
233 CALL get_attr ( 'mesh', mesh )
287 CALL get_attr ( 'l', l)
290 CALL get_attr ( 'j', j)
349 CALL get_attr('index', mb)
524 call get_attr('index', ind)
566 CALL get_attr ('index',mb)
594 CALL get_attr ('index',mb)
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/darknet/
H A Ddarknet_parser.py136 stride = source_node.get_attr('stride')
146 if source_node.get_attr('pad'):
148 padding = source_node.get_attr('padding')
195 kernel = innode.get_attr('kernel')
254 if source_node.get_attr('pool') == 'MAX':
257 stride = source_node.get_attr('stride')
260 pad = source_node.get_attr('padding')
285 kwargs['num'] = source_node.get_attr('num')
299 scales = source_node.get_attr('scales')
312 stride = source_node.get_attr('strides')
[all …]
/dports/net-mgmt/cacti-spine/cacti-spine-1.2.17/
H A Dlocks.c75 pthread_once((pthread_once_t*) get_attr(LOCK_SNMP_O), init_snmp_lock); in DEFINE_SPINE_LOCK()
76 pthread_once((pthread_once_t*) get_attr(LOCK_SETEUID_O), init_seteuid_lock); in DEFINE_SPINE_LOCK()
77 pthread_once((pthread_once_t*) get_attr(LOCK_GHBN_O), init_ghbn_lock); in DEFINE_SPINE_LOCK()
78 pthread_once((pthread_once_t*) get_attr(LOCK_POOL_O), init_pool_lock); in DEFINE_SPINE_LOCK()
79 pthread_once((pthread_once_t*) get_attr(LOCK_SYSLOG_O), init_syslog_lock); in DEFINE_SPINE_LOCK()
80 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_O), init_php_lock); in DEFINE_SPINE_LOCK()
81 pthread_once((pthread_once_t*) get_attr(LOCK_PEND_O), init_pend_lock); in DEFINE_SPINE_LOCK()
82 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_PROC_0_O), init_php_proc_0_lock); in DEFINE_SPINE_LOCK()
83 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_PROC_1_O), init_php_proc_1_lock); in DEFINE_SPINE_LOCK()
84 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_PROC_2_O), init_php_proc_2_lock); in DEFINE_SPINE_LOCK()
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/keras/
H A Dkeras2_emitter.py643 size = IR_node.get_attr('size')
645 beta = IR_node.get_attr('beta')
646 bias = IR_node.get_attr('bias')
718 IR_node.get_attr('value'))
731 if IR_node.get_attr('strides'):
743 IR_node.get_attr('starts'),
744 IR_node.get_attr('ends'),
754 IR_node.get_attr('num'),
755 IR_node.get_attr('axis'))
817 IR_node.get_attr('alpha'),
[all …]
/dports/net/py-pyroute2.core/pyroute2.core-0.6.5/pr2modules/netlink/rtnl/ifinfmsg/
H A Dtuntap.py45 linkinfo = msg.get_attr('IFLA_LINKINFO')
48 if infodata.get_attr('IFLA_TUN_TYPE') == 1:
54 if not infodata.get_attr('IFLA_TUN_PI'):
56 if infodata.get_attr('IFLA_TUN_VNET_HDR'):
61 ifr = msg.get_attr('IFLA_IFNAME')
68 user = infodata.get_attr('IFLA_TUN_OWNER')
69 group = infodata.get_attr('IFLA_TUN_GROUP')
95 linkinfo = msg.get_attr('IFLA_LINKINFO')
114 ifr = msg.get_attr('IFLA_IFNAME')
121 user = infodata.get_attr('IFTUN_UID')
[all …]
H A Dcompat.py26 ifname = msg.get_attr('IFLA_IFNAME')
35 li = msg.get_attr('IFLA_LINKINFO')
37 kind = li.get_attr('IFLA_INFO_KIND')
48 li = msg.get_attr('IFLA_LINKINFO')
107 kind = msg.get_attr('IFLA_LINKINFO').get_attr('IFLA_INFO_KIND')
146 master = msg.get_attr('IFLA_MASTER')
184 li = msg.get_attr('IFLA_LINKINFO')
252 name = msg.get_attr('IFLA_IFNAME')
261 name = msg.get_attr('IFLA_IFNAME')
286 name = msg.get_attr('IFLA_IFNAME')
[all …]
H A Dproxy.py23 kind = msg.get_attr('IFLA_LINKINFO').get_attr('IFLA_INFO_KIND')
26 return {'ifname': msg.get_attr('IFLA_IFNAME'),
27 'master': msg.get_attr('IFLA_MASTER'),
33 master = msg.get_attr('IFLA_MASTER')
48 ifname = msg.get_attr('IFLA_IFNAME') or \
66 linkinfo = msg.get_attr('IFLA_LINKINFO')
92 linkinfo = msg.get_attr('IFLA_LINKINFO')
93 infodata = linkinfo.get_attr('IFLA_INFO_DATA')
94 config = infodata.get_attr('IFLA_TEAM_CONFIG')
101 config['device'] = msg.get_attr('IFLA_IFNAME')
/dports/net-mgmt/cacti88-spine/cacti-spine-0.8.8h/
H A Dlocks.c70 pthread_once((pthread_once_t*) get_attr(LOCK_SNMP_O), init_snmp_lock); in DEFINE_SPINE_LOCK()
71 pthread_once((pthread_once_t*) get_attr(LOCK_THREAD_O), init_thread_lock); in DEFINE_SPINE_LOCK()
72 pthread_once((pthread_once_t*) get_attr(LOCK_SETEUID_O), init_seteuid_lock); in DEFINE_SPINE_LOCK()
73 pthread_once((pthread_once_t*) get_attr(LOCK_GHBN_O), init_ghbn_lock); in DEFINE_SPINE_LOCK()
74 pthread_once((pthread_once_t*) get_attr(LOCK_PIPE_O), init_pipe_lock); in DEFINE_SPINE_LOCK()
75 pthread_once((pthread_once_t*) get_attr(LOCK_SYSLOG_O), init_syslog_lock); in DEFINE_SPINE_LOCK()
76 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_O), init_php_lock); in DEFINE_SPINE_LOCK()
77 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_PROC_0_O), init_php_proc_0_lock); in DEFINE_SPINE_LOCK()
78 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_PROC_1_O), init_php_proc_1_lock); in DEFINE_SPINE_LOCK()
79 pthread_once((pthread_once_t*) get_attr(LOCK_PHP_PROC_2_O), init_php_proc_2_lock); in DEFINE_SPINE_LOCK()
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/caffe/
H A Dcaffe_emitter.py163 pads = IR_node.get_attr('pads')
216 IR_node.get_attr('strides')[1],
279 pads = IR_node.get_attr('pads')
407 IR_node.get_attr('epsilon'),
415 IR_node.get_attr('bias', False)
448 if IR_node.get_attr('value'):
470 size = IR_node.get_attr('size')
471 alpha = IR_node.get_attr('alpha')
472 beta = IR_node.get_attr('beta')
473 bias = IR_node.get_attr('bias')
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/tensorflow/
H A Dtensorflow_emitter.py132 IR_node.get_attr('group', 1),
382 IR_node.get_attr('axis')
391 IR_node.get_attr('num'),
392 IR_node.get_attr('axis')
462 IR_node.get_attr('alpha'),
560 size = IR_node.get_attr('size')
564 beta = IR_node.get_attr('beta')
680 IR_node.get_attr('axis'),
688 IR_node.get_attr('split'),
689 IR_node.get_attr('axis'),
[all …]
H A Dtensorflow_frozenparser.py319 beta_tensor = beta.get_attr('value')
328 gamma_tensor = gamma.get_attr('value')
370 value = source_node.get_attr('value')
477 source_node.get_attr('strides'))
497 bias_value = variable.get_attr('value')
580 gamma_value = gamma.get_attr('value')
587 beta_value = beta.get_attr('value')
594 mean_value = mean.get_attr('value')
912 beta = source_node.get_attr('beta')
913 bias = source_node.get_attr('bias')
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/cntk/
H A Dcntk_emitter.py236 … padding = not self.is_valid_padding(IR_node.get_attr('auto_pad'), IR_node.get_attr('pads'))
394 if IR_node.get_attr('value'):
421 IR_node.get_attr('epsilon'),
506 size = IR_node.get_attr('size')
510 beta = IR_node.get_attr('beta')
511 bias = IR_node.get_attr('bias')
528 IR_node.get_attr('alpha'),
538 IR_node.get_attr('alpha'),
567 IR_node.get_attr("jitter")]
649 ends = IR_node.get_attr('ends')
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/pytorch/
H A Dpytorch_emitter.py176 IR_node.get_attr('use_bias')))
392 IR_node.get_attr('alpha'))
494 if IR_node.get_attr('value'):
634 size = IR_node.get_attr('size')
635 alpha = IR_node.get_attr('alpha')
636 beta = IR_node.get_attr('beta')
697 ends = IR_node.get_attr('ends')
738 IR_node.get_attr('axis'),
747 IR_node.get_attr('axis')
756 IR_node.get_attr('value')
[all …]
/dports/science/quantum-espresso/q-e-qe-6.7.0/PP/src/
H A Dread_proj.f9050 CALL get_attr ("NUMBER_OF_BANDS", nbnd)
51 CALL get_attr ("NUMBER_OF_K-POINTS", num_k_points)
52 CALL get_attr ("NUMBER_OF_SPIN_COMPONENTS", nspin)
53 CALL get_attr ("NUMBER_OF_ATOMIC_WFC", natomwfc)
54 CALL get_attr ("NUMBER_OF_ELECTRONS", nelec)
55 CALL get_attr ("FERMI_ENERGY", ef)
70 CALL get_attr ( "Weight", wk(ik_eff) )
79 CALL get_attr ( "index", nw_ )
80 CALL get_attr ( "spin", is_ )
99 CALL get_attr ("dim", nw_ )
[all …]
/dports/net/py-pyroute2.core/pyroute2.core-0.6.5/pr2modules/
H A Dconntrack.py39 cta_tcp = ndmsg.get_attr('CTA_PROTOINFO_TCP')
40 state = cta_tcp.get_attr('CTA_PROTOINFO_TCP_STATE')
119 return ndmsg.get_attr('CTA_STATS_GLOBAL_ENTRIES')
177 ndmsg.get_attr('CTA_TUPLE_ORIG'),
178 ndmsg.get_attr('CTA_TUPLE_REPLY'),
179 ndmsg.get_attr('CTA_STATUS'),
180 ndmsg.get_attr('CTA_TIMEOUT'),
181 ndmsg.get_attr('CTA_PROTOINFO'),
182 ndmsg.get_attr('CTA_MARK'),
183 ndmsg.get_attr('CTA_ID'),
[all …]
/dports/net/py-pyroute2.ipset/pyroute2.ipset-0.6.5/pr2modules/
H A Dwiset.py198 self.name = ndmsg.get_attr("IPSET_ATTR_SETNAME")
200 self.family = ndmsg.get_attr("IPSET_ATTR_FAMILY")
202 self.index = ndmsg.get_attr("IPSET_ATTR_INDEX")
203 data = ndmsg.get_attr("IPSET_ATTR_DATA")
204 self.timeout = data.get_attr("IPSET_ATTR_TIMEOUT")
205 flags = data.get_attr("IPSET_ATTR_CADT_FLAGS")
234 ip = entry.get_attr(ip_attr).get_attr(family)
237 ip = entry.get_attr(ip_attr).get_attr(family)
262 skbmark = entry.get_attr("IPSET_ATTR_SKBMARK")
271 flags = entry.get_attr("IPSET_ATTR_CADT_FLAGS")
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/coreml/
H A Dcoreml_emitter.py209 stride_height, stride_width = IR_node.get_attr('strides')[1], IR_node.get_attr('strides')[2]
287 stride_height, stride_width = IR_node.get_attr('strides')[1], IR_node.get_attr('strides')[2]
371 stride_height, stride_width = IR_node.get_attr('strides')[1], IR_node.get_attr('strides')[2]
708 …self._emit_activation(IR_node, 'SCALED_TANH', [IR_node.get_attr('alpha', 0),IR_node.get_attr('beta…
710 …self._emit_activation(IR_node, 'LINEAR', [IR_node.get_attr('alpha', 0),IR_node.get_attr('beta', 0)…
712 …self._emit_activation(IR_node, 'SIGMOID_HARD', [IR_node.get_attr('alpha', 0),IR_node.get_attr('bet…
860 padding = IR_node.get_attr('pads')
905 alpha = IR_node.get_attr('alpha')
906 beta = IR_node.get_attr('beta')
907 bias = IR_node.get_attr('bias')
[all …]
/dports/misc/mmdnn/MMdnn-0.3.1/mmdnn/conversion/torch/
H A Dtorch_parser.py84 kwargs['dilations'] = [1] + list(source_node.get_attr('dilation')) + [1]
85 kwargs['pads'] = ([0] + list(source_node.get_attr('padding')) + [0]) * 2
86 kwargs['strides'] = [1] + list(source_node.get_attr('stride')) + [1]
87 kwargs['group'] = source_node.get_attr('groups')
90 weight = source_node.get_attr('next_functions')[1][0].variable.data.numpy()
93 if source_node.get_attr('transposed'):
104 if source_node.get_attr('next_functions')[2][0]:
138 if source_node.get_attr('next_functions')[0][0]:
167 kwargs['strides'] = [1] + list(source_node.get_attr('stride')) + [1]
168 kwargs['dilations'] = [1] + list(source_node.get_attr('dilation')) + [1]
[all …]

12345678910>>...59