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
def copy(self, cr, uid, id, default=None, context={}):
def copy(self, cr, uid, id, default=None, context=None):
def copy(self, cr, uid, id, default=None, context={}): group_name = self.read(cr, uid, [id], ['name'])[0]['name'] default.update({'name': _('%s (copy)')%group_name}) return super(groups, self).copy(cr, uid, id, default, context)
b4e5c513112036bb6d6eee7e16eda547ccda80eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/b4e5c513112036bb6d6eee7e16eda547ccda80eb/res_user.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 33, 7036, 16, 819, 33, 7036, 4672, 1041, 67, 529, 273, 365, 18, 896, 12, 3353, 16, 4555, 16, 306, 350, 6487, 10228, 529, 19486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1610, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 33, 7036, 16, 819, 33, 7036, 4672, 1041, 67, 529, 273, 365, 18, 896, 12, 3353, 16, 4555, 16, 306, 350, 6487, 10228, 529, 19486, ...
r'\1__time__=misc.cputime(); __wall__=misc.walltime(); \2; print ' +
r';\1__time__=misc.cputime(); __wall__=misc.walltime(); \2; print ' +
def preparse(line, reset=True, do_time=False, ignore_prompts=False): r""" EXAMPLES: sage: preparse("ZZ.<x> = ZZ['x']") "ZZ = ZZ['x']; (x,) = ZZ._first_ngens(1)" sage: preparse("ZZ.<x> = ZZ['y']") "ZZ = ZZ['y']; (x,) = ZZ._first_ngens(1)" sage: preparse("ZZ.<x,y> = ZZ[]") "ZZ = ZZ['x, y']; (x, y,) = ZZ._first_ngens(2)" ...
24b47dac91072a25c13666235ac8db706b2199ad /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/24b47dac91072a25c13666235ac8db706b2199ad/preparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 675, 2670, 12, 1369, 16, 2715, 33, 5510, 16, 741, 67, 957, 33, 8381, 16, 2305, 67, 17401, 1092, 33, 8381, 4672, 436, 8395, 5675, 8900, 11386, 30, 272, 410, 30, 675, 2670, 2932, 27096, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 675, 2670, 12, 1369, 16, 2715, 33, 5510, 16, 741, 67, 957, 33, 8381, 16, 2305, 67, 17401, 1092, 33, 8381, 4672, 436, 8395, 5675, 8900, 11386, 30, 272, 410, 30, 675, 2670, 2932, 27096, ...
list_avail_ids=self.pool.get('hr.analytic.timesheet').search(cr,uid,[])
list_avail_ids = self.pool.get('hr.analytic.timesheet').search(cr, uid, [])
def write(self, cr, uid, ids,vals,context={}): vals_line={}
3378bd4d3a4d503d59d259ae7c1220f1547be7df /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/3378bd4d3a4d503d59d259ae7c1220f1547be7df/project_timesheet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 4524, 16, 2472, 12938, 4672, 5773, 67, 1369, 12938, 2, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 4524, 16, 2472, 12938, 4672, 5773, 67, 1369, 12938, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
return Type.split()[-1]
return Type.strip()
def GetFinalTypeValue(Type, FieldName, TypedefDict, SUDict): Value = TypedefDict.get(Type) if Value == None: Value = SUDict.get(Type) if Value == None: return None LBPos = Value.find('{') while LBPos == -1: FTList = Value.split() for FT in FTList: if FT not in ('struct', 'union'): Value = TypedefDict.get(FT) if Value ...
80c8ce8ea9af8e5a3564b17c9e73fc68c9125734 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/914/80c8ce8ea9af8e5a3564b17c9e73fc68c9125734/c.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 7951, 559, 620, 12, 559, 16, 31578, 16, 1412, 536, 5014, 16, 11726, 5014, 4672, 1445, 273, 1412, 536, 5014, 18, 588, 12, 559, 13, 309, 1445, 422, 599, 30, 1445, 273, 11726, 5014, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 968, 7951, 559, 620, 12, 559, 16, 31578, 16, 1412, 536, 5014, 16, 11726, 5014, 4672, 1445, 273, 1412, 536, 5014, 18, 588, 12, 559, 13, 309, 1445, 422, 599, 30, 1445, 273, 11726, 5014, ...
mtime, size = res[1], res[2]
mtime, size = res_hash[1], res_hash[2]
def check_db(self, conn, verbose=False, dry_run=False, force=False): """check if the hashes that are stored in the database are up to date for performance, this function talks very low level to the database""" # get a database cursor, but make it persistent which is faster try: conn.mycursor except AttributeError: con...
ef0c889e6b860a33e3563a751fac9ad31ab50ab2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10990/ef0c889e6b860a33e3563a751fac9ad31ab50ab2/hashes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 1966, 12, 2890, 16, 1487, 16, 3988, 33, 8381, 16, 10299, 67, 2681, 33, 8381, 16, 2944, 33, 8381, 4672, 3536, 1893, 309, 326, 9869, 716, 854, 4041, 316, 326, 2063, 854, 731, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 1966, 12, 2890, 16, 1487, 16, 3988, 33, 8381, 16, 10299, 67, 2681, 33, 8381, 16, 2944, 33, 8381, 4672, 3536, 1893, 309, 326, 9869, 716, 854, 4041, 316, 326, 2063, 854, 731, ...
key = (p, None, None, arch)
key = (p, arch)
def doop_source(self, pkg):
fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 556, 67, 3168, 12, 2890, 16, 3475, 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, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 556, 67, 3168, 12, 2890, 16, 3475, 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, ...
error_handler=log.err)
error_handler=d.errback)
def sms_list_cb(messages): sms_found = False
45c00959c14e666ef31b3f93137f14e6d66959e4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12036/45c00959c14e666ef31b3f93137f14e6d66959e4/test_dbus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16188, 67, 1098, 67, 7358, 12, 6833, 4672, 16188, 67, 7015, 273, 1083, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16188, 67, 1098, 67, 7358, 12, 6833, 4672, 16188, 67, 7015, 273, 1083, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
explanation = """A TALES expresson defining a condition which will be
explanation = """A TALES expression defining a condition which will be
def getCategoryElements(self, category): tagnames = self._registry[category].keys() tagnames.sort() return tagnames
b3ff8033909e009a4948665eee2c96a772a29e32 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11941/b3ff8033909e009a4948665eee2c96a772a29e32/TaggedValueSupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19110, 3471, 12, 2890, 16, 3150, 4672, 1047, 1973, 273, 365, 6315, 9893, 63, 4743, 8009, 2452, 1435, 1047, 1973, 18, 3804, 1435, 327, 1047, 1973, 2, 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, 19110, 3471, 12, 2890, 16, 3150, 4672, 1047, 1973, 273, 365, 6315, 9893, 63, 4743, 8009, 2452, 1435, 1047, 1973, 18, 3804, 1435, 327, 1047, 1973, 2, -100, -100, -100, -100, -100, -100, -...
runlog('echo mounting target %s to %s ' % (pdev, self.target)
runlog('echo mounting target %s to %s ' % (pdev, self.target))
def ready_target(self): self._check_target() makepaths(self.target) device = self.machine.array_hack(self.machine.current.machine_type) clause = Eq('filesystem', self.machine.current.filesystem) clause &= Gt('partition', '0') table = 'filesystem_mounts natural join mounts' mounts = self.cursor.select(table=table, claus...
1b48125dff910871adfb99a70c9c638b746c0663 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2558/1b48125dff910871adfb99a70c9c638b746c0663/nfsinstaller.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5695, 67, 3299, 12, 2890, 4672, 365, 6315, 1893, 67, 3299, 1435, 1221, 4481, 12, 2890, 18, 3299, 13, 2346, 273, 365, 18, 9149, 18, 1126, 67, 76, 484, 12, 2890, 18, 9149, 18, 2972, 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, 5695, 67, 3299, 12, 2890, 4672, 365, 6315, 1893, 67, 3299, 1435, 1221, 4481, 12, 2890, 18, 3299, 13, 2346, 273, 365, 18, 9149, 18, 1126, 67, 76, 484, 12, 2890, 18, 9149, 18, 2972, 18...
dlg=wxMessageDialog(self, 'Delete file %s from disk?' % file, NAME, wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION)
dlg=wxMessageDialog( self, 'Delete file %s from disk?' % file, NAME, wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION)
def on_file_remove(self, event): if self.project <> None: item = self.tree.GetSelection() file = self.tree.GetItemText(item) if item != self.root and self.activeitem != self.root: self.tree.Delete(item) self.project.remove(file) self.projectSave() self.nb.SetPageText(0, 'Editor') self.editor.Clear() self.editor.Enable(...
3ba07fe9c5b636ef447aa47e40d9f258c1d32e0a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/3ba07fe9c5b636ef447aa47e40d9f258c1d32e0a/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 768, 67, 4479, 12, 2890, 16, 871, 4672, 309, 365, 18, 4406, 2813, 599, 30, 761, 273, 365, 18, 3413, 18, 967, 6233, 1435, 585, 273, 365, 18, 3413, 18, 967, 1180, 1528, 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, 603, 67, 768, 67, 4479, 12, 2890, 16, 871, 4672, 309, 365, 18, 4406, 2813, 599, 30, 761, 273, 365, 18, 3413, 18, 967, 6233, 1435, 585, 273, 365, 18, 3413, 18, 967, 1180, 1528, 12, ...
self._remote("openURL(%s)" % url, autoraise) def open_new(self, url): self.open(url, 1) class Galeon: """Launcher class for Galeon browsers.""" def __init__(self, name): self.name = name self.basename = os.path.basename(name) def _remote(self, action, autoraise): raise_opt = ("--noraise", "")[autoraise] cmd = "%s %...
raise Error("Bad 'new' parameter to open(); expected 0, 1, or 2, got %s" % new) return self._remote(url, action % url, autoraise) class Mozilla(UnixBrowser): """Launcher class for Mozilla/Netscape browsers.""" raise_opts = ("-noraise", "-raise") remote_cmd = '-remote' remote_action = "openURL(%s)" remote_action_new...
def open(self, url, new=0, autoraise=1): if new: self._remote("openURL(%s, new-window)"%url, autoraise) else: self._remote("openURL(%s)" % url, autoraise)
336cf8e9a006f0abbd7712771acc892711f93ebd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/336cf8e9a006f0abbd7712771acc892711f93ebd/webbrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 309, 394, 30, 365, 6315, 7222, 2932, 3190, 1785, 9275, 87, 16, 394, 17, 5668, 2225, 9, 718, 16, 2059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 309, 394, 30, 365, 6315, 7222, 2932, 3190, 1785, 9275, 87, 16, 394, 17, 5668, 2225, 9, 718, 16, 2059, ...
return ht/IR(reg)
return self.__adjust_heegner_index(ht/IR(reg))
def heegner_index(self, D, min_p=3, prec=5, verbose=False): """ Return an interval that contains the SQUARE of the index of the Heegner point in the group of K-rational points *modulo torsion* on the twist of the elliptic curve by D, computed using the Gross-Zagier formula and/or a point search. WARNING: This functio...
66fe3e29edf60e502e090fe26104e6ab0c1c4e36 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/66fe3e29edf60e502e090fe26104e6ab0c1c4e36/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3904, 1332, 1224, 67, 1615, 12, 2890, 16, 463, 16, 225, 1131, 67, 84, 33, 23, 16, 13382, 33, 25, 16, 3988, 33, 8381, 4672, 3536, 2000, 392, 3673, 716, 1914, 326, 348, 17483, 434, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3904, 1332, 1224, 67, 1615, 12, 2890, 16, 463, 16, 225, 1131, 67, 84, 33, 23, 16, 13382, 33, 25, 16, 3988, 33, 8381, 4672, 3536, 2000, 392, 3673, 716, 1914, 326, 348, 17483, 434, 326...
ctrl = self.ctrls[param.keyword] val = param.getValue(ctrl) if val != self.orig[param.keyword]: self.dprint("%s has changed from %s(%s) to %s(%s)" % (param.keyword, self.orig[param.keyword], type(self.orig[param.keyword]), val, type(val))) self.obj.classprefs._set(param.keyword, val) updated[param.keyword] = True
if param.isSettable(): ctrl = self.ctrls[param.keyword] val = param.getValue(ctrl) if val != self.orig[param.keyword]: self.dprint("%s has changed from %s(%s) to %s(%s)" % (param.keyword, self.orig[param.keyword], type(self.orig[param.keyword]), val, type(val))) self.obj.classprefs._set(param.keyword, val) updated[...
def update(self): hier = self.obj.classprefs._getMRO() self.dprint(hier) updated = {} for cls in hier: if 'default_classprefs' not in dir(cls): continue for param in cls.default_classprefs: if param.keyword in updated: # Don't update with value in superclass continue ctrl = self.ctrls[param.keyword] val = param.getVa...
e529bf7052e4d682be76cb28de0c6a80688a2b73 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/e529bf7052e4d682be76cb28de0c6a80688a2b73/userparams.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 366, 2453, 273, 365, 18, 2603, 18, 1106, 1484, 2556, 6315, 588, 49, 1457, 1435, 365, 18, 72, 1188, 12, 76, 2453, 13, 3526, 273, 2618, 364, 2028, 316, 366, 2453, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 12, 2890, 4672, 366, 2453, 273, 365, 18, 2603, 18, 1106, 1484, 2556, 6315, 588, 49, 1457, 1435, 365, 18, 72, 1188, 12, 76, 2453, 13, 3526, 273, 2618, 364, 2028, 316, 366, 2453, ...
ale.run()
ale.run(True)
def run(self): self.main_dialog.show_all()
16084a27c73f645574b81b805fc3b2659242e1a4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8416/16084a27c73f645574b81b805fc3b2659242e1a4/awnLauncherEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 365, 18, 5254, 67, 12730, 18, 4500, 67, 454, 1435, 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, 1652, 1086, 12, 2890, 4672, 365, 18, 5254, 67, 12730, 18, 4500, 67, 454, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.WriteLn("$(OBJS): CXXFLAGS := $(CFLAGS_$(BUILDTYPE)) "
self.WriteLn("$(OBJS): GYP_CXXFLAGS := $(CFLAGS_$(BUILDTYPE)) "
def WriteSources(self, configs, deps, sources, extra_outputs, extra_link_deps, part_of_all): """Write Makefile code for any 'sources' from the gyp input. These are source files necessary to build the current target.
0bb14d2527c2da6851f14ab0f38e2db9b2b4f63b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6220/0bb14d2527c2da6851f14ab0f38e2db9b2b4f63b/make.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 8628, 12, 2890, 16, 6784, 16, 8740, 16, 5550, 16, 2870, 67, 12295, 16, 2870, 67, 1232, 67, 14877, 16, 1087, 67, 792, 67, 454, 4672, 3536, 3067, 4344, 768, 981, 364, 1281, 296, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2598, 8628, 12, 2890, 16, 6784, 16, 8740, 16, 5550, 16, 2870, 67, 12295, 16, 2870, 67, 1232, 67, 14877, 16, 1087, 67, 792, 67, 454, 4672, 3536, 3067, 4344, 768, 981, 364, 1281, 296, ...
print 'Restoring iptables...' fireWall.flushBanList() print 'Exiting...'
logSys.info("Restoring iptables...") fireWall.flushBanList(debug) logSys.info("Exiting...")
def createDaemon(): """Detach a process from the controlling terminal and run it in the background as a daemon. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731 """ try: # Fork a child process so the parent can exit. This will return control # to the command line or shell. This is required so that the...
f0a01914acbd661a7ffa92b051597816095159bf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12786/f0a01914acbd661a7ffa92b051597816095159bf/fail2ban.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12858, 13332, 3536, 17650, 279, 1207, 628, 326, 3325, 2456, 8651, 471, 1086, 518, 316, 326, 5412, 487, 279, 8131, 18, 225, 1062, 2207, 345, 7449, 18, 11422, 395, 340, 18, 832, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12858, 13332, 3536, 17650, 279, 1207, 628, 326, 3325, 2456, 8651, 471, 1086, 518, 316, 326, 5412, 487, 279, 8131, 18, 225, 1062, 2207, 345, 7449, 18, 11422, 395, 340, 18, 832, 19, ...
urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/' % url
urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/'
def __init__(self, basepath, url, version, arches, components, groups, rawurl): if not rawurl: urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/' % url else: urlbase = rawurl usettings = [{'version': version, 'component':part, 'arch':arch} for part in components for arch in arches] fnames = ['primary.xml.g...
1866e1292003539109475d8557ae10a8ef493155 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11867/1866e1292003539109475d8557ae10a8ef493155/Packages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 23853, 16, 880, 16, 1177, 16, 6637, 281, 16, 4085, 16, 3252, 16, 13954, 4672, 309, 486, 13954, 30, 880, 1969, 273, 880, 397, 1995, 17105, 1589, 13, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23853, 16, 880, 16, 1177, 16, 6637, 281, 16, 4085, 16, 3252, 16, 13954, 4672, 309, 486, 13954, 30, 880, 1969, 273, 880, 397, 1995, 17105, 1589, 13, 87, ...
self.progress = float(self.finished_tasks) / ( len(self.waiting_tasks) + self.finished_tasks)
total = len(self.waiting_tasks) + self.finished_tasks self.progress = float(self.finished_tasks) / total if total else 0
def start_next_task(self): to_start = get_option('jobs') - len(self.running_tasks) for i in range(to_start): try: task = self.waiting_tasks.pop(0) except IndexError: if not self.running_tasks: self.done() return self.running_tasks.append(task) task.add_listener('finished', self.task_finished) task.start() self.count +=...
3ed10da09b8d0bd8f95ce62549f8af605cc1b6ec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2369/3ed10da09b8d0bd8f95ce62549f8af605cc1b6ec/soundconverter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 4285, 67, 4146, 12, 2890, 4672, 358, 67, 1937, 273, 336, 67, 3482, 2668, 10088, 6134, 300, 562, 12, 2890, 18, 8704, 67, 9416, 13, 364, 277, 316, 1048, 12, 869, 67, 1937, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 4285, 67, 4146, 12, 2890, 4672, 358, 67, 1937, 273, 336, 67, 3482, 2668, 10088, 6134, 300, 562, 12, 2890, 18, 8704, 67, 9416, 13, 364, 277, 316, 1048, 12, 869, 67, 1937, 467...
??
Elliptic Curve defined by y^2 + y = x^3 - 7*x + 6 over Rational Field
def global_integral_model(self): r""" Return a model of self which is integral at all primes
34f0258b9b27b30b55af6901a18b9ea2df9faba4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/34f0258b9b27b30b55af6901a18b9ea2df9faba4/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2552, 67, 14970, 23811, 67, 2284, 12, 2890, 4672, 436, 8395, 2000, 279, 938, 434, 365, 1492, 353, 21423, 622, 777, 846, 4485, 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, 2552, 67, 14970, 23811, 67, 2284, 12, 2890, 4672, 436, 8395, 2000, 279, 938, 434, 365, 1492, 353, 21423, 622, 777, 846, 4485, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
head = '<body bgcolor="
head = '<body bgcolor="
def html(etype, evalue, etb, context=5): """Return a nice HTML document describing the traceback.""" import sys, os, types, time, traceback import keyword, tokenize, linecache, inspect, pydoc if type(etype) is types.ClassType: etype = etype.__name__ pyver = 'Python ' + sys.version.split()[0] + ': ' + sys.executable da...
09029ec15c2b61a0aa506286a6bb485f468ac920 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/09029ec15c2b61a0aa506286a6bb485f468ac920/cgitb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 12, 5872, 16, 425, 1132, 16, 3393, 70, 16, 819, 33, 25, 4672, 3536, 990, 279, 13752, 3982, 1668, 16868, 326, 10820, 12123, 1930, 2589, 16, 1140, 16, 1953, 16, 813, 16, 10820, 193...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 5872, 16, 425, 1132, 16, 3393, 70, 16, 819, 33, 25, 4672, 3536, 990, 279, 13752, 3982, 1668, 16868, 326, 10820, 12123, 1930, 2589, 16, 1140, 16, 1953, 16, 813, 16, 10820, 193...
if expr.offset != None: query = subexpr + '\nLIMIT %d OFFSET %d' % (expr.limit, expr.offset)
if expr.offset != None: query = (subexpr, ' LIMIT ', str(expr.limit), ' OFFSET ', str(expr.offset))
def OffsetLimit(self, expr, subexpr): # Check that we have some kind of SELECT expression in subexpr allowed = [nodes.MapResult, nodes.Select, nodes.Sort, nodes.Distinct] assert expr[0].__class__ in allowed, \ 'OffsetLimit can only be used with the result of MapResult, Select, ' \ 'Distinct or Sort!' # Add LIMIT clau...
d865e4bb2a2ccd72870204a5984403ca535a7525 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5223/d865e4bb2a2ccd72870204a5984403ca535a7525/emit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9874, 3039, 12, 2890, 16, 3065, 16, 720, 8638, 4672, 225, 468, 2073, 716, 732, 1240, 2690, 3846, 434, 9111, 2652, 316, 720, 8638, 2935, 273, 306, 4690, 18, 863, 1253, 16, 2199, 18, 339...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9874, 3039, 12, 2890, 16, 3065, 16, 720, 8638, 4672, 225, 468, 2073, 716, 732, 1240, 2690, 3846, 434, 9111, 2652, 316, 720, 8638, 2935, 273, 306, 4690, 18, 863, 1253, 16, 2199, 18, 339...
paths_root_path = All(ValidPath(), UnicodeString(strip=True, min=3, not_empty=True))
paths_root_path = All(ValidPath(), UnicodeString(strip=True, min=1, not_empty=True))
def ApplicationUiSettingsForm(): class _ApplicationUiSettingsForm(formencode.Schema): allow_extra_fields = True filter_extra_fields = False web_push_ssl = OneOf(['true', 'false'], if_missing='false') paths_root_path = All(ValidPath(), UnicodeString(strip=True, min=3, not_empty=True)) hooks_changegroup_update = OneOf(['...
6cba5ca536d608a918ccff4b4dd84cbcb5477729 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4230/6cba5ca536d608a918ccff4b4dd84cbcb5477729/forms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4257, 13943, 2628, 1204, 13332, 667, 389, 3208, 13943, 2628, 1204, 12, 687, 3015, 18, 3078, 4672, 1699, 67, 7763, 67, 2821, 273, 1053, 1034, 67, 7763, 67, 2821, 273, 1083, 3311, 67, 6206...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4257, 13943, 2628, 1204, 13332, 667, 389, 3208, 13943, 2628, 1204, 12, 687, 3015, 18, 3078, 4672, 1699, 67, 7763, 67, 2821, 273, 1053, 1034, 67, 7763, 67, 2821, 273, 1083, 3311, 67, 6206...
xml = urllib2.urlopen(icon).read()
data = urllib2.urlopen(url).read()
def _download_icon(icon): global output_filename, icon_count if icon: try: xml = urllib2.urlopen(icon).read() except (URLError, HTTPError), e: raise RuntimeError("Cannot download icon: %s" % str(e)) else: icon = Icon.parse(xml) buf = StringIO(base64.decodestring(icon.data.value)) img = Image.open(buf) img.save("%s_%s.%...
3e773525c78b7221898b1673522feddcbf11b1df /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/3e773525c78b7221898b1673522feddcbf11b1df/xcap_icon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7813, 67, 3950, 12, 3950, 4672, 2552, 876, 67, 3459, 16, 4126, 67, 1883, 309, 4126, 30, 775, 30, 501, 273, 11527, 22, 18, 295, 18589, 12, 718, 2934, 896, 1435, 1335, 261, 1785, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7813, 67, 3950, 12, 3950, 4672, 2552, 876, 67, 3459, 16, 4126, 67, 1883, 309, 4126, 30, 775, 30, 501, 273, 11527, 22, 18, 295, 18589, 12, 718, 2934, 896, 1435, 1335, 261, 1785, ...
def getOwnerDocument(self): return self.ownerDocument
def getSpecified(self): return self.specified
def getNodeType(self): return ATTRIBUTE_NODE
c8ae5ffbca873780c4e78ef8f80593471370b673 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/c8ae5ffbca873780c4e78ef8f80593471370b673/ZDOM.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20525, 12, 2890, 4672, 327, 15941, 67, 8744, 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, 20525, 12, 2890, 4672, 327, 15941, 67, 8744, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
rng = ConstantRNG(0)
if rndseed is None : rng = ConstantRNG(0) else : rng = GaussianRNG(rndseed, 0, 0.1)
def update_factor_concentrations(self, currentState, size, rndseed) : """ The update function of the simulator, calculates the instances of the next timestep.
5b9e395eee8bebef290e0e04304a3a7225b3acc7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1770/5b9e395eee8bebef290e0e04304a3a7225b3acc7/translattice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 6812, 67, 11504, 8230, 1012, 12, 2890, 16, 17773, 16, 963, 16, 20391, 12407, 13, 294, 3536, 1021, 1089, 445, 434, 326, 3142, 11775, 16, 17264, 326, 3884, 434, 326, 1024, 27072,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 67, 6812, 67, 11504, 8230, 1012, 12, 2890, 16, 17773, 16, 963, 16, 20391, 12407, 13, 294, 3536, 1021, 1089, 445, 434, 326, 3142, 11775, 16, 17264, 326, 3884, 434, 326, 1024, 27072,...
def OnDeviceAttached(self, eventstring): if eventstring.payload[0].split("
def OnDeviceAttached(self, event): if event.payload[0].split("
def OnDeviceAttached(self, eventstring): if eventstring.payload[0].split("#")[1] == 'Vid_0403&Pid_f850': if self.enabled: self.__start__(*self.args) eg.Unbind("System.DeviceAttached", self.OnDeviceAttached)
884cec873ae893a8ceef260cd2de3edc2887cc6c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8076/884cec873ae893a8ceef260cd2de3edc2887cc6c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 3654, 14890, 12, 2890, 16, 871, 1080, 4672, 309, 871, 1080, 18, 7648, 63, 20, 8009, 4939, 2932, 7, 7923, 63, 21, 65, 422, 296, 58, 350, 67, 3028, 4630, 10, 12478, 67, 74, 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, 2755, 3654, 14890, 12, 2890, 16, 871, 1080, 4672, 309, 871, 1080, 18, 7648, 63, 20, 8009, 4939, 2932, 7, 7923, 63, 21, 65, 422, 296, 58, 350, 67, 3028, 4630, 10, 12478, 67, 74, 28, ...
return [(nm,self._get_key_info(k)) for (nm,k) in entries] def _list_keys(self,path):
return ((nm,self._get_key_info(k)) for (nm,k) in entries) def _iter_keys(self,path): """Iterator over keys contained in the given directory. This generator yields (name,key) pairs for each entry in the given directory. If the path is not a directory, it raises the approprate error. """
def listdirinfo(self,path="./",wildcard=None,full=False,absolute=False,dirs_only=False,files_only=False): keys = self._list_keys(path) entries = self._filter_keys(path,keys,wildcard,full,absolute,dirs_only,files_only) return [(nm,self._get_key_info(k)) for (nm,k) in entries]
08fcb5eb9943873d0265d2d6261d936a7e404984 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5578/08fcb5eb9943873d0265d2d6261d936a7e404984/s3fs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13529, 1376, 12, 2890, 16, 803, 1546, 18, 19, 3113, 22887, 33, 7036, 16, 2854, 33, 8381, 16, 12547, 33, 8381, 16, 8291, 67, 3700, 33, 8381, 16, 2354, 67, 3700, 33, 8381, 4672, 1311, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13529, 1376, 12, 2890, 16, 803, 1546, 18, 19, 3113, 22887, 33, 7036, 16, 2854, 33, 8381, 16, 12547, 33, 8381, 16, 8291, 67, 3700, 33, 8381, 16, 2354, 67, 3700, 33, 8381, 4672, 1311, ...
inh_fdoc = self._docmap[fdoc.overrides()] ifparam_names = [p.name() for p in inh_fdoc.parameter_list()] ikwarg_name = inh_fdoc.kwarg() and inh_fdoc.kwarg().name() ivararg_name = inh_fdoc.vararg() and inh_fdoc.vararg().name() if (fparam_names != ifparam_names[:len(fparam_names)] or kwarg_name != ikwarg_name or vararg...
fdoc = self._docmap[fdoc.overrides()]
def _func_details(self, functions, cls, heading='Function Details'): """ @return: The HTML code for a function details table. This is used by L{_module_to_html} to describe the functions in a module; and by L{_class_to_html} to describe member functions. @rtype: C{string} """ functions = self._filtersort_links(functio...
39e5af73828c8af59d5a33364eb58c056bcb1d75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/39e5af73828c8af59d5a33364eb58c056bcb1d75/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 644, 67, 6395, 12, 2890, 16, 4186, 16, 2028, 16, 11053, 2218, 2083, 21897, 11, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 445, 3189, 1014, 18, 225, 1220, 353, 1399, 635...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 644, 67, 6395, 12, 2890, 16, 4186, 16, 2028, 16, 11053, 2218, 2083, 21897, 11, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 445, 3189, 1014, 18, 225, 1220, 353, 1399, 635...
SQL_Data = "select email, password from user where id=%s"%uid query_result = run_sql(SQL_Data)
query_result = run_sql("select email, password from user where id=%s", (uid,))
def getDataUid(request,uid): """It takes the email and password from a given userId, from the MySQL database, if don't exist it just returns guest values for email and password getDataUid(request,uid) -> [email,password] """ email = 'guest' password = 'none' SQL_Data = "select email, password from user where id=%s"...
89522df1aa794a89017aeb7e5aa2e1881da95d6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/89522df1aa794a89017aeb7e5aa2e1881da95d6e/webuser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4303, 11994, 12, 2293, 16, 1911, 4672, 3536, 7193, 5530, 326, 2699, 471, 2201, 628, 279, 864, 6249, 16, 628, 326, 13485, 2063, 16, 309, 2727, 1404, 1005, 518, 2537, 1135, 13051, 924, 364...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4303, 11994, 12, 2293, 16, 1911, 4672, 3536, 7193, 5530, 326, 2699, 471, 2201, 628, 279, 864, 6249, 16, 628, 326, 13485, 2063, 16, 309, 2727, 1404, 1005, 518, 2537, 1135, 13051, 924, 364...
self.imports = Collection(self, key=f)
self.imports = Collection(self, key=ns)
def __init__(self, parent=None): """parent -- instance variables: targetNamespace -- schema's declared targetNamespace, or empty string. _imported_schemas -- namespace keyed dict of schema dependencies, if a schema is provided instance will not resolve import statement. _included_schemas -- schemaLocation keyed dict of...
5b20f2b0904cc43a45210136aca4b3c019980b52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/5b20f2b0904cc43a45210136aca4b3c019980b52/XMLSchema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, ...
file = StringIO.StringIO(data)
file = BytesIO(data)
def test_parse_file(self): # Try parsing a file out = self.Outputter() parser = expat.ParserCreate(namespace_separator='!') parser.returns_unicode = 1 for name in self.handler_names: setattr(parser, name, getattr(out, name)) file = StringIO.StringIO(data)
4ca947183154a7cfc7a6ccbb2e5c856a16a5dce3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/4ca947183154a7cfc7a6ccbb2e5c856a16a5dce3/test_pyexpat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2670, 67, 768, 12, 2890, 4672, 468, 6161, 5811, 279, 585, 596, 273, 365, 18, 1447, 387, 1435, 2082, 273, 1329, 270, 18, 2678, 1684, 12, 4937, 67, 11287, 2218, 5124, 13, 2082,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2670, 67, 768, 12, 2890, 4672, 468, 6161, 5811, 279, 585, 596, 273, 365, 18, 1447, 387, 1435, 2082, 273, 1329, 270, 18, 2678, 1684, 12, 4937, 67, 11287, 2218, 5124, 13, 2082,...
sage: matrix([[ lp.facet_normal(i)*lp.vertex(j) + lp.facet_constant(i) for i in range(0,3)] for j in range(0,3)]) [-22 0 0] [ 0 -22 0] [ 0 0 -11]
sage: fns = [p.facet_normal(i) for i in range(p.nfacets())] sage: fns [(11, -1, 1, 3), (-11, -1, 1, 3), (0, 1, -1, -3)] sage: fcs = [p.facet_constant(i) for i in range(p.nfacets())] sage: fcs [0, 0, 11] Now we manually compute the distance matrix of this polytope. Since it is a triangle, each line (corresponding to a ...
def facet_constant(self, i): r""" Return the constant in the ``i``-th facet inequality of this polytope. The i-th facet inequality is given by self.facet_normal(i) * X + self.facet_constant(i) >= 0. INPUT: - ``i`` - integer, the index of the facet OUTPUT: - integer -- the constant in the ``i``-th facet inequality....
e3f0d73c977e1b95e04d9f79185bb2622b0245d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/e3f0d73c977e1b95e04d9f79185bb2622b0245d3/lattice_polytope.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11082, 67, 14384, 12, 2890, 16, 277, 4672, 436, 8395, 2000, 326, 5381, 316, 326, 12176, 77, 10335, 17, 451, 11082, 316, 9729, 560, 434, 333, 7573, 869, 347, 18, 225, 1021, 277, 17, 451...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11082, 67, 14384, 12, 2890, 16, 277, 4672, 436, 8395, 2000, 326, 5381, 316, 326, 12176, 77, 10335, 17, 451, 11082, 316, 9729, 560, 434, 333, 7573, 869, 347, 18, 225, 1021, 277, 17, 451...
print hits
def recieve_hits (self, qstring, hits, max): matches = [] self.results = {} print hits for info in hits: output = {} output['name'] = os.path.basename(info[0]) output['uri'] = info[0] output['type'] = info[1] if TYPES.has_key(output['type']) == 0: output['type'] = "Other Files" try: self.results[output['type']].append(...
5c0a2a835b40f67b0989dba3488f42f3f4bc7ba5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6358/5c0a2a835b40f67b0989dba3488f42f3f4bc7ba5/tracker-handler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1950, 21271, 67, 15173, 261, 2890, 16, 1043, 1080, 16, 11076, 16, 943, 4672, 1885, 273, 5378, 365, 18, 4717, 273, 2618, 225, 364, 1123, 316, 11076, 30, 876, 273, 2618, 876, 3292, 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, 1950, 21271, 67, 15173, 261, 2890, 16, 1043, 1080, 16, 11076, 16, 943, 4672, 1885, 273, 5378, 365, 18, 4717, 273, 2618, 225, 364, 1123, 316, 11076, 30, 876, 273, 2618, 876, 3292, 529, ...
keys = self._retrievePublicKey(keyurl)
keys = self._retrievePublicKey(keyurl, repo)
def getKeyForRepo(self, repo, callback=None): """ Retrieve a key for a repository If needed, prompt for if the key should be imported using callback @param repo: Repository object to retrieve the key of. @param callback: Callback function to use for asking for verification of a key. Takes a dictionary of key info. """...
14ccb3cd86c89f5ae96f74f78210287e14943b68 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/14ccb3cd86c89f5ae96f74f78210287e14943b68/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3579, 1290, 8791, 12, 2890, 16, 3538, 16, 1348, 33, 7036, 4672, 3536, 10708, 279, 498, 364, 279, 3352, 971, 3577, 16, 6866, 364, 309, 326, 498, 1410, 506, 9101, 1450, 1348, 225, 632, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3579, 1290, 8791, 12, 2890, 16, 3538, 16, 1348, 33, 7036, 4672, 3536, 10708, 279, 498, 364, 279, 3352, 971, 3577, 16, 6866, 364, 309, 326, 498, 1410, 506, 9101, 1450, 1348, 225, 632, 8...
if Responder.move_count < len(self.move_responses): this_move = self.move_responses[Responder.move_count] Responder.move_count = Responder.move_count + 1 self.reply(200, this_move) else: self.reply(200, 'NOOP') def handle_stop(self, matchid, moves_element): if moves_element == None: moves_element.self.bad_request("M...
if not isinstance(moves_element, ElementGGP): if moves_element == "NIL": moves_element = ElementGGP("()") else: self.bad_request("Malformed %s command (moves string and not NIL)" % command) return if play: if Responder.move_count < len(self.move_responses): this_move = self.move_responses[Responder.move_count] Respo...
def handle_play(self, matchid, moves_element): if moves_element == None: moves_element.self.bad_request("Malformed PLAY command (no moves)") return print "moves_element:", moves_element # Scripted responses if Responder.move_count < len(self.move_responses): this_move = self.move_responses[Responder.move_count] Respo...
19e2a3fa16d7c2269ac1ad9a96e45f49b9adb63a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7008/19e2a3fa16d7c2269ac1ad9a96e45f49b9adb63a/GGP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 1601, 12, 2890, 16, 845, 350, 16, 13934, 67, 2956, 4672, 309, 13934, 67, 2956, 422, 599, 30, 13934, 67, 2956, 18, 2890, 18, 8759, 67, 2293, 2932, 18695, 453, 7868, 1296, 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, 1640, 67, 1601, 12, 2890, 16, 845, 350, 16, 13934, 67, 2956, 4672, 309, 13934, 67, 2956, 422, 599, 30, 13934, 67, 2956, 18, 2890, 18, 8759, 67, 2293, 2932, 18695, 453, 7868, 1296, 261,...
["BUG1234 DEBUG : passes/text.html = TIMEOUT PASS"],
["BUGCR1234 DEBUG : passes/text.html = TIMEOUT PASS"],
def test_valid_expectations(self): self.assert_lines_lint( ["passes/text.html = PASS"], "") self.assert_lines_lint( ["passes/text.html = FAIL PASS"], "") self.assert_lines_lint( ["passes/text.html = CRASH TIMEOUT FAIL PASS"], "") self.assert_lines_lint( ["BUG1234 MAC : passes/text.html = PASS FAIL"], "") self.assert_li...
b1e56747c60975e0eae8fc5abbc091023580cd0e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/b1e56747c60975e0eae8fc5abbc091023580cd0e/test_expectations_unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 877, 67, 12339, 1012, 12, 2890, 4672, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 877, 67, 12339, 1012, 12, 2890, 4672, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 6...
scrolledwindow = gtk.ScrolledWindow() scrolledwindow.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC) self.pack_start(scrolledwindow) self.viewport = gtk.Viewport() self.viewport.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse("white")) scrolledwindow.add(self.viewport)
eventbox = gtk.EventBox() self.add(eventbox) color = self.new_parent.contactList.get_style().base[gtk.STATE_NORMAL] eventbox.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse("white")) frame = gtk.Frame() frame.set_shadow_type(gtk.SHADOW_IN) eventbox.add(frame)
def build_interface(self): scrolledwindow = gtk.ScrolledWindow() scrolledwindow.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC) self.pack_start(scrolledwindow)
83a200d579bb831f8f76d2d58f83b385981056c5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2651/83a200d579bb831f8f76d2d58f83b385981056c5/arkadas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 5831, 12, 2890, 4672, 888, 25054, 5668, 273, 22718, 18, 1541, 25054, 3829, 1435, 888, 25054, 5668, 18, 542, 67, 5086, 12, 4521, 79, 18, 26366, 67, 37, 1693, 1872, 11781, 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, 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, 67, 5831, 12, 2890, 4672, 888, 25054, 5668, 273, 22718, 18, 1541, 25054, 3829, 1435, 888, 25054, 5668, 18, 542, 67, 5086, 12, 4521, 79, 18, 26366, 67, 37, 1693, 1872, 11781, 16, ...
re.MULTILINE, *flags),
re.MULTILINE | flags),
sage: 'divisors' in _search_src_or_doc('src', '^ *def prime', interact=False)
a25d2de8ae4e697bf56a971e8c62303e0954bef8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/a25d2de8ae4e697bf56a971e8c62303e0954bef8/sagedoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 296, 2892, 291, 1383, 11, 316, 389, 3072, 67, 4816, 67, 280, 67, 2434, 2668, 4816, 2187, 10731, 380, 536, 17014, 2187, 16592, 33, 8381, 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, 0, 0, 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, 272, 410, 30, 296, 2892, 291, 1383, 11, 316, 389, 3072, 67, 4816, 67, 280, 67, 2434, 2668, 4816, 2187, 10731, 380, 536, 17014, 2187, 16592, 33, 8381, 13, 2, -100, -100, -100, -100, -100, -10...
write_message("Number of keywords (-nkeywords) must be an integer higher than 1. Using default value of 15...")
write_message("Number of keywords for processing (-nkeywords) must be an integer higher than 1. Using default value of 70...")
def main(): """Main function """ global options long_flags =["pdffile=", "textfile=" "thesaurus=","ontology=", "output=","nkeywords=", "mode=", "help", "version"] short_flags ="f:t:k:K:o:n:m:hV" format_string = "%Y-%m-%d %H:%M:%S" outwords = 15 input_file = "" dict_file = "" output = 1 mode = 1 temp_text = tmpdir + '/...
e370f85299a0a2ebca37fc2311af0cdcffe61261 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2594/e370f85299a0a2ebca37fc2311af0cdcffe61261/bibclassifylib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 6376, 445, 3536, 225, 2552, 702, 1525, 67, 7133, 273, 9614, 7699, 768, 1546, 16, 315, 955, 768, 1546, 315, 7915, 28659, 407, 1546, 10837, 1580, 4676, 1546, 16, 315, 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, 2774, 13332, 3536, 6376, 445, 3536, 225, 2552, 702, 1525, 67, 7133, 273, 9614, 7699, 768, 1546, 16, 315, 955, 768, 1546, 315, 7915, 28659, 407, 1546, 10837, 1580, 4676, 1546, 16, 315, 28...
except AttributeError: pass
def load(cls, fname): r""" Load an object from a save file.
b866fa681c3bd3c933dce1836c1e90c749ffe493 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3400/b866fa681c3bd3c933dce1836c1e90c749ffe493/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 12, 6429, 16, 5299, 4672, 436, 8395, 4444, 392, 733, 628, 279, 1923, 585, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1262, 12, 6429, 16, 5299, 4672, 436, 8395, 4444, 392, 733, 628, 279, 1923, 585, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
q = dns.message.make_query("_baz._tcp.local", dns.rdatatype.PTR,
q = dns.message.make_query("_baz._udp.local", dns.rdatatype.PTR,
def test_SRVWithEmptyTXT(self): ret = uut.start_and_wait("-b " + ipaddr + ' -s mybaz:baz:555:udp:') self.expectEqual(0, ret)
4fca2d60dca4ff36d10022dd2a4e64b62c67e766 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9489/4fca2d60dca4ff36d10022dd2a4e64b62c67e766/test_mdns.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 10090, 58, 1190, 1921, 29399, 12, 2890, 4672, 325, 273, 582, 322, 18, 1937, 67, 464, 67, 7048, 2932, 17, 70, 315, 397, 2359, 4793, 397, 296, 300, 87, 3399, 70, 1561, 30, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 10090, 58, 1190, 1921, 29399, 12, 2890, 4672, 325, 273, 582, 322, 18, 1937, 67, 464, 67, 7048, 2932, 17, 70, 315, 397, 2359, 4793, 397, 296, 300, 87, 3399, 70, 1561, 30, 70...
"as gen_%d:" % context.lookup_data('clause_num'), "for dummy in gen_%d:" % context.lookup_data('clause_num'),
"as gen_%d:" % context.lookup_data('decl_num'), "for dummy in gen_%d:" % context.lookup_data('decl_num'),
def gen_fc_for_true(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, 3157, 67, 7142, 67, 1884, 67, 3767, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3157, 67, 7142, 67, 1884, 67, 3767, 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, ...
log.info('>> %s' % line)
log.warning('>> %s' % line)
def stderr_cb(self, line): line.strip(' \t\n') if line: log.info('>> %s' % line)
60d592f15b490e8199623ca6d40476242896f11e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/60d592f15b490e8199623ca6d40476242896f11e/videothumb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4514, 67, 7358, 12, 2890, 16, 980, 4672, 980, 18, 6406, 2668, 521, 88, 64, 82, 6134, 309, 980, 30, 613, 18, 1376, 2668, 9778, 738, 87, 11, 738, 980, 13, 2, 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, 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, 4514, 67, 7358, 12, 2890, 16, 980, 4672, 980, 18, 6406, 2668, 521, 88, 64, 82, 6134, 309, 980, 30, 613, 18, 1376, 2668, 9778, 738, 87, 11, 738, 980, 13, 2, -100, -100, -100, -100, ...
if (x1-x0)**2 + (y1-y0)**2 <= dotSmall**2:
if (x1-x0)**2 + (y1-y0)**2 < dotSmall**2 - 0.1:
def isEmpty (self, x0, y0): # Make sure spiral search don't put dots outside the graph alloc = self.get_allocation() width = alloc.width height = alloc.height if not 0 <= x0 <= width or not 0 <= y0 <= height: return False for x1, y1, type, name, text in self.spots.values(): x1, y1 = self.transCords(x1, y1) if (x1-x0)...
ed6e7f8fe6139ffb2a75aa4de13757198f8bc724 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5339/ed6e7f8fe6139ffb2a75aa4de13757198f8bc724/SpotGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2709, 261, 2890, 16, 619, 20, 16, 677, 20, 4672, 225, 468, 4344, 3071, 1694, 481, 287, 1623, 2727, 1404, 1378, 19522, 8220, 326, 2667, 4767, 273, 365, 18, 588, 67, 29299, 1435, 1835, 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, 2709, 261, 2890, 16, 619, 20, 16, 677, 20, 4672, 225, 468, 4344, 3071, 1694, 481, 287, 1623, 2727, 1404, 1378, 19522, 8220, 326, 2667, 4767, 273, 365, 18, 588, 67, 29299, 1435, 1835, 2...
if journal: journal = journal[0] else: journal = None
journal = journal and journal[0] or False
def default_get(self, cr, uid, fields, context): """ To get default values for the object. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param fields: List of fields for which we want default values @param context: A standard dictionary @return: A dictiona...
d7ed28f534b42c198e2595b1cde400d83d23596a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/d7ed28f534b42c198e2595b1cde400d83d23596a/pos_payment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1466, 16, 819, 4672, 3536, 2974, 336, 805, 924, 364, 326, 733, 18, 632, 891, 365, 30, 1021, 733, 4407, 18, 632, 891, 4422, 30, 432, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 805, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1466, 16, 819, 4672, 3536, 2974, 336, 805, 924, 364, 326, 733, 18, 632, 891, 365, 30, 1021, 733, 4407, 18, 632, 891, 4422, 30, 432, ...
def on_darken_background_scale_change_value(self, widget):
def on_darken_background_scale_change_value(self, widget, scroll, value):
def on_darken_background_scale_change_value(self, widget): """Background darkness setting changed""" self.config['background_darkness'] = widget.get_value() self.config.save()
07eb2d88c7f8008d7a65778c6239e9308eca86af /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1032/07eb2d88c7f8008d7a65778c6239e9308eca86af/prefseditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 25045, 275, 67, 9342, 67, 5864, 67, 3427, 67, 1132, 12, 2890, 16, 3604, 16, 5532, 16, 460, 4672, 3536, 8199, 23433, 4496, 3637, 3550, 8395, 365, 18, 1425, 3292, 9342, 67, 2504...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 603, 67, 25045, 275, 67, 9342, 67, 5864, 67, 3427, 67, 1132, 12, 2890, 16, 3604, 16, 5532, 16, 460, 4672, 3536, 8199, 23433, 4496, 3637, 3550, 8395, 365, 18, 1425, 3292, 9342, 67, 2504...
parser.add_option("-t","--threshold", default=3,
parser.add_option("-t","--threshold", default=3, type=int,
def get_parser(): usage = "usage: %prog [options]" parser = OptionParser(usage, description=__description__,version=__version__) parser.add_option("-s","--service", default='WEBUI', help="Report on this service (WEBUI,SCHEDULER), Default is WEBUI") parser.add_option("-t","--threshold", default=3, help="This is the numb...
8ba2e8f26fb0765551bb12a3d8ad2d2e4b4e7f7a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14755/8ba2e8f26fb0765551bb12a3d8ad2d2e4b4e7f7a/nag_email.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4288, 13332, 4084, 273, 315, 9167, 30, 738, 14654, 306, 2116, 4279, 2082, 273, 18862, 12, 9167, 16, 2477, 33, 972, 3384, 972, 16, 1589, 33, 972, 1589, 972, 13, 2082, 18, 1289,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4288, 13332, 4084, 273, 315, 9167, 30, 738, 14654, 306, 2116, 4279, 2082, 273, 18862, 12, 9167, 16, 2477, 33, 972, 3384, 972, 16, 1589, 33, 972, 1589, 972, 13, 2082, 18, 1289,...
def generate_context(self):
def generate_context(self, lines):
def generate_context(self): index = -1 non_valid = 0 for line in sys.stdin: index += 1 if index <= 0: self.add_line(line, color=Color.BLUE) #title self.add_newline() self.add_line(" No. Score Point") #head continue parts = line.split() for i in range(len(parts)): parts[i] = int(parts[i])
6857ef8d54f4ea6b4eb99d3b1d40b0735bc435a7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/600/6857ef8d54f4ea6b4eb99d3b1d40b0735bc435a7/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 2472, 12, 2890, 16, 2362, 4672, 770, 273, 300, 21, 1661, 67, 877, 273, 374, 364, 980, 316, 2589, 18, 21772, 30, 770, 1011, 404, 309, 770, 1648, 374, 30, 365, 18, 1289, 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, 2103, 67, 2472, 12, 2890, 16, 2362, 4672, 770, 273, 300, 21, 1661, 67, 877, 273, 374, 364, 980, 316, 2589, 18, 21772, 30, 770, 1011, 404, 309, 770, 1648, 374, 30, 365, 18, 1289, 67, ...
self.val = parent.value
def cancel(self): print "slider - cancel" def save(self): print "slider - save" def checkValues(self): if self.parent.value < 0: self.parent.value = 0 if self.parent.value > 10: self.parent.value = 10
def __init__(self, parent): self.parent = parent self.val = parent.value
bc7774d93d62c8c63ffc37af68df9f3b7b0c4c54 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/bc7774d93d62c8c63ffc37af68df9f3b7b0c4c54/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4672, 365, 18, 2938, 273, 982, 365, 18, 1125, 273, 982, 18, 1132, 2, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4672, 365, 18, 2938, 273, 982, 365, 18, 1125, 273, 982, 18, 1132, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
rationale = "Push the whole project tree and all its modules to remove location from projects.py."
rationale = "Push the whole project tree and all its modules to remote location from projects.py."
def __init__(self): usage = "\n%prog push\n\n" rationale = "Push the whole project tree and all its modules to remove location from projects.py."
1a9a47215685ee8cfc077c487c3592922ac57268 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8259/1a9a47215685ee8cfc077c487c3592922ac57268/Push.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 4084, 273, 1548, 82, 9, 14654, 1817, 64, 82, 64, 82, 6, 436, 367, 5349, 273, 315, 7621, 326, 7339, 1984, 2151, 471, 777, 2097, 4381, 358, 1206, 2117, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4672, 4084, 273, 1548, 82, 9, 14654, 1817, 64, 82, 64, 82, 6, 436, 367, 5349, 273, 315, 7621, 326, 7339, 1984, 2151, 471, 777, 2097, 4381, 358, 1206, 2117, ...
import pdb; pdb.set_trace()
def p_error(p): ex = MOFParseError() import pdb; pdb.set_trace() ex.file = p.lexer.parser.file ex.lineno = p.lineno ex.column = _find_column(p.lexer.parser.mof, p) ex.context = _get_error_context(p.lexer.parser.mof, p) raise ex
5139cfd8c0575cee7e78f310a5d4376e96b09a94 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10648/5139cfd8c0575cee7e78f310a5d4376e96b09a94/mof_compiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 67, 1636, 12, 84, 4672, 431, 273, 490, 3932, 21004, 1435, 431, 18, 768, 273, 293, 18, 31731, 18, 4288, 18, 768, 431, 18, 17782, 273, 293, 18, 17782, 431, 18, 2827, 273, 389, 472...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 293, 67, 1636, 12, 84, 4672, 431, 273, 490, 3932, 21004, 1435, 431, 18, 768, 273, 293, 18, 31731, 18, 4288, 18, 768, 431, 18, 17782, 273, 293, 18, 17782, 431, 18, 2827, 273, 389, 472...
def __init__(self, path, *args, **kwargs):
def __init__(self, path):
def __init__(self, path, *args, **kwargs): FileSystemEvent.__init__(self, event_type=EVENT_TYPE_DELETED, path=path)
c9abda2ffe9e9a0a2b5734531bea05a9cd758f50 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14346/c9abda2ffe9e9a0a2b5734531bea05a9cd758f50/events.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 4672, 10931, 1133, 16186, 2738, 972, 12, 2890, 16, 871, 67, 723, 33, 10454, 67, 2399, 67, 27392, 16, 589, 33, 803, 13, 2, 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, 1001, 2738, 972, 12, 2890, 16, 589, 4672, 10931, 1133, 16186, 2738, 972, 12, 2890, 16, 871, 67, 723, 33, 10454, 67, 2399, 67, 27392, 16, 589, 33, 803, 13, 2, -100, -100, -100, -100, ...
volume_mapper.SetVolumeRayCastFunction(composite_function)
def LoadVolume(self): proj = Project() image = proj.imagedata
8f6722c0ec701c0388681c4d85c9eb9c0b037b63 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10228/8f6722c0ec701c0388681c4d85c9eb9c0b037b63/volume.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4444, 4545, 12, 2890, 4672, 10296, 273, 5420, 1435, 1316, 273, 10296, 18, 381, 11349, 396, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4444, 4545, 12, 2890, 4672, 10296, 273, 5420, 1435, 1316, 273, 10296, 18, 381, 11349, 396, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
cmd += abs(speed)*"key right\n"
cmd += (speed / 5) * "key up\n" cmd += (speed % 5) * "key right\n"
def wmcb(self, messages): state = self.state for message in messages: if message[0] == cwiid.MESG_BTN: state["buttons"] = message[1] #elif message[0] == cwiid.MESG_STATUS: # print "\nStatus: ", message[1] elif message[0] == cwiid.MESG_ERROR: if message[1] == cwiid.ERROR_DISCONNECT: self.wm = None if self.ms is not None...
9eb36b0ba14388c68d42a46c215a4db9e14b59c4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10401/9eb36b0ba14388c68d42a46c215a4db9e14b59c4/myth_py_wii.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18200, 7358, 12, 2890, 16, 2743, 4672, 919, 273, 365, 18, 2019, 364, 883, 316, 2743, 30, 309, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 38, 56, 50, 30, 919, 9614, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18200, 7358, 12, 2890, 16, 2743, 4672, 919, 273, 365, 18, 2019, 364, 883, 316, 2743, 30, 309, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 38, 56, 50, 30, 919, 9614, 1...
if iface[0:3] == ETHERNET_PREFIX:
if is_wired( iface[0:3] ):
def remove_dummy(): """removes the dummy0 network configuration file """ filename = NETWORK_CONFIG_DIR + DUMMY_LAN try: # Backup the dummy file if os.path.exists( filename ): os.rename( filename, filename + BACKUP_SUFFIX ) except IOError, (errno, strerror): pass # Take no action if destination or backup file don't...
24dfada1e695168a5ff3ad6ccaa518a6a04acacc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8479/24dfada1e695168a5ff3ad6ccaa518a6a04acacc/network_config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 21050, 13332, 3536, 2764, 10829, 326, 9609, 20, 2483, 1664, 585, 3536, 1544, 273, 15351, 10566, 67, 7203, 67, 4537, 397, 463, 2799, 22114, 67, 11074, 775, 30, 468, 225, 11856, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1206, 67, 21050, 13332, 3536, 2764, 10829, 326, 9609, 20, 2483, 1664, 585, 3536, 1544, 273, 15351, 10566, 67, 7203, 67, 4537, 397, 463, 2799, 22114, 67, 11074, 775, 30, 468, 225, 11856, ...
children = node.children if len(children) == 2: name = children[0].astext() if name == 'syntaxhighlight': body = children[1].astext() args = body.split() if args[0] == 'on': self.syntaxhighlighting = 1 elif args[0] == 'off': self.syntaxhighlighting = 0 else: self.syntaxhighlight_lexer = args[0] raise nodes.SkipChild...
pass
def visit_field(self, node): # Note that the syntaxhighlight directive produces this field node. # See class SyntaxHighlight, above. #ipshell('At visit_field') children = node.children if len(children) == 2: name = children[0].astext() if name == 'syntaxhighlight': body = children[1].astext() args = body.split() if arg...
9f7a68885ccb5e448f0e1dc04a35bcae79a4721a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5620/9f7a68885ccb5e448f0e1dc04a35bcae79a4721a/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 1518, 12, 2890, 16, 756, 4672, 468, 3609, 716, 326, 6279, 15978, 8655, 15505, 333, 652, 756, 18, 468, 2164, 667, 11517, 16205, 16, 5721, 18, 468, 625, 10304, 2668, 861, 3757, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1518, 12, 2890, 16, 756, 4672, 468, 3609, 716, 326, 6279, 15978, 8655, 15505, 333, 652, 756, 18, 468, 2164, 667, 11517, 16205, 16, 5721, 18, 468, 625, 10304, 2668, 861, 3757, ...
self.playEntry()
self.changeEntry(0)
def copyFile(self): self.playlist.addFile(self.filelist.getServiceRef()) self.playlist.updateList() if len(self.playlist) == 1: self.playEntry()
4df1ec945881b68e6cdaaf52dff719844b840e6a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/4df1ec945881b68e6cdaaf52dff719844b840e6a/MediaPlayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26955, 12, 2890, 4672, 365, 18, 1601, 1098, 18, 1289, 812, 12, 2890, 18, 7540, 5449, 18, 588, 1179, 1957, 10756, 365, 18, 1601, 1098, 18, 2725, 682, 1435, 309, 562, 12, 2890, 18, 1601,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26955, 12, 2890, 4672, 365, 18, 1601, 1098, 18, 1289, 812, 12, 2890, 18, 7540, 5449, 18, 588, 1179, 1957, 10756, 365, 18, 1601, 1098, 18, 2725, 682, 1435, 309, 562, 12, 2890, 18, 1601,...
def dhcp_request(**kargs):
def dhcp_request(iface=None,**kargs):
def dhcp_request(**kargs): if conf.checkIPaddr != 0: warning("conf.checkIPaddr is not 0, I may not be able to match the answer") return srp1(Ether(dst="ff:ff:ff:ff:ff:ff")/IP(src="0.0.0.0",dst="255.255.255.255")/UDP(sport=68,dport=67)/BOOTP()/DHCP(options=[("message-type","discover"),"end"]),**kargs)
e331990b0d8485c2b144b8e75bc86ef78d647e42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7311/e331990b0d8485c2b144b8e75bc86ef78d647e42/scapy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24597, 67, 2293, 12, 31479, 33, 7036, 16, 636, 79, 1968, 4672, 309, 2195, 18, 1893, 2579, 4793, 480, 374, 30, 3436, 2932, 3923, 18, 1893, 2579, 4793, 353, 486, 374, 16, 467, 2026, 486,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24597, 67, 2293, 12, 31479, 33, 7036, 16, 636, 79, 1968, 4672, 309, 2195, 18, 1893, 2579, 4793, 480, 374, 30, 3436, 2932, 3923, 18, 1893, 2579, 4793, 353, 486, 374, 16, 467, 2026, 486,...
self.tempWidget.updateText(string)
self.tempWidget.updateText(newName)
def renameActiveWidget(self): exName = str(self.tempWidget.caption) (string,ok) = QInputDialog.getText("Rename", "Enter new name for the widget \"" + exName + "\":", exName) if ok and self.tempWidget != None and str(string) != exName: for widget in self.doc.widgets: if widget.caption.lower() == str(string).lower(): QMe...
8fe08ff5b06f53d59ada1a22beecbc7804b22e9b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/8fe08ff5b06f53d59ada1a22beecbc7804b22e9b/orngView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6472, 3896, 4609, 12, 2890, 4672, 431, 461, 273, 609, 12, 2890, 18, 5814, 4609, 18, 15386, 13, 261, 1080, 16, 601, 13, 273, 2238, 1210, 6353, 18, 588, 1528, 2932, 16019, 3113, 315, 102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6472, 3896, 4609, 12, 2890, 4672, 431, 461, 273, 609, 12, 2890, 18, 5814, 4609, 18, 15386, 13, 261, 1080, 16, 601, 13, 273, 2238, 1210, 6353, 18, 588, 1528, 2932, 16019, 3113, 315, 102...
return
try: stream = self.stream_remove(id = event.strm_id) self.stream_remove(source_port = stream.source_port) except KeyError: pass
def getSourcePort(): portsep = event.source_addr.rfind(':') return int(event.source_addr[portsep+1:])
3eb31b35f41173269b4e298a4ca401582686deab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/3eb31b35f41173269b4e298a4ca401582686deab/torbel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7889, 2617, 13332, 1756, 10814, 273, 871, 18, 3168, 67, 4793, 18, 86, 4720, 2668, 2497, 13, 327, 509, 12, 2575, 18, 3168, 67, 4793, 63, 655, 10814, 15, 21, 30, 5717, 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, 7889, 2617, 13332, 1756, 10814, 273, 871, 18, 3168, 67, 4793, 18, 86, 4720, 2668, 2497, 13, 327, 509, 12, 2575, 18, 3168, 67, 4793, 63, 655, 10814, 15, 21, 30, 5717, 2, -100, -100, -...
def interaction(self, message, fid, iid):
def interaction(self, message, fid, modified_info):
def interaction(self, message, fid, iid): ##print "interaction: (%s, %s, %s)" % (`message`,`fid`, `iid`) frame = FrameProxy(self.conn, fid) info = None # XXX for now self.gui.interaction(message, frame, info)
f50d0f96a22c3316e023e7a1b6441baf4d54ece3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/f50d0f96a22c3316e023e7a1b6441baf4d54ece3/RemoteDebugger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13581, 12, 2890, 16, 883, 16, 13444, 16, 22819, 4672, 7541, 1188, 315, 30303, 30, 6142, 87, 16, 738, 87, 16, 738, 87, 2225, 738, 21863, 2150, 9191, 68, 27268, 9191, 1375, 77, 350, 2406...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13581, 12, 2890, 16, 883, 16, 13444, 16, 22819, 4672, 7541, 1188, 315, 30303, 30, 6142, 87, 16, 738, 87, 16, 738, 87, 2225, 738, 21863, 2150, 9191, 68, 27268, 9191, 1375, 77, 350, 2406...
'generated_resources*.xtb'))
'google_chrome_strings*.xtb'))
def CollectTranslatedStrings(): """Collects all the translations for all the strings specified by kStringIds. Returns a list of tuples of (string_id, language, translated string). The list is sorted by language codes.""" kGeneratedResourcesPath = os.path.join(path_utils.ScriptDir(), '..', '..', '..', 'app/generated_res...
b08de9cd2ea9c8412134843fb4520cbed9a21d71 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9392/b08de9cd2ea9c8412134843fb4520cbed9a21d71/create_string_rc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9302, 20421, 7957, 13332, 3536, 28791, 777, 326, 7863, 364, 777, 326, 2064, 1269, 635, 417, 780, 2673, 18, 2860, 279, 666, 434, 10384, 434, 261, 1080, 67, 350, 16, 2653, 16, 9955, 533, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9302, 20421, 7957, 13332, 3536, 28791, 777, 326, 7863, 364, 777, 326, 2064, 1269, 635, 417, 780, 2673, 18, 2860, 279, 666, 434, 10384, 434, 261, 1080, 67, 350, 16, 2653, 16, 9955, 533, ...
self._b = [1] self._n = 2
self._precompute(2)
def __init__(self): SloaneSequence.__init__(self, offset=1) self._b = [1] self._n = 2
f39555539dee27d5652338bfe511963a64e94cae /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/f39555539dee27d5652338bfe511963a64e94cae/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 348, 383, 8806, 4021, 16186, 2738, 972, 12, 2890, 16, 1384, 33, 21, 13, 365, 6315, 70, 273, 306, 21, 65, 365, 6315, 82, 273, 576, 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, 1001, 2738, 972, 12, 2890, 4672, 348, 383, 8806, 4021, 16186, 2738, 972, 12, 2890, 16, 1384, 33, 21, 13, 365, 6315, 70, 273, 306, 21, 65, 365, 6315, 82, 273, 576, 2, -100, -100, -100...
"contact_email", "licence", "classifiers",
"contact_email", "license", "classifiers",
def is_pure (self): return (self.has_pure_modules() and not self.has_ext_modules() and not self.has_c_libraries())
06271ef5b8372972f1a04b114a1ee1b9edbf92fd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/06271ef5b8372972f1a04b114a1ee1b9edbf92fd/dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 84, 594, 261, 2890, 4672, 327, 261, 2890, 18, 5332, 67, 84, 594, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 408, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 71, 67, 314...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 84, 594, 261, 2890, 4672, 327, 261, 2890, 18, 5332, 67, 84, 594, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 408, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 71, 67, 314...
for sensor, strategy in self._strategies[sock]:
for sensor, strategy in self._strategies[sock].items():
def on_client_disconnect(self, sock, msg, sock_valid): """Inform client it is about to be disconnected.""" if sock in self._strategies: for sensor, strategy in self._strategies[sock]: self._reactor.remove_strategy(strategy)
5810164fb9c10489a068765fbd688ef2e9cc7ad6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10400/5810164fb9c10489a068765fbd688ef2e9cc7ad6/katcp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 2625, 67, 20177, 12, 2890, 16, 7313, 16, 1234, 16, 7313, 67, 877, 4672, 3536, 25541, 1004, 518, 353, 2973, 358, 506, 17853, 12123, 309, 7313, 316, 365, 6315, 701, 15127, 30, 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, 603, 67, 2625, 67, 20177, 12, 2890, 16, 7313, 16, 1234, 16, 7313, 67, 877, 4672, 3536, 25541, 1004, 518, 353, 2973, 358, 506, 17853, 12123, 309, 7313, 316, 365, 6315, 701, 15127, 30, 3...
self.init_graphics_state()
def __init__(self,filename, pagesize=None, bottomup = 1, pageCompression=None, invariant = None, verbosity=0): """Create a canvas of a given size. etc.
9a440973033ba5e229a4fd6aede7303520f48d1f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7053/9a440973033ba5e229a4fd6aede7303520f48d1f/canvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3459, 16, 4689, 554, 33, 7036, 16, 5469, 416, 273, 404, 16, 1363, 15270, 33, 7036, 16, 22514, 273, 599, 16, 11561, 33, 20, 4672, 3536, 1684, 279, 5953, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3459, 16, 4689, 554, 33, 7036, 16, 5469, 416, 273, 404, 16, 1363, 15270, 33, 7036, 16, 22514, 273, 599, 16, 11561, 33, 20, 4672, 3536, 1684, 279, 5953, ...
sage: A2 = WeylCharacterRing(['A',2]) sage: a2 = WeightRing(A2) sage: chi = a2(0,0,0)+2*a2(1,0,0)+3*a2(2,0,0) sage: mu = 3*a2(0,0,0)+2*a2(1,0,0)+a2(2,0,0) sage: chi - mu -2*a2(0,0,0) + 2*a2(2,0,0)
sage: A2 = WeylCharacterRing(['A',2]) sage: a2 = WeightRing(A2) sage: chi = a2(0,0,0)+2*a2(1,0,0)+3*a2(2,0,0) sage: mu = 3*a2(0,0,0)+2*a2(1,0,0)+a2(2,0,0) sage: chi - mu -2*a2(0,0,0) + 2*a2(2,0,0)
def _sub_(self, y): """ EXAMPLES: sage: A2 = WeylCharacterRing(['A',2]) sage: a2 = WeightRing(A2) sage: chi = a2(0,0,0)+2*a2(1,0,0)+3*a2(2,0,0) sage: mu = 3*a2(0,0,0)+2*a2(1,0,0)+a2(2,0,0) sage: chi - mu -2*a2(0,0,0) + 2*a2(2,0,0) """ return self._add_(y._neg_())
af4f5f46d5016de6167398d67987ba1855db181e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/af4f5f46d5016de6167398d67987ba1855db181e/weyl_characters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1717, 67, 12, 2890, 16, 677, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 432, 22, 273, 678, 402, 80, 7069, 10369, 12, 3292, 37, 2187, 22, 5717, 272, 410, 30, 279, 22, 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, 389, 1717, 67, 12, 2890, 16, 677, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 432, 22, 273, 678, 402, 80, 7069, 10369, 12, 3292, 37, 2187, 22, 5717, 272, 410, 30, 279, 22, 273, ...
return '%s %s.' % ( prio, hostname )
return '%s %s %s %s' % ( prio, weight, port, hostname )
def validRecord( self, recordType, recordData, networkName = None ): # Eliminate trailing . pieces = recordData.split() if len( pieces ) != 4: return None prio = pieces[0] weight = pieces[1] port = pieces[2] hostname = pieces[3] fqdnValidator = FQDNValidator( self.__state ) if not( prio.isdigit() ): return None hostnam...
f9e614d0dd14f6370a65e7304af604140c92cb6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11768/f9e614d0dd14f6370a65e7304af604140c92cb6a/validate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 923, 2115, 12, 365, 16, 1409, 559, 16, 23065, 16, 2483, 461, 273, 599, 262, 30, 468, 512, 7091, 3322, 7341, 263, 10167, 273, 23065, 18, 4939, 1435, 309, 562, 12, 10167, 262, 480, 1059,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 923, 2115, 12, 365, 16, 1409, 559, 16, 23065, 16, 2483, 461, 273, 599, 262, 30, 468, 512, 7091, 3322, 7341, 263, 10167, 273, 23065, 18, 4939, 1435, 309, 562, 12, 10167, 262, 480, 1059,...
link = Link(`uid`, uid)
link = Link(uid.name(), uid)
def _extract_index(self): """ @return: A dictionary mapping from terms to lists of source documents. @rtype: C{dictionary} """ index = {} for (uid, doc) in self._docmap.items(): if (not self._show_private) and self._is_private(`uid`): continue if uid.is_function(): link = Link(`uid`, uid.module()) elif uid.is_method()...
36aef14a0edb4bd18076686105d0e4e6c7c10c23 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/36aef14a0edb4bd18076686105d0e4e6c7c10c23/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8004, 67, 1615, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 6548, 358, 6035, 434, 1084, 7429, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 3536, 770, 273, 2618, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8004, 67, 1615, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 6548, 358, 6035, 434, 1084, 7429, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 3536, 770, 273, 2618, 364, ...
raise NameError, 'invalid file %s to cat to command %s' % file, command
raise NameError, 'invalid file %s to cat to command %s' % (file, command)
def cat_file_to_cmd(file, command, ignorestatus = 0): """ equivalent to 'cat file | command' but knows to use zcat or bzcat if appropriate """ if not os.path.isfile(file): raise NameError, 'invalid file %s to cat to command %s' % file, command if file.endswith('.bz2'): return system('bzcat ' + file + ' | ' + command, i...
ebb036382c8770a5e3be2a148d6227b514391570 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12268/ebb036382c8770a5e3be2a148d6227b514391570/autotest_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6573, 67, 768, 67, 869, 67, 4172, 12, 768, 16, 1296, 16, 2305, 2327, 273, 374, 4672, 3536, 7680, 358, 296, 2574, 585, 571, 1296, 11, 1496, 21739, 358, 999, 998, 2574, 578, 24788, 2574,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6573, 67, 768, 67, 869, 67, 4172, 12, 768, 16, 1296, 16, 2305, 2327, 273, 374, 4672, 3536, 7680, 358, 296, 2574, 585, 571, 1296, 11, 1496, 21739, 358, 999, 998, 2574, 578, 24788, 2574,...
siteSumDict['Status'] = 'Poor'
siteSumDict['Status'] = 'Poor'
def getPilotSummaryWeb(self,selectDict,sortList,startItem,maxItems): """ Get summary of the pilot jobs status by CE/site in a standard structure """
4281b6ebd17e9e6456de007d4a03f9fe1ab6a236 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/4281b6ebd17e9e6456de007d4a03f9fe1ab6a236/PilotAgentsDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 22797, 4733, 4079, 12, 2890, 16, 4025, 5014, 16, 3804, 682, 16, 1937, 1180, 16, 1896, 3126, 4672, 3536, 968, 4916, 434, 326, 293, 22797, 6550, 1267, 635, 29538, 19, 4256, 316, 279,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1689, 22797, 4733, 4079, 12, 2890, 16, 4025, 5014, 16, 3804, 682, 16, 1937, 1180, 16, 1896, 3126, 4672, 3536, 968, 4916, 434, 326, 293, 22797, 6550, 1267, 635, 29538, 19, 4256, 316, 279,...
"""
r"""
def __init__(self): """ Create free hexadecimal string monoid on generators $\{0,1,..,9,a,b,c,d,e,f\}$.
ca219b0206186a194cdf8e11d2082bec654536f8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/ca219b0206186a194cdf8e11d2082bec654536f8/string_monoid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 436, 8395, 1788, 4843, 20070, 533, 6921, 839, 603, 13327, 271, 64, 95, 20, 16, 21, 16, 838, 16, 29, 16, 69, 16, 70, 16, 71, 16, 72, 16, 73, 16, 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, 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, 4672, 436, 8395, 1788, 4843, 20070, 533, 6921, 839, 603, 13327, 271, 64, 95, 20, 16, 21, 16, 838, 16, 29, 16, 69, 16, 70, 16, 71, 16, 72, 16, 73, 16, 7...
self.formatRadio = self.xml.get_widget("formatRadio")
self.formatCheck = self.xml.get_widget("formatCheck") self.ok_button = self.xml.get_widget("ok_part_button") self.fsTypeCombo.list.connect("selection-changed", self.on_fsTypeCombo_set_focus_child)
def __init__(self, xml, partClist): self.xml = xml self.partClist = partClist self.partitionDialog = self.xml.get_widget("partition_dialog") self.partitionDialog.connect ("destroy", self.destroy) self.mountPointCombo = self.xml.get_widget("mountPointCombo") self.fsTypeCombo = self.xml.get_widget("fsTypeCombo") self.siz...
929ed22dc2ac34d175a48b1a35936e1cabfd84f4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5376/929ed22dc2ac34d175a48b1a35936e1cabfd84f4/partWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2025, 16, 1087, 39, 1098, 4672, 365, 18, 2902, 273, 2025, 365, 18, 2680, 39, 1098, 273, 1087, 39, 1098, 365, 18, 10534, 6353, 273, 365, 18, 2902, 18, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2025, 16, 1087, 39, 1098, 4672, 365, 18, 2902, 273, 2025, 365, 18, 2680, 39, 1098, 273, 1087, 39, 1098, 365, 18, 10534, 6353, 273, 365, 18, 2902, 18, 5...
/.../release/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=.../tools/cats/Functional/FunctionalTestSuite.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /.../debug/RunChandler... --create --catch=tests --profileDir=...
/.../release/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=tools/cats/Functional/FunctionalTestSuite.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /.../debug/RunChandler... --create --catch=tests --profileDir=.../...
def runFuncTest(options, test='FunctionalTestSuite.py'): """ Run functional test >>> options = parseOptions() >>> checkOptions(options) >>> options.dryrun = True >>> options.verbose = True >>> options.modes = ['release', 'debug'] >>> runFuncTest(options) /.../release/RunChandler... --create --catch=tests --profile...
ad17cec5f290a1afe127c78e0b20723aa8b8bf15 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/ad17cec5f290a1afe127c78e0b20723aa8b8bf15/rt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 2622, 4709, 12, 2116, 16, 1842, 2218, 2083, 287, 4709, 13587, 18, 2074, 11, 4672, 3536, 1939, 18699, 1842, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 408...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2622, 4709, 12, 2116, 16, 1842, 2218, 2083, 287, 4709, 13587, 18, 2074, 11, 4672, 3536, 1939, 18699, 1842, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 408...
track = 0
track = "0"
def update_db(slow, verbose=0): from mutagen import File cfg = Config.Config() timenow = time.time() #print "timenow %s" % timenow if slow: #filestr = "find %s -follow -type f -name \"*.mp3\" " % ( arc_root ) filestr = "find %s -follow -type f " % ( arc_root ) else: try: lastupdatesecs=float(cfg.GetConfigItem("las...
750b731c383a64a4ccc10cbdd682c7e77ea36207 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11694/750b731c383a64a4ccc10cbdd682c7e77ea36207/DBSync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1966, 12, 87, 821, 16, 3988, 33, 20, 4672, 225, 628, 4318, 346, 275, 1930, 1387, 225, 2776, 273, 1903, 18, 809, 1435, 282, 1658, 275, 543, 273, 813, 18, 957, 1435, 468, 118...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 67, 1966, 12, 87, 821, 16, 3988, 33, 20, 4672, 225, 628, 4318, 346, 275, 1930, 1387, 225, 2776, 273, 1903, 18, 809, 1435, 282, 1658, 275, 543, 273, 813, 18, 957, 1435, 468, 118...
], CONTEXT)
], 0, None, None, CONTEXT)
def test0030float(self): ''' Test Float. ''' float1_id = self.float.create({ 'float': 1.1, }, CONTEXT) self.assert_(float1_id)
52062c763bf1737b3f2071e48338f60845edc54d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/52062c763bf1737b3f2071e48338f60845edc54d/test_tryton.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 5082, 5659, 12, 2890, 4672, 9163, 7766, 5450, 18, 9163, 1431, 21, 67, 350, 273, 365, 18, 5659, 18, 2640, 12590, 296, 5659, 4278, 404, 18, 21, 16, 19879, 13862, 13, 365, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 5082, 5659, 12, 2890, 4672, 9163, 7766, 5450, 18, 9163, 1431, 21, 67, 350, 273, 365, 18, 5659, 18, 2640, 12590, 296, 5659, 4278, 404, 18, 21, 16, 19879, 13862, 13, 365, 18, ...
def doublehandler(self, event): pass def accept(self, card): MovingStack.accept(self, card) if card.value == KING: for s in self.game.suits: card = s.cards[-1] if card.value != KING: return self.game.win() self.game.deal() class RowStack(MovingStack): def __init__(self, game, i): self.index = i self.x = MARGIN + XS...
class RowStack(OpenStack):
def doublehandler(self, event):
20ce2dd6aa77ea628b49c0c6b820d66211a9a61d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/20ce2dd6aa77ea628b49c0c6b820d66211a9a61d/solitaire.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1645, 4176, 12, 2890, 16, 871, 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, 0, 0...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1645, 4176, 12, 2890, 16, 871, 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, -100...
elif opt in ('-?', '--help'):
elif opt in ('-v', '--verbose'): verbosity += 1 elif opt in ('-?', '-h', '--help'):
def main(): output=None copyfunc=None creator=None plist=None nib=None resources=[] SHORTOPTS = "o:ln:r:p:c:?" LONGOPTS=("output=", "link", "nib=", "resource=", "plist=", "creator=", "help") try: options, args = getopt.getopt(sys.argv[1:], SHORTOPTS, LONGOPTS) except getopt.error: usage() if len(args) != 1: usage() for...
9ba26874386b82d533ac595d6e8c747aea05b491 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/9ba26874386b82d533ac595d6e8c747aea05b491/buildappbundle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 876, 33, 7036, 1610, 644, 33, 7036, 11784, 33, 7036, 21074, 33, 7036, 28421, 33, 7036, 2703, 33, 8526, 20079, 15620, 55, 273, 315, 83, 30, 2370, 30, 86, 30, 84, 30, 71, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 876, 33, 7036, 1610, 644, 33, 7036, 11784, 33, 7036, 21074, 33, 7036, 28421, 33, 7036, 2703, 33, 8526, 20079, 15620, 55, 273, 315, 83, 30, 2370, 30, 86, 30, 84, 30, 71, ...
permutation objects. ::
permutation objects::
def PermutationGroup(gens=None, gap_group=None, canonicalize=True): """ Return the permutation group associated to `x` (typically a list of generators). INPUT: - ``gens`` - list of generators - ``gap_group`` - a gap permutation group - ``canonicalize`` - bool (default: True), if True sort generators and remove ...
f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13813, 9245, 1114, 12, 23730, 33, 7036, 16, 9300, 67, 1655, 33, 7036, 16, 25839, 33, 5510, 4672, 3536, 2000, 326, 17440, 1041, 3627, 358, 1375, 92, 68, 261, 12846, 6478, 279, 666, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13813, 9245, 1114, 12, 23730, 33, 7036, 16, 9300, 67, 1655, 33, 7036, 16, 25839, 33, 5510, 4672, 3536, 2000, 326, 17440, 1041, 3627, 358, 1375, 92, 68, 261, 12846, 6478, 279, 666, 434, ...
r"^(!|!?ubotu\S?\s)?(?P<noalias>-)?\s*(tell\s+(?P<nick>\S+)\s+about\s+)?(?P<factoid>\S.+?)(>\s*(?P<nick2>\S+))?$"
r"^(!|!?ubotu\S?\s)?(?P<noalias>-)?\s*(tell\s+(?P<nick>\S+)\s+about\s+)?(?P<factoid>\S.*?)(>\s*(?P<nick2>\S+).*)?$"
def showfactoid(self, irc, msg, match): r"^(!|!?ubotu\S?\s)?(?P<noalias>-)?\s*(tell\s+(?P<nick>\S+)\s+about\s+)?(?P<factoid>\S.+?)(>\s*(?P<nick2>\S+))?$" withnick = bool(match.group(1)) and msg.args[1].startswith('ubotu') db = self._precheck(irc, msg, withnick=True, timeout=(msg.args[0], match.group('nick'), match.grou...
688a1f944b38d9fd0ca4745c7dd88c42971a0af1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3124/688a1f944b38d9fd0ca4745c7dd88c42971a0af1/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 3493, 839, 12, 2890, 16, 277, 1310, 16, 1234, 16, 845, 4672, 436, 6, 29020, 5, 96, 5, 35, 373, 352, 89, 64, 55, 10936, 87, 9945, 3680, 52, 32, 2135, 4930, 34, 17, 9945, 64, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3493, 839, 12, 2890, 16, 277, 1310, 16, 1234, 16, 845, 4672, 436, 6, 29020, 5, 96, 5, 35, 373, 352, 89, 64, 55, 10936, 87, 9945, 3680, 52, 32, 2135, 4930, 34, 17, 9945, 64, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 91) else quickfix.StringField.__init__(self, 91, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 26936, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 26936, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
Indexed sequence of elements [5.0000000000000000, 0, 0, 0, 0]
Indexed sequence: [5.00000000000000, 0, 0, 0, 0]
def fft(self): """ Wraps the gsl FastFourierTransform.forward in fft.pyx. If the length is a power of 2 then this automatically uses the radix2 method. If the number of sample points in the input is a power of 2 then the wrapper for the GSL function gsl_fft_complex_radix2_forward is automatically called. Otherwise, gs...
837c0b7c218776beb9f35f10fe4f0b231105b3a3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/837c0b7c218776beb9f35f10fe4f0b231105b3a3/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15741, 12, 2890, 4672, 3536, 678, 7506, 326, 314, 2069, 9545, 42, 24775, 4059, 18, 11565, 316, 15741, 18, 2074, 92, 18, 225, 971, 326, 769, 353, 279, 7212, 434, 576, 1508, 333, 6635, 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, 15741, 12, 2890, 4672, 3536, 678, 7506, 326, 314, 2069, 9545, 42, 24775, 4059, 18, 11565, 316, 15741, 18, 2074, 92, 18, 225, 971, 326, 769, 353, 279, 7212, 434, 576, 1508, 333, 6635, 4...
res = None
res = []
def getAttributeDeps(self, attrib): # attrib="ignore", "qx.Class#define" res = None data = self.data # top level if attrib.find('#')== -1: res = data[attrib] # class map else: classId, attribId = attrib.split('#', 1) data = data['classes'][classId].data if attribId in data: res = data[attribId] else: for submap in ('...
6dc720a460bc9e52faf85f43da37ca1946d59ca1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/6dc720a460bc9e52faf85f43da37ca1946d59ca1/Class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4061, 14430, 12, 2890, 16, 5885, 4672, 225, 468, 5885, 1546, 6185, 3113, 315, 85, 92, 18, 797, 7, 11255, 6, 400, 225, 273, 5378, 501, 273, 365, 18, 892, 468, 1760, 1801, 309, 5885, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14430, 12, 2890, 16, 5885, 4672, 225, 468, 5885, 1546, 6185, 3113, 315, 85, 92, 18, 797, 7, 11255, 6, 400, 225, 273, 5378, 501, 273, 365, 18, 892, 468, 1760, 1801, 309, 5885, 1...
else: self.out(s)
# function def block, then self.def_name will be its name;
385f05adec449bdea4b9e93217234a88e6f51d67 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/385f05adec449bdea4b9e93217234a88e6f51d67/html_colorize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 445, 1652, 1203, 16, 1508, 365, 18, 536, 67, 529, 903, 506, 2097, 508, 31, 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, ...
[ 1, 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, 468, 445, 1652, 1203, 16, 1508, 365, 18, 536, 67, 529, 903, 506, 2097, 508, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHERE category='test' AND build=%s GROUP BY file, fixture ORDER BY fixture""", (build.id,))
WHERE category='test' AND build=%s AND step=%s GROUP BY file, fixture ORDER BY fixture""", (build.id, step.name))
def render_summary(self, req, config, build, step, category): assert category == 'test'
15629190f9a759be821647ca5123fbd37415cea6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4547/15629190f9a759be821647ca5123fbd37415cea6/summarizers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 3813, 11, 2, 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, 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, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 3813, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
a constant factor.
a constant factor (denoted c on the last line above).
def dft(self, chi = lambda x: x): """ Implements a discrete Fourier transform "over QQ" using exact N-th roots of unity.
31abf87c4df4119c8dc23bc27b1c5160b1dbbd00 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/31abf87c4df4119c8dc23bc27b1c5160b1dbbd00/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 1222, 12, 2890, 16, 17198, 273, 3195, 619, 30, 619, 4672, 3536, 29704, 279, 20035, 478, 24775, 2510, 315, 1643, 2238, 53, 6, 1450, 5565, 423, 17, 451, 12876, 434, 640, 560, 18, 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, 302, 1222, 12, 2890, 16, 17198, 273, 3195, 619, 30, 619, 4672, 3536, 29704, 279, 20035, 478, 24775, 2510, 315, 1643, 2238, 53, 6, 1450, 5565, 423, 17, 451, 12876, 434, 640, 560, 18, 2,...
print "unsubscribe me"
def remove(self): self.info("remove myself", self.service_type, self.id) if self.subscription_id != None: print "unsubscribe me" self.unsubscribe() for name,action in self._actions.items(): self.info("remove", name,action) del self._actions[name] del action for instance,variables in self._variables.items(): for name, v...
812af040cf55be2fa7a799c6a336f88e285c21f0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11626/812af040cf55be2fa7a799c6a336f88e285c21f0/service.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 4672, 365, 18, 1376, 2932, 4479, 3399, 2890, 3113, 365, 18, 3278, 67, 723, 16, 365, 18, 350, 13, 309, 365, 18, 11185, 67, 350, 480, 599, 30, 365, 18, 318, 9174, 1435,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1206, 12, 2890, 4672, 365, 18, 1376, 2932, 4479, 3399, 2890, 3113, 365, 18, 3278, 67, 723, 16, 365, 18, 350, 13, 309, 365, 18, 11185, 67, 350, 480, 599, 30, 365, 18, 318, 9174, 1435,...
response = self.publish(self.toolpath + '/plone_javascripts.js')
response = self.publish(self.toolpath + '/jstest.js')
def testPublishJSThroughTool(self): response = self.publish(self.toolpath + '/plone_javascripts.js') self.assertEqual(response.getStatus(), 200) self.assertEqual(response.getHeader('Content-Type'), 'application/x-javascript')
4b851d95cf836272a0108bdeda337e7d9a2c055e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12274/4b851d95cf836272a0108bdeda337e7d9a2c055e/testJSRegistry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 6024, 46, 882, 76, 2642, 6364, 12, 2890, 4672, 766, 273, 365, 18, 6543, 12, 2890, 18, 6738, 803, 397, 1173, 78, 334, 395, 18, 2924, 6134, 365, 18, 11231, 5812, 12, 2740, 18, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6024, 46, 882, 76, 2642, 6364, 12, 2890, 4672, 766, 273, 365, 18, 6543, 12, 2890, 18, 6738, 803, 397, 1173, 78, 334, 395, 18, 2924, 6134, 365, 18, 11231, 5812, 12, 2740, 18, 58...
glRasterPos2f(x, -3)
w = f.Advance(str(x)) glRasterPos2f(x-(self.xscale_pixel/self.xscale_data)*(w/2.), -3)
def paint_axes(self): glLoadIdentity()
d28be66047f60ec194bbac93531e8ff6eb03e8fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2743/d28be66047f60ec194bbac93531e8ff6eb03e8fb/giraffe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12574, 67, 10855, 12, 2890, 4672, 5118, 2563, 4334, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12574, 67, 10855, 12, 2890, 4672, 5118, 2563, 4334, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def get(self, instance, **kwargs): value = ObjectField.get(self, instance, **kwargs) return [encode(v, instance, **kwargs) for v in value]
def set(self, instance, value, **kwargs): """ If passed-in value is a string, split at line breaks and remove leading and trailing white space before storing in object with rest of properties. """ __traceback_info__ = value, type(value) if type(value) in STRING_TYPES: value = value.split('\n') value = [decode(v.strip(...
6c49241026527d58ec33dad69b98fdf197a65ae4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/6c49241026527d58ec33dad69b98fdf197a65ae4/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 971, 2275, 17, 267, 460, 353, 279, 533, 16, 1416, 622, 980, 16217, 471, 1206, 7676, 471, 7341, 9578, 3476, 1865, 15729, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 971, 2275, 17, 267, 460, 353, 279, 533, 16, 1416, 622, 980, 16217, 471, 1206, 7676, 471, 7341, 9578, 3476, 1865, 15729, 316...
if self.current_state is not None: showIndent(outfile, level) outfile.write('<%scurrent_state>%s</%scurrent_state>\n' % (namespace_, self.format_string(quote_xml(self.current_state).encode(ExternalEncoding), input_name='current_state'), namespace_))
if self.state is not None: showIndent(outfile, level) outfile.write('<%sstate>%s</%sstate>\n' % (namespace_, self.format_string(quote_xml(self.state).encode(ExternalEncoding), input_name='state'), namespace_)) if self.activated is not None: showIndent(outfile, level) outfile.write('<%sactivated>%s</%sactivated>\n' % (n...
def exportChildren(self, outfile, level, namespace_='inv:', name_='system'): if self.generated_uuid is not None: showIndent(outfile, level) outfile.write('<%sgenerated_uuid>%s</%sgenerated_uuid>\n' % (namespace_, self.format_string(quote_xml(self.generated_uuid).encode(ExternalEncoding), input_name='generated_uuid'), n...
0edf7ff39fb592b3aec2afae94ce938d1f08b997 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7635/0edf7ff39fb592b3aec2afae94ce938d1f08b997/generateds_system_1_0.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 4212, 12, 2890, 16, 8756, 16, 1801, 16, 1981, 67, 2218, 5768, 30, 2187, 508, 67, 2218, 4299, 11, 4672, 309, 365, 18, 11168, 67, 7080, 353, 486, 599, 30, 2405, 7790, 12, 26050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3359, 4212, 12, 2890, 16, 8756, 16, 1801, 16, 1981, 67, 2218, 5768, 30, 2187, 508, 67, 2218, 4299, 11, 4672, 309, 365, 18, 11168, 67, 7080, 353, 486, 599, 30, 2405, 7790, 12, 26050, ...
groupBp = bp(*(args), **kArgs)
def bpGroup(*args, **kArgs): groupBp = bp(*(args), **kArgs) argsCopy = args[:] def functor(*cArgs, **ckArgs): return bp(*(cArgs), **kArgs) return functor
f99809fde9e805ac3e6181e479e4e1522eafa148 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/f99809fde9e805ac3e6181e479e4e1522eafa148/PythonUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9107, 1114, 30857, 1968, 16, 2826, 79, 2615, 4672, 833, 2951, 273, 833, 10531, 65, 1652, 12882, 280, 30857, 71, 2615, 16, 2826, 363, 2615, 4672, 327, 9107, 12, 21556, 71, 2615, 3631, 282...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9107, 1114, 30857, 1968, 16, 2826, 79, 2615, 4672, 833, 2951, 273, 833, 10531, 65, 1652, 12882, 280, 30857, 71, 2615, 16, 2826, 363, 2615, 4672, 327, 9107, 12, 21556, 71, 2615, 3631, 282...
list.append(str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec) self.tuning_transponder = ConfigSelection(choices = list)
e = str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec if default is None: default = e list.append(e) self.tuning_transponder = ConfigSelection(choices = list, default = default)
def updateSats(self): orb_pos = self.tuning_sat.orbital_position if orb_pos is not None: transponderlist = nimmanager.getTransponders(orb_pos) list = [] for x in transponderlist: if x[3] == 0: pol = "H" elif x[3] == 1: pol = "V" elif x[3] == 2: pol = "CL" elif x[3] == 3: pol = "CR" else: pol = "??" if x[4] == 0: fec = ...
250e846dc7fb2a3920e1aabd2430adb49fca5314 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/250e846dc7fb2a3920e1aabd2430adb49fca5314/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 55, 2323, 12, 2890, 4672, 16823, 67, 917, 273, 365, 18, 88, 13036, 67, 12973, 18, 280, 3682, 287, 67, 3276, 309, 16823, 67, 917, 353, 486, 599, 30, 906, 17707, 1098, 273, 290, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 55, 2323, 12, 2890, 4672, 16823, 67, 917, 273, 365, 18, 88, 13036, 67, 12973, 18, 280, 3682, 287, 67, 3276, 309, 16823, 67, 917, 353, 486, 599, 30, 906, 17707, 1098, 273, 290, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 364) else quickfix.IntField.__init__(self, 364, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 13, 469, 9549, 904, 18, 1702, 974, 16186, 2738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 13, 469, 9549, 904, 18, 1702, 974, 16186, 2738, ...
idref['ref'] = lambda x: self.id_get(cr, False, x)
idref['ref'] = lambda x: self.id_get(cr, x)
def _process(s, idref): m = re.findall('[^%]%\((.*?)\)[ds]', s) for id in m: if not id in idref: idref[id]=self.id_get(cr, False, id) return s % idref
4bc20ff99f4251e4705e5836bf656f172bf6fd92 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/4bc20ff99f4251e4705e5836bf656f172bf6fd92/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 12, 87, 16, 612, 1734, 4672, 312, 273, 283, 18, 4720, 454, 2668, 5969, 9, 65, 9, 30351, 27482, 25146, 2377, 65, 2187, 272, 13, 364, 612, 316, 312, 30, 309, 486, 612, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2567, 12, 87, 16, 612, 1734, 4672, 312, 273, 283, 18, 4720, 454, 2668, 5969, 9, 65, 9, 30351, 27482, 25146, 2377, 65, 2187, 272, 13, 364, 612, 316, 312, 30, 309, 486, 612, 316, ...
'scn': u'Discussione',
'scn': u'Discussioni',
def __init__(self): self.name = None # Updated from http://meta.wikimedia.org/wiki/Interwiki_sorting_order self.alphabetic = [ 'aa','af','ak','als','am','ang','ab','ar','an','arc','roa-rup','frp','as', 'ast','gn','av','ay','az','bm','bn','zh-min-nan','map-bms','ba','be','be-x-old', 'bh','bi','bar','bo','bs','br','bg','...
50e42863893a1a4a8cc03199dc0f8384b6016f55 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/50e42863893a1a4a8cc03199dc0f8384b6016f55/family.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 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, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 28...
import Configure, config_c, Options, Utils, Logs from Logs import warn, debug from Configure import conf
from waflib import Configure, Options, Utils, Logs from waflib.Tools import c_config from waflib.Logs import warn, debug from waflib.Configure import conf
#def build(bld):
808f378c9fe6646363b52cfbb114db952bdaa19c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2886/808f378c9fe6646363b52cfbb114db952bdaa19c/boost.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 1361, 12, 70, 1236, 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, 0, 0, 0, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 1361, 12, 70, 1236, 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, -100, -100,...
confautoprc=ReadFile("makepanda/confauto.in")
confautoprc = ReadFile("makepanda/confauto.in")
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n"
4d498acfe5ebc9517e624dc710c2b46a7217beb8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7242/4d498acfe5ebc9517e624dc710c2b46a7217beb8/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 293, 464, 842, 722, 67, 76, 1011, 1548, 82, 7, 318, 536, 225, 453, 4307, 37, 67, 3932, 1653, 39, 6365, 67, 5757, 64, 82, 6, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 293, 464, 842, 722, 67, 76, 1011, 1548, 82, 7, 318, 536, 225, 453, 4307, 37, 67, 3932, 1653, 39, 6365, 67, 5757, 64, 82, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print " Additional virtual path added: " + result.group(1) + suffix
def handleInfoFile(dirpath, parts, suffix, sceneryObject, authors): # open the info file file = open(os.path.join(dirpath, "info.txt")) infoFileContents = file.readlines() file.close() # define the regex patterns: texturePattern = re.compile("TEXTURE\s+(.*)") litTexturePattern = re.compile("TEXTURE_LIT\s+(.*)") export...
9fe6e6418d8874879552cb9bf7dfa7161dcf996e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5176/9fe6e6418d8874879552cb9bf7dfa7161dcf996e/functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 966, 812, 12, 1214, 803, 16, 2140, 16, 3758, 16, 888, 275, 627, 921, 16, 14494, 4672, 468, 1696, 326, 1123, 585, 585, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 1214, 803, 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, 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, 966, 812, 12, 1214, 803, 16, 2140, 16, 3758, 16, 888, 275, 627, 921, 16, 14494, 4672, 468, 1696, 326, 1123, 585, 585, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 1214, 803, 16, ...
pagename = "%s:%s" % (self._cfg.interwikiname, pagename)
pagename = self._interWikiName(pagename)
def addTrail(self, pagename): """ Add page to trail. @param pagename: the page name to add to the trail """ # TODO: acquire lock here, so multiple processes don't clobber # each one trail.
f99365c9d90af75036f3eaac4a0d7c36a3505ad5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/f99365c9d90af75036f3eaac4a0d7c36a3505ad5/user.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 18107, 12, 2890, 16, 4262, 1069, 4672, 3536, 1436, 1363, 358, 15569, 18, 225, 632, 891, 4262, 1069, 30, 326, 1363, 508, 358, 527, 358, 326, 15569, 3536, 468, 2660, 30, 10533, 2176, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 18107, 12, 2890, 16, 4262, 1069, 4672, 3536, 1436, 1363, 358, 15569, 18, 225, 632, 891, 4262, 1069, 30, 326, 1363, 508, 358, 527, 358, 326, 15569, 3536, 468, 2660, 30, 10533, 2176, ...