rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
if len(self.selected_paths) > 0: from rabbitvcs.ui.delete import Delete Delete(self.selected_paths).start() sleep(1) self.initialize_items()
self.delete_items(widget, data)
def on_context_delete_activated(self, widget, data=None): if len(self.selected_paths) > 0: from rabbitvcs.ui.delete import Delete Delete(self.selected_paths).start() sleep(1) # sleep so the items can be fully deleted before init self.initialize_items()
604a1a509f4c6c48c41f7cbcd5ffbc24e2024fb0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5119/604a1a509f4c6c48c41f7cbcd5ffbc24e2024fb0/commit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 2472, 67, 3733, 67, 18836, 12, 2890, 16, 3604, 16, 501, 33, 7036, 4672, 309, 562, 12, 2890, 18, 8109, 67, 4481, 13, 405, 374, 30, 628, 767, 70, 3682, 18982, 18, 4881, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 2472, 67, 3733, 67, 18836, 12, 2890, 16, 3604, 16, 501, 33, 7036, 4672, 309, 562, 12, 2890, 18, 8109, 67, 4481, 13, 405, 374, 30, 628, 767, 70, 3682, 18982, 18, 4881, 18, ...
idx = get_idx(idxID)
def perform_modifyindex(idxID, ln=CFG_SITE_LANG, idxNAME='', idxDESC='', callback='yes', confirm=-1): """form to modify an index name. idxID - the index name to change. idxNAME - new name of index idxDESC - description of index content""" subtitle = "" output = "" if idxID not in [-1, "-1"]: subtitle = """<a name="...
9bb5a2cc734da75518f660295446063e9601e25d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/9bb5a2cc734da75518f660295446063e9601e25d/bibindexadminlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 17042, 1615, 12, 3465, 734, 16, 7211, 33, 19727, 67, 20609, 67, 10571, 16, 2067, 1985, 2218, 2187, 2067, 10964, 2218, 2187, 1348, 2218, 9707, 2187, 6932, 29711, 21, 4672, 3536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 17042, 1615, 12, 3465, 734, 16, 7211, 33, 19727, 67, 20609, 67, 10571, 16, 2067, 1985, 2218, 2187, 2067, 10964, 2218, 2187, 1348, 2218, 9707, 2187, 6932, 29711, 21, 4672, 3536, ...
977:'j',
977:'J',
def _applyAttributes(obj, attr): for k, v in attr.items(): if type(v) is TupleType and v[0]=='relative': #AR 20/5/2000 - remove 1.5.2-ism #v = v[1]+getattr(obj,k,0) if hasattr(obj, k): v = v[1]+getattr(obj,k) else: v = v[1] setattr(obj,k,v)
88a77a2b378347c828d6b5fdd40cc8f514d53b12 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/88a77a2b378347c828d6b5fdd40cc8f514d53b12/paraparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9010, 2498, 12, 2603, 16, 1604, 4672, 364, 417, 16, 331, 316, 1604, 18, 3319, 13332, 309, 618, 12, 90, 13, 353, 7257, 559, 471, 331, 63, 20, 65, 18920, 11626, 4278, 468, 985, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9010, 2498, 12, 2603, 16, 1604, 4672, 364, 417, 16, 331, 316, 1604, 18, 3319, 13332, 309, 618, 12, 90, 13, 353, 7257, 559, 471, 331, 63, 20, 65, 18920, 11626, 4278, 468, 985, 42...
log(Log.Info, "serial", "Running at %d without a line timeout of %d." % (self._serial.baudrate, self._serial.timeout))
log(Log.Info, "serial", "Running at %d with a line timeout of %f." % (self._serial.baudrate, self._serial.timeout))
def __init__(self): attempts = 0 devices = ["ttyUSB0", "ttyUSB1", "ttyS0", "ttyS1"] while attempts < 5 * len(devices): for device in devices: try: log(Log.Info, "serial", "Trying /dev/%s" % device) self._serial = serial.Serial("/dev/%s" % device,getConfig("serial_baudrate"), timeout=getConfig("serial_line_timeout")) lo...
4e78d73df7d207532be3cff22ede7990ab6727de /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12317/4e78d73df7d207532be3cff22ede7990ab6727de/Serial.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 7531, 273, 374, 7166, 273, 8247, 5512, 24128, 20, 3113, 315, 5512, 24128, 21, 3113, 315, 5512, 55, 20, 3113, 315, 5512, 55, 21, 11929, 1323, 7531, 411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 7531, 273, 374, 7166, 273, 8247, 5512, 24128, 20, 3113, 315, 5512, 24128, 21, 3113, 315, 5512, 55, 20, 3113, 315, 5512, 55, 21, 11929, 1323, 7531, 411, ...
(?:[ ]+|$)
([ ]+|$)
def comment(self, match): if not match.string[match.end():].strip() \ and self.state_machine.is_next_line_blank(): # an empty comment? return [nodes.comment()], 1 # "A tiny but practical wart." indented, indent, offset, blank_finish = \ self.state_machine.get_first_known_indented(match.end()) text = '\n'.join(indented)...
72a0c19a34dcc90353f2d799116ebcadd510f22a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/72a0c19a34dcc90353f2d799116ebcadd510f22a/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2879, 12, 2890, 16, 845, 4672, 309, 486, 845, 18, 1080, 63, 1916, 18, 409, 13332, 8009, 6406, 1435, 521, 471, 365, 18, 2019, 67, 9149, 18, 291, 67, 4285, 67, 1369, 67, 12111, 13332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2879, 12, 2890, 16, 845, 4672, 309, 486, 845, 18, 1080, 63, 1916, 18, 409, 13332, 8009, 6406, 1435, 521, 471, 365, 18, 2019, 67, 9149, 18, 291, 67, 4285, 67, 1369, 67, 12111, 13332, ...
item, cookie = self.tree.GetNextChild(self.root, cookie)
def showPandaObjectChildren(self): #import pdb;set_trace() self.shouldShowPandaObjChildren = not self.shouldShowPandaObjChildren item, cookie = self.tree.GetFirstChild(self.root) while item: if self.shouldShowPandaObjChildren: self.addPandaObjectChildren(item) else: self.removePandaObjectChildren(item) # continue itera...
4c963911ae77789c683ea00b008f4a4e67b108d1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/4c963911ae77789c683ea00b008f4a4e67b108d1/SceneGraphUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 52, 464, 69, 921, 4212, 12, 2890, 4672, 468, 5666, 10892, 31, 542, 67, 5129, 1435, 365, 18, 13139, 5706, 52, 464, 69, 2675, 4212, 273, 486, 365, 18, 13139, 5706, 52, 464, 69, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 52, 464, 69, 921, 4212, 12, 2890, 4672, 468, 5666, 10892, 31, 542, 67, 5129, 1435, 365, 18, 13139, 5706, 52, 464, 69, 2675, 4212, 273, 486, 365, 18, 13139, 5706, 52, 464, 69, 2...
u"""calls the named function in userFunctions with arguments (these are positional, not keyword, arguments): if postDownloadFunction: directory, filename, rssItemNode, retrievedLink, downloadDict, threadName
u"""calls the named function in userFunctions with arguments (these are positional, not keyword, arguments): if postDownloadFunction: directory, filename, rssItemNode, retrievedLink, downloadDict, threadName
def callUserFunction( functionName, *args ): u"""calls the named function in userFunctions with arguments (these are positional, not keyword, arguments): if postDownloadFunction: directory, filename, rssItemNode, retrievedLink, downloadDict, threadName if postScanFunction: page, ppage, retrievedLink, and threadName dir...
633e00b171a777d923e4aead2f2717108d53a3b9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/633e00b171a777d923e4aead2f2717108d53a3b9/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 1299, 2083, 12, 14117, 16, 380, 1968, 262, 30, 582, 8395, 12550, 326, 4141, 445, 316, 729, 7503, 598, 1775, 261, 451, 3392, 854, 16780, 16, 486, 4932, 16, 1775, 4672, 309, 1603, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 1299, 2083, 12, 14117, 16, 380, 1968, 262, 30, 582, 8395, 12550, 326, 4141, 445, 316, 729, 7503, 598, 1775, 261, 451, 3392, 854, 16780, 16, 486, 4932, 16, 1775, 4672, 309, 1603, 7...
if self.settings["target"] in ["stage1","stage2","stage3"]:
if self.settings["target"] in ["stage1","stage2","stage3","livecd-stage3"]:
def run(self): self.dir_setup() self.unpack_and_bind() try: self.chroot_setup() except: self.unbind() raise #modify the current environment. This is an ugly hack that should be fixed. We need this #to use the os.system() call since we can't specify our own environ: for x in self.settings.keys(): varname="clst_"+x #"/" ...
5c81cb1034d67d7c8217b4c1012c9034be1a06aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7327/5c81cb1034d67d7c8217b4c1012c9034be1a06aa/targets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 365, 18, 1214, 67, 8401, 1435, 365, 18, 17309, 67, 464, 67, 4376, 1435, 775, 30, 365, 18, 343, 3085, 67, 8401, 1435, 1335, 30, 365, 18, 318, 4376, 1435, 1002, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 365, 18, 1214, 67, 8401, 1435, 365, 18, 17309, 67, 464, 67, 4376, 1435, 775, 30, 365, 18, 343, 3085, 67, 8401, 1435, 1335, 30, 365, 18, 318, 4376, 1435, 1002, 4...
result.append(fmt.rawHTML('<form action="%s/%s" method="GET" name="%s.form">' % (self.request.getScriptname(), wikiutil.quoteWikinameURL(self.request.page.page_name), self.data_id)))
result.append(fmt.rawHTML('<form action="%s/%s" method="GET" name="%sform">' % (self.request.getScriptname(), wikiutil.quoteWikinameURL(self.request.page.page_name), self.data_id)))
def format(self): fmt = self.request.formatter
ba24fd38ab670508bc3a36a8560be2608e883ea5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/ba24fd38ab670508bc3a36a8560be2608e883ea5/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 2890, 4672, 1325, 273, 365, 18, 2293, 18, 12354, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 2890, 4672, 1325, 273, 365, 18, 2293, 18, 12354, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
line = cgi.escape(l))
line = l)
def annotate(): parity = 1 last = None for r, l in fl.annotate(n): try: cnode = ncache[r] except KeyError: cnode = ncache[r] = self.repo.changelog.node(r) try: name = bcache[r] except KeyError: cl = self.repo.changelog.read(cnode) name = cl[1] f = name.find('@') if f >= 0: name = name[:f] bcache[r] = name
67df6715c948c4f7c6d7d2e72c3c108141d13150 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/67df6715c948c4f7c6d7d2e72c3c108141d13150/hgweb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13795, 13332, 19904, 273, 404, 1142, 273, 599, 364, 436, 16, 328, 316, 1183, 18, 18338, 340, 12, 82, 4672, 775, 30, 276, 2159, 273, 290, 2493, 63, 86, 65, 1335, 4999, 30, 276, 2159, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13795, 13332, 19904, 273, 404, 1142, 273, 599, 364, 436, 16, 328, 316, 1183, 18, 18338, 340, 12, 82, 4672, 775, 30, 276, 2159, 273, 290, 2493, 63, 86, 65, 1335, 4999, 30, 276, 2159, ...
req.args['type'] = match.group(1) req.args['path'] = match.group(2).replace(':', '/')
req.args['format'] = match.group(1) and 'raw' or '' req.args['type'] = match.group(2) req.args['path'] = match.group(3).replace(':', '/')
def match_request(self, req): match = re.match(r'^/attachment/(ticket|wiki)(?:[/:](.*))?$', req.path_info) if match: req.args['type'] = match.group(1) req.args['path'] = match.group(2).replace(':', '/') return True
01d1598a9f5a2526e8b49b34e7e07fa896dbaec9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/01d1598a9f5a2526e8b49b34e7e07fa896dbaec9/attachment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 845, 67, 2293, 12, 2890, 16, 1111, 4672, 845, 273, 283, 18, 1916, 12, 86, 19856, 19, 11461, 19, 12, 16282, 96, 13044, 13, 23203, 16880, 65, 7444, 24783, 8, 2187, 1111, 18, 803, 67, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 845, 67, 2293, 12, 2890, 16, 1111, 4672, 845, 273, 283, 18, 1916, 12, 86, 19856, 19, 11461, 19, 12, 16282, 96, 13044, 13, 23203, 16880, 65, 7444, 24783, 8, 2187, 1111, 18, 803, 67, 1...
self._safetype.__class__.__name__)
self._safetype.__name__)
def validate(self): """ Data type validation method. This method is called automatically for each I{DataType} instance attribute of an object, whenever this object is appended or updated. @raise AssertionError: if the datatype is required and is empty. @returns: None """ assert isinstance(self.value, self._safetype)...
b023e66691f6f4254c693d739fb15927ca80f2f1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2504/b023e66691f6f4254c693d739fb15927ca80f2f1/datatypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 12, 2890, 4672, 3536, 1910, 618, 3379, 707, 18, 225, 1220, 707, 353, 2566, 6635, 364, 1517, 467, 95, 6273, 97, 791, 1566, 434, 392, 733, 16, 17334, 333, 733, 353, 12317, 578, 352...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 12, 2890, 4672, 3536, 1910, 618, 3379, 707, 18, 225, 1220, 707, 353, 2566, 6635, 364, 1517, 467, 95, 6273, 97, 791, 1566, 434, 392, 733, 16, 17334, 333, 733, 353, 12317, 578, 352...
createReq = testmsg("0100230ABC") createReqObj = parser.parse(createReq) assert(createReqObj.opcode == MCAP_MD_CREATE_MDL_REQ) assert(createReqObj.mdlid == 0x0023) assert(createReqObj.mdepid == 0x0A) assert(createReqObj.conf == 0xBC)
msg = testmsg("0100230ABC") msgObj = parser.parse(msg) assert(msgObj.opcode == MCAP_MD_CREATE_MDL_REQ) assert(msgObj.mdlid == 0x0023) assert(msgObj.mdepid == 0x0A) assert(msgObj.conf == 0xBC) assert(msgObj.encode() == msg)
def test(): createReq = CreateMDLRequest(0x01, 0x01, 0x0001) assert(createReq.mdlid == 0x01) assert(createReq.mdepid == 0x01) assert(createReq.opcode == MCAP_MD_CREATE_MDL_REQ) reconnectReq = ReconnectMDLRequest(0x01) assert(reconnectReq.mdlid == 0x01) assert(reconnectReq.opcode == MCAP_MD_RECONNECT_MDL_REQ) deleteRe...
5ab73709fd24f71f38fc2ed06c5d1fbb3996f217 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8028/5ab73709fd24f71f38fc2ed06c5d1fbb3996f217/mcap_defs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 752, 6113, 273, 1788, 6188, 48, 691, 12, 20, 92, 1611, 16, 374, 92, 1611, 16, 374, 92, 13304, 13, 1815, 12, 2640, 6113, 18, 1264, 80, 350, 422, 374, 92, 1611, 13, 1815, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 752, 6113, 273, 1788, 6188, 48, 691, 12, 20, 92, 1611, 16, 374, 92, 1611, 16, 374, 92, 13304, 13, 1815, 12, 2640, 6113, 18, 1264, 80, 350, 422, 374, 92, 1611, 13, 1815, ...
cur_array += mobjs[1]
cur_array += [mobjs[1]]
def parse(self): values = {} cur_array = []
112c38ac822679347605cdd2487193e1af0b539e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7327/112c38ac822679347605cdd2487193e1af0b539e/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 4672, 924, 273, 2618, 662, 67, 1126, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 4672, 924, 273, 2618, 662, 67, 1126, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if nickmask == cfg.dc_to_irc_prefix + '*':
LOG.info("TKL: Adding Qline: %s" % nickmask) nick_re = wild_to_regex(nickmask) if nick_re.match(cfg.dc_to_irc_prefix): LOG.error("DC nick prefix is Q-lined! Terminating.") self.transport.loseConnection() reactor.stop()
def handleCmd_TKL(self, prefix, args):
d2de3b5e189c91aafab22e60dc740a5f8730ec31 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12372/d2de3b5e189c91aafab22e60dc740a5f8730ec31/bridge_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 5931, 67, 56, 47, 48, 12, 2890, 16, 1633, 16, 833, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 5931, 67, 56, 47, 48, 12, 2890, 16, 1633, 16, 833, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
- ``solution_dict`` - (default: False) if True, return a list of dictionaries containing the solutions.
- ``solution_dict`` - bool (default: False); if True or non-zero, return a list of dictionaries containing the solutions. If there are no solutions, return an empty list (rather than a list containing an empty dictionary). Likewise, if there's only a single solution, return a list containing one dictionary with that s...
def solve_mod(eqns, modulus, solution_dict = False): r""" Return all solutions to an equation or list of equations modulo the given integer modulus. Each equation must involve only polynomials in 1 or many variables. By default the solutions are returned as `n`-tuples, where `n` is the number of variables appearing an...
ad6d02b0399b4002f52131089b1e11e892c25a2c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/ad6d02b0399b4002f52131089b1e11e892c25a2c/relation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12439, 67, 1711, 12, 11253, 2387, 16, 24770, 16, 6959, 67, 1576, 273, 1083, 4672, 436, 8395, 2000, 777, 22567, 358, 392, 15778, 578, 666, 434, 30369, 26109, 326, 864, 3571, 24770, 18, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12439, 67, 1711, 12, 11253, 2387, 16, 24770, 16, 6959, 67, 1576, 273, 1083, 4672, 436, 8395, 2000, 777, 22567, 358, 392, 15778, 578, 666, 434, 30369, 26109, 326, 864, 3571, 24770, 18, 83...
request, src_addr = dlg.wait_msg_from(10)
request, src_addr = dlg.wait_msg_from(30)
def test_func(test): pjsua = test.process[0] dlg = sip.Dialog("127.0.0.1", pjsua.inst_param.sip_port, local_port=srv_port, tcp=cfg_file.recvfrom_cfg.tcp) last_cseq = 0 last_method = "" for t in cfg_file.recvfrom_cfg.transaction: # Print transaction title if t.title != "": dlg.trace(t.title) # Run command and expect pa...
2dbbb645cab6718903102c056e3fd473033e9369 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4447/2dbbb645cab6718903102c056e3fd473033e9369/mod_recvfrom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 644, 12, 3813, 4672, 293, 2924, 11886, 273, 1842, 18, 2567, 63, 20, 65, 25840, 273, 10341, 18, 6353, 2932, 14260, 18, 20, 18, 20, 18, 21, 3113, 293, 2924, 11886, 18, 8591, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 644, 12, 3813, 4672, 293, 2924, 11886, 273, 1842, 18, 2567, 63, 20, 65, 25840, 273, 10341, 18, 6353, 2932, 14260, 18, 20, 18, 20, 18, 21, 3113, 293, 2924, 11886, 18, 8591, ...
help="capture height in pixels")
help="capture height in pixels")
def checkCamera(): if not(camNode.isAvailable()): Log.trace(Log.APP, "Could not open camera") exit(1)
e22509155a0a9ff1f424dc4a889757a78d0bb6d8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7300/e22509155a0a9ff1f424dc4a889757a78d0bb6d8/avg_showcamera.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 16521, 13332, 309, 486, 12, 20133, 907, 18, 291, 5268, 1435, 4672, 1827, 18, 5129, 12, 1343, 18, 7215, 16, 315, 4445, 486, 1696, 10836, 7923, 2427, 12, 21, 13, 282, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 16521, 13332, 309, 486, 12, 20133, 907, 18, 291, 5268, 1435, 4672, 1827, 18, 5129, 12, 1343, 18, 7215, 16, 315, 4445, 486, 1696, 10836, 7923, 2427, 12, 21, 13, 282, 2, -100, -100,...
varBinds.append( (oid, mibInstrIdx[oid](msgVer)) )
varBinds.append((oid, mibInstrIdx[oid](msgVer)))
def cbFun(transportDispatcher, transportDomain, transportAddress, wholeMsg): while wholeMsg: msgVer = api.decodeMessageVersion(wholeMsg) if api.protoModules.has_key(msgVer): pMod = api.protoModules[msgVer] else: print 'Unsupported SNMP version %s' % msgVer return reqMsg, wholeMsg = decoder.decode( wholeMsg, asn1Spec=pM...
16d8bf0e639ab07a5ddcfd374a74715eec9a7cc3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/587/16d8bf0e639ab07a5ddcfd374a74715eec9a7cc3/implementing-scalar-mib-objects.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2875, 22783, 12, 13049, 6681, 16, 4736, 3748, 16, 4736, 1887, 16, 7339, 3332, 4672, 1323, 7339, 3332, 30, 1234, 3945, 273, 1536, 18, 3922, 1079, 1444, 12, 3350, 790, 3332, 13, 309, 1536,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2875, 22783, 12, 13049, 6681, 16, 4736, 3748, 16, 4736, 1887, 16, 7339, 3332, 4672, 1323, 7339, 3332, 30, 1234, 3945, 273, 1536, 18, 3922, 1079, 1444, 12, 3350, 790, 3332, 13, 309, 1536,...
if hasattr(txmbr, 'reinstall'):
if txmbr.reinstall:
def txmbr2state(txmbr): state = None if txmbr.output_state in (TS_INSTALL, TS_TRUEINSTALL): if hasattr(txmbr, 'reinstall'): state = 'Reinstall' elif txmbr.downgrades: state = 'Downgrade' if txmbr.output_state == TS_ERASE: if txmbr.downgraded_by: state = 'Downgraded' if state is None: state = _stcode2sttxt.get(txmbr.out...
10b718b3a09904789de8139dec4f1cd36a43e449 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5445/10b718b3a09904789de8139dec4f1cd36a43e449/history.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2229, 1627, 86, 22, 2019, 12, 978, 1627, 86, 4672, 919, 273, 599, 309, 2229, 1627, 86, 18, 2844, 67, 2019, 316, 261, 8047, 67, 28865, 16, 15508, 67, 18724, 28865, 4672, 309, 2229, 1627...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2229, 1627, 86, 22, 2019, 12, 978, 1627, 86, 4672, 919, 273, 599, 309, 2229, 1627, 86, 18, 2844, 67, 2019, 316, 261, 8047, 67, 28865, 16, 15508, 67, 18724, 28865, 4672, 309, 2229, 1627...
id = stream.read_dword()
id = stream.read_fourcc()
def parse_objects(self, stream):
21397adc91fc95193176fe6bbcd812e8641a4159 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4884/21397adc91fc95193176fe6bbcd812e8641a4159/realmedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 6911, 12, 2890, 16, 1407, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 6911, 12, 2890, 16, 1407, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
row = self._data[docid]
def positions(self, docid, words): """Return the positions in the document for the given document id of the word, word.""" id = self.id
d1f544bec4a452ed42c765c9b0b6e59222700b15 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/d1f544bec4a452ed42c765c9b0b6e59222700b15/UnTextIndex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6865, 12, 2890, 16, 997, 350, 16, 4511, 4672, 3536, 990, 326, 6865, 316, 326, 1668, 364, 326, 864, 1668, 612, 434, 326, 2076, 16, 2076, 12123, 612, 273, 365, 18, 350, 2, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6865, 12, 2890, 16, 997, 350, 16, 4511, 4672, 3536, 990, 326, 6865, 316, 326, 1668, 364, 326, 864, 1668, 612, 434, 326, 2076, 16, 2076, 12123, 612, 273, 365, 18, 350, 2, -100, -100, ...
sconsOptions += ' -j ' + str(self.options.jobs)
if self.options.jobs != None: sconsOptions += ' -j ' + str(self.options.jobs)
def run(self): sconsOptions = self.options.flavour sconsOptions += ' -j ' + str(self.options.jobs) if self.options.sandboxDir != '': sconsOptions += ' sandboxDir=' + str(self.options.sandboxDir) command = 'scons ' + sconsOptions print 'Executing: ', command runCommand(command)
0b6980f9983d0ce67dbc2f8eca3289b52a7c95ea /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8259/0b6980f9983d0ce67dbc2f8eca3289b52a7c95ea/Install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 272, 8559, 1320, 273, 365, 18, 2116, 18, 2242, 842, 477, 309, 365, 18, 2116, 18, 10088, 480, 599, 30, 272, 8559, 1320, 1011, 296, 300, 78, 296, 397, 609, 12, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 272, 8559, 1320, 273, 365, 18, 2116, 18, 2242, 842, 477, 309, 365, 18, 2116, 18, 10088, 480, 599, 30, 272, 8559, 1320, 1011, 296, 300, 78, 296, 397, 609, 12, 28...
test_stringprep
def countsurprises(expected, actual, action, antiaction, allran, resource_denieds): """returns the number of items in actual that aren't in expected.""" printlist(actual) if not expected.isvalid(): print "Ask someone to teach regrtest.py about which tests are" print "expected to %s on %s." % (action, sys.platform) retu...
1b67a88625a0f64c1c14a609c8592a5827500c52 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6753/1b67a88625a0f64c1c14a609c8592a5827500c52/regrtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6880, 295, 683, 6141, 12, 3825, 16, 3214, 16, 1301, 16, 30959, 1128, 16, 777, 2450, 16, 1058, 67, 13002, 2092, 87, 4672, 3536, 6154, 326, 1300, 434, 1516, 316, 3214, 716, 11526, 1404, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6880, 295, 683, 6141, 12, 3825, 16, 3214, 16, 1301, 16, 30959, 1128, 16, 777, 2450, 16, 1058, 67, 13002, 2092, 87, 4672, 3536, 6154, 326, 1300, 434, 1516, 316, 3214, 716, 11526, 1404, ...
search_modifier = tokens[start].text=="|"
search_modifier = tokens[start].text in ("|", "!")
def run(self): tokens = self.tokens i = 0 start = None
77e93ba625801e9c9f0cf3b1fdb4644a87a19e31 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/77e93ba625801e9c9f0cf3b1fdb4644a87a19e31/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2430, 273, 365, 18, 7860, 277, 273, 374, 787, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2430, 273, 365, 18, 7860, 277, 273, 374, 787, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.body.insert(0, self.starttag(node, 'div', CLASS='document')) self.body.append('</div>\n')
self.body_prefix.append(self.starttag(node, 'div', CLASS='document')) self.body_suffix.insert(0, '</div>\n')
def depart_document(self, node): self.fragment.extend(self.body) self.body.insert(0, self.starttag(node, 'div', CLASS='document')) self.body.append('</div>\n')
e8388f2f7b1a8a71d667642e1aa5c49cd90820fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/e8388f2f7b1a8a71d667642e1aa5c49cd90820fe/html4css1.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 5457, 12, 2890, 16, 756, 4672, 365, 18, 11956, 18, 14313, 12, 2890, 18, 3432, 13, 365, 18, 3432, 18, 6387, 12, 20, 16, 365, 18, 1937, 2692, 12, 2159, 16, 296, 2892, 2187, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 5457, 12, 2890, 16, 756, 4672, 365, 18, 11956, 18, 14313, 12, 2890, 18, 3432, 13, 365, 18, 3432, 18, 6387, 12, 20, 16, 365, 18, 1937, 2692, 12, 2159, 16, 296, 2892, 2187, ...
def fill_command(self, pixbuf, color, opacity):
def fill_command(self, pixbuf, color, opacity=100):
def fill_command(self, pixbuf, color, opacity): if color == "active_color": color = settings['active_glow_color'] if color[0]=="#": color = color[1:] try: f = int(color,16)<<8 except ValueError: print "Theme error: the color attribute for fill should be a six digit hex string eg. \"#FFFFFF\" or the name of a DockBarX c...
a072098aaa68b27e216a4833201a78298c5ccd3a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7075/a072098aaa68b27e216a4833201a78298c5ccd3a/dockbarx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 67, 3076, 12, 2890, 16, 11871, 4385, 16, 2036, 16, 12636, 33, 6625, 4672, 309, 2036, 422, 315, 3535, 67, 3266, 6877, 2036, 273, 1947, 3292, 3535, 67, 75, 821, 67, 3266, 3546, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 67, 3076, 12, 2890, 16, 11871, 4385, 16, 2036, 16, 12636, 33, 6625, 4672, 309, 2036, 422, 315, 3535, 67, 3266, 6877, 2036, 273, 1947, 3292, 3535, 67, 75, 821, 67, 3266, 3546, 309...
from hedge.timestep import RK4TimeStepper self.forward_stepper = RK4TimeStepper() self.backward_stepper = RK4TimeStepper()
from hedge.timestep.runge_kutta import LSRK4TimeStepper self.forward_stepper = LSRK4TimeStepper() self.backward_stepper = LSRK4TimeStepper()
def __init__(self, t0, y0, dt): self.t = [t0] self.y = [y0] self.dt = dt
31e907bd81a183ecd21d3d62212c3ad3167c18e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12869/31e907bd81a183ecd21d3d62212c3ad3167c18e5/tools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 268, 20, 16, 677, 20, 16, 3681, 4672, 365, 18, 88, 273, 306, 88, 20, 65, 365, 18, 93, 273, 306, 93, 20, 65, 365, 18, 7510, 273, 3681, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 268, 20, 16, 677, 20, 16, 3681, 4672, 365, 18, 88, 273, 306, 88, 20, 65, 365, 18, 93, 273, 306, 93, 20, 65, 365, 18, 7510, 273, 3681, 2, -100, -100...
self.sink.set_property('volume', float(volume)/10)
volume = (volume * self.max_playbin_volume) / 100. self.sink.set_property('volume', volume)
def set_volume_playbin(self, volume): volume = int(volume) if volume < 0: volume=0 if volume > 100: volume=100 self.sink.set_property('volume', float(volume)/10)
56a690641745e5de48e43c2d6f0dd10f24a0e22c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11626/56a690641745e5de48e43c2d6f0dd10f24a0e22c/gstreamer_renderer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 9491, 67, 1601, 4757, 12, 2890, 16, 3940, 4672, 3940, 273, 509, 12, 9491, 13, 309, 3940, 411, 374, 30, 3940, 33, 20, 309, 3940, 405, 2130, 30, 3940, 33, 6625, 365, 18, 17074...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 9491, 67, 1601, 4757, 12, 2890, 16, 3940, 4672, 3940, 273, 509, 12, 9491, 13, 309, 3940, 411, 374, 30, 3940, 33, 20, 309, 3940, 405, 2130, 30, 3940, 33, 6625, 365, 18, 17074...
rule.pattern(12), rule.pattern(13),
rule.pattern(14), rule.pattern(15),
def fc_forall_require(rule, arg_patterns, arg_context): engine = rule.rule_base.engine patterns = rule.goal_arg_patterns() if len(arg_patterns) == len(patterns): context = contexts.bc_context(rule) try: if all(itertools.imap(lambda pat, arg: pat.match_pattern(context, context, arg, arg_context), patterns, arg_patterns)...
bd4e660a9ed69b909bf026a87883b9b1a9562934 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14714/bd4e660a9ed69b909bf026a87883b9b1a9562934/compiler_bc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8036, 67, 1884, 454, 67, 6528, 12, 5345, 16, 1501, 67, 13317, 16, 1501, 67, 2472, 4672, 4073, 273, 1720, 18, 5345, 67, 1969, 18, 8944, 6884, 273, 1720, 18, 27354, 67, 3175, 67, 13317, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8036, 67, 1884, 454, 67, 6528, 12, 5345, 16, 1501, 67, 13317, 16, 1501, 67, 2472, 4672, 4073, 273, 1720, 18, 5345, 67, 1969, 18, 8944, 6884, 273, 1720, 18, 27354, 67, 3175, 67, 13317, ...
ResourceNodes = self._doauditRsc(resource)
def _doaudit(self): '''Check to see if all resources are running in exactly one place in the cluster.
fe96223aad24cf390affab7866cc7e4142055f84 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5112/fe96223aad24cf390affab7866cc7e4142055f84/CTSaudits.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 17413, 12, 2890, 4672, 9163, 1564, 358, 2621, 309, 777, 2703, 854, 3549, 316, 8950, 1245, 3166, 316, 326, 2855, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 17413, 12, 2890, 4672, 9163, 1564, 358, 2621, 309, 777, 2703, 854, 3549, 316, 8950, 1245, 3166, 316, 326, 2855, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
block_dim, grid_dim = select_block_grid_sizes(dev, v_gpu.shape)
block_dim, grid_dim = select_block_grid_sizes(dev, d_gpu.shape)
def diag(v_gpu, dev): """ Construct a diagonal matrix. Constructs a matrix in device memory whose diagonal elements correspond to the elements in the specified array; all non-diagonal elements are set to 0. Parameters ---------- a_obj : pycuda.gpuarray.GPUArray Input array of length `n`. dev : pycuda.driver.Device De...
204fd558078a1951e12208ecb7d3abec547c7a0f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14753/204fd558078a1951e12208ecb7d3abec547c7a0f/linalg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6643, 12, 90, 67, 23162, 16, 4461, 4672, 3536, 14291, 279, 15425, 3148, 18, 225, 14291, 87, 279, 3148, 316, 2346, 3778, 8272, 15425, 2186, 4325, 358, 326, 2186, 316, 326, 1269, 526, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6643, 12, 90, 67, 23162, 16, 4461, 4672, 3536, 14291, 279, 15425, 3148, 18, 225, 14291, 87, 279, 3148, 316, 2346, 3778, 8272, 15425, 2186, 4325, 358, 326, 2186, 316, 326, 1269, 526, 31, ...
g.write( "\t\t\t" + member_style + "Output" + class_name.title() + str(i) + "(\"Output " + str(i) + "\", this),\n" )
g.write( "\t\t\t" + member_style + "Output" + outputs[i].title() + str(i) + "(\"Output " + str(i) + "\", this),\n" )
g.write( "#ifndef _BaseProcessing_\n" )
f68b41981bf4ca00e6a611001345eecbc636154e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1456/f68b41981bf4ca00e6a611001345eecbc636154e/TemplateGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 314, 18, 2626, 12, 6619, 430, 82, 536, 389, 2171, 7798, 22202, 82, 6, 262, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 314, 18, 2626, 12, 6619, 430, 82, 536, 389, 2171, 7798, 22202, 82, 6, 262, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if check_port('localhost', 2002): mess = "... aborted!\n" mess += "Start aborted since the server seems to be running.\n" sys.stderr.write(mess) sys.exit(1)
def startstop(stdout='/dev/null', stderr=None, stdin='/dev/null', pidfile='pid.txt', startmsg = 'started with pid %s', action='start' ): if action: try: pf = file(pidfile,'r') pid = int(pf.read().strip()) pf.close() except IOError: pid = None if 'stop' == action or 'restart' == action: if not pid: mess = "Could not s...
47936531d48f17085b457210e7f365b54c835d36 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9481/47936531d48f17085b457210e7f365b54c835d36/oooctl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 5681, 12, 10283, 2218, 19, 5206, 19, 2011, 2187, 4514, 33, 7036, 16, 8801, 2218, 19, 5206, 19, 2011, 2187, 27656, 2218, 6610, 18, 5830, 2187, 787, 3576, 273, 296, 14561, 598, 4231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 5681, 12, 10283, 2218, 19, 5206, 19, 2011, 2187, 4514, 33, 7036, 16, 8801, 2218, 19, 5206, 19, 2011, 2187, 27656, 2218, 6610, 18, 5830, 2187, 787, 3576, 273, 296, 14561, 598, 4231, ...
A value which will be stored in the Column denoted by polymorphic_on, corresponding to the *class identity* of this mapper.
A value which will be stored in the Column denoted by polymorphic_on, corresponding to the *class identity* of this mapper.
def mapper(class_, local_table=None, *args, **params): """Return a new [sqlalchemy.orm#Mapper] object. class\_ The class to be mapped. local_table The table to which the class is mapped, or None if this mapper inherits from another mapper using concrete table inheritance. entity_name A name to be associated with the...
8b169bdc1a9ad510d1fa7ac55cf02c0a00396ed8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1074/8b169bdc1a9ad510d1fa7ac55cf02c0a00396ed8/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5815, 12, 1106, 67, 16, 1191, 67, 2121, 33, 7036, 16, 380, 1968, 16, 2826, 2010, 4672, 3536, 990, 279, 394, 306, 4669, 24182, 18, 535, 7, 4597, 65, 733, 18, 225, 667, 64, 67, 1021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5815, 12, 1106, 67, 16, 1191, 67, 2121, 33, 7036, 16, 380, 1968, 16, 2826, 2010, 4672, 3536, 990, 279, 394, 306, 4669, 24182, 18, 535, 7, 4597, 65, 733, 18, 225, 667, 64, 67, 1021, ...
this = apply(_quickfix.new_UnderlyingMaturityMonthYear, args)
this = _quickfix.new_UnderlyingMaturityMonthYear(*args)
def __init__(self, *args): this = apply(_quickfix.new_UnderlyingMaturityMonthYear, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 14655, 6291, 15947, 2336, 5445, 5593, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 14655, 6291, 15947, 2336, 5445, 5593, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 22...
m2.bio_push(sslbio, sockbio)
def _makefile(self, mode='r', bufsize=1024): # XXX doesn't work socket2 = self.socket.makefile(mode, bufsize) sockbio = m2.bio_new_socket(socket2.fileno(), 1) ssl = m2.ssl_dup(self.ssl) m2.ssl_set_bio(ssl, sockbio, sockbio) sslbio = m2.bio_dup_chain(self.sslbio) #m2.bio_set_ssl(sslbio, ssl, 0) m2.bio_push(sslbio, sockb...
00b626b1ae2f8b02ab6849a0340d53a65bd27866 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8055/00b626b1ae2f8b02ab6849a0340d53a65bd27866/Connection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 768, 12, 2890, 16, 1965, 2218, 86, 2187, 1681, 1467, 33, 2163, 3247, 4672, 468, 11329, 3302, 1404, 1440, 2987, 22, 273, 365, 18, 7814, 18, 6540, 768, 12, 3188, 16, 1681, 146...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 768, 12, 2890, 16, 1965, 2218, 86, 2187, 1681, 1467, 33, 2163, 3247, 4672, 468, 11329, 3302, 1404, 1440, 2987, 22, 273, 365, 18, 7814, 18, 6540, 768, 12, 3188, 16, 1681, 146...
sys.stdout.write(s1.replace("\r\n", "\n"))
sys.stdout.write(normalize_output(s1))
def test_basic_pty(): try: debug("Calling master_open()") master_fd, slave_name = pty.master_open() debug("Got master_fd '%d', slave_name '%s'"%(master_fd, slave_name)) debug("Calling slave_open(%r)"%(slave_name,)) slave_fd = pty.slave_open(slave_name) debug("Got slave_fd '%d'"%slave_fd) except OSError: # " An optional...
d71d12a8762bebceab5dad3d1e6a5d14403d70bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/d71d12a8762bebceab5dad3d1e6a5d14403d70bc/test_pty.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13240, 67, 825, 13332, 775, 30, 1198, 2932, 19677, 4171, 67, 3190, 1435, 7923, 4171, 67, 8313, 16, 11735, 67, 529, 273, 293, 4098, 18, 7525, 67, 3190, 1435, 1198, 2932, 15617, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13240, 67, 825, 13332, 775, 30, 1198, 2932, 19677, 4171, 67, 3190, 1435, 7923, 4171, 67, 8313, 16, 11735, 67, 529, 273, 293, 4098, 18, 7525, 67, 3190, 1435, 1198, 2932, 15617, ...
else: node_text = node.astext().replace('\n', ' ') self.wikiparser.raw = '[%s %s]' % (target, node_text) self.wikiparser.format(self.formatter) self.strip_paragraph = 0 raise docutils.nodes.SkipNode return
href = re.search('href="([^"]+)"', self.wiki_text) if href: node['refuri'] = href.groups()[0] else: self.wiki_text = self.fixup_wiki_formatting(self.wiki_text) self.add_wiki_markup()
def visit_reference(self, node): target = None # These are the special link schemes that MoinMoin supports. We let # MoinMoin handle these types. moin_link_schemes = ['wiki:', 'attachment:', 'inline:', 'drawing:'] # Do I need to lstrip? TODO: Find this out. Doesn't look like I need to # since I don't when assigning t...
b1e8c31c1276da7b2b2d7f198bb518e5ce112c66 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/b1e8c31c1276da7b2b2d7f198bb518e5ce112c66/rst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 6180, 12, 2890, 16, 756, 4672, 1018, 273, 599, 225, 468, 8646, 854, 326, 4582, 1692, 20436, 716, 490, 885, 49, 885, 6146, 18, 1660, 2231, 468, 490, 885, 49, 885, 1640, 4259, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 6180, 12, 2890, 16, 756, 4672, 1018, 273, 599, 225, 468, 8646, 854, 326, 4582, 1692, 20436, 716, 490, 885, 49, 885, 6146, 18, 1660, 2231, 468, 490, 885, 49, 885, 1640, 4259, ...
self.maxiter = kwargs.get('maxiter', max(100, 2*self.nlp.n))
self.maxiter = kwargs.get('maxiter', max(100,2*self.merit.nlp.n))
def __init__(self, merit, TR, TrSolver, **kwargs): """ Solve the bound-constrained problem
9a6c4f472b4224b483cf355221f1a3acafaa6be3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13857/9a6c4f472b4224b483cf355221f1a3acafaa6be3/pdmerit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4045, 305, 16, 4235, 16, 840, 27721, 16, 2826, 4333, 4672, 3536, 348, 5390, 326, 2489, 17, 591, 31142, 6199, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4045, 305, 16, 4235, 16, 840, 27721, 16, 2826, 4333, 4672, 3536, 348, 5390, 326, 2489, 17, 591, 31142, 6199, 2, -100, -100, -100, -100, -100, -100, -100, ...
border:1px solid white; font-family:Arial,Verdana, sans-serif; font-size:10pt; }
border:1px solid white; font-family:Arial,Verdana, sans-serif; font-size:10pt; }
def __show_page(self, number): global current_log f = self.send_head() if f: f = StringIO() f.write(""" <html><head><title>SAGE Calculator %s</title></head>\n
6cf90912d43b30422003f1adcb76e6bef700950d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/6cf90912d43b30422003f1adcb76e6bef700950d/server1.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4500, 67, 2433, 12, 2890, 16, 1300, 4672, 2552, 783, 67, 1330, 284, 273, 365, 18, 4661, 67, 1978, 1435, 309, 284, 30, 284, 273, 15777, 1435, 284, 18, 2626, 2932, 3660, 411, 2620,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4500, 67, 2433, 12, 2890, 16, 1300, 4672, 2552, 783, 67, 1330, 284, 273, 365, 18, 4661, 67, 1978, 1435, 309, 284, 30, 284, 273, 15777, 1435, 284, 18, 2626, 2932, 3660, 411, 2620,...
if c == "<": data.previous()
if c in (">", None):
def getAttribute(self): """Return a name,value pair for the next attribute in the stream, if one is found, or None""" data = self.data c = data.skip(spaceCharactersBytes | frozenset("/")) if c == "<": data.previous() return None elif c == ">" or c is None: return None attrName = [] attrValue = [] spaceFound = False #St...
47b430e43067ace9442912c2aa9932ccc94ad391 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9368/47b430e43067ace9442912c2aa9932ccc94ad391/inputstream.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4061, 12, 2890, 4672, 3536, 990, 279, 508, 16, 1132, 3082, 364, 326, 1024, 1566, 316, 326, 1407, 16, 309, 1245, 353, 1392, 16, 578, 599, 8395, 501, 273, 365, 18, 892, 276, 273, 501, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4061, 12, 2890, 4672, 3536, 990, 279, 508, 16, 1132, 3082, 364, 326, 1024, 1566, 316, 326, 1407, 16, 309, 1245, 353, 1392, 16, 578, 599, 8395, 501, 273, 365, 18, 892, 276, 273, 501, ...
l.append(dowrap('<b>%s:</b> %s: %s/%s (%s)' % (translate('reference', 'Reference', as_unicode=1), ev.tracker, ev.ticketnum, ev.comment)))
l.append(dowrap('<b>%s:</b> %s/%s (%s)' % (translate('reference', 'Reference', as_unicode=1), ev.tracker, ev.ticketnum, ev.comment)))
def getFieldValue(issue, field): v = issue.getField(field).get(issue) if isinstance(v, StringType) or isinstance(v, UnicodeType): v = v.replace(chr(13), '') if isinstance(v, StringType): return unicode(v, collector.getSiteEncoding()) return v
cad63a42a87534ef0568850e7c31342349f93d87 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/cad63a42a87534ef0568850e7c31342349f93d87/pdfwriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26126, 12, 13882, 16, 652, 4672, 331, 273, 5672, 18, 588, 974, 12, 1518, 2934, 588, 12, 13882, 13, 309, 1549, 12, 90, 16, 31570, 13, 578, 1549, 12, 90, 16, 9633, 559, 4672, 331, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26126, 12, 13882, 16, 652, 4672, 331, 273, 5672, 18, 588, 974, 12, 1518, 2934, 588, 12, 13882, 13, 309, 1549, 12, 90, 16, 31570, 13, 578, 1549, 12, 90, 16, 9633, 559, 4672, 331, 273,...
We have a(15)=2 because 15 = 4+5+6 and 15 = 1+2+3+4+5. The number of odd divisors of 15 is 4.
We have a(15)=2 because 15 = 4+5+6 and 15 = 1+2+3+4+5. The number of odd divisors of 15 is 4.
def is_number_of_the_third_kind(self, n): r""" This function returns True if and only if $n$ is a number of the third kind.
2c9ec0e9ee4b6a66dba3cad312fef1c27ffc8925 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/2c9ec0e9ee4b6a66dba3cad312fef1c27ffc8925/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2696, 67, 792, 67, 5787, 67, 451, 6909, 67, 9224, 12, 2890, 16, 290, 4672, 436, 8395, 1220, 445, 1135, 1053, 309, 471, 1338, 309, 271, 82, 8, 353, 279, 1300, 434, 326, 12126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2696, 67, 792, 67, 5787, 67, 451, 6909, 67, 9224, 12, 2890, 16, 290, 4672, 436, 8395, 1220, 445, 1135, 1053, 309, 471, 1338, 309, 271, 82, 8, 353, 279, 1300, 434, 326, 12126...
self.connected = 1
self.connected = True
def __init__(self, sock=None, map=None): if map is None: self._map = socket_map else: self._map = map
e87588af659b5c8d8413dbb25e0c1afc0bc0e0ac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/e87588af659b5c8d8413dbb25e0c1afc0bc0e0ac/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 33, 7036, 16, 852, 33, 7036, 4672, 309, 852, 353, 599, 30, 365, 6315, 1458, 273, 2987, 67, 1458, 469, 30, 365, 6315, 1458, 273, 852, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 33, 7036, 16, 852, 33, 7036, 4672, 309, 852, 353, 599, 30, 365, 6315, 1458, 273, 2987, 67, 1458, 469, 30, 365, 6315, 1458, 273, 852, 2, -100, -10...
for nm in self.joint_nm_list: self.r_arm_pub_l.append(rospy.Publisher('r_'+nm+'_controller/command', Float64)) self.l_arm_angles = None self.l_arm_efforts = None for nm in self.joint_nm_list: self.l_arm_pub_l.append(rospy.Publisher('l_'+nm+'_controller/command', Float64))
self.cur_traj = [None, None] self.cur_traj_timer = [None, None] self.cur_traj_pos = [None, None]
def __init__(self, send_delay=10000000, gripper_point=(0.23, 0.0, 0.0)): log("Loading SimpleArmTrajectory") self.joint_names_list = [['r_shoulder_pan_joint', 'r_shoulder_lift_joint', 'r_upper_arm_roll_joint', 'r_elbow_flex_joint', 'r_forearm_roll_joint', 'r_wrist_flex_joint', 'r_wrist_roll_joint'], ['l_shoulder_pan_joi...
3a682eff0bfca2c49f435a978c645b4e046ad110 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8117/3a682eff0bfca2c49f435a978c645b4e046ad110/simple_arm_trajectories.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1366, 67, 10790, 33, 21, 17877, 16, 314, 21335, 457, 67, 1153, 28657, 20, 18, 4366, 16, 374, 18, 20, 16, 374, 18, 20, 3719, 30, 613, 2932, 10515, 4477,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1366, 67, 10790, 33, 21, 17877, 16, 314, 21335, 457, 67, 1153, 28657, 20, 18, 4366, 16, 374, 18, 20, 16, 374, 18, 20, 3719, 30, 613, 2932, 10515, 4477,...
which sends p[k] to a*p[k].
which sends $p[k]$ to $a*p[k]$.
def theta(self,a): """ Returns the image of self under the theta automorphism which sends p[k] to a*p[k].
dea582761431c29dffb004fbfbdb128d545fd352 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/dea582761431c29dffb004fbfbdb128d545fd352/sfa.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7338, 12, 2890, 16, 69, 4672, 3536, 2860, 326, 1316, 434, 365, 3613, 326, 7338, 18472, 7657, 6228, 1492, 9573, 293, 63, 79, 65, 358, 279, 14, 84, 63, 79, 8009, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7338, 12, 2890, 16, 69, 4672, 3536, 2860, 326, 1316, 434, 365, 3613, 326, 7338, 18472, 7657, 6228, 1492, 9573, 293, 63, 79, 65, 358, 279, 14, 84, 63, 79, 8009, 2, -100, -100, -100, -...
"Attempt to read ZIP archive that was already closed"
"Attempt to read ZIP archive that was already closed"
def read(self, name): "Return file bytes (as a string) for name" if self.mode not in ("r", "a"): raise RuntimeError, 'read() requires mode "r" or "a"' if not self.fp: raise RuntimeError, \ "Attempt to read ZIP archive that was already closed" zinfo = self.getinfo(name) filepos = self.fp.tell() self.fp.seek(zinfo.file_o...
7e00393d38ad3fc1e6c2d72edde707f0918ae9a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7e00393d38ad3fc1e6c2d72edde707f0918ae9a8/zipfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 508, 4672, 315, 990, 585, 1731, 261, 345, 279, 533, 13, 364, 508, 6, 309, 365, 18, 3188, 486, 316, 7566, 86, 3113, 315, 69, 6, 4672, 1002, 7265, 16, 296, 896, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 508, 4672, 315, 990, 585, 1731, 261, 345, 279, 533, 13, 364, 508, 6, 309, 365, 18, 3188, 486, 316, 7566, 86, 3113, 315, 69, 6, 4672, 1002, 7265, 16, 296, 896, 14...
- ``labels`` - if False, each edge is a tuple (u,v) of
- ``labels`` - if ``False``, each edge is a tuple `(u,v)` of
def edge_boundary(self, vertices1, vertices2=None, labels=True): """ Returns a list of edges (u,v,l) with u in vertices1 and v in vertices2. If vertices2 is None, then it is set to the complement of vertices1. In a digraph, the external boundary of a vertex v are those vertices u with an arc (v, u). INPUT: - ``lab...
fd44ff72780d9960c9cea755d7ae51166bd005a3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/fd44ff72780d9960c9cea755d7ae51166bd005a3/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3591, 67, 16604, 12, 2890, 16, 6928, 21, 16, 6928, 22, 33, 7036, 16, 3249, 33, 5510, 4672, 3536, 2860, 279, 666, 434, 5231, 261, 89, 16, 90, 16, 80, 13, 598, 582, 316, 6928, 21, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3591, 67, 16604, 12, 2890, 16, 6928, 21, 16, 6928, 22, 33, 7036, 16, 3249, 33, 5510, 4672, 3536, 2860, 279, 666, 434, 5231, 261, 89, 16, 90, 16, 80, 13, 598, 582, 316, 6928, 21, 47...
return retval + " --ldaploadcert=" + self.ldapCert
return retval + " --ldaploadcacert=" + self.ldapCert
def return_data(self): if self.enabled == 0: return "" elif self.ldapServer == "" or self.ldapDN == "": return "" else: retval = " --enableldap --enableldapauth --ldapserver=" + self.ldapServer + " --ldapbasedn=" + self.ldapDN
15668e754a445736f142e847116e561506d5b359 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5376/15668e754a445736f142e847116e561506d5b359/auth.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 327, 67, 892, 12, 2890, 4672, 309, 365, 18, 5745, 422, 374, 30, 327, 1408, 1327, 365, 18, 14394, 2081, 422, 1408, 578, 365, 18, 14394, 8609, 422, 1408, 30, 327, 1408, 469, 30, 5221, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 327, 67, 892, 12, 2890, 4672, 309, 365, 18, 5745, 422, 374, 30, 327, 1408, 1327, 365, 18, 14394, 2081, 422, 1408, 578, 365, 18, 14394, 8609, 422, 1408, 30, 327, 1408, 469, 30, 5221, ...
if ( selector == weNewHandler ) handler = upp_new_handler; else if ( selector == weDisposeHandler ) handler = upp_dispose_handler; else if ( selector == weDrawHandler ) handler = upp_draw_handler; else if ( selector == weClickHandler ) handler = upp_click_handler;
if ( selector == weNewHandler ) handler = (UniversalProcPtr)upp_new_handler; else if ( selector == weDisposeHandler ) handler = (UniversalProcPtr)upp_dispose_handler; else if ( selector == weDrawHandler ) handler = (UniversalProcPtr)upp_draw_handler; else if ( selector == weClickHandler ) handler = (UniversalProcPtr)up...
def outputCheckNewArg(self): Output("""if (itself == NULL) { Py_INCREF(Py_None); return Py_None; }""")
25241d99785698072e6952b37da79b7f441c4b9d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/25241d99785698072e6952b37da79b7f441c4b9d/wastesupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 876, 1564, 1908, 4117, 12, 2890, 4672, 3633, 2932, 3660, 430, 261, 1282, 19079, 422, 3206, 13, 288, 4707, 67, 706, 5458, 42, 12, 9413, 67, 7036, 1769, 327, 4707, 67, 7036, 31, 289, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 876, 1564, 1908, 4117, 12, 2890, 4672, 3633, 2932, 3660, 430, 261, 1282, 19079, 422, 3206, 13, 288, 4707, 67, 706, 5458, 42, 12, 9413, 67, 7036, 1769, 327, 4707, 67, 7036, 31, 289, 366...
AVFileReader('/home/james/Videos/Okra - 79b,100.avi'), 0, True ) )
AVFileReader('/home/james/Videos/Okra - 79b,100.avi'), 0, False ) )
def createVideoWidget(): widget = VideoWidget(clock, Pulldown23RemovalFilter( AVFileReader('/home/james/Videos/Okra - 79b,100.avi'), 0, True ) ) widget.drawingArea().show() # Temporary hack to keep the container object around widget.drawingArea().myobj = widget return widget.drawingArea()
14701b6d36bef642df79ac9ae13addd1500b78ff /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10170/14701b6d36bef642df79ac9ae13addd1500b78ff/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 10083, 4609, 13332, 3604, 273, 14030, 4609, 12, 18517, 16, 14899, 2378, 4366, 24543, 1586, 12, 15068, 812, 2514, 2668, 19, 8712, 19, 78, 753, 19, 58, 19871, 19, 8809, 354, 300, 2651...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 10083, 4609, 13332, 3604, 273, 14030, 4609, 12, 18517, 16, 14899, 2378, 4366, 24543, 1586, 12, 15068, 812, 2514, 2668, 19, 8712, 19, 78, 753, 19, 58, 19871, 19, 8809, 354, 300, 2651...
y = y.T resultDict = {} ac = 0 for i, v in enumerate(self.Variables): resultDict[v] = y[ac:ac+self.varSizes[i]] ac += self.varSizes[i]
resultDict = dict(self.ooT.vector2point(y.T))
def solve(self, *args): # mb for future implementation - add some **kwargs here as well if len(args) > 0: raise FuncDesignerException('no args are currently available for the function ode::solve') try: from scipy import integrate except: raise FuncDesignerException('to solve ode you mush have scipy installed, see scip...
86780e6a1c8ff8db89bad73d3145404217dc7c42 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6196/86780e6a1c8ff8db89bad73d3145404217dc7c42/ode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12439, 12, 2890, 16, 380, 1968, 4672, 468, 4903, 364, 3563, 4471, 300, 527, 225, 2690, 2826, 4333, 2674, 487, 5492, 309, 562, 12, 1968, 13, 405, 374, 30, 1002, 6165, 15478, 264, 503, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12439, 12, 2890, 16, 380, 1968, 4672, 468, 4903, 364, 3563, 4471, 300, 527, 225, 2690, 2826, 4333, 2674, 487, 5492, 309, 562, 12, 1968, 13, 405, 374, 30, 1002, 6165, 15478, 264, 503, 2...
"""Top level function for calculating a Wcs.
"""Top level function for calculating a Wcs.
def determineWcs(policy, exposure, sourceSet, log=None, solver=None, doTrim=False, forceImageSize=None): """Top level function for calculating a Wcs. Given an initial guess at a Wcs (hidden inside an exposure) and a set of sources (sourceSet), use astrometry.net to confirm the Wcs, then calculate distortion terms. In...
684b3a5387671c1befd6e88a491a5a10992a7c05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6522/684b3a5387671c1befd6e88a491a5a10992a7c05/determineWcs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4199, 59, 2143, 12, 5086, 16, 14620, 16, 1084, 694, 16, 613, 33, 7036, 16, 12776, 33, 7036, 16, 741, 14795, 33, 8381, 16, 2944, 28576, 33, 7036, 4672, 3536, 3401, 1801, 445, 364, 21046...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4199, 59, 2143, 12, 5086, 16, 14620, 16, 1084, 694, 16, 613, 33, 7036, 16, 12776, 33, 7036, 16, 741, 14795, 33, 8381, 16, 2944, 28576, 33, 7036, 4672, 3536, 3401, 1801, 445, 364, 21046...
for field in defaults.keys(): fld_def = (field in self._columns) and self._columns[field] \ or self._inherit_fields[field][2] if fld_def._type in ('many2one', 'one2one'): if isinstance(defaults[field], (list, tuple)): vals[field] = defaults[field][0] else: vals[field] = defaults[field] else: vals[field] = defaults[fiel...
vals.update(self.__clean_defaults(defaults))
def create(self, cursor, user, vals, context=None): """ cursor = database cursor user = user id vals = dictionary of the form {'field_name': field_value, ...} """ if self._table_query: return False
a96cf64513fc4441a3b98a8ec036ca90c333f46d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/a96cf64513fc4441a3b98a8ec036ca90c333f46d/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 3347, 16, 729, 16, 5773, 16, 819, 33, 7036, 4672, 3536, 3347, 273, 2063, 3347, 729, 273, 729, 612, 5773, 273, 3880, 434, 326, 646, 13666, 1518, 67, 529, 4278, 652, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 3347, 16, 729, 16, 5773, 16, 819, 33, 7036, 4672, 3536, 3347, 273, 2063, 3347, 729, 273, 729, 612, 5773, 273, 3880, 434, 326, 646, 13666, 1518, 67, 529, 4278, 652, ...
this = apply(_quickfix.new_LegOptionRatio, args)
this = _quickfix.new_LegOptionRatio(*args)
def __init__(self, *args): this = apply(_quickfix.new_LegOptionRatio, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 1895, 8541, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 1895, 8541, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
if self.Optional == True : if Filename == None or Filename =='': GenFdsGlobalVariable.VerboseLogger( "Optional Section don't exist!") return '', None
def GenSection(self, OutputPath, ModuleName, SecNum, KeyStringList, FfsInf = None) : """Prepare the parameter of GenSection""" if FfsInf != None : InfFileName = FfsInf.InfFileName SectionType = FfsInf.__ExtendMarco__(self.SectionType) Filename = FfsInf.__ExtendMarco__(self.FileName) """print 'Buile Num: %s' %self.Build...
184406f960c02da0b957160a62999cf6950f3780 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/914/184406f960c02da0b957160a62999cf6950f3780/EfiSection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10938, 5285, 12, 2890, 16, 3633, 743, 16, 5924, 461, 16, 3232, 2578, 16, 1929, 780, 682, 16, 478, 2556, 13149, 273, 599, 13, 294, 3536, 7543, 326, 1569, 434, 10938, 5285, 8395, 309, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10938, 5285, 12, 2890, 16, 3633, 743, 16, 5924, 461, 16, 3232, 2578, 16, 1929, 780, 682, 16, 478, 2556, 13149, 273, 599, 13, 294, 3536, 7543, 326, 1569, 434, 10938, 5285, 8395, 309, 47...
tau_err*period*1e6, centre_freq, \
tau_err*period*1e6, midfreq, \
def write_toa(summed_pulse, polycos, template_profile, \ timeseries, start_phase=0.0): """Given a SummedPulse generate a TOA and write it to stdout. A polycos file is required. 'template_profile' is simply a numpy array. 'timeseries' is a Datfile object. 'start_phase' is the phase at the start of the profile. """ if te...
e6a4e8efe30ac55a66af024075ebbda1dcb3c7b4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3485/e6a4e8efe30ac55a66af024075ebbda1dcb3c7b4/dissect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 12799, 12, 1364, 2937, 67, 84, 24667, 16, 7573, 14445, 16, 1542, 67, 5040, 16, 521, 18677, 16, 787, 67, 13961, 33, 20, 18, 20, 4672, 3536, 6083, 279, 9352, 2937, 52, 24667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 12799, 12, 1364, 2937, 67, 84, 24667, 16, 7573, 14445, 16, 1542, 67, 5040, 16, 521, 18677, 16, 787, 67, 13961, 33, 20, 18, 20, 4672, 3536, 6083, 279, 9352, 2937, 52, 24667, ...
return request_callback(CRAWLER_SEEDINGSTATS_QUERY, cPickle.dumps(["SELECT * FROM SeedingStats WHERE crawled = 0 and timestamp BETWEEN %s and %s ORDER BY timestamp DESC"%(0, time()), 'UPDATE SeedingStats SET crawled=1 WHERE crawled=0 and timestamp <=0']))
read_query = "SELECT * FROM SeedingStats WHERE crawled = 0 and timestamp BETWEEN %s and %s ORDER BY timestamp DESC" % (0, time()) write_query = 'UPDATE SeedingStats SET crawled=1 WHERE crawled=0 and timestamp <=0' return request_callback(CRAWLER_SEEDINGSTATS_QUERY, cPickle.dumps([("read", read_query), ("write", write_q...
def query_initiator(self, permid, selversion, request_callback): """ Established a new connection. Send a CRAWLER_DATABASE_QUERY request. @param permid The Tribler peer permid @param selversion The oberlay protocol version @param request_callback Call this function one or more times to send the requests: request_callba...
34244b2f74d46ab016eb11199f942371f4603706 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9686/34244b2f74d46ab016eb11199f942371f4603706/SeedingStatsCrawler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 843, 67, 2738, 10620, 12, 2890, 16, 4641, 350, 16, 357, 1589, 16, 590, 67, 3394, 4672, 3536, 17787, 9237, 5992, 279, 394, 1459, 18, 2479, 279, 385, 10821, 14668, 67, 22366, 67, 10753, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 843, 67, 2738, 10620, 12, 2890, 16, 4641, 350, 16, 357, 1589, 16, 590, 67, 3394, 4672, 3536, 17787, 9237, 5992, 279, 394, 1459, 18, 2479, 279, 385, 10821, 14668, 67, 22366, 67, 10753, ...
(2*13 + O(13^7))*t^2 + (13 + O(13^8))*t + (O(13^7))
(O(13^7))*t^4 + (2*13 + O(13^7))*t^2 + (13 + O(13^8))*t + (O(13^7))
def _add_(self, right): """ Returns the sum of self and right.
e9e01a8904ca94f7994c723cd54a5100787e8a31 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/e9e01a8904ca94f7994c723cd54a5100787e8a31/polynomial_padic_capped_relative_dense.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 67, 12, 2890, 16, 2145, 4672, 3536, 2860, 326, 2142, 434, 365, 471, 2145, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 67, 12, 2890, 16, 2145, 4672, 3536, 2860, 326, 2142, 434, 365, 471, 2145, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
users_base = self.users_base
def _lookupuserbyattr(self, name, value, pwd=None): """ returns a record's DN and the groups a uid belongs to as well as a dictionary containing user attributes """ if name == 'dn': if value.find(',') == -1: # micro-optimization: this is not a valid dn because it # doesn't contain any commas; don't bother trying to loo...
b8fbf1bf5c66363ac4dffa4c0a414ccd0acc76ef /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1858/b8fbf1bf5c66363ac4dffa4c0a414ccd0acc76ef/LDAPUserFolder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8664, 1355, 1637, 1747, 12, 2890, 16, 508, 16, 460, 16, 14720, 33, 7036, 4672, 3536, 1135, 279, 1409, 1807, 18001, 471, 326, 3252, 279, 4555, 11081, 358, 487, 5492, 487, 279, 3880, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8664, 1355, 1637, 1747, 12, 2890, 16, 508, 16, 460, 16, 14720, 33, 7036, 4672, 3536, 1135, 279, 1409, 1807, 18001, 471, 326, 3252, 279, 4555, 11081, 358, 487, 5492, 487, 279, 3880, ...
spaceline = spaceline.replace('\'s', ' s')
def display_summary(self, rec, paramDict, proxInfo=None, highlight=1): global nonAsciiRe, asciiFriendly, overescapedAmpRe, unescapeCharent recid = rec.id self.logger.log('Summary requested for record: %s' % (recid)) # highlight search terms in rec.sax if (proxInfo) and highlight: nodeIdxs = proxInfo[::2] wordIdxs = pro...
51c4864bb9efdde7305f1cca91b49e2220b7771c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11263/51c4864bb9efdde7305f1cca91b49e2220b7771c/eadSearchHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 67, 7687, 12, 2890, 16, 1950, 16, 579, 5014, 16, 8617, 966, 33, 7036, 16, 8839, 33, 21, 4672, 2552, 1661, 21363, 426, 16, 11384, 19730, 16, 1879, 16502, 26895, 426, 16, 15568, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 67, 7687, 12, 2890, 16, 1950, 16, 579, 5014, 16, 8617, 966, 33, 7036, 16, 8839, 33, 21, 4672, 2552, 1661, 21363, 426, 16, 11384, 19730, 16, 1879, 16502, 26895, 426, 16, 15568, 78...
a = [safe_utf8(i) for i in self._parseField(self.oldValue)] b = [safe_utf8(i) for i in self._parseField(self.newValue)]
a = [safe_unicode(i) for i in self._parseField(self.oldValue)] b = [safe_unicode(i) for i in self._parseField(self.newValue)]
def html_diff(self, context=True, wrapcolumn=40): """Return an HTML table showing differences""" # difflib is not Unicode-aware, so we need to force everything to # utf-8 manually a = [safe_utf8(i) for i in self._parseField(self.oldValue)] b = [safe_utf8(i) for i in self._parseField(self.newValue)] vis_diff = difflib.H...
db7dab53a4b5309102e3d2a1f624eec1341907d0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11957/db7dab53a4b5309102e3d2a1f624eec1341907d0/TextDiff.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 67, 5413, 12, 2890, 16, 819, 33, 5510, 16, 2193, 2827, 33, 7132, 4672, 3536, 990, 392, 3982, 1014, 17253, 16440, 8395, 468, 1901, 12678, 353, 486, 9633, 17, 30799, 16, 1427, 732, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 67, 5413, 12, 2890, 16, 819, 33, 5510, 16, 2193, 2827, 33, 7132, 4672, 3536, 990, 392, 3982, 1014, 17253, 16440, 8395, 468, 1901, 12678, 353, 486, 9633, 17, 30799, 16, 1427, 732, ...
INSERT INTO CacheContents VALUES(NULL, ?, ?, ?, ?, ?, ?, ?)
INSERT INTO CacheContents VALUES(NULL, ?, ?, ?, ?, ?, ?, ?, ?)
def addEntry(self, item, withFiles): (name, (oldVersion, oldFlavor), (newVersion, newFlavor), absolute) = \ item
c1fb30ff97c24803d5cb35db4bc1d6376529b6fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/c1fb30ff97c24803d5cb35db4bc1d6376529b6fa/netserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1622, 12, 2890, 16, 761, 16, 598, 2697, 4672, 261, 529, 16, 261, 1673, 1444, 16, 1592, 2340, 9444, 3631, 261, 2704, 1444, 16, 394, 2340, 9444, 3631, 4967, 13, 273, 521, 761, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1622, 12, 2890, 16, 761, 16, 598, 2697, 4672, 261, 529, 16, 261, 1673, 1444, 16, 1592, 2340, 9444, 3631, 261, 2704, 1444, 16, 394, 2340, 9444, 3631, 4967, 13, 273, 521, 761, 2, ...
tests_are_present=True, overrides=overrides_str)
tests_are_present=False, overrides=overrides_str)
def skipped_layout_tests(self, extra_test_files=None): expectations_str = self.test_expectations() overrides_str = self.test_expectations_overrides() test_platform_name = self.test_platform_name() is_debug_mode = False
9a282cb2ff2dacf0a874503f1d01aa9103b4e6b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/9a282cb2ff2dacf0a874503f1d01aa9103b4e6b3/chromium.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9700, 67, 6741, 67, 16341, 12, 2890, 16, 2870, 67, 3813, 67, 2354, 33, 7036, 4672, 26305, 67, 701, 273, 365, 18, 3813, 67, 12339, 1012, 1435, 9515, 67, 701, 273, 365, 18, 3813, 67, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9700, 67, 6741, 67, 16341, 12, 2890, 16, 2870, 67, 3813, 67, 2354, 33, 7036, 4672, 26305, 67, 701, 273, 365, 18, 3813, 67, 12339, 1012, 1435, 9515, 67, 701, 273, 365, 18, 3813, 67, 1...
gotone, evt = Evt.WaitNextEvent(-1, 0)
gotone, evt = Evt.WaitNextEvent(0xffff, 0)
def main(): print 'hello world' # XXXX # skip the toolbox initializations, already done # XXXX Should use gestalt here to check for quicktime version Qt.EnterMovies() # Get the movie file fss, ok = macfs.StandardGetFile(QuickTime.MovieFileType) if not ok: sys.exit(0) # Open the window bounds = (175, 75, 175+160, 75+1...
c4b8eb34876119e4f3429849fee5be26abd5906b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/c4b8eb34876119e4f3429849fee5be26abd5906b/VerySimplePlayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1172, 296, 23711, 9117, 11, 468, 11329, 60, 468, 2488, 326, 5226, 2147, 2172, 7089, 16, 1818, 2731, 468, 11329, 60, 9363, 999, 314, 395, 2390, 2674, 358, 866, 364, 9549, 957...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1172, 296, 23711, 9117, 11, 468, 11329, 60, 468, 2488, 326, 5226, 2147, 2172, 7089, 16, 1818, 2731, 468, 11329, 60, 9363, 999, 314, 395, 2390, 2674, 358, 866, 364, 9549, 957...
self.atomicnumber = []
atomicnumber = []
def process_element(self, element): "Extract atomic number from element" # The types that can be converted to Elements: integers and strings if self.element_basis is None: if isinstance(element, type("string")): self.atomicnumber = ase.data.atomic_numbers[element] else: # Let's hope it is an atomic number or something ...
b054d8fb435784ad9df7f0e582b9cc196051e52e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5572/b054d8fb435784ad9df7f0e582b9cc196051e52e/bravais.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2956, 12, 2890, 16, 930, 4672, 315, 4976, 7960, 1300, 628, 930, 6, 468, 1021, 1953, 716, 848, 506, 5970, 358, 17219, 30, 12321, 471, 2064, 309, 365, 18, 2956, 67, 23774, 353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2956, 12, 2890, 16, 930, 4672, 315, 4976, 7960, 1300, 628, 930, 6, 468, 1021, 1953, 716, 848, 506, 5970, 358, 17219, 30, 12321, 471, 2064, 309, 365, 18, 2956, 67, 23774, 353,...
if '__WXGTK__' in wx.PlatformInfo: newSize.height = pointSize + 8
def SetItem(self, item, position, size, pointSize): self.item = item self.SetValue(item.displayName)
0a27f4ca2cd3fd79d460f99220e89241993dd034 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/0a27f4ca2cd3fd79d460f99220e89241993dd034/CalendarCanvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1180, 12, 2890, 16, 761, 16, 1754, 16, 963, 16, 1634, 1225, 4672, 365, 18, 1726, 273, 761, 365, 18, 694, 620, 12, 1726, 18, 5417, 461, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1180, 12, 2890, 16, 761, 16, 1754, 16, 963, 16, 1634, 1225, 4672, 365, 18, 1726, 273, 761, 365, 18, 694, 620, 12, 1726, 18, 5417, 461, 13, 2, -100, -100, -100, -100, -100, -100...
if request.method == 'POST': return redirect('reviewers') else: reviewers = Reviewer.objects.order_by("-id")[offset:limit] if(reviewers): json_subcat = serializers.serialize("json", reviewers) else: json_subcat = 'EOF' return HttpResponse(json_subcat, mimetype="application/javascript")
if request.method == 'POST': return redirect('reviewers') else: reviewers = Reviewer.objects.order_by("-id")[offset:limit] if(reviewers): json_subcat = serializers.serialize("json", reviewers) else: json_subcat = 'EOF' return HttpResponse(json_subcat, mimetype="application/javascript")
def get_reviewers_online(request, offset, limit): if request.method == 'POST': return redirect('reviewers') else: reviewers = Reviewer.objects.order_by("-id")[offset:limit] if(reviewers): json_subcat = serializers.serialize("json", reviewers) else: json_subcat = 'EOF' return HttpResponse(json_subcat, mimetype="applicat...
7759d6eb08a7e6568691e648ed314450c8afa48e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11995/7759d6eb08a7e6568691e648ed314450c8afa48e/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 16041, 414, 67, 21026, 12, 2293, 16, 1384, 16, 1800, 4672, 309, 590, 18, 2039, 422, 296, 3798, 4278, 327, 3136, 2668, 16041, 414, 6134, 469, 30, 10725, 414, 273, 21354, 264, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 16041, 414, 67, 21026, 12, 2293, 16, 1384, 16, 1800, 4672, 309, 590, 18, 2039, 422, 296, 3798, 4278, 327, 3136, 2668, 16041, 414, 6134, 469, 30, 10725, 414, 273, 21354, 264, 1...
self._body = self.get_HTML_mail(name,build_url,waterfall_url,failed_step,status_text,change)
self._body = self.get_HTML_mail(name,build,build_url,waterfall_url,failed_step,status_text,change)
def buildMessage(self, name, build, results): """Send an email about the result. Don't attach the patch as MailNotifier.buildMessage do."""
d09b5709e163d35440f472144fc6a75155c9b191 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12355/d09b5709e163d35440f472144fc6a75155c9b191/mail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 1079, 12, 2890, 16, 508, 16, 1361, 16, 1686, 4672, 3536, 3826, 392, 2699, 2973, 326, 563, 18, 7615, 1404, 3306, 326, 4729, 487, 11542, 14889, 18, 3510, 1079, 741, 12123, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 1079, 12, 2890, 16, 508, 16, 1361, 16, 1686, 4672, 3536, 3826, 392, 2699, 2973, 326, 563, 18, 7615, 1404, 3306, 326, 4729, 487, 11542, 14889, 18, 3510, 1079, 741, 12123, 2, -100, ...
m_methods[num] = method;
m_methods.insert(std::pair<int, objectArrivedPtr>(num, method));
def generate_dispatcher_implementation(self, objects): #print "Output of implementation for:", outfile = self.outdir + '/Dispatcher.cpp' #print outfile self.out = open(outfile + ".tmp", "w") self.write(copyright) self.write('\n#include <Atlas/Objects/Dispatcher.h>\n\n') self.ns_open(self.base_list) self.write("""
b3b2311a5b03a1655ca638eb2b96f0da58e33310 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12931/b3b2311a5b03a1655ca638eb2b96f0da58e33310/GenerateDispatcher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 18495, 67, 30810, 12, 2890, 16, 2184, 4672, 468, 1188, 315, 1447, 434, 4471, 364, 2773, 16, 8756, 273, 365, 18, 659, 1214, 397, 1173, 6681, 18, 4057, 84, 11, 468, 1188, 8756,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 18495, 67, 30810, 12, 2890, 16, 2184, 4672, 468, 1188, 315, 1447, 434, 4471, 364, 2773, 16, 8756, 273, 365, 18, 659, 1214, 397, 1173, 6681, 18, 4057, 84, 11, 468, 1188, 8756,...
xml = '<filename file="%s" />' % f
xml = '<filename file="%s" />' % os.path.basename(f)
def write_abstract_dag(self): """ Write all the nodes in the workflow to the DAX file. """ if not self.__dax_file_path: # this workflow is not dax-compatible, so don't write a dax return try: dagfile = open( self.__dax_file_path, 'w' ) except: raise CondorDAGError, "Cannot open file " + self.__dag_file_path
cec1a043957f226949b65b3fd770ff7c197a21fe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/cec1a043957f226949b65b3fd770ff7c197a21fe/pipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 17801, 67, 30204, 12, 2890, 4672, 3536, 2598, 777, 326, 2199, 316, 326, 6095, 358, 326, 463, 2501, 585, 18, 3536, 309, 486, 365, 16186, 72, 651, 67, 768, 67, 803, 30, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 17801, 67, 30204, 12, 2890, 4672, 3536, 2598, 777, 326, 2199, 316, 326, 6095, 358, 326, 463, 2501, 585, 18, 3536, 309, 486, 365, 16186, 72, 651, 67, 768, 67, 803, 30, 468, ...
self.ui.debug("Parsing revision %d\n" % revnum) if orig_paths is None: return
def after_received(orig_paths, revnum, author, date, message): if revnum in self.modulemap: new_module = self.modulemap[revnum] if new_module != self.module: self.module = new_module self.reparent(self.module)
de321e18946a5c05d6c8deaff7b6fed8e6ae14c9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/de321e18946a5c05d6c8deaff7b6fed8e6ae14c9/subversion.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 15213, 12, 4949, 67, 4481, 16, 5588, 2107, 16, 2869, 16, 1509, 16, 883, 4672, 309, 5588, 2107, 316, 365, 18, 2978, 1458, 30, 394, 67, 2978, 273, 365, 18, 2978, 1458, 63, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 15213, 12, 4949, 67, 4481, 16, 5588, 2107, 16, 2869, 16, 1509, 16, 883, 4672, 309, 5588, 2107, 316, 365, 18, 2978, 1458, 30, 394, 67, 2978, 273, 365, 18, 2978, 1458, 63, 90...
self.assert_(int(groups[2]) == pid,
self.assertEqual(int(groups[2]), pid,
def test_create_tmp(self, repetitions=10): # Create files in tmp directory hostname = socket.gethostname() if '/' in hostname: hostname = hostname.replace('/', r'\057') if ':' in hostname: hostname = hostname.replace(':', r'\072') pid = os.getpid() pattern = re.compile(r"(?P<time>\d+)\.M(?P<M>\d{1,6})P(?P<P>\d+)" r"Q(?...
ea8344797e1a0ebd0b419ce14e16ab25af771fcc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/ea8344797e1a0ebd0b419ce14e16ab25af771fcc/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2640, 67, 5645, 12, 2890, 16, 22265, 5029, 33, 2163, 4672, 468, 1788, 1390, 316, 1853, 1867, 5199, 273, 2987, 18, 75, 546, 669, 529, 1435, 309, 2023, 316, 5199, 30, 5199, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2640, 67, 5645, 12, 2890, 16, 22265, 5029, 33, 2163, 4672, 468, 1788, 1390, 316, 1853, 1867, 5199, 273, 2987, 18, 75, 546, 669, 529, 1435, 309, 2023, 316, 5199, 30, 5199, 273...
if widget.tag == "eLabel":
if w_tag == "eLabel":
def readSkin(screen, skin, names, desktop): if not isinstance(names, list): names = [names] name = "<embedded-in-'%s'>" % screen.__class__.__name__ # try all skins, first existing one have priority for n in names: myscreen, path = lookupScreen(n) if myscreen is not None: # use this name for debug output name = n brea...
726a696a8d423d9f994767f2df01e135f07fca96 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/726a696a8d423d9f994767f2df01e135f07fca96/skin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 26827, 12, 9252, 16, 18705, 16, 1257, 16, 21304, 4672, 309, 486, 1549, 12, 1973, 16, 666, 4672, 1257, 273, 306, 1973, 65, 225, 508, 273, 3532, 20722, 17, 267, 6627, 9, 87, 28533, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 26827, 12, 9252, 16, 18705, 16, 1257, 16, 21304, 4672, 309, 486, 1549, 12, 1973, 16, 666, 4672, 1257, 273, 306, 1973, 65, 225, 508, 273, 3532, 20722, 17, 267, 6627, 9, 87, 28533, ...
class Element( Node ):
class Element(Node):
def __delitem__(self, attname_or_tuple): node = self[attname_or_tuple] node.unlink() del self._attrs[node.name] del self._attrsNS[(node.namespaceURI, node.localName)]
034191d829641c37d224fa2f1c6e99d29ad998d9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/034191d829641c37d224fa2f1c6e99d29ad998d9/minidom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 1726, 972, 12, 2890, 16, 2403, 529, 67, 280, 67, 8052, 4672, 756, 273, 365, 63, 4558, 529, 67, 280, 67, 8052, 65, 756, 18, 318, 1232, 1435, 1464, 365, 6315, 7039, 63, 215...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 1726, 972, 12, 2890, 16, 2403, 529, 67, 280, 67, 8052, 4672, 756, 273, 365, 63, 4558, 529, 67, 280, 67, 8052, 65, 756, 18, 318, 1232, 1435, 1464, 365, 6315, 7039, 63, 215...
class RemoveSelfProvidedRequiresh(policy.Policy):
class RemoveSelfProvidedRequires(policy.Policy):
def addPluggableRequirements(self, path, fullpath, pkgFiles, macros): """Override in subclasses""" pass
be31d48698d3d0c8cac5a3534f2c0f3b1d71c73f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8747/be31d48698d3d0c8cac5a3534f2c0f3b1d71c73f/packagepolicy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1749, 30382, 15465, 12, 2890, 16, 589, 16, 15170, 16, 3475, 2697, 16, 24302, 4672, 3536, 6618, 316, 15320, 8395, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1749, 30382, 15465, 12, 2890, 16, 589, 16, 15170, 16, 3475, 2697, 16, 24302, 4672, 3536, 6618, 316, 15320, 8395, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __getattr__(self, name):
def _dummy(*args):
def __getattr__(self, name): raise error(9, 'Bad file descriptor')
989966d25708bea632f78cedd70c2f9924187e94 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/989966d25708bea632f78cedd70c2f9924187e94/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 21050, 30857, 1968, 4672, 1002, 555, 12, 29, 16, 296, 6434, 585, 4950, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 21050, 30857, 1968, 4672, 1002, 555, 12, 29, 16, 296, 6434, 585, 4950, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
while fobj.size != fobj.tell():
while fobj.tell() < ocount:
def _decodeSigSubpackets(fobj): fobj.seek(0) while fobj.size != fobj.tell(): yield PGP_Signature._getNextSubpacket(fobj)
dad368a4dd1570b1d9338861bf62d56a7cf6dab7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8747/dad368a4dd1570b1d9338861bf62d56a7cf6dab7/openpgpfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3922, 8267, 1676, 28717, 12, 27936, 4672, 24705, 18, 16508, 12, 20, 13, 1323, 24705, 18, 88, 1165, 1435, 411, 320, 1883, 30, 2824, 21222, 67, 5374, 6315, 588, 2134, 1676, 11482, 12,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3922, 8267, 1676, 28717, 12, 27936, 4672, 24705, 18, 16508, 12, 20, 13, 1323, 24705, 18, 88, 1165, 1435, 411, 320, 1883, 30, 2824, 21222, 67, 5374, 6315, 588, 2134, 1676, 11482, 12,...
if not taxep.id:
if not taxep or not taxep.id:
def product_id_change(self, cr, uid, ids, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True): if partner_id: lang=self.pool.get('res.partner').read(cr, uid, [partner_id])[0]['lang'] context = {'lang':lang} if not product: return {'value': {'price_unit': 0...
ee0936a83df8c14bfb712d8b14b12a8c1029c2dc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/ee0936a83df8c14bfb712d8b14b12a8c1029c2dc/sale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3017, 67, 350, 67, 3427, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 846, 335, 5449, 16, 3017, 16, 26667, 33, 20, 16, 582, 362, 33, 8381, 16, 26667, 67, 89, 538, 33, 20, 16, 582, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3017, 67, 350, 67, 3427, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 846, 335, 5449, 16, 3017, 16, 26667, 33, 20, 16, 582, 362, 33, 8381, 16, 26667, 67, 89, 538, 33, 20, 16, 582, ...
else:
elif peercert:
def format_hash(value): return reduce(lambda x, (i, y): x + y.upper() + ((i % 2 and i + 1 < len(value)) and ':' or ''), enumerate(value), '')
f01486abd03ce948c0d56188c367d5194159fd1d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9151/f01486abd03ce948c0d56188c367d5194159fd1d/pysocket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 2816, 12, 1132, 4672, 327, 5459, 12, 14661, 619, 16, 261, 77, 16, 677, 4672, 619, 397, 677, 18, 5797, 1435, 397, 14015, 77, 738, 576, 471, 277, 397, 404, 411, 562, 12, 1132,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 2816, 12, 1132, 4672, 327, 5459, 12, 14661, 619, 16, 261, 77, 16, 677, 4672, 619, 397, 677, 18, 5797, 1435, 397, 14015, 77, 738, 576, 471, 277, 397, 404, 411, 562, 12, 1132,...
_('Ticket History'))
_("Ticket History"))
def version_info(t, field=None): path = 'Ticket #%s' % ticket.id # TODO: field info should probably be part of the Resource as well if field: path = tag(path, Markup(' &ndash; '), field_labels.get(field, field.capitalize())) if t.version: rev = _('Version %(num)s', num=t.version) shortrev = 'v%d' % t.version else: rev,...
a8a6442302dc21bfc63206a71113b0375cb3c946 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9317/a8a6442302dc21bfc63206a71113b0375cb3c946/web_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1177, 67, 1376, 12, 88, 16, 652, 33, 7036, 4672, 589, 273, 296, 13614, 31974, 87, 11, 738, 9322, 18, 350, 468, 2660, 30, 652, 1123, 1410, 8656, 506, 1087, 434, 326, 2591, 487, 5492, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1177, 67, 1376, 12, 88, 16, 652, 33, 7036, 4672, 589, 273, 296, 13614, 31974, 87, 11, 738, 9322, 18, 350, 468, 2660, 30, 652, 1123, 1410, 8656, 506, 1087, 434, 326, 2591, 487, 5492, ...
if type(facility) == type(int):
if type(facility) == int:
def _facilityMap(self, facility): facility_map = { "KERN": syslog.LOG_KERN, "USER": syslog.LOG_USER, "MAIL": syslog.LOG_MAIL, "DAEMON": syslog.LOG_DAEMON, "AUTH": syslog.LOG_AUTH, "LPR": syslog.LOG_LPR, "NEWS": syslog.LOG_NEWS, "UUCP": syslog.LOG_UUCP, "CRON": syslog.LOG_CRON, "LOCAL0": syslog.LOG_LOCAL0, "LOCAL1": sys...
3e519e5e10a90d5c916209ce1f2a14387cdb0865 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/3e519e5e10a90d5c916209ce1f2a14387cdb0865/yum-updatesd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11639, 1889, 863, 12, 2890, 16, 28164, 4672, 28164, 67, 1458, 273, 288, 315, 27221, 50, 6877, 16718, 18, 4842, 67, 27221, 50, 16, 315, 4714, 6877, 16718, 18, 4842, 67, 4714, 16, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11639, 1889, 863, 12, 2890, 16, 28164, 4672, 28164, 67, 1458, 273, 288, 315, 27221, 50, 6877, 16718, 18, 4842, 67, 27221, 50, 16, 315, 4714, 6877, 16718, 18, 4842, 67, 4714, 16, 3...
segs.extend(spectrum)
segs.extend(spectrum.metadata.segments)
def segments(self): """ Return the (uncoalesced) list of segments represented by the Spectra in this SpectrumList. """ segs = segments.segmentlist() for spectrum in self: segs.extend(spectrum) return segs
e04c61ad8714219b9691d55d7b3e2b6e6734a660 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5758/e04c61ad8714219b9691d55d7b3e2b6e6734a660/metaarray.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5155, 12, 2890, 4672, 3536, 2000, 326, 261, 551, 83, 5408, 3263, 13, 666, 434, 5155, 10584, 635, 326, 348, 1181, 354, 316, 333, 348, 13324, 682, 18, 3536, 23114, 273, 5155, 18, 9273, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5155, 12, 2890, 4672, 3536, 2000, 326, 261, 551, 83, 5408, 3263, 13, 666, 434, 5155, 10584, 635, 326, 348, 1181, 354, 316, 333, 348, 13324, 682, 18, 3536, 23114, 273, 5155, 18, 9273, 1...
def handle_read_event (self):
def handle_read_event(self):
def handle_read_event (self): if self.accepting: # for an accepting socket, getting a read implies # that we are connected if not self.connected: self.connected = 1 self.handle_accept() elif not self.connected: self.handle_connect() self.connected = 1 self.handle_read() else: self.handle_read()
79991224d1b5f3a4ab074ddac83ef59addf853be /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/79991224d1b5f3a4ab074ddac83ef59addf853be/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 896, 67, 2575, 12, 2890, 4672, 309, 365, 18, 9436, 310, 30, 468, 364, 392, 25806, 2987, 16, 8742, 279, 855, 24168, 468, 716, 732, 854, 5840, 309, 486, 365, 18, 8537, 30, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 896, 67, 2575, 12, 2890, 4672, 309, 365, 18, 9436, 310, 30, 468, 364, 392, 25806, 2987, 16, 8742, 279, 855, 24168, 468, 716, 732, 854, 5840, 309, 486, 365, 18, 8537, 30, 36...
self.assertTrue(len(self.RequestHandler.myRequests[-1]) >= 2)
self.assertGreaterEqual(len(self.RequestHandler.myRequests[-1]), 2)
def test_two(self): p = xmlrpclib.ServerProxy(URL) self.assertEqual(p.pow(6,8), 6**8) self.assertEqual(p.pow(6,8), 6**8) self.assertEqual(len(self.RequestHandler.myRequests), 1) #we may or may not catch the final "append" with the empty line self.assertTrue(len(self.RequestHandler.myRequests[-1]) >= 2)
d455cd1933b10d60e3797a274b6aab7aa7618f57 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/d455cd1933b10d60e3797a274b6aab7aa7618f57/test_xmlrpc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 15415, 12, 2890, 4672, 293, 273, 2025, 13832, 830, 495, 18, 2081, 3886, 12, 1785, 13, 365, 18, 11231, 5812, 12, 84, 18, 23509, 12, 26, 16, 28, 3631, 1666, 636, 28, 13, 365,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 15415, 12, 2890, 4672, 293, 273, 2025, 13832, 830, 495, 18, 2081, 3886, 12, 1785, 13, 365, 18, 11231, 5812, 12, 84, 18, 23509, 12, 26, 16, 28, 3631, 1666, 636, 28, 13, 365,...
''
"Make a rational number ...
... def __init__(self):
6c095b55f59d5b341fca3a25b0c6d6fa6706d4d6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/6c095b55f59d5b341fca3a25b0c6d6fa6706d4d6/sageinspect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 2738, 972, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 2738, 972, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
'Put mouse between an output and input until the horizontal line appears and click. Also if you press control-enter in a cell, a new cell is inserted after it (the current cell is not evaluated).'),
'Put mouse between an output and input until the horizontal line appears and click. Also if you press control-enter in a cell, a new cell is inserted after it.'),
def help_window(self): help = [ ('Evaluate Input', 'Press shift-enter. You can start several calculations at once. If you press control-enter instead, then a new cell is created after the current one (and the current one is not evaluated).'), ('Timed Evaluation', 'Type "time" at the beginning of the cell.'), ('Evalua...
76a155f939574af95b5dcf867cdf469199acd323 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/76a155f939574af95b5dcf867cdf469199acd323/notebook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2809, 67, 5668, 12, 2890, 4672, 2809, 273, 306, 7707, 15369, 2741, 2187, 296, 11840, 4654, 17, 2328, 18, 225, 4554, 848, 787, 11392, 20882, 622, 3647, 18, 225, 971, 1846, 11779, 3325, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2809, 67, 5668, 12, 2890, 4672, 2809, 273, 306, 7707, 15369, 2741, 2187, 296, 11840, 4654, 17, 2328, 18, 225, 4554, 848, 787, 11392, 20882, 622, 3647, 18, 225, 971, 1846, 11779, 3325, 17...
operands = userDict.keys()
operands = user_dict.keys()
def buildOperandNameMap(userDict, lineno): global operandNameMap operandNameMap = {} for (op_name, val) in userDict.iteritems(): (base_cls_name, dflt_ext, reg_spec, flags, sort_pri) = val[:5] if len(val) > 5: read_code = val[5] else: read_code = None if len(val) > 6: write_code = val[6] else: write_code = None if len(v...
2edab51be0ddf2ab546920745ef34147fff0cec8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7385/2edab51be0ddf2ab546920745ef34147fff0cec8/isa_parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 10265, 461, 863, 12, 1355, 5014, 16, 7586, 4672, 2552, 9886, 461, 863, 9886, 461, 863, 273, 2618, 364, 261, 556, 67, 529, 16, 1244, 13, 316, 729, 5014, 18, 2165, 3319, 13332, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 10265, 461, 863, 12, 1355, 5014, 16, 7586, 4672, 2552, 9886, 461, 863, 9886, 461, 863, 273, 2618, 364, 261, 556, 67, 529, 16, 1244, 13, 316, 729, 5014, 18, 2165, 3319, 13332, 261...
print >> sys.stderr, "* ", j print >> sys.stderr, " ", str(li[j]) if j < len(li) else '-' print >> sys.stderr, " ", str(l0[j]) if j < len(l0) else '-'
print >> mode.diagnostic, "* ", j print >> mode.diagnostic, " ", str(li[j]) if j < len(li) else '-' print >> mode.diagnostic, " ", str(l0[j]) if j < len(l0) else '-'
def __init__(self, inputs, outputs, optimizer, mode, accept_inplace = False, function_builder = Function): """ :type inputs: a list of SymbolicInput instances
16d6878579a69eb0f4199dbb8e63e98d41505c50 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12438/16d6878579a69eb0f4199dbb8e63e98d41505c50/debugmode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4540, 16, 6729, 16, 13066, 16, 1965, 16, 2791, 67, 267, 964, 273, 1083, 16, 445, 67, 9574, 273, 4284, 4672, 3536, 294, 723, 4540, 30, 279, 666, 434, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4540, 16, 6729, 16, 13066, 16, 1965, 16, 2791, 67, 267, 964, 273, 1083, 16, 445, 67, 9574, 273, 4284, 4672, 3536, 294, 723, 4540, 30, 279, 666, 434, 16...
'title':self.title_quote(p.Title),
'title':self.toencoded(self.title_quote(p.Title)),
def pages_rss(self, num=10, REQUEST=None): """ Provide an RSS feed showing this wiki's recently created pages. """ pages = self.pages(sort_on='creation_time', sort_order='reverse', sort_limit=num, isBoring=0) if len(pages) > 0: last_mod = pages[0].getObject().creationTime() else: last_mod = DateTime() if self.handle_mo...
9518d8429c527129cd9670689ed51cd6798d16eb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5225/9518d8429c527129cd9670689ed51cd6798d16eb/RSS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4689, 67, 25151, 12, 2890, 16, 818, 33, 2163, 16, 12492, 33, 7036, 4672, 3536, 26569, 392, 31481, 4746, 17253, 333, 9050, 1807, 19907, 2522, 4689, 18, 3536, 4689, 273, 365, 18, 7267, 12,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4689, 67, 25151, 12, 2890, 16, 818, 33, 2163, 16, 12492, 33, 7036, 4672, 3536, 26569, 392, 31481, 4746, 17253, 333, 9050, 1807, 19907, 2522, 4689, 18, 3536, 4689, 273, 365, 18, 7267, 12,...
raise PLCPermissionDenied,"build.sh failed to create node-specific medium" self.trash.append("%s.log"%node_image) node_image += suffix
raise PLCAPIError,"bootcd/build.sh failed\n%s\n%s"%( build_command,file(log_file).read()) self.trash.append(log_file)
def hexa2 (c): return chr((c>>4)+65) + chr ((c&16)+65)
d27348bcbc24d51e78933eafc13ed1f986991179 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7598/d27348bcbc24d51e78933eafc13ed1f986991179/GetBootMedium.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 69, 22, 261, 71, 4672, 327, 4513, 12443, 71, 9778, 24, 27921, 9222, 13, 397, 4513, 14015, 71, 10, 2313, 27921, 9222, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 69, 22, 261, 71, 4672, 327, 4513, 12443, 71, 9778, 24, 27921, 9222, 13, 397, 4513, 14015, 71, 10, 2313, 27921, 9222, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py', 'elyxer'], rc_entry = [ r'\converter lyx html "python -tt $$s/scripts/elyxer.py --directory $$r $$i $$o" ""' ]) if elyxer.find('elyxer') >= 0:
elyxerfound = checkModule('elyxer') if elyxerfound: addToRC(r'''\converter lyx html "python -m elyxer --directory $$r $$i $$o" ""''') else: path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py', 'elyxer'], rc_entry = [ r'\converter lyx html "python -tt elyxer.py --directory $$r $$i $$o...
def checkConverterEntries(): ''' Check all converters (\converter entries) ''' checkProg('the pdflatex program', ['pdflatex $$i'], rc_entry = [ r'\converter pdflatex pdf2 "%%" "latex"' ]) checkProg('XeTeX', ['xelatex $$i'], rc_entry = [ r'\converter xetex pdf4 "%%" "latex"' ]) ''' If we're running ...
60ca549de3fbfdae36f34293228872868da33837 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7514/60ca549de3fbfdae36f34293228872868da33837/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 5072, 5400, 13332, 9163, 2073, 777, 19414, 17938, 15747, 3222, 13, 9163, 866, 626, 75, 2668, 5787, 8169, 26264, 5402, 2187, 10228, 7699, 26264, 5366, 77, 17337, 4519, 67, 4099, 273, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 5072, 5400, 13332, 9163, 2073, 777, 19414, 17938, 15747, 3222, 13, 9163, 866, 626, 75, 2668, 5787, 8169, 26264, 5402, 2187, 10228, 7699, 26264, 5366, 77, 17337, 4519, 67, 4099, 273, 3...
raise TraitError("PathProperty constructor requires a 'ref_name' argument.")
raise TraitError("PathProperty constructor requires a" " 'ref_name' argument.")
def __init__ ( self, default_value = NoDefaultSpecified, **metadata ): ref_name = metadata.get('ref_name') if not ref_name: raise TraitError("PathProperty constructor requires a 'ref_name' argument.") self._names = ref_name.split('.') if len(self._names) < 2: raise TraitError("PathProperty ref_name must have at least t...
8586d67f5d42158f614b7fc3ff6c91066cfdb680 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12610/8586d67f5d42158f614b7fc3ff6c91066cfdb680/container.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 365, 16, 805, 67, 1132, 273, 2631, 1868, 17068, 16, 2826, 4165, 262, 30, 1278, 67, 529, 273, 1982, 18, 588, 2668, 1734, 67, 529, 6134, 309, 486, 1278, 67, 529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 365, 16, 805, 67, 1132, 273, 2631, 1868, 17068, 16, 2826, 4165, 262, 30, 1278, 67, 529, 273, 1982, 18, 588, 2668, 1734, 67, 529, 6134, 309, 486, 1278, 67, 529, ...
completeuplist=[] uplistnames=[]
completeuplist = [] uplistnames = []
def upgradepkgs(tsnevral, hinevral, rpmnevral, nulist, uplist, obsoleted_list, obsdict, userlist): # must take user arguments # this is just like update except it must check for obsoleting pkgs first # so if foobar = 1.0 and you have foobar-1.1 in the repo and bazquux1.2 # obsoletes foobar then bazquux would get instal...
c730f5aed105593a7e39895118ca0e3a01fd6460 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/c730f5aed105593a7e39895118ca0e3a01fd6460/pkgaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8400, 25376, 12, 3428, 4644, 18090, 287, 16, 366, 558, 18090, 287, 16, 25228, 4644, 18090, 287, 16, 290, 30994, 16, 582, 17842, 16, 7160, 355, 278, 329, 67, 1098, 16, 7160, 1576, 16, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8400, 25376, 12, 3428, 4644, 18090, 287, 16, 366, 558, 18090, 287, 16, 25228, 4644, 18090, 287, 16, 290, 30994, 16, 582, 17842, 16, 7160, 355, 278, 329, 67, 1098, 16, 7160, 1576, 16, 2...
self.drawroundbox(content.x + r.x, y0 + r.y, r.width, r.height, r)
if r.x < 0: tx0 -= r.x if r.y < 0: ty0 -= r.y self.drawroundbox(tx0 + r.x, ty0 + r.y, r.width, r.height, r)
def update_content(self): """ update the listing area """
31ed124c668b3f507e402823bdf4335bae914a3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/31ed124c668b3f507e402823bdf4335bae914a3b/tvlisting_area.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1745, 12, 2890, 4672, 3536, 1089, 326, 11591, 5091, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1745, 12, 2890, 4672, 3536, 1089, 326, 11591, 5091, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.set_menu_contextual_items_visible()
def menukey_press(self, action): self.set_menu_contextual_items_visible() self.mainmenu.popup(None, None, self.position_menu, 0, 0)
8cbdded67d2cd4af1d043eab95abc449dd591f9b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2312/8cbdded67d2cd4af1d043eab95abc449dd591f9b/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3824, 856, 67, 1028, 12, 2890, 16, 1301, 4672, 365, 18, 5254, 5414, 18, 16086, 12, 7036, 16, 599, 16, 365, 18, 3276, 67, 5414, 16, 374, 16, 374, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3824, 856, 67, 1028, 12, 2890, 16, 1301, 4672, 365, 18, 5254, 5414, 18, 16086, 12, 7036, 16, 599, 16, 365, 18, 3276, 67, 5414, 16, 374, 16, 374, 13, 2, -100, -100, -100, -100, -100, ...
print bold("[error] modifier not valid. Only: CTRL, ALT, SHIFT!")
print bold("> Error: modifier not valid. Only: CTRL, ALT, SHIFT!")
def e17_keys(): try: import pyetun_keys keys=pyetun_keys.get_KEYS() modu=pyetun_keys.get_MODIFIERS() act=pyetun_keys.get_ACTION() par=pyetun_keys.get_PARAMS() for index,i in enumerate(keys): print bold_yellow("[MODIFIER+KEY] "), print modu[index],"+",i, print bold_yellow(" [ACTION] "), print act[index], print bold_ye...
2dc56bf12f43e29753088b6cfaeea43096646f6a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2281/2dc56bf12f43e29753088b6cfaeea43096646f6a/pyetun.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 4033, 67, 2452, 13332, 775, 30, 1930, 2395, 278, 318, 67, 2452, 1311, 33, 2074, 278, 318, 67, 2452, 18, 588, 67, 16333, 1435, 681, 89, 33, 2074, 278, 318, 67, 2452, 18, 588, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 4033, 67, 2452, 13332, 775, 30, 1930, 2395, 278, 318, 67, 2452, 1311, 33, 2074, 278, 318, 67, 2452, 18, 588, 67, 16333, 1435, 681, 89, 33, 2074, 278, 318, 67, 2452, 18, 588, 67,...
if retstr.find('Online at other IP!'):
if retstr.find('Online at other IP!') != -1:
def online(self, widget, data=None): self.e_user.set_editable(False) self.e_passwd.set_editable(False) self.account[0] = self.e_user.get_text() self.account[2] = self.e_passwd.get_text() self.account[3] = self.e_server.get_text() casnetconf.ops['-u'] = self.account[0] casnetconf.ops['-d'] = self.account[1] casnetconf.o...
ff5f65cbaefb102f37aa0e9b4e8324968d2e1e80 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4851/ff5f65cbaefb102f37aa0e9b4e8324968d2e1e80/casnet-gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12365, 12, 2890, 16, 3604, 16, 501, 33, 7036, 4672, 365, 18, 73, 67, 1355, 18, 542, 67, 19653, 12, 8381, 13, 365, 18, 73, 67, 24002, 18, 542, 67, 19653, 12, 8381, 13, 365, 18, 4631...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12365, 12, 2890, 16, 3604, 16, 501, 33, 7036, 4672, 365, 18, 73, 67, 1355, 18, 542, 67, 19653, 12, 8381, 13, 365, 18, 73, 67, 24002, 18, 542, 67, 19653, 12, 8381, 13, 365, 18, 4631...
self._dict[str8('g')] = f[str8('g')] = b"indented"
self._dict['g'] = f[b'g'] = b"indented"
def test_anydbm_modification(self): self.init_db() f = anydbm.open(_fname, 'c') self._dict[str8('g')] = f[str8('g')] = b"indented" self.read_helper(f) f.close()
3978b4e32bc06e7ac843145e024f93c61458b012 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/3978b4e32bc06e7ac843145e024f93c61458b012/test_anydbm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2273, 1966, 81, 67, 31064, 12, 2890, 4672, 365, 18, 2738, 67, 1966, 1435, 284, 273, 1281, 1966, 81, 18, 3190, 24899, 12749, 16, 296, 71, 6134, 365, 6315, 1576, 3292, 75, 3546...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2273, 1966, 81, 67, 31064, 12, 2890, 4672, 365, 18, 2738, 67, 1966, 1435, 284, 273, 1281, 1966, 81, 18, 3190, 24899, 12749, 16, 296, 71, 6134, 365, 6315, 1576, 3292, 75, 3546...