code
stringlengths 3
6.57k
|
---|
Status (Page_Tree, Version_Mixin) |
parse (self) |
self.tree.getroot () |
root.findall (".//%s" % tag ("div") |
div.get ('id') |
self.try_get_version (div) |
self.tbl_iter (wlan_div) |
pyk.iteritems (self.wl_names) |
WLAN_Config (** d) |
self.wlans.append (wl) |
self.tbl_iter (route_div) |
d.get ('iface') |
d.get ('gateway') |
self.set_version (root) |
tbl_iter (self, div) |
div.find (".//%s" % tag ("table") |
tbl.get ('class') |
tr.get ('class') |
split () |
tr.findall (".//%s" % tag ('input') |
input.get ('id') |
split ('.') |
input.get ('value') |
Table_Iter (Page_Tree) |
table_iter (self) |
self.tree.getroot () |
root.findall (".//%s" % tag ("div") |
div.get ('id') |
div.find (".//%s" % tag ("table") |
tag ('th') |
yield (self.tree.get_text (x) |
OLSR_Connections (Table_Iter) |
parse (self) |
self.table_iter () |
float (x) |
in (lq, nlq, etx) |
OLSR_Routes (Table_Iter) |
parse (self) |
self.table_iter () |
OpenWRT (autosuper) |
__init__ (self, site, request) |
Status (site = site) |
OLSR_Connections (site = site) |
OLSR_Routes (site = site) |
len (st.wlans) |
pyk.iteritems (route.iface_by_gw) |
Inet4 (ip, None, None, iface = ifname) |
Interface (count, ifname, None) |
iface.append_inet4 (i4) |
pyk.itervalues (interfaces) |
ValueError (m) |
Inet4 (self.request ['ip'], None, None, iface = n) |
Interface (count, n, None) |
iface.append_inet4 (i4) |
calc_hash(img) |
resize(img) |
imagehash.whash(Image.fromarray(img) |
compare(hash1, hash2) |
limit(img, std_hash, count) |
calc_hash(img) |
compare(std_hash, cmp_hash) |
resize(img) |
np.shape(img) |
np.shape(img) |
math.floor(height / scale) |
set_standard(images, filename) |
calc_hash(images[filename]) |
TODO(hongyes) |
compile (migrate from dsl-compile) |
experiment (manage experiments) |
main() |
Room_Item(QWidget,Ui_Form) |
__init__(self,parent=None,room_data=None) |
super(Room_Item,self) |
__init__(parent) |
self.setupUi(self) |
self.setRoomInfo() |
setRoomInfo(self) |
self.room_name.setText('{}({}) |
format(self.data['naturalName'], self.data['roomName']) |
self.description.setText("<a style='color:#BCBCBC'>{}</a>".format(self.data['description']) |
int(self.data['creationDate']) |
time.localtime(timeStamp) |
time.strftime("%Y-%m-%d", timeArray) |
self.create_time.setText("<a style='color:#BCBCBC'>{}</a>".format(otherStyleTime) |
len(self.data['owners']) |
len(self.data['admins']) |
len(self.data['members']) |
format(members, ('∞' if self.data['maxUsers']==0 else self.data['maxUsers']) |
self.member.setText(memberCounter) |
MainWindow(Window) |
winforms_FormClosing(self, sender, event) |
self.interface.app.exit() |
__init__(self, interface) |
app.exit() |
app.exit() |
app.exit() |
WinformsProactorEventLoop() |
asyncio.set_event_loop(self.loop) |
create(self) |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 0