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
author = getpageinfo_result[0]['author'][5:] datestr = str(getpageinfo_result[0]['lastModified'])
author = getpageinfo_result['author'][5:] datestr = str(getpageinfo_result['lastModified'])
def get_page_info(self, command): """Returns detailed information about a given page"""
41eab09adfae81e3655fe6299a31bde71c702548 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/41eab09adfae81e3655fe6299a31bde71c702548/xmlrpcbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2433, 67, 1376, 12, 2890, 16, 1296, 4672, 3536, 1356, 6864, 1779, 2973, 279, 864, 1363, 8395, 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, 336, 67, 2433, 67, 1376, 12, 2890, 16, 1296, 4672, 3536, 1356, 6864, 1779, 2973, 279, 864, 1363, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
hv = HValue(self.volume)
hv = HValue(self.volume[dir])
def opsSetVolume(self, dir, chn, value): val = self.volumeFromUser(self.volumeinfo[dir], dir, value) if self.volumearray[dir][chn] == val: return self.volumearray[dir][chn] = val hv = HValue(self.volume) hv.setArray(self.volumeinfo[dir].type, self.volumearray[dir]) hv.write()
de2b7a42d740d544f478d9b5d5ce90301862fdd1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3300/de2b7a42d740d544f478d9b5d5ce90301862fdd1/common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6727, 694, 4545, 12, 2890, 16, 1577, 16, 462, 82, 16, 460, 4672, 1244, 273, 365, 18, 9491, 1265, 1299, 12, 2890, 18, 9491, 1376, 63, 1214, 6487, 1577, 16, 460, 13, 309, 365, 18, 9491...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6727, 694, 4545, 12, 2890, 16, 1577, 16, 462, 82, 16, 460, 4672, 1244, 273, 365, 18, 9491, 1265, 1299, 12, 2890, 18, 9491, 1376, 63, 1214, 6487, 1577, 16, 460, 13, 309, 365, 18, 9491...
text = ki18n("`%1' has been added, using the `%2' driver.").subs(name).subs(driver).toString()
text = ki18n("'%1' has been added, using the '%2' driver.").subs(name).subs(driver).toString()
def NewPrinter (self, status, name, mfg, mdl, des, cmd): """hal-cups-utils has set up a new printer""" """ print "status: " + str(status) print "name: " + name print "mfg: " + mfg print "mdl: " + mdl print "des: " + des print "cmd: " + cmd """
8bb11784d3e5c1341249c8727c0a9bb0c7fb6608 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1682/8bb11784d3e5c1341249c8727c0a9bb0c7fb6608/printer-applet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1166, 12149, 261, 2890, 16, 1267, 16, 508, 16, 312, 2137, 16, 3481, 80, 16, 2832, 16, 1797, 4672, 3536, 22314, 17, 71, 18294, 17, 5471, 711, 444, 731, 279, 394, 12539, 8395, 3536, 1172...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1166, 12149, 261, 2890, 16, 1267, 16, 508, 16, 312, 2137, 16, 3481, 80, 16, 2832, 16, 1797, 4672, 3536, 22314, 17, 71, 18294, 17, 5471, 711, 444, 731, 279, 394, 12539, 8395, 3536, 1172...
self.write(")" + self.binop[t.op.__class__.__name__] + "(")
self.write(" " + self.binop[t.op.__class__.__name__] + " ")
def _BinOp(self, t): self.write("(") self.dispatch(t.left) self.write(")" + self.binop[t.op.__class__.__name__] + "(") self.dispatch(t.right) self.write(")")
cb0813c7fd0cbadb8e73d810beafa8afbceafda7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/cb0813c7fd0cbadb8e73d810beafa8afbceafda7/unparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9913, 3817, 12, 2890, 16, 268, 4672, 365, 18, 2626, 2932, 2932, 13, 365, 18, 10739, 12, 88, 18, 4482, 13, 365, 18, 2626, 2932, 315, 397, 365, 18, 4757, 556, 63, 88, 18, 556, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9913, 3817, 12, 2890, 16, 268, 4672, 365, 18, 2626, 2932, 2932, 13, 365, 18, 10739, 12, 88, 18, 4482, 13, 365, 18, 2626, 2932, 315, 397, 365, 18, 4757, 556, 63, 88, 18, 556, 1...
x0 = asarray(x0)
x0 = asarray(x0).squeeze() if x0.ndim == 0: x0.shape = (1,)
def fmin_bfgs(f, x0, fprime=None, args=(), gtol=1e-5, norm=Inf, epsilon=_epsilon, maxiter=None, full_output=0, disp=1, retall=0, callback=None): """Minimize a function using the BFGS algorithm. Description: Optimize the function, f, whose gradient is given by fprime using the quasi-Newton method of Broyden, Fletcher,...
669899600f7d37529c8fd56dac9b1fbd72fe22f2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12971/669899600f7d37529c8fd56dac9b1fbd72fe22f2/optimize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 1154, 67, 17156, 564, 12, 74, 16, 619, 20, 16, 284, 16382, 33, 7036, 16, 833, 33, 9334, 314, 3490, 33, 21, 73, 17, 25, 16, 4651, 33, 13149, 16, 12263, 33, 67, 13058, 10327, 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, 284, 1154, 67, 17156, 564, 12, 74, 16, 619, 20, 16, 284, 16382, 33, 7036, 16, 833, 33, 9334, 314, 3490, 33, 21, 73, 17, 25, 16, 4651, 33, 13149, 16, 12263, 33, 67, 13058, 10327, 16...
parser.add_option("-p", "--prefer", action="append", metavar="BUILDER", dest="prefer", default=defaults.get("prefer", []),
parser.add_option("-p", "--prefer", action="appendResetDefault", metavar="BUILDER", dest="prefer", default=defaults.get("prefer", []),
def buildParser(self): usage = "%prog [options] [build | list]" description = self.DESCRIPTION version = """%%prog %s
4f2b1b2bc6a5e1aac8f432abb14bdafad0ee9a99 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/4f2b1b2bc6a5e1aac8f432abb14bdafad0ee9a99/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 2678, 12, 2890, 4672, 4084, 273, 2213, 14654, 306, 2116, 65, 306, 3510, 571, 666, 4279, 2477, 273, 365, 18, 15911, 1177, 273, 3536, 11438, 14654, 738, 87, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 2678, 12, 2890, 4672, 4084, 273, 2213, 14654, 306, 2116, 65, 306, 3510, 571, 666, 4279, 2477, 273, 365, 18, 15911, 1177, 273, 3536, 11438, 14654, 738, 87, 2, -100, -100, -100, -100...
for id in selected_rows: iter = dest_tablist.iter_map[id] parent = model.parent_iter(iter) if parent is None or dest_tablist.view.is_row_expanded(parent): dest_tablist.view.select(iter)
try: for id in selected_rows: iter = dest_tablist.iter_map[id] parent = model.parent_iter(iter) if parent is None or dest_tablist.view.is_row_expanded(parent): dest_tablist.view.select(iter) except: pass
def accept_drop(self, table_view, model, type, source_actions, parent, position, data): if (type in ('feed', 'feed-with-folder') and self.tablist == app.tab_list_manager.audio_feed_list): source_tablist = app.tab_list_manager.feed_list dest_tablist = self.tablist elif (type in ('audio-feed', 'audio-feed-with-folder') a...
b76152e37483f6ffafdd718e994d0e0cdb9ac5ee /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/b76152e37483f6ffafdd718e994d0e0cdb9ac5ee/tablist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2791, 67, 7285, 12, 2890, 16, 1014, 67, 1945, 16, 938, 16, 618, 16, 1084, 67, 4905, 16, 982, 16, 1754, 16, 501, 4672, 309, 261, 723, 316, 7707, 7848, 2187, 296, 7848, 17, 1918, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2791, 67, 7285, 12, 2890, 16, 1014, 67, 1945, 16, 938, 16, 618, 16, 1084, 67, 4905, 16, 982, 16, 1754, 16, 501, 4672, 309, 261, 723, 316, 7707, 7848, 2187, 296, 7848, 17, 1918, 17, ...
if italic: italic = 0 elif bold: bold = 0
if plainname != fontname: gotbold = bold gotitalic = italic
def SysFont(name, size, bold=0, italic=0): """pygame.font.SysFont(name, size, bold=0, italic=0) -> Font create a pygame Font from system font resources This will search the system fonts for the given font name. You can also enable bold or italic styles, and the appropriate system font will be selected if available. T...
ca5d89783ff94ee98c45799f2426265c7e24f7ac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1298/ca5d89783ff94ee98c45799f2426265c7e24f7ac/sysfont.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16995, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 4672, 3536, 2074, 13957, 18, 5776, 18, 12712, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16995, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 4672, 3536, 2074, 13957, 18, 5776, 18, 12712, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 13, ...
print "Solver.Solve() return code = ", ierr
if Comm.MyPID() == 0: print " Solver.Solve() return code = ", ierr
def main(): Comm = Epetra.PyComm() args = sys.argv[1:] if len(args) == 0: Type = "Amesos_Lapack" else: Type = args[0] NumGlobalRows = 10 Map = Epetra.Map(NumGlobalRows, 0, Comm) LHS_exact = Epetra.MultiVector(Map, 1) LHS = Epetra.MultiVector(Map, 1) RHS = Epetra.MultiVector(Map, 1) Matrix = Epetra.CrsMatrix(Epetra.Co...
dbba790af0e743bcea68bbc367fcc2738fb3d668 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1130/dbba790af0e743bcea68bbc367fcc2738fb3d668/exSolvers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 16854, 273, 512, 6951, 354, 18, 9413, 12136, 1435, 225, 833, 273, 2589, 18, 19485, 63, 21, 26894, 309, 562, 12, 1968, 13, 422, 374, 30, 1412, 273, 315, 9864, 281, 538, 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, 2774, 13332, 16854, 273, 512, 6951, 354, 18, 9413, 12136, 1435, 225, 833, 273, 2589, 18, 19485, 63, 21, 26894, 309, 562, 12, 1968, 13, 422, 374, 30, 1412, 273, 315, 9864, 281, 538, 67,...
for seqname in self.seqdict.keys(): joinstringlist.append("LEFT JOIN sequence_data AS sd%s ON" " headers.id = sd%s.id AND sd%s.sid =" "'%s'" % ((self.quoteseqname(seqname),)*3 + (seqname,)))
for seq in self.seqdict.values(): s = ("LEFT JOIN sequence_data AS %s ON headers.id = %s.id " "AND %s.sid = %d" % ((seq.getalias(),)*3 + (seq.getsid(),))) joinstringlist.append(s)
def setqschema(self): """Set the query schema strings and argument list
2a1f7430d7f536381e0559ee31064212bc097beb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3083/2a1f7430d7f536381e0559ee31064212bc097beb/vfolder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 85, 4821, 12, 2890, 4672, 3536, 694, 326, 843, 1963, 2064, 471, 1237, 666, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 85, 4821, 12, 2890, 4672, 3536, 694, 326, 843, 1963, 2064, 471, 1237, 666, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
xqd = xrd
xqd = tmp
def _buildResiduum(self, mol, zmatrix, n_atoms, phi, psi, init_pos): """
bfcd9bbf8883b807c4b4f0c2104f99b7390da40d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/bfcd9bbf8883b807c4b4f0c2104f99b7390da40d/PeptideGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3510, 607, 350, 89, 379, 12, 2890, 16, 12629, 16, 998, 5667, 16, 290, 67, 14937, 16, 7706, 16, 23921, 16, 1208, 67, 917, 4672, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3510, 607, 350, 89, 379, 12, 2890, 16, 12629, 16, 998, 5667, 16, 290, 67, 14937, 16, 7706, 16, 23921, 16, 1208, 67, 917, 4672, 3536, 2, -100, -100, -100, -100, -100, -100, -100, ...
""" fl_create_from_pixmapdata(win, data, w, h, sm, hotx, hoty, tran) -> pixmap ref.
""" fl_create_from_pixmapdata(win, data, w, h, sm, hotx, hoty, tran) -> pixmap
def fl_create_from_pixmapdata(win, data, w, h, sm, hotx, hoty, tran): """ fl_create_from_pixmapdata(win, data, w, h, sm, hotx, hoty, tran) -> pixmap ref. """ retval = _fl_create_from_pixmapdata(win, data, w, h, sm, hotx, hoty, tran) return retval
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 2640, 67, 2080, 67, 14861, 1458, 892, 12, 8082, 16, 501, 16, 341, 16, 366, 16, 3029, 16, 12811, 92, 16, 12811, 93, 16, 13637, 4672, 3536, 1183, 67, 2640, 67, 2080, 67, 1486...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1183, 67, 2640, 67, 2080, 67, 14861, 1458, 892, 12, 8082, 16, 501, 16, 341, 16, 366, 16, 3029, 16, 12811, 92, 16, 12811, 93, 16, 13637, 4672, 3536, 1183, 67, 2640, 67, 2080, 67, 1486...
welcom = welcomer % signList[number_user] + ' {{subst:LOCALTIME}}, {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}} (UTC).'
if wsite.family.name == "wikipedia" and wsite.lang == "zh": welcom = welcomer % signList[number_user] + timeselected + '<small>(via ~~~)</small>' else: welcom = welcomer % signList[number_user] + timeselected
def main(settingsBot): # Taking the messages inside the function namespace. global netext; global summary; global logbook; global summary2; global report_page; global project_inserted global comment; global bad_pag; global report_text; global random_sign; global whitelist_pg """ 0 1 2 3 4 ...
fe702a33925267aa9a210fa3eabf12799ac83373 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/fe702a33925267aa9a210fa3eabf12799ac83373/welcome.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 4272, 6522, 4672, 468, 399, 6159, 326, 2743, 4832, 326, 445, 1981, 18, 2552, 2901, 408, 31, 2552, 4916, 31, 2552, 613, 3618, 31, 2552, 4916, 22, 31, 2552, 2605, 67, 2433, 31,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 4272, 6522, 4672, 468, 399, 6159, 326, 2743, 4832, 326, 445, 1981, 18, 2552, 2901, 408, 31, 2552, 4916, 31, 2552, 613, 3618, 31, 2552, 4916, 22, 31, 2552, 2605, 67, 2433, 31,...
MenuItem.template('FileSeparator2', menuItemKind = 'Separator'), MenuItem.template('QuitItem', event = globalBlocks.Quit, title = _(u'Quit'), accel = _(u'Ctrl+Q'), helpString = _(u'Quit Chandler')), ]),
]) if wx.Platform != '__WXMAC__': fileMenu.attrs['childrenBlocks'].append(MenuItem.template('FileSeparator2', menuItemKind = 'Separator')) fileMenu.attrs['childrenBlocks'].append(MenuItem.template('QuitItem', event=globalBlocks.Quit, title = _(u'Quit'), accel = _(u'Ctrl+Q'), helpString = _(u'Quit Chandler'))) MenuBar...
def makeColorMenuItems (parcel, cls, hues): """ dynamically creates an array of type 'cls' based on a list of colors """ menuItems = [] # make sure that all the events end up in the main parcel mainParcel = schema.parcel_for_module ("osaf.views.main", repositoryView) for shortName, title, hue in hues: rgb = wx.Image.H...
9195fbe71e44fe20e170bf34fbad6c1bfee554fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/9195fbe71e44fe20e170bf34fbad6c1bfee554fb/menus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 2957, 4599, 3126, 261, 1065, 2183, 16, 2028, 16, 366, 3610, 4672, 3536, 18373, 3414, 392, 526, 434, 618, 296, 6429, 11, 2511, 603, 279, 666, 434, 5740, 3536, 3824, 3126, 273, 5378,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1221, 2957, 4599, 3126, 261, 1065, 2183, 16, 2028, 16, 366, 3610, 4672, 3536, 18373, 3414, 392, 526, 434, 618, 296, 6429, 11, 2511, 603, 279, 666, 434, 5740, 3536, 3824, 3126, 273, 5378,...
msg.error(_("makeindex failed on %s") % self.source)
msg.error(_("could not make index %s") % self.target)
def post_compile (self): """ Run makeindex if needed, with appropriate options and environment. """ if not os.path.exists(self.source): msg.log(_("strange, there is no %s") % self.source, pkg="index") return 0 if not self.run_needed(): return 0
246518fe05858dd373693d5f39f87ebc015f46a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10102/246518fe05858dd373693d5f39f87ebc015f46a2/index.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 67, 11100, 261, 2890, 4672, 3536, 1939, 1221, 1615, 309, 3577, 16, 598, 5505, 702, 471, 3330, 18, 3536, 309, 486, 1140, 18, 803, 18, 1808, 12, 2890, 18, 3168, 4672, 1234, 18, 133...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1603, 67, 11100, 261, 2890, 4672, 3536, 1939, 1221, 1615, 309, 3577, 16, 598, 5505, 702, 471, 3330, 18, 3536, 309, 486, 1140, 18, 803, 18, 1808, 12, 2890, 18, 3168, 4672, 1234, 18, 133...
return self.attributes[XMLSchemaComponent.xsd].get('finalDefault')
return self.attributes.get('finalDefault')
def getFinalDefault(self): """return finalDefault attribute """ return self.attributes[XMLSchemaComponent.xsd].get('finalDefault')
e50368f02a007b522df43404acf761191b9356f0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13054/e50368f02a007b522df43404acf761191b9356f0/XMLSchema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2812, 1490, 1868, 12, 2890, 4672, 3536, 2463, 727, 1868, 1566, 3536, 327, 365, 18, 4350, 63, 4201, 3078, 1841, 18, 19144, 8009, 588, 2668, 6385, 1868, 6134, 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, 0, 0, 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, 2812, 1490, 1868, 12, 2890, 4672, 3536, 2463, 727, 1868, 1566, 3536, 327, 365, 18, 4350, 63, 4201, 3078, 1841, 18, 19144, 8009, 588, 2668, 6385, 1868, 6134, 2, -100, -100, -100, -100, -1...
(Key('a'), Key('s'), Key('d'), Key('f'), Key('g'), Key('h'), Key('j'), Key('k'), Key('k')),
(Key('a'), Key('s'), Key('d'), Key('f'), Key('g'), Key('h'), Key('j'), Key('k'), Key('l')),
def __init__(self,k,nb=1,evt='car'): self.txt=k self.width=nb self.event=evt
83718a56cfe3647e2b03d1f3af8cc38bc6cd7d33 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5279/83718a56cfe3647e2b03d1f3af8cc38bc6cd7d33/keyboard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 79, 16, 6423, 33, 21, 16, 73, 11734, 2218, 9815, 11, 4672, 365, 18, 5830, 33, 79, 365, 18, 2819, 33, 6423, 365, 18, 2575, 33, 73, 11734, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 79, 16, 6423, 33, 21, 16, 73, 11734, 2218, 9815, 11, 4672, 365, 18, 5830, 33, 79, 365, 18, 2819, 33, 6423, 365, 18, 2575, 33, 73, 11734, 2, -100, -10...
def getPixelForCoord( point, bounds, tiles ): return [1,1] pass
def getPixelForCoord( point, bounds, imagesize ): return (((bounds[0][1] - point[1] ) / bounds[2][1] * imagesize[1]) + 128 , ((bounds[0][0] - point[0] ) / bounds[2][0] * imagesize[0]) + 128)
def calculateTilesAuto( points ):
8b5fef750b60a1c81dd107b5781cbdc2de6c7bd8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3985/8b5fef750b60a1c81dd107b5781cbdc2de6c7bd8/gpx2png.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4604, 27669, 4965, 12, 3143, 262, 30, 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, ...
[ 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, 4604, 27669, 4965, 12, 3143, 262, 30, 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, -10...
file.write(struct.pack("=64sH", marker[0], marker[1]))
file.write(struct.pack("=64sH", marker[0], \ blenderframe_to_wspriteframe(marker[1])))
def mapvertex(index, u, v): for mv in xrange(0, len(vertexmap)): if vertexmap[mv] == index and uvs[mv] == (u, v): return mv vertexmap.append(index) uvs.append( (u, v) ) return len(vertexmap)-1
f0a359398f642ebc58567dd18b8aa64ca5711647 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2372/f0a359398f642ebc58567dd18b8aa64ca5711647/windstille_export.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 852, 15281, 12, 1615, 16, 582, 16, 331, 4672, 364, 7701, 316, 12314, 12, 20, 16, 562, 12, 15281, 1458, 3719, 30, 309, 5253, 1458, 63, 17509, 65, 422, 770, 471, 582, 6904, 63, 17509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 852, 15281, 12, 1615, 16, 582, 16, 331, 4672, 364, 7701, 316, 12314, 12, 20, 16, 562, 12, 15281, 1458, 3719, 30, 309, 5253, 1458, 63, 17509, 65, 422, 770, 471, 582, 6904, 63, 17509, ...
self.skip("test can only run in a 32-bit address space")
self.skipTest("test can only run in a 32-bit address space")
def test_unbounded_file(self): # Issue #1174606: reading from an unbounded stream such as /dev/zero. zero = "/dev/zero" if not os.path.exists(zero): self.skip("{0} does not exist".format(zero)) if sys.maxsize > 0x7FFFFFFF: self.skip("test can only run in a 32-bit address space") if support.real_max_memuse < support._2G...
c50cb8e9c177fb5c97ea34ef73fe2f40bef0fb25 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/c50cb8e9c177fb5c97ea34ef73fe2f40bef0fb25/test_io.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 318, 26220, 67, 768, 12, 2890, 4672, 468, 11820, 468, 2499, 5608, 4848, 26, 30, 6453, 628, 392, 640, 26220, 1407, 4123, 487, 342, 5206, 19, 7124, 18, 3634, 273, 2206, 5206, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 26220, 67, 768, 12, 2890, 4672, 468, 11820, 468, 2499, 5608, 4848, 26, 30, 6453, 628, 392, 640, 26220, 1407, 4123, 487, 342, 5206, 19, 7124, 18, 3634, 273, 2206, 5206, 1...
for troveTup in sorted(group.iterTroveList(strongRefs=True)): log.debug(' %s=%s[%s]' % troveTup)
for troveTup, isStrong, byDefault, _ in sorted(group.iterTroveListInfo()): extra = '' if not byDefault: extra += '[NotByDefault]' if not isStrong: extra += '[Weak]' log.debug(' %s=%s[%s] %s' % (troveTup + (extra,)))
def _sortGroups(groupList): """ Sorts groupList so that if group a includes group b, group b is before a in the returned list. Also checks for cyclic group inclusion. """ g = graph.DirectedGraph()
90c95393ebab2b32eedf7e803e5a51f24cefed47 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/90c95393ebab2b32eedf7e803e5a51f24cefed47/grouprecipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3804, 3621, 12, 1655, 682, 4672, 3536, 5928, 87, 1041, 682, 1427, 716, 309, 1041, 279, 6104, 1041, 324, 16, 1041, 324, 353, 1865, 279, 316, 326, 2106, 666, 18, 225, 8080, 4271, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3804, 3621, 12, 1655, 682, 4672, 3536, 5928, 87, 1041, 682, 1427, 716, 309, 1041, 279, 6104, 1041, 324, 16, 1041, 324, 353, 1865, 279, 316, 326, 2106, 666, 18, 225, 8080, 4271, 36...
elif not line.endswith('total letters'):
elif not line.endswith('total letters'):
def database_info(self, line): line = line.rstrip() if line.startswith('Database: '): self._header.database = line[10:]
4345b66dc64a700881a4c9a0e3a6ea43eabf5ea2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/4345b66dc64a700881a4c9a0e3a6ea43eabf5ea2/NCBIStandalone.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2063, 67, 1376, 12, 2890, 16, 980, 4672, 980, 273, 980, 18, 86, 6406, 1435, 309, 980, 18, 17514, 1918, 2668, 4254, 30, 296, 4672, 365, 6315, 3374, 18, 6231, 273, 980, 63, 2163, 26894, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2063, 67, 1376, 12, 2890, 16, 980, 4672, 980, 273, 980, 18, 86, 6406, 1435, 309, 980, 18, 17514, 1918, 2668, 4254, 30, 296, 4672, 365, 6315, 3374, 18, 6231, 273, 980, 63, 2163, 26894, ...
"""Patcher panel with option to select source elements.""" listLabel = _("Source Mods/Files") def GetConfigPanel(self,parent,gConfigSizer,gTipText): """Show config.""" if self.gConfigPanel: return self.gConfigPanel self.forceItemCheck = self.__class__.forceItemCheck self.gTipText = gTipText gConfigPanel = self.gConfi...
"""Patcher panel with option to select source elements.""" listLabel = _("Source Mods/Files") def GetConfigPanel(self,parent,gConfigSizer,gTipText): """Show config.""" if self.gConfigPanel: return self.gConfigPanel self.forceItemCheck = self.__class__.forceItemCheck self.gTipText = gTipText gConfigPanel = self.gConfi...
def OnEditAliases(self,event): text = self.gAliases.GetValue() self.aliases.clear() for line in text.split('\n'): fields = map(string.strip,line.split('>>')) if len(fields) != 2 or not fields[0] or not fields[1]: continue self.aliases[GPath(fields[0])] = GPath(fields[1]) self.SetAliasText()
3ac43907fa076fea1e8d682219e2b28fc7419f7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/3ac43907fa076fea1e8d682219e2b28fc7419f7b/basher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4666, 9667, 12, 2890, 16, 2575, 4672, 977, 273, 365, 18, 75, 9667, 18, 967, 620, 1435, 365, 18, 13831, 18, 8507, 1435, 364, 980, 316, 977, 18, 4939, 2668, 64, 82, 11, 4672, 146...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4666, 9667, 12, 2890, 16, 2575, 4672, 977, 273, 365, 18, 75, 9667, 18, 967, 620, 1435, 365, 18, 13831, 18, 8507, 1435, 364, 980, 316, 977, 18, 4939, 2668, 64, 82, 11, 4672, 146...
if fn[-3:] == "mmp":
if not ext: ext = ".mmp" if ext == ".mmp":
def fileSaveAs(self): if self.assy: if self.assy.filename: dir, fil, ext = fileparse(self.assy.filename) else: dir, fil = "./", self.assy.name
3af5176502f95d4d44f823cb48f69513107138bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/3af5176502f95d4d44f823cb48f69513107138bd/MWsemantics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 585, 4755, 1463, 12, 2890, 4672, 309, 365, 18, 428, 93, 30, 309, 365, 18, 428, 93, 18, 3459, 30, 1577, 16, 661, 16, 1110, 273, 585, 2670, 12, 2890, 18, 428, 93, 18, 3459, 13, 469, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 585, 4755, 1463, 12, 2890, 4672, 309, 365, 18, 428, 93, 30, 309, 365, 18, 428, 93, 18, 3459, 30, 1577, 16, 661, 16, 1110, 273, 585, 2670, 12, 2890, 18, 428, 93, 18, 3459, 13, 469, ...
print response == gtk.RESPONSE_OK
def isScrapeAllowed(self, url): """Tell the user that URL wasn't a valid feed and ask if it should be scraped for links instead. Returns True if the user gives permission, or False if not.""" summary = "Not a DTV-style channel" message = "But we'll try our best to grab the files.\n- It may take time to list the videos\...
601660c8ec99e2bb2013b91d859fce71a310d46e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/601660c8ec99e2bb2013b91d859fce71a310d46e/UIBackendDelegate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 1541, 25360, 5042, 12, 2890, 16, 880, 4672, 3536, 21009, 326, 729, 716, 1976, 14487, 1404, 279, 923, 4746, 471, 6827, 309, 518, 1410, 506, 888, 1266, 329, 364, 4716, 3560, 18, 2860,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 353, 1541, 25360, 5042, 12, 2890, 16, 880, 4672, 3536, 21009, 326, 729, 716, 1976, 14487, 1404, 279, 923, 4746, 471, 6827, 309, 518, 1410, 506, 888, 1266, 329, 364, 4716, 3560, 18, 2860,...
Order by names. __init__ < anything. public < private. otherwise, sorted alphabetically by name.
Compare uid1 and uid2 by their names, using the following rules: - C{'__init__'} < anything. - public < private. - otherwise, sort alphabetically by name. @return: -1 if C{uid1<uid2}; 0 if C{uid1==uid2}; and 1 if C{uid1>uid2}. @rtype: C{int}
def _cmp_name(uid1, uid2): """ Order by names. __init__ < anything. public < private. otherwise, sorted alphabetically by name. """ x = uid1.name() y = uid2.name() if (y == '__init__'): return 1 if (x == '__init__'): return -1 if x == y: return 0 if _is_private(x) and not _is_private(y): return 1 if _is_private(y) and ...
ad5bc28e61fc8837c138ad9d0c6ffb1dd1b518ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/ad5bc28e61fc8837c138ad9d0c6ffb1dd1b518ec/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9625, 67, 529, 12, 1911, 21, 16, 4555, 22, 4672, 3536, 11051, 4555, 21, 471, 4555, 22, 635, 3675, 1257, 16, 1450, 326, 3751, 2931, 30, 300, 385, 27828, 972, 2738, 7250, 97, 411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9625, 67, 529, 12, 1911, 21, 16, 4555, 22, 4672, 3536, 11051, 4555, 21, 471, 4555, 22, 635, 3675, 1257, 16, 1450, 326, 3751, 2931, 30, 300, 385, 27828, 972, 2738, 7250, 97, 411, ...
self.modified = 1
self.modified = True
def loadItem(self): ext = FileExt[self.currentTabLabel] extstr = '' if not isinstance(ext, types.StringType): for e in ext: extstr += '*%s.xml *.%s ' % (e, e) ext = ext[0] else: extstr = '*%s.xml *.%s' % (ext, ext) extstr = "Items (%s);;All Files (*.*)" % extstr.rstrip() itemdir = self.ItemPath recentdir = [] if os.pat...
cdc9cf773cf0c254cf668f14ba48aa9d538724e6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6671/cdc9cf773cf0c254cf668f14ba48aa9d538724e6/ScWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 1180, 12, 2890, 4672, 1110, 273, 1387, 2482, 63, 2890, 18, 2972, 5661, 2224, 65, 1110, 701, 273, 875, 309, 486, 1549, 12, 408, 16, 1953, 18, 780, 559, 4672, 364, 425, 316, 1110, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1262, 1180, 12, 2890, 4672, 1110, 273, 1387, 2482, 63, 2890, 18, 2972, 5661, 2224, 65, 1110, 701, 273, 875, 309, 486, 1549, 12, 408, 16, 1953, 18, 780, 559, 4672, 364, 425, 316, 1110, ...
def test_mktime(self): self.assertRaises(OverflowError, time.mktime, (999999, 999999, 999999, 999999, 999999, 999999, 999999, 999999, 999999))
def test_mktime(self): self.assertRaises(OverflowError, time.mktime, (999999, 999999, 999999, 999999, 999999, 999999, 999999, 999999, 999999))
48a5ab800c3a8a35c86664397552e0d3225b3ea8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/48a5ab800c3a8a35c86664397552e0d3225b3ea8/test_time.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 24816, 957, 12, 2890, 4672, 365, 18, 11231, 12649, 6141, 12, 15526, 668, 16, 813, 18, 24816, 957, 16, 261, 22866, 16, 23841, 29, 16, 23841, 29, 16, 23841, 29, 16, 23841, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 24816, 957, 12, 2890, 4672, 365, 18, 11231, 12649, 6141, 12, 15526, 668, 16, 813, 18, 24816, 957, 16, 261, 22866, 16, 23841, 29, 16, 23841, 29, 16, 23841, 29, 16, 23841, 29, ...
funcChild = node[0] if funcChild.type == "function": func = "(%s)" % compress(funcChild) else: func = compress(funcChild) result = "%s(%s)" % (func, compress(node[1]))
result = "%s(%s)" % (compress(node[0]), compress(node[1]))
def __call(node): global __endsBlock # self-executing functions needs to be wrapped to be valid JS funcChild = node[0] if funcChild.type == "function": func = "(%s)" % compress(funcChild) else: func = compress(funcChild) result = "%s(%s)" % (func, compress(node[1])) __endsBlock = False return result
39f0d1e48cdb5a3dd68b067928162f03e311990f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/39f0d1e48cdb5a3dd68b067928162f03e311990f/Compressor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 12, 2159, 4672, 2552, 1001, 5839, 1768, 225, 468, 365, 17, 4177, 8490, 4186, 4260, 358, 506, 5805, 358, 506, 923, 6756, 2088, 273, 2213, 87, 9275, 87, 2225, 738, 261, 14706, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1991, 12, 2159, 4672, 2552, 1001, 5839, 1768, 225, 468, 365, 17, 4177, 8490, 4186, 4260, 358, 506, 5805, 358, 506, 923, 6756, 2088, 273, 2213, 87, 9275, 87, 2225, 738, 261, 14706, ...
sage: B = A.change_ring(Integers(p**prec)) sage: B [90 62] [70 33]
sage: B = A.change_ring(Integers(p**prec)) sage: B [90 62] [70 33]
def matrix_of_frobenius(Q, p, M, trace=None, compute_exact_forms=False): """ Computes the matrix of Frobenius on Monsky-Washnitzer cohomology, with respect to the basis $(dx/y, x dx/y)$. INPUT: Q -- cubic polynomial $Q(x) = x^3 + ax + b$ defining an elliptic curve E by $y^2 = Q(x)$. The coefficient ring of Q should be...
e8c5dfe629aabf0303b396e56733ea0c7032d92a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/e8c5dfe629aabf0303b396e56733ea0c7032d92a/monsky_washnitzer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3148, 67, 792, 67, 74, 303, 19425, 8384, 12, 53, 16, 293, 16, 490, 16, 2606, 33, 7036, 16, 3671, 67, 17165, 67, 9741, 33, 8381, 4672, 3536, 14169, 281, 326, 3148, 434, 478, 303, 1942...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3148, 67, 792, 67, 74, 303, 19425, 8384, 12, 53, 16, 293, 16, 490, 16, 2606, 33, 7036, 16, 3671, 67, 17165, 67, 9741, 33, 8381, 4672, 3536, 14169, 281, 326, 3148, 434, 478, 303, 1942...
firstName = conf.get("firstName", username) secondName = conf.get("secondName", _("Guest"))
conf.set("firstName", conf.get("firstName", username)) conf.set("secondName", conf.get("secondName", _("Guest")))
def __init__ (self, widgets): userdata = getpwuid(getuid()) username = userdata.pw_gecos or userdata.pw_name firstName = conf.get("firstName", username) secondName = conf.get("secondName", _("Guest")) # Give to uistuff.keeper for key in ("firstName", "secondName", "hideTabs", "autoRotate", "showCords", "figuresInNot...
54713e13df764032ab0c4dc06498e0a80d83dea2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5339/54713e13df764032ab0c4dc06498e0a80d83dea2/preferencesDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 10965, 4672, 225, 21518, 273, 336, 14921, 1911, 12, 588, 1911, 10756, 2718, 273, 21518, 18, 14921, 67, 75, 557, 538, 578, 21518, 18, 14921, 67, 529, 2195,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 10965, 4672, 225, 21518, 273, 336, 14921, 1911, 12, 588, 1911, 10756, 2718, 273, 21518, 18, 14921, 67, 75, 557, 538, 578, 21518, 18, 14921, 67, 529, 2195,...
attrib = { 'style:vertical-pos': 'top', 'style:vertical-rel': 'paragraph', 'style:horizontal-rel': 'paragraph', 'style:mirror': 'none', 'fo:clip': 'rect(0cm 0cm 0cm 0cm)', 'draw:luminance': '0%', 'draw:contrast': '0%', 'draw:red': '0%', 'draw:green': '0%', 'draw:blue': '0%', 'draw:gamma': '100%', 'draw:color-inversio...
if frame_attrs is None: attrib = { 'style:vertical-pos': 'top', 'style:vertical-rel': 'paragraph', 'style:horizontal-rel': 'paragraph', 'style:mirror': 'none', 'fo:clip': 'rect(0cm 0cm 0cm 0cm)', 'draw:luminance': '0%', 'draw:contrast': '0%', 'draw:red': '0%', 'draw:green': '0%', 'draw:blue': '0%', 'draw:gamma': '100...
def generate_image(self, node, source, destination, current_element): #ipshell('At generate_image') self.image_style_count += 1 style_name = 'rstframestyle%d' % self.image_style_count # Add the style. attrib = { 'style:name': style_name, 'style:family': 'graphic', 'style:parent-style-name': 'Graphics', } el1 = SubEleme...
086c03a394bb4fe54c588e814ac2435862cc205a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1278/086c03a394bb4fe54c588e814ac2435862cc205a/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 2730, 12, 2890, 16, 756, 16, 1084, 16, 2929, 16, 783, 67, 2956, 4672, 468, 625, 10304, 2668, 861, 2103, 67, 2730, 6134, 365, 18, 2730, 67, 4060, 67, 1883, 1011, 404, 2154, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2730, 12, 2890, 16, 756, 16, 1084, 16, 2929, 16, 783, 67, 2956, 4672, 468, 625, 10304, 2668, 861, 2103, 67, 2730, 6134, 365, 18, 2730, 67, 4060, 67, 1883, 1011, 404, 2154, ...
self.debug_trace("Tag_ubyte_array")
def Tag_ubyte_array(self): self.debug_trace("Tag_ubyte_array") if ( self.getTag( 'ubyte_array' ) ): self.consume_to_char_plus_one('[') self.pack_string = 'B' return 1 return 0
ecf78c969222f7513a2f516b0355728295fb546a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/675/ecf78c969222f7513a2f516b0355728295fb546a/pxlasm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4034, 67, 10340, 736, 67, 1126, 12, 2890, 4672, 309, 261, 365, 18, 588, 1805, 12, 296, 10340, 736, 67, 1126, 11, 262, 262, 30, 365, 18, 21224, 67, 869, 67, 3001, 67, 10103, 67, 476, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4034, 67, 10340, 736, 67, 1126, 12, 2890, 4672, 309, 261, 365, 18, 588, 1805, 12, 296, 10340, 736, 67, 1126, 11, 262, 262, 30, 365, 18, 21224, 67, 869, 67, 3001, 67, 10103, 67, 476, ...
return eval(p, sage.all.__dict__, locals)
if len(cmds): exec cmd_seq in sage.all.__dict__, locals return locals['_sage_eval_returnval_'] else: return eval(source, sage.all.__dict__, locals)
def sage_eval(source, locals={}): r""" Obtain a \SAGE object from the input string by evaluate it using SAGE. This means calling eval after preparsing and with globals equal to everything included in the scope of \code{from sage.all import *}.). If the object has an _sage_ method it is called and the value is returne...
ed8606501475114ac6a3106e3f3022c0879a34e9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/ed8606501475114ac6a3106e3f3022c0879a34e9/sage_eval.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 410, 67, 8622, 12, 3168, 16, 8985, 12938, 4672, 436, 8395, 24850, 279, 521, 55, 2833, 733, 628, 326, 810, 533, 635, 5956, 518, 1450, 348, 2833, 18, 225, 1220, 4696, 4440, 5302, 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, 272, 410, 67, 8622, 12, 3168, 16, 8985, 12938, 4672, 436, 8395, 24850, 279, 521, 55, 2833, 733, 628, 326, 810, 533, 635, 5956, 518, 1450, 348, 2833, 18, 225, 1220, 4696, 4440, 5302, 18...
print 'working in: ', self.cwd
def __init__(self, read_pipe = None, write_pipe = None): # signals !!! #fname = '/usr/share/guzuta/guzuta2.glade' gtk.gdk.threads_init() self.th = None
eb129f819df25447105c78e99ec3cae5341ad816 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2759/eb129f819df25447105c78e99ec3cae5341ad816/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 855, 67, 14772, 273, 599, 16, 1045, 67, 14772, 273, 599, 4672, 468, 11505, 401, 8548, 468, 12749, 273, 1173, 13640, 19, 14419, 19, 6891, 94, 322, 69, 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, 1001, 2738, 972, 12, 2890, 16, 855, 67, 14772, 273, 599, 16, 1045, 67, 14772, 273, 599, 4672, 468, 11505, 401, 8548, 468, 12749, 273, 1173, 13640, 19, 14419, 19, 6891, 94, 322, 69, 19,...
sage: len(search_doc('tree', whole_word=True, interact=False).splitlines()) < 100
sage: len(search_doc('tree', whole_word=True, interact=False).splitlines()) < 200
def search_doc(string, extra1='', extra2='', extra3='', extra4='', extra5='', **kwds): """ Search Sage HTML documentation for lines containing ``string``. The search is case-sensitive. The file paths in the output are relative to ``$SAGE_ROOT/devel/sage/doc/output``. INPUT: same as for :func:`search_src`. OUTPUT: sa...
cbde36a067cc4ef9dd18ba380f18c50dc89c9571 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/cbde36a067cc4ef9dd18ba380f18c50dc89c9571/sagedoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 2434, 12, 1080, 16, 2870, 21, 2218, 2187, 2870, 22, 2218, 2187, 2870, 23, 2218, 2187, 2870, 24, 2218, 2187, 2870, 25, 2218, 2187, 2826, 25577, 4672, 3536, 5167, 348, 410, 3982,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1623, 67, 2434, 12, 1080, 16, 2870, 21, 2218, 2187, 2870, 22, 2218, 2187, 2870, 23, 2218, 2187, 2870, 24, 2218, 2187, 2870, 25, 2218, 2187, 2826, 25577, 4672, 3536, 5167, 348, 410, 3982,...
self.tmp_dir = tempfile.mkdtemp(prefix="pythontest_")
self.tmp_dir = os.path.join(os.path.dirname(__file__), 'xx') os.mkdir(self.tmp_dir)
def setUp(self): # Create a simple test environment # Note that we're making changes to sys.path self.tmp_dir = tempfile.mkdtemp(prefix="pythontest_") self.sys_path = sys.path[:] sys.path.append(self.tmp_dir) shutil.copy(_get_source_filename(), self.tmp_dir)
b516c126ef7b69e4b6560fe98ed4529f21fdb7eb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/b516c126ef7b69e4b6560fe98ed4529f21fdb7eb/test_build_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 468, 1788, 279, 4143, 1842, 3330, 468, 3609, 716, 732, 4565, 10480, 3478, 358, 2589, 18, 803, 365, 18, 5645, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 538, 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, 24292, 12, 2890, 4672, 468, 1788, 279, 4143, 1842, 3330, 468, 3609, 716, 732, 4565, 10480, 3478, 358, 2589, 18, 803, 365, 18, 5645, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 538, 18,...
self.__cur_index = self.__cur_index - 1
self.__cur_index = self.__cur_index while isinstance(self.pages[self.__cur_index], p6.extension.point.ExtensionPoint): self.__cur_index = self.__cur_index - 1
def previous(self): self.__cur_index = self.__cur_index - 1
741e4dc2e162828c3b9a38d4e45a45612f4fc70b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2607/741e4dc2e162828c3b9a38d4e45a45612f4fc70b/xrcwiz.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2416, 12, 2890, 4672, 365, 16186, 1397, 67, 1615, 273, 365, 16186, 1397, 67, 1615, 300, 404, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2416, 12, 2890, 4672, 365, 16186, 1397, 67, 1615, 273, 365, 16186, 1397, 67, 1615, 300, 404, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
elif len( self.c ) == 1 and ord( self.c ) <= 127:
elif len( self.c ) == 1 and self.c in string.printable:
def p_key( self ): """Process a keypress"""
5786d10932b54be06f30f43cebbbafcdac9c42b3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6932/5786d10932b54be06f30f43cebbbafcdac9c42b3/bpython.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 67, 856, 12, 365, 262, 30, 3536, 2227, 279, 498, 1028, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 293, 67, 856, 12, 365, 262, 30, 3536, 2227, 279, 498, 1028, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
for PackageSetName in ["min", "std", "core", "base"]: Zip(PackageSetName) TarBzip2(PackageSetName)
MakeArchives()
def Setup(ExistingCompilerRoot, NewRoot): global InstallRoot InstallRoot = NewRoot os.environ["INSTALLROOT"] = NewRoot if (OriginalLIB): # This is Windows-only thing. os.environ["LIB"] = os.path.join(NewRoot, "lib") + OriginalLIB os.environ["PATH"] = (os.path.join(NewRoot, "bin") + OriginalPATH) if ((NewRoot != Instal...
755d5509a1ef6d2b4c0bcd3f4c3aa96d534b8788 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9328/755d5509a1ef6d2b4c0bcd3f4c3aa96d534b8788/make-dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10939, 12, 9895, 9213, 2375, 16, 1166, 2375, 4672, 2552, 10284, 2375, 10284, 2375, 273, 1166, 2375, 1140, 18, 28684, 9614, 28865, 9185, 11929, 273, 1166, 2375, 309, 261, 8176, 14484, 4672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10939, 12, 9895, 9213, 2375, 16, 1166, 2375, 4672, 2552, 10284, 2375, 10284, 2375, 273, 1166, 2375, 1140, 18, 28684, 9614, 28865, 9185, 11929, 273, 1166, 2375, 309, 261, 8176, 14484, 4672, ...
if self.address != (self.jid, self.node):
if address != (self.jid, self.node):
def got_disco_items(self,address,items,state): if self.address != (self.jid, self.node): pass self.buffer.unask_question() format_string=self.plugin.cjc.theme_manager.format_string if state=='new': cache_state=None else: cache_state="cached" formatted_items=[] self.items=items.items for i,item in zip(indices1,items.ite...
1ac10d715fdb642566516a2541439ee2c4b681c0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12768/1ac10d715fdb642566516a2541439ee2c4b681c0/disco.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2363, 67, 2251, 2894, 67, 3319, 12, 2890, 16, 2867, 16, 3319, 16, 2019, 4672, 309, 1758, 480, 261, 2890, 18, 18252, 16, 365, 18, 2159, 4672, 1342, 365, 18, 4106, 18, 318, 835, 67, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2363, 67, 2251, 2894, 67, 3319, 12, 2890, 16, 2867, 16, 3319, 16, 2019, 4672, 309, 1758, 480, 261, 2890, 18, 18252, 16, 365, 18, 2159, 4672, 1342, 365, 18, 4106, 18, 318, 835, 67, 41...
deps = model_dependencies(checked_model, last_models)
deps = model_dependencies(checked_model, last_models, checked_models)
def model_dependencies(model, last_models=None, checked_models=None): """ Returns a set of models this one depends on to be defined; things like OneToOneFields as ID, ForeignKeys everywhere, etc. """ depends = {} checked_models = checked_models or set() # Get deps for each field for field in model._meta.fields + model....
2c5b1baceeb91910bddd133569c12c004961b146 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13142/2c5b1baceeb91910bddd133569c12c004961b146/startmigration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 938, 67, 11037, 12, 2284, 16, 1142, 67, 7665, 33, 7036, 16, 5950, 67, 7665, 33, 7036, 4672, 3536, 2860, 279, 444, 434, 3679, 333, 1245, 10935, 603, 358, 506, 2553, 31, 9198, 3007, 6942...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 67, 11037, 12, 2284, 16, 1142, 67, 7665, 33, 7036, 16, 5950, 67, 7665, 33, 7036, 4672, 3536, 2860, 279, 444, 434, 3679, 333, 1245, 10935, 603, 358, 506, 2553, 31, 9198, 3007, 6942...
buildinstall.append(mirorrlist)
buildinstall.append(mirrorlist)
def doBuildinstall(self): """Run anaconda-runtime's buildinstall on the tree."""
3b955cc823559d501bc1b9c7140539a22fc3d03b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8489/3b955cc823559d501bc1b9c7140539a22fc3d03b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 3116, 5425, 12, 2890, 4672, 3536, 1997, 392, 16329, 2414, 17, 9448, 1807, 1361, 5425, 603, 326, 2151, 12123, 2, 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, 741, 3116, 5425, 12, 2890, 4672, 3536, 1997, 392, 16329, 2414, 17, 9448, 1807, 1361, 5425, 603, 326, 2151, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
@bigmemtest(minsize=_2G // 2 + 2, memuse=8)
@bigmemtest(minsize=_2G // 2 + 2, memuse=16)
def basic_test_extend(self, size): l = [file] * size l.extend(l) self.assertEquals(len(l), size * 2) self.failUnless(l[0] is l[-1]) self.failUnless(l[size - 1] is l[size + 1])
45c86f11a051e38ce1d30b67fb8b1ba24dac6f21 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/45c86f11a051e38ce1d30b67fb8b1ba24dac6f21/test_bigmem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5337, 67, 3813, 67, 14313, 12, 2890, 16, 963, 4672, 328, 273, 306, 768, 65, 380, 963, 328, 18, 14313, 12, 80, 13, 365, 18, 11231, 8867, 12, 1897, 12, 80, 3631, 963, 380, 576, 13, 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, 5337, 67, 3813, 67, 14313, 12, 2890, 16, 963, 4672, 328, 273, 306, 768, 65, 380, 963, 328, 18, 14313, 12, 80, 13, 365, 18, 11231, 8867, 12, 1897, 12, 80, 3631, 963, 380, 576, 13, 3...
if self.data:
if self.nomogram and self.data and self.data.domain.classVar.varType==orange.VarTypes.Discrete and \ len(self.data.domain.classVar.values)==2 and self.kernel_type==0: import orngLR_Jakulin self.learner=orngSVM.BasicSVMLearner() for attr in ("name", "shrinking"): setattr(self.learner, attr, getattr(self, attr)) for attr...
def applySettings(self): self.learner=orngSVM.SVMLearner() for attr in ("name", "kernel_type", "degree", "shrinking"): setattr(self.learner, attr, getattr(self, attr))
c449df6ba0bbd4e2d21dc3c10c044ec3e5a391a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/c449df6ba0bbd4e2d21dc3c10c044ec3e5a391a8/OWSVM.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 2628, 12, 2890, 4672, 365, 18, 298, 24834, 33, 280, 3368, 55, 7397, 18, 23927, 1495, 2091, 1224, 1435, 364, 1604, 316, 7566, 529, 3113, 315, 8111, 67, 723, 3113, 315, 21361, 3113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2230, 2628, 12, 2890, 4672, 365, 18, 298, 24834, 33, 280, 3368, 55, 7397, 18, 23927, 1495, 2091, 1224, 1435, 364, 1604, 316, 7566, 529, 3113, 315, 8111, 67, 723, 3113, 315, 21361, 3113, ...
parent = node.get('cpp:parent')
parent = node['cpp:parent']
def _create_refnode(expr): target = unicode(expr) if target not in self.data['objects']: return None obj = self.data['objects'][target] if obj[1] != typ: return None return make_refnode(builder, fromdocname, obj[0], target, contnode, target)
d1097cd5315a33ccebeab718c8768d01f3a00bba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7032/d1097cd5315a33ccebeab718c8768d01f3a00bba/cpp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 67, 1734, 2159, 12, 8638, 4672, 1018, 273, 5252, 12, 8638, 13, 309, 1018, 486, 316, 365, 18, 892, 3292, 6911, 3546, 30, 327, 599, 1081, 273, 365, 18, 892, 3292, 6911, 3546, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 67, 1734, 2159, 12, 8638, 4672, 1018, 273, 5252, 12, 8638, 13, 309, 1018, 486, 316, 365, 18, 892, 3292, 6911, 3546, 30, 327, 599, 1081, 273, 365, 18, 892, 3292, 6911, 3546, ...
s = "Open your web browser to http%s://%s:%s%s"%('s' if secure else '', address, port, path)
""" Print a message on the screen suggesting that the user open their web browser to a certain URL. INPUT: address -- a computer address port -- a port number secure -- bool (default: False); whether to put http or https path -- path after the port. EXAMPLES: sage: sage.server.misc.print_open_msg('localhost', 8000, T...
def print_open_msg(address, port, secure=False, path=""): s = "Open your web browser to http%s://%s:%s%s"%('s' if secure else '', address, port, path) t = len(s) if t%2: t += 1 s += ' ' n = max(t+4, 50) k = n - t - 1 j = k/2 print '*'*n print '*'+ ' '*(n-2) + '*' print '*' + ' '*j + s + ' '*j + '*' print '*'+ ' '*(n-2...
0fdf5bac4ca1844e861d460d3ac18fe8986d02b0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/0fdf5bac4ca1844e861d460d3ac18fe8986d02b0/misc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 3190, 67, 3576, 12, 2867, 16, 1756, 16, 8177, 33, 8381, 16, 589, 1546, 6, 4672, 3536, 3038, 279, 883, 603, 326, 5518, 19816, 310, 716, 326, 729, 1696, 3675, 3311, 4748, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 67, 3190, 67, 3576, 12, 2867, 16, 1756, 16, 8177, 33, 8381, 16, 589, 1546, 6, 4672, 3536, 3038, 279, 883, 603, 326, 5518, 19816, 310, 716, 326, 729, 1696, 3675, 3311, 4748, 358, ...
"self_status", ]
"final_status", "gen_html_time", ] def get_td_final_status(self): if self.final_status is None: return "job_running","running" else: exit_status,term_sig = self.final_status if exit_status == 0: return "job_success",("exited 0") elif exit_status is not None: return "job_failed",("exited %d" % exit_status) else: return...
def do_make2_cmd(self, args): """ args : whatever is given after 'make2' """ # FIXIT: parse args and give them to make if self.init3() == -1: return cmd_interpreter.RET_NOT_RUN self.set_make_environ() return self.server_main([ "-a", 'work_proc_sock="make -j 1200"' ] + args)
112ee2b67ad2dcc046910a8ee540a6c7f13e7284 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/924/112ee2b67ad2dcc046910a8ee540a6c7f13e7284/gxp_js.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 6540, 22, 67, 4172, 12, 2890, 16, 833, 4672, 3536, 833, 294, 15098, 353, 864, 1839, 296, 6540, 22, 11, 3536, 468, 8563, 1285, 30, 1109, 833, 471, 8492, 2182, 358, 1221, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 6540, 22, 67, 4172, 12, 2890, 16, 833, 4672, 3536, 833, 294, 15098, 353, 864, 1839, 296, 6540, 22, 11, 3536, 468, 8563, 1285, 30, 1109, 833, 471, 8492, 2182, 358, 1221, 309, ...
rsync_filenames_client += "tcos_share/%s " %( os.path.basename(filename).replace(" ", "\ ").replace("(", "\(").replace(")", "\)").replace("*", "\*").replace("!", "\!").replace("?", "\?").replace("\"", "\\\"") ) rsync_filenames_server += "%s " %( filename.replace(" ", "\ ").replace("(", "\(").replace(")", "\)").replace(...
basename_scape=os.path.basename(filename) abspath_scape=filename for scape in str_scapes: basename_scape=basename_scape.replace("%s" %scape, "\%s" %scape) abspath_scape=abspath_scape.replace("%s" %scape, "\%s" %scape) rsync_filenames_client += "tcos_share/%s " %( basename_scape ) rsync_filenames_server += "%s " %( absp...
def menu_event_one(self, action): start1=time() (model, iter) = self.main.tabla.get_selection().get_selected() if iter == None: print_debug( "menu_event_one() not selected thin client !!!" ) return self.main.selected_host=model.get_value(iter,COL_HOST) self.main.selected_ip=model.get_value(iter, COL_IP) if not self.do...
02aa26e9decb17b7531b02e8a9add63d01cedfb3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13520/02aa26e9decb17b7531b02e8a9add63d01cedfb3/TcosActions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3824, 67, 2575, 67, 476, 12, 2890, 16, 1301, 4672, 787, 21, 33, 957, 1435, 261, 2284, 16, 1400, 13, 273, 365, 18, 5254, 18, 7032, 11821, 18, 588, 67, 10705, 7675, 588, 67, 8109, 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, 3824, 67, 2575, 67, 476, 12, 2890, 16, 1301, 4672, 787, 21, 33, 957, 1435, 261, 2284, 16, 1400, 13, 273, 365, 18, 5254, 18, 7032, 11821, 18, 588, 67, 10705, 7675, 588, 67, 8109, 1435...
valid_ext = ['.txt', '.pdb', '.html']
valid_ext = ['.txt', '.html', '.htm', '.fb2', '.chm', '.rtf', '.oeb', '.zip', '.prc', '.pdb', '.mobi', '.orb', '.opf', '.oebzip', '.tcr', '.tgz', '.ipk', ]
def get_valid_basename(base): valid_ext = ['.txt', '.pdb', '.html'] skip_ext = ['.gz', '.bz2', '.tar'] while True: base, ext = os.path.splitext(base) if ext in valid_ext: return base elif ext in skip_ext: pass else: return None
4ad633209b0a4c8fb26a27fbe63046456d843e5a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14744/4ad633209b0a4c8fb26a27fbe63046456d843e5a/model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 877, 67, 13909, 12, 1969, 4672, 923, 67, 408, 273, 10228, 18, 5830, 2187, 2418, 2620, 2187, 2418, 31180, 2187, 2418, 19192, 22, 2187, 2418, 343, 81, 2187, 2418, 3797, 74, 2187, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 877, 67, 13909, 12, 1969, 4672, 923, 67, 408, 273, 10228, 18, 5830, 2187, 2418, 2620, 2187, 2418, 31180, 2187, 2418, 19192, 22, 2187, 2418, 343, 81, 2187, 2418, 3797, 74, 2187, ...
string.split(Utils.readTextFromClipboard(), os.linesep))
string.split(str(Utils.readTextFromClipboard()), os.linesep))
def OnPasteSelected(self, event): """ Paste current clipboard contents into the current selection """ if self.selection: # If the selection is not a container, select it's parent (a container) if not self.selection.selCompn.container: self.selectParent(self.selection.selection)
0cb885fbe7e13dec4cc1329367a538359aee901b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/0cb885fbe7e13dec4cc1329367a538359aee901b/Designer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 52, 14725, 7416, 12, 2890, 16, 871, 4672, 3536, 453, 14725, 783, 20304, 2939, 1368, 326, 783, 4421, 3536, 309, 365, 18, 10705, 30, 468, 971, 326, 4421, 353, 486, 279, 1478, 16, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 52, 14725, 7416, 12, 2890, 16, 871, 4672, 3536, 453, 14725, 783, 20304, 2939, 1368, 326, 783, 4421, 3536, 309, 365, 18, 10705, 30, 468, 971, 326, 4421, 353, 486, 279, 1478, 16, 2...
time.sleep(0.050)
time.sleep(0.050)
def destroy(self): """Destroy the library, and pjsua.""" global _lib if self._has_thread: self._quit = 1 loop = 0 while self._quit != 2 and loop < 400: self.handle_events(5) loop = loop + 1
8907293bdad5c793455a1ee75bc93c2502d2f7e6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4447/8907293bdad5c793455a1ee75bc93c2502d2f7e6/pjsua.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 12, 2890, 4672, 3536, 10740, 326, 5313, 16, 471, 293, 2924, 11886, 12123, 2552, 389, 2941, 309, 365, 6315, 5332, 67, 5930, 30, 365, 6315, 27176, 273, 404, 2798, 273, 374, 1323, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 12, 2890, 4672, 3536, 10740, 326, 5313, 16, 471, 293, 2924, 11886, 12123, 2552, 389, 2941, 309, 365, 6315, 5332, 67, 5930, 30, 365, 6315, 27176, 273, 404, 2798, 273, 374, 1323, 365...
d = self.remoteobj.callRemote('killJob', self._job.id)
d = self.remoteobj.callRemote('killJob', self.id)
def kill(self): r""" Kills the current job. """ d = self.remoteobj.callRemote('killJob', self._job.id) d.addCallback(self._killedJob) d.addErrback(self._catchFailure) return d
0a7aae585c5e29c6a0654bebf2a481e22334e333 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/0a7aae585c5e29c6a0654bebf2a481e22334e333/dsage_interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 12, 2890, 4672, 436, 8395, 20520, 87, 326, 783, 1719, 18, 225, 3536, 225, 302, 273, 365, 18, 7222, 2603, 18, 1991, 5169, 2668, 16418, 2278, 2187, 365, 18, 350, 13, 302, 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, 8673, 12, 2890, 4672, 436, 8395, 20520, 87, 326, 783, 1719, 18, 225, 3536, 225, 302, 273, 365, 18, 7222, 2603, 18, 1991, 5169, 2668, 16418, 2278, 2187, 365, 18, 350, 13, 302, 18, 1289,...
def __init__(self, filename=None, verify=None, verbose=None, legacy=None, payload=None, parsesig=None, tags=None, ntags=None, keepdata=None):
def __init__(self, filename=None, verify=None, verbose=None, legacy=None, payload=None, parsesig=None, hdronly=None, tags=None, ntags=None, keepdata=None):
def __init__(self, filename=None, verify=None, verbose=None, legacy=None, payload=None, parsesig=None, tags=None, ntags=None, keepdata=None): RpmIO.__init__(self) self.filename = filename self.fd = None self.verify = verify self.verbose = verbose self.legacy = legacy self.payload = payload self.parsesig = parsesig self...
1ca072be3b39d918de69d6201fb635d5ab22b89b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/1ca072be3b39d918de69d6201fb635d5ab22b89b/pyrpmlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1544, 33, 7036, 16, 3929, 33, 7036, 16, 3988, 33, 7036, 16, 8866, 33, 7036, 16, 2385, 33, 7036, 16, 8940, 360, 33, 7036, 16, 15921, 1949, 715, 33, 7036...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1544, 33, 7036, 16, 3929, 33, 7036, 16, 3988, 33, 7036, 16, 8866, 33, 7036, 16, 2385, 33, 7036, 16, 8940, 360, 33, 7036, 16, 15921, 1949, 715, 33, 7036...
irq.scheduling_priority = int(match_obj.group(4))
if match_obj.group(4) != '-': irq.scheduling_priority = int(match_obj.group(4)) else: irq.scheduling_priority = None
def sortedDictValues(adict): items = adict.items() items.sort() return [value for key, value in items]
3a0e8c29920bf8aaccaa94ad12e0e3aa9a44186e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11526/3a0e8c29920bf8aaccaa94ad12e0e3aa9a44186e/listirqinfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3115, 5014, 1972, 12, 361, 933, 4672, 1516, 273, 1261, 933, 18, 3319, 1435, 1516, 18, 3804, 1435, 327, 306, 1132, 364, 498, 16, 460, 316, 1516, 65, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 3115, 5014, 1972, 12, 361, 933, 4672, 1516, 273, 1261, 933, 18, 3319, 1435, 1516, 18, 3804, 1435, 327, 306, 1132, 364, 498, 16, 460, 316, 1516, 65, 225, 2, -100, -100, -100, -100, -100...
print 'f=',f
def getentry(self, which): self._check() if which == 'in': cmd = IN_ENTRY_SENSE elif which == 'out': cmd = OUT_ENTRY_SENSE self.replycmd(cmd) h = self._getnumber(2) print 'h=',h m = self._getnumber(2) print 'm=',m s = self._getnumber(2) print 's=',s f = self._getnumber(2) print 'f=',f return (h, m, s, f)
0b424aeee61cf467f726567c4a8deb7458742940 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/0b424aeee61cf467f726567c4a8deb7458742940/VCR.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 4099, 12, 2890, 16, 1492, 4672, 365, 6315, 1893, 1435, 309, 1492, 422, 296, 267, 4278, 1797, 273, 2120, 67, 19083, 67, 1090, 50, 1090, 1327, 1492, 422, 296, 659, 4278, 1797, 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, 336, 4099, 12, 2890, 16, 1492, 4672, 365, 6315, 1893, 1435, 309, 1492, 422, 296, 267, 4278, 1797, 273, 2120, 67, 19083, 67, 1090, 50, 1090, 1327, 1492, 422, 296, 659, 4278, 1797, 273, ...
</datafield>
</datafield>
def setUp(self): """Prepare some ideal outputs"""
181d70a4898299aca5054809a38a1f10089e9722 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/181d70a4898299aca5054809a38a1f10089e9722/bibformat_regression_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 3536, 7543, 2690, 23349, 6729, 8395, 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, 24292, 12, 2890, 4672, 3536, 7543, 2690, 23349, 6729, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
intersection = lang.intersection(region) if intersection: return intersection
intersect = lang.intersection(region) if intersect: return intersect
def f8(lang, country, region): '''8. Lang ^ Country ^ Region, Lang ^ Country, Lang ^ Region, Lang''' intersect = lang.intersection(country).intersection(region) if intersection: return intersect else: intersection = lang.intersection(country) if intersection: return intersection else: intersection = lang.intersection(r...
e696c88745d210c2b85958eb1d08ee2bba59969a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8937/e696c88745d210c2b85958eb1d08ee2bba59969a/classifier_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 28, 12, 4936, 16, 5251, 16, 3020, 4672, 9163, 28, 18, 13346, 3602, 19394, 3602, 9164, 16, 13346, 3602, 19394, 16, 13346, 3602, 9164, 16, 13346, 26418, 9136, 273, 3303, 18, 30231, 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, 284, 28, 12, 4936, 16, 5251, 16, 3020, 4672, 9163, 28, 18, 13346, 3602, 19394, 3602, 9164, 16, 13346, 3602, 19394, 16, 13346, 3602, 9164, 16, 13346, 26418, 9136, 273, 3303, 18, 30231, 12...
if not self.audioState == self.AUDIO_EXPORTING:
if not self.GetIsExporting():
def TerminateExport(self, bus=None, message=None): """ GStreamer End Of Stream handler. It is connected to eos on mainpipeline while export is taking place. Parameters: bus -- reserved for GStreamer callbacks, don't use it explicitly. message -- reserved for GStreamer callbacks, don't use it explicitly. """ if not se...
7f3ca674eab3e149c948663085fb197bc6e45c85 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10033/7f3ca674eab3e149c948663085fb197bc6e45c85/Project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23945, 6144, 12, 2890, 16, 5766, 33, 7036, 16, 883, 33, 7036, 4672, 3536, 611, 1228, 264, 4403, 8031, 3961, 1838, 18, 2597, 353, 5840, 358, 425, 538, 603, 2774, 14511, 1323, 3359, 353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23945, 6144, 12, 2890, 16, 5766, 33, 7036, 16, 883, 33, 7036, 4672, 3536, 611, 1228, 264, 4403, 8031, 3961, 1838, 18, 2597, 353, 5840, 358, 425, 538, 603, 2774, 14511, 1323, 3359, 353, ...
child.exportDirPage(linkDict)
child.exportDirPage(linkDict, level + 1)
def exportDirPage(self, linkDict): """Write directory structure with navigation bar and full pages""" title = self.title() lines = [u'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 '\ 'Transitional//EN">', u'<html>', u'<head>', u'<meta http-equiv="Content-Type" content="text/html; '\ 'charset=utf-8">', u'<title>%s</title...
3c72e95cfd65937c53af1de3d76c230408027ee0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3087/3c72e95cfd65937c53af1de3d76c230408027ee0/treeitem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 1621, 1964, 12, 2890, 16, 1692, 5014, 4672, 3536, 3067, 1867, 3695, 598, 10394, 4653, 471, 1983, 4689, 8395, 2077, 273, 365, 18, 2649, 1435, 2362, 273, 306, 89, 11, 5586, 29824, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 1621, 1964, 12, 2890, 16, 1692, 5014, 4672, 3536, 3067, 1867, 3695, 598, 10394, 4653, 471, 1983, 4689, 8395, 2077, 273, 365, 18, 2649, 1435, 2362, 273, 306, 89, 11, 5586, 29824, 17...
return
return 0
def handle(self): """Handle a single HTTP request.
d65b53923ecefc96f24d9cbc4e3e83dd2194d6b4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/d65b53923ecefc96f24d9cbc4e3e83dd2194d6b4/BaseHTTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 4672, 3536, 3259, 279, 2202, 2239, 590, 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, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 4672, 3536, 3259, 279, 2202, 2239, 590, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self.settings[self.settings["spec_prefix"]+"/rm"]=[self.settings[self.settings["spec_prefix"]+"/rm"]]
self.settings[self.settings["spec_prefix"]+"/rm"]=self.settings[self.settings["spec_prefix"]+"/rm"].split()
def remove(self): if self.settings.has_key("AUTORESUME") \ and os.path.exists(self.settings["autoresume_path"]+"remove"): print "Resume point detected, skipping remove operation..." else: if self.settings.has_key(self.settings["spec_prefix"]+"/rm"): if type(self.settings[self.settings["spec_prefix"]+"/rm"])==types.Stri...
5438f9d5f24a1a920bb4f6e4a0c11670a1d2097c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7327/5438f9d5f24a1a920bb4f6e4a0c11670a1d2097c/generic_stage_target.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 4672, 309, 365, 18, 4272, 18, 5332, 67, 856, 2932, 37, 1693, 8607, 30590, 7923, 521, 471, 1140, 18, 803, 18, 1808, 12, 2890, 18, 4272, 9614, 6079, 25158, 67, 803, 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, 1206, 12, 2890, 4672, 309, 365, 18, 4272, 18, 5332, 67, 856, 2932, 37, 1693, 8607, 30590, 7923, 521, 471, 1140, 18, 803, 18, 1808, 12, 2890, 18, 4272, 9614, 6079, 25158, 67, 803, 6, ...
control.send("hatari-shortcut %s\n" % line)
hatari.trigger_shortcut(line) elif first in event_tokens: hatari.insert_event(line) elif first in debugger_tokens: hatari.debug_command(line) elif first in option_tokens: hatari.change_option(line)
def loop(self): try: line = raw_input("hatari-command: ") return line except EOFError: return ""
d5af29786f36313ce7c47a3b5fe963033faa2dd7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2811/d5af29786f36313ce7c47a3b5fe963033faa2dd7/hatari-console.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2798, 12, 2890, 4672, 775, 30, 980, 273, 1831, 67, 2630, 2932, 76, 8761, 77, 17, 3076, 30, 9369, 327, 980, 1335, 6431, 668, 30, 327, 1408, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2798, 12, 2890, 4672, 775, 30, 980, 273, 1831, 67, 2630, 2932, 76, 8761, 77, 17, 3076, 30, 9369, 327, 980, 1335, 6431, 668, 30, 327, 1408, 2, -100, -100, -100, -100, -100, -100, -100, ...
if __debug__ and self.debug >= 5: _mesg('untagged_responses[%s] %s += %s' % (typ, len(ur.get(typ,'')), dat))
if __debug__: if self.debug >= 5: _mesg('untagged_responses[%s] %s += ["%s"]' % (typ, len(ur.get(typ,'')), dat))
def _append_untagged(self, typ, dat):
7c42a4d8ae3bf54c1a8aa8875c15ffc51f6daabc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7c42a4d8ae3bf54c1a8aa8875c15ffc51f6daabc/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 318, 23023, 12, 2890, 16, 3815, 16, 1150, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 318, 23023, 12, 2890, 16, 3815, 16, 1150, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
log.warning('exclude parse', `exclude_parse`) log.warning('exclude introspect', `exclude_introspect`)
def main(options, names): # Set the debug flag, if '--debug' was specified. if options.debug: epydoc.DEBUG = True ## [XX] Did this serve a purpose? Commenting out for now: #if options.action == 'text': # if options.parse and options.introspect: # options.parse = False # Set up the logger if options.simple_...
b3d5468f82afd474ea22bc3a0aaa29bd3992ad07 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3512/b3d5468f82afd474ea22bc3a0aaa29bd3992ad07/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 2116, 16, 1257, 4672, 468, 1000, 326, 1198, 2982, 16, 309, 3534, 4148, 11, 1703, 1269, 18, 309, 702, 18, 4148, 30, 425, 2074, 2434, 18, 9394, 273, 1053, 225, 7541, 306, 5619,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2116, 16, 1257, 4672, 468, 1000, 326, 1198, 2982, 16, 309, 3534, 4148, 11, 1703, 1269, 18, 309, 702, 18, 4148, 30, 425, 2074, 2434, 18, 9394, 273, 1053, 225, 7541, 306, 5619,...
], CONTEXT)
], 0, None, None, CONTEXT)
def test0040numeric(self): ''' Test Numeric. ''' numeric1_id = self.numeric.create({ 'numeric': Decimal('1.1'), }, CONTEXT) self.assert_(numeric1_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, 7132, 5246, 12, 2890, 4672, 9163, 7766, 16980, 18, 9163, 6389, 21, 67, 350, 273, 365, 18, 5246, 18, 2640, 12590, 296, 5246, 4278, 11322, 2668, 21, 18, 21, 19899, 19879, 13862,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 713, 7132, 5246, 12, 2890, 4672, 9163, 7766, 16980, 18, 9163, 6389, 21, 67, 350, 273, 365, 18, 5246, 18, 2640, 12590, 296, 5246, 4278, 11322, 2668, 21, 18, 21, 19899, 19879, 13862,...
self.is_workable(task)
self.is_workable(task) and\ self.no_disabled_tag(task)
def workview(self,task,parameters=None): wv = self.active(task) and\ self.is_started(task) and\ self.is_workable(task) return wv
2da38577b944d29dfbed060b32fd75e53748ae95 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8234/2da38577b944d29dfbed060b32fd75e53748ae95/treefactory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1440, 1945, 12, 2890, 16, 4146, 16, 3977, 33, 7036, 4672, 25819, 273, 365, 18, 3535, 12, 4146, 13, 471, 64, 365, 18, 291, 67, 14561, 12, 4146, 13, 471, 64, 365, 18, 291, 67, 1252, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 1945, 12, 2890, 16, 4146, 16, 3977, 33, 7036, 4672, 25819, 273, 365, 18, 3535, 12, 4146, 13, 471, 64, 365, 18, 291, 67, 14561, 12, 4146, 13, 471, 64, 365, 18, 291, 67, 1252, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.DoubleField.__init__(self, 884) else quickfix.DoubleField.__init__(self, 884, 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, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 5193, 13, 469, 9549, 904, 18, 5265, 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, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 5193, 13, 469, 9549, 904, 18, 5265, 974, 16186, 2738, ...
print compress_file("aminon.par.par")
print compress_file("aminon.par")
def checkFile(name, comment): flag = os.path.exists(name) if not flag : print "ERROR: file %s is missing" %(name) print "ERROR: %s" %(comment) exit(2)
17d70dd606eb3d3b7124da7ab2394efc9cc2045d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11088/17d70dd606eb3d3b7124da7ab2394efc9cc2045d/Attract.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 812, 12, 529, 16, 2879, 4672, 2982, 273, 1140, 18, 803, 18, 1808, 12, 529, 13, 309, 225, 486, 2982, 294, 1172, 315, 3589, 30, 585, 738, 87, 353, 3315, 6, 8975, 529, 13, 1172, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 866, 812, 12, 529, 16, 2879, 4672, 2982, 273, 1140, 18, 803, 18, 1808, 12, 529, 13, 309, 225, 486, 2982, 294, 1172, 315, 3589, 30, 585, 738, 87, 353, 3315, 6, 8975, 529, 13, 1172, ...
text1 = _("Welcome in Getting Things Gnome!, your new task manager.")
text1 = _("Welcome to Getting Things Gnome!, your new task manager.")
def populate(): doc,root = cleanxml.emptydoc("project") #Task 0@1: Getting started with GTG title1 = _("Getting started with GTG") text1 = _("Welcome in Getting Things Gnome!, your new task manager.") text1 += "\n\n" text1 += _("In GTG, everything is a task. From building a bridge over the Pacific Ocean to changing a l...
f978feac10a0a0bbe23ed71d2ade4d73e8fec185 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/f978feac10a0a0bbe23ed71d2ade4d73e8fec185/firstrun_tasks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6490, 13332, 997, 16, 3085, 273, 2721, 2902, 18, 5531, 2434, 2932, 4406, 7923, 468, 2174, 374, 36, 21, 30, 26602, 5746, 598, 19688, 43, 2077, 21, 273, 389, 2932, 19213, 5746, 598, 19688,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6490, 13332, 997, 16, 3085, 273, 2721, 2902, 18, 5531, 2434, 2932, 4406, 7923, 468, 2174, 374, 36, 21, 30, 26602, 5746, 598, 19688, 43, 2077, 21, 273, 389, 2932, 19213, 5746, 598, 19688,...
return self.request(url, "PROPFIND", props, {'depth': depth})
return self.request(url, "PROPFIND", props, {'depth': str(depth)})
def propfind(self, url, props="", depth=0): """ Send a propfind request.
c2c3e6dfdf8d18d9002ecf6c284b4c79f90ae03a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7329/c2c3e6dfdf8d18d9002ecf6c284b4c79f90ae03a/davclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2270, 4720, 12, 2890, 16, 880, 16, 3458, 1546, 3113, 3598, 33, 20, 4672, 3536, 2479, 279, 2270, 4720, 590, 18, 2, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2270, 4720, 12, 2890, 16, 880, 16, 3458, 1546, 3113, 3598, 33, 20, 4672, 3536, 2479, 279, 2270, 4720, 590, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
["^lib/pdf_.*[.]ps$", "Interpreter (PDF)"],
["^lib/pdf_.*[.]ps$", "PDF Interpreter"],
def ScanMakefileForSources(filename, dict, value): import re try: input = open(filename, 'r') except: try: input = open('gs/' + filename, 'r') except: print "Error: Unable to open " + filename return dict lines = input.readlines() input.close() pattern = re.compile("[a-zA-Z][a-zA-Z0-9_]+[.][ch]") for line in lines: fo...
5cec93699e31f70d9b2a3f6b3887539a2e04680a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1296/5cec93699e31f70d9b2a3f6b3887539a2e04680a/cvs2hist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8361, 6464, 768, 1290, 8628, 12, 3459, 16, 2065, 16, 460, 4672, 1930, 283, 225, 775, 30, 810, 273, 1696, 12, 3459, 16, 296, 86, 6134, 1335, 30, 775, 30, 810, 273, 1696, 2668, 564, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8361, 6464, 768, 1290, 8628, 12, 3459, 16, 2065, 16, 460, 4672, 1930, 283, 225, 775, 30, 810, 273, 1696, 12, 3459, 16, 296, 86, 6134, 1335, 30, 775, 30, 810, 273, 1696, 2668, 564, 24...
if worked: w.set()
def fin(worked, errormsg, ev = ev, w = w): ev.set() if worked: w.set()
a2057bf631daf4cf3b36500fd1ff79fb7c7a987e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4538/a2057bf631daf4cf3b36500fd1ff79fb7c7a987e/btdownloadlibrary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 574, 12, 1252, 329, 16, 393, 23250, 16, 2113, 273, 2113, 16, 341, 273, 341, 4672, 2113, 18, 542, 1435, 309, 28613, 30, 341, 18, 542, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 574, 12, 1252, 329, 16, 393, 23250, 16, 2113, 273, 2113, 16, 341, 273, 341, 4672, 2113, 18, 542, 1435, 309, 28613, 30, 341, 18, 542, 1435, 2, -100, -100, -100, -100, -100, -100, -100, ...
if File.Ext == '.h':
if File.Ext.lower() == '.h':
def _GetSourceFiles(self): if self._Sources == None: self._Sources = [] RecordList = self._RawData[MODEL_EFI_SOURCE_FILE, self._Arch, self._Platform] Macros = {"EDK_SOURCE":GlobalData.gEcpSource, "EFI_SOURCE":GlobalData.gEfiSource, 'PROCESSOR':self._Arch} Macros.update(self._Macros) for Record in RecordList: Record = R...
87fa61742285ff8a7d5259309c26e00c35b2d972 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/914/87fa61742285ff8a7d5259309c26e00c35b2d972/WorkspaceDatabase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 967, 1830, 2697, 12, 2890, 4672, 309, 365, 6315, 8628, 422, 599, 30, 365, 6315, 8628, 273, 5378, 5059, 682, 273, 365, 6315, 31733, 63, 17391, 67, 41, 1653, 67, 6537, 67, 3776, 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, 389, 967, 1830, 2697, 12, 2890, 4672, 309, 365, 6315, 8628, 422, 599, 30, 365, 6315, 8628, 273, 5378, 5059, 682, 273, 365, 6315, 31733, 63, 17391, 67, 41, 1653, 67, 6537, 67, 3776, 16,...
r.log("debug", "test message", 5) self.assertEquals(r.logger[0], (r,"debug","test message",5),
r.log("debug", "test message %d", 5) self.assertEquals(r.logger[0], (r,"debug","test message %d",5),
def test_log(self): r = Router() r.logger = MockLogger() r.log("debug", "test message", 5) self.assertEquals(r.logger[0], (r,"debug","test message",5), "log() calls self.logger.write()")
ff5a44e9749f2f997d14e29666fefb1759df39cb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11809/ff5a44e9749f2f997d14e29666fefb1759df39cb/test_router.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1330, 12, 2890, 4672, 436, 273, 9703, 1435, 436, 18, 4901, 273, 7867, 3328, 1435, 436, 18, 1330, 2932, 4148, 3113, 315, 3813, 883, 738, 72, 3113, 1381, 13, 365, 18, 11231, 88...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1330, 12, 2890, 4672, 436, 273, 9703, 1435, 436, 18, 4901, 273, 7867, 3328, 1435, 436, 18, 1330, 2932, 4148, 3113, 315, 3813, 883, 738, 72, 3113, 1381, 13, 365, 18, 11231, 88...
'remaining_hours': fields.float('Remaining Hours', digits=(16,2), help="Total remaining time, can be re-estimated periodically by the assignee of the task."),
'remaining_hours': fields.float('Remaining Hours', digits=(16,4), help="Total remaining time, can be re-estimated periodically by the assignee of the task."),
def copy_data(self, cr, uid, id, default={},context={}): default = default or {} default['work_ids'] = [] return super(task, self).copy_data(cr, uid, id, default, context)
d536112575d7f71320089485f19dd0a8c6f3323e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/d536112575d7f71320089485f19dd0a8c6f3323e/project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 67, 892, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 28793, 2472, 12938, 4672, 805, 273, 805, 578, 2618, 805, 3292, 1252, 67, 2232, 3546, 273, 5378, 327, 2240, 12, 4146, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 67, 892, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 28793, 2472, 12938, 4672, 805, 273, 805, 578, 2618, 805, 3292, 1252, 67, 2232, 3546, 273, 5378, 327, 2240, 12, 4146, 16, ...
slices = d.keys() slices.sort() for slice in slices: num = d[slice]
max_requests = 0 for slice in range(min, max, resolution): num = d.get(slice, 0)
def timewrite(requests, start, end, resolution): max_requests = 0 print "Start: %s End: %s Resolution: %d secs" % \ (tick2str(start), tick2str(end), resolution) print "-" * 78 print print "Date/Time #requests requests/second" d = {} for r in requests: t = r.start slice = getTimeslice(resolution,t)...
76070c7cdc68bf22cdf41234ce64835eb149b1ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/76070c7cdc68bf22cdf41234ce64835eb149b1ae/requestprofiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1658, 12341, 12, 11420, 16, 787, 16, 679, 16, 7861, 4672, 943, 67, 11420, 273, 374, 225, 1172, 315, 1685, 30, 738, 87, 565, 4403, 30, 738, 87, 282, 24933, 30, 738, 72, 18043, 6, 738,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1658, 12341, 12, 11420, 16, 787, 16, 679, 16, 7861, 4672, 943, 67, 11420, 273, 374, 225, 1172, 315, 1685, 30, 738, 87, 565, 4403, 30, 738, 87, 282, 24933, 30, 738, 72, 18043, 6, 738,...
self.objectChoice = wxChoice(self.panel_1, self.objectChoiceId , choices=["vtkImageThreshold"])
self.objectChoice = wxChoice(self.panel_1, self.objectChoiceId , choices=["vtkImageReader"])
def __init__(self, *args, **kwds): # begin wxGlade: rawVolumeRDRViewFrame.__init__ kwds["style"] = wxCAPTION|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxSYSTEM_MENU|wxRESIZE_BORDER wxFrame.__init__(self, *args, **kwds) self.panel_1 = wxPanel(self, -1) self.label_1 = wxStaticText(self.panel_1, -1, "Filename") self.filenameText = wx...
8e1e8d7123d97787a978f4db4b7e4b02e0046f1d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4494/8e1e8d7123d97787a978f4db4b7e4b02e0046f1d/rawVolumeRDRViewFrame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 16, 2826, 25577, 4672, 468, 2376, 7075, 21308, 2486, 30, 1831, 4545, 54, 6331, 1767, 3219, 16186, 2738, 972, 17149, 9614, 4060, 11929, 273, 7075, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 380, 1968, 16, 2826, 25577, 4672, 468, 2376, 7075, 21308, 2486, 30, 1831, 4545, 54, 6331, 1767, 3219, 16186, 2738, 972, 17149, 9614, 4060, 11929, 273, 7075, ...
@rtype: C{string}
def _write_navbar(self, public, private, where=None, top=0): """ @return: The HTML code for a navigation bar on the given type of page. The navigation bar typically looks like:: [ Package Module Class Tree Index Help ] @rtype: C{string} @param where: An identifier indicating what page we're creating a navigation bar...
dad6dd09c82d3878a78d977cc13da79d4420db2b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/dad6dd09c82d3878a78d977cc13da79d4420db2b/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 11589, 3215, 12, 2890, 16, 1071, 16, 3238, 16, 1625, 33, 7036, 16, 1760, 33, 20, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 10394, 4653, 603, 326, 864, 618, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2626, 67, 11589, 3215, 12, 2890, 16, 1071, 16, 3238, 16, 1625, 33, 7036, 16, 1760, 33, 20, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 10394, 4653, 603, 326, 864, 618, ...
self.waitingToRunningRatio = gConfig.getValue('LocalSite/waitingToRunningRatio', WAITING_TO_RUNNING_RATIO) self.maxWaitingJobs = gConfig.getValue('LocalSite/maxWaitingJobs', MAX_WAITING_JOBS) self.maxNumberJobs = gConfig.getValue('LocalSite/maxNumberJobs', MAX_NUMBER_JOBS) PilotDirector.__init__( self, submitPool )
self.sharedArea = gConfig.getValue('LocalSite/SharedArea') if not self.sharedArea: self.log.error(' Con not run DIRAC Director without Shared Area') sys.exit() self.waitingToRunningRatio = gConfig.getValue('LocalSite/WaitingToRunningRatio', WAITING_TO_RUNNING_RATIO) self.maxWaitingJobs = gConfig.getValue('LocalSite/Ma...
def __init__( self, submitPool ): """ Define some defaults and call parent __init__ """ self.gridMiddleware = 'DIRAC'
d4abebe0f52eb23d65894d6e3e3c5d75eba9084e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/d4abebe0f52eb23d65894d6e3e3c5d75eba9084e/DIRACPilotDirector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 4879, 2864, 262, 30, 3536, 13184, 2690, 3467, 471, 745, 982, 1001, 2738, 972, 3536, 365, 18, 5222, 9410, 565, 273, 296, 4537, 2226, 11, 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, 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, 365, 16, 4879, 2864, 262, 30, 3536, 13184, 2690, 3467, 471, 745, 982, 1001, 2738, 972, 3536, 365, 18, 5222, 9410, 565, 273, 296, 4537, 2226, 11, 2, -100, -100, -10...
re.sub(r'\r?\n', CRLF, data))
re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data))
def quotedata(data): """Quote data for email. Double leading '.', and change Unix newline '\n' into Internet CRLF end-of-line.""" return re.sub(r'(?m)^\.', '..', re.sub(r'\r?\n', CRLF, data))
9cc6c7b00f7761dd722ad6a9440a98985710edf2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/9cc6c7b00f7761dd722ad6a9440a98985710edf2/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9298, 396, 12, 892, 4672, 3536, 10257, 501, 364, 2699, 18, 225, 3698, 7676, 2611, 16, 471, 2549, 9480, 9472, 2337, 82, 11, 1368, 21352, 21791, 679, 17, 792, 17, 1369, 12123, 327, 283, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9298, 396, 12, 892, 4672, 3536, 10257, 501, 364, 2699, 18, 225, 3698, 7676, 2611, 16, 471, 2549, 9480, 9472, 2337, 82, 11, 1368, 21352, 21791, 679, 17, 792, 17, 1369, 12123, 327, 283, ...
num_lamd = int(os.popen('pgrep -u www-data lamd | wc').readline().split()[0])
num_lamd = int(os.popen('pgrep -u www lamd | wc').readline().split()[0])
def my_queue(MAX_NUM_PROCS, runningProcs = runningProcs, ADD_PROCS = 1, CHECK_QUEUE = 23, MAX_DURATION_TRY = 25 * 3600): """ Wait here until the number of processes is smaller than MAX_NUM_PROCS and number of slaves smaller than MAX_NUM_PROCS + ADD_PROCS (so we allow for other apps. launching lamd). But only wait for M...
7c83e1121eff8acfee80e4a2e52e0cef582c214f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6463/7c83e1121eff8acfee80e4a2e52e0cef582c214f/runAndCheck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3399, 67, 4000, 12, 6694, 67, 6069, 67, 3373, 4596, 16, 3549, 626, 2143, 273, 3549, 626, 2143, 16, 11689, 67, 3373, 4596, 273, 404, 16, 14565, 67, 19533, 273, 10213, 16, 4552, 67, 2495...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3399, 67, 4000, 12, 6694, 67, 6069, 67, 3373, 4596, 16, 3549, 626, 2143, 273, 3549, 626, 2143, 16, 11689, 67, 3373, 4596, 273, 404, 16, 14565, 67, 19533, 273, 10213, 16, 4552, 67, 2495...
d = np.absolute(np.arctanh(x)/np.arctan(1j*x).imag - 1)
z = (1j*x).astype(dtype) d = np.absolute(np.arctanh(x)/np.arctan(z).imag - 1)
def check(x, rtol): d = np.absolute(np.arcsinh(x)/np.arcsinh(x+0j).real - 1) assert np.all(d < rtol), (np.argmax(d), x[np.argmax(d)], d.max(), 'arcsinh')
a122b90e7b952dd4a1cbf1753aaf753d53f29487 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/a122b90e7b952dd4a1cbf1753aaf753d53f29487/test_umath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 92, 16, 436, 3490, 4672, 302, 273, 1130, 18, 12547, 12, 6782, 18, 297, 2143, 267, 76, 12, 92, 13176, 6782, 18, 297, 2143, 267, 76, 12, 92, 15, 20, 78, 2934, 7688, 300, 404...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 92, 16, 436, 3490, 4672, 302, 273, 1130, 18, 12547, 12, 6782, 18, 297, 2143, 267, 76, 12, 92, 13176, 6782, 18, 297, 2143, 267, 76, 12, 92, 15, 20, 78, 2934, 7688, 300, 404...
- bw + 5, self._unitsize - bh,
- bw + rad, self._unitsize - bh,
def visitShelf(self, shelf): # e is our shelf e = self._image.createElement("g") title = self._image.createElement("title") title.appendChild(self._image.createTextNode("Shelf 1U")) e.appendChild(title)
864e40830e50f320c5491647f8febfe0c8a58ee7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5639/864e40830e50f320c5491647f8febfe0c8a58ee7/rackview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 1555, 19079, 12, 2890, 16, 699, 19079, 4672, 468, 425, 353, 3134, 699, 19079, 425, 273, 365, 6315, 2730, 18, 2640, 1046, 2932, 75, 7923, 2077, 273, 365, 6315, 2730, 18, 2640, 1046,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1555, 19079, 12, 2890, 16, 699, 19079, 4672, 468, 425, 353, 3134, 699, 19079, 425, 273, 365, 6315, 2730, 18, 2640, 1046, 2932, 75, 7923, 2077, 273, 365, 6315, 2730, 18, 2640, 1046,...
self.game.turned.accept(card) del self.cards[-1] card.showface() def bottomhandler(self, event): cards = self.game.turned.cards cards.reverse() for card in cards: card.showback() self.accept(card) self.game.turned.reset() class MovingStack(Stack): thecards = None theindex = None def clickhandler(self, event): self....
if not card.face_shown: self.userclickhandler()
def releasehandler(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, 3992, 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, 3992, 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...
recurrent_dates = map(lambda x:x.strftime('%Y-%m-%d %H:%M:%S'), re_dates)
recurrent_dates = map(lambda x:x.strftime('%Y-%m-%d %H:%M:%S', timezone=True), re_dates)
def get_recurrent_dates(self, rrulestring, exdate, startdate=None): todate = parser.parse if not startdate: startdate = datetime.now() else: startdate = todate(startdate) rset1 = rrulestr(rrulestring, dtstart=startdate, forceset=True) for date in exdate: datetime_obj = datetime.strptime(date, "%Y-%m-%d %H:%M:%S")
04513f20a49d82a07a44f95c0c1589a0bb666538 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/04513f20a49d82a07a44f95c0c1589a0bb666538/calendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 266, 2972, 67, 9683, 12, 2890, 16, 436, 7482, 371, 16, 431, 712, 16, 787, 712, 33, 7036, 4672, 358, 712, 273, 2082, 18, 2670, 309, 486, 787, 712, 30, 787, 712, 273, 3314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 266, 2972, 67, 9683, 12, 2890, 16, 436, 7482, 371, 16, 431, 712, 16, 787, 712, 33, 7036, 4672, 358, 712, 273, 2082, 18, 2670, 309, 486, 787, 712, 30, 787, 712, 273, 3314, ...
in parentheses and allows for multiple entries in one record separated by punctuation marks.
in parentheses. """ def getMatchFunction(self, searchStr): regex = re.compile('/' + '(\s+|\([^\)]+\))*' + re.escape(searchStr) + '(\s+|\([^\)]+\))*' + '/') return lambda translation: regex.search(translation) is not None class HanDeDictTranslationSearchStrategy(ExactTranslationSearchStrategy): """ HanDeDict trans...
def getMatchFunction(self, searchStr): """ Gets a function that returns C{True} if the entry's translation matches the search string.
39762be9d5e0f7b44fdb58a0b67534d6ef5db03b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/39762be9d5e0f7b44fdb58a0b67534d6ef5db03b/dictionary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 2060, 2083, 12, 2890, 16, 1623, 1585, 4672, 3536, 11881, 279, 445, 716, 1135, 385, 95, 5510, 97, 309, 326, 1241, 1807, 4794, 1885, 326, 1623, 533, 18, 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, 0, 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, 336, 2060, 2083, 12, 2890, 16, 1623, 1585, 4672, 3536, 11881, 279, 445, 716, 1135, 385, 95, 5510, 97, 309, 326, 1241, 1807, 4794, 1885, 326, 1623, 533, 18, 2, -100, -100, -100, -100, -...
cmd = self.command("mkdir", "-m", "This directory will host the upstream sources") svnmkdir = ExternalCommand(command=cmd) svnmkdir.execute(self.repository + self.module) if svnmkdir.exit_status: raise TargetInitializationFailure("Was not able to create the " "module %r, maybe more than " "one level directory?" % self....
cmd = self.command("ls") svnls = ExternalCommand(command=cmd) svnls.execute(self.repository + self.module) if svnls.exit_status: cmd = self.command("mkdir", "-m", "This directory will host the upstream sources") svnmkdir = ExternalCommand(command=cmd) svnmkdir.execute(self.repository + self.module) if svnmkdir.exit_sta...
def create(self): """ Create a local SVN repository, if it does not exist. """
1e833688f62dea2c16103820dfa0564339607601 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5981/1e833688f62dea2c16103820dfa0564339607601/svn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 4672, 3536, 1788, 279, 1191, 29537, 50, 3352, 16, 309, 518, 1552, 486, 1005, 18, 3536, 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, 752, 12, 2890, 4672, 3536, 1788, 279, 1191, 29537, 50, 3352, 16, 309, 518, 1552, 486, 1005, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 15) else quickfix.StringField.__init__(self, 15, 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, 4711, 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, 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, 4711, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 1...
net = self.bayes[bone]
if bone in self.bayes: net = self.bayes[bone]
def combine(self, bones, items, position=0, current=[], current_probability=1.0): """Recusively create combinatoric successors.
6652b10df9e0e6d4d24a474c0c99a679f8fce877 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/6652b10df9e0e6d4d24a474c0c99a679f8fce877/Interpolate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8661, 12, 2890, 16, 324, 5322, 16, 1516, 16, 1754, 33, 20, 16, 783, 22850, 6487, 783, 67, 22390, 33, 21, 18, 20, 4672, 3536, 5650, 407, 4492, 752, 3894, 4240, 335, 25190, 18, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8661, 12, 2890, 16, 324, 5322, 16, 1516, 16, 1754, 33, 20, 16, 783, 22850, 6487, 783, 67, 22390, 33, 21, 18, 20, 4672, 3536, 5650, 407, 4492, 752, 3894, 4240, 335, 25190, 18, 2, -100...
resp, lines = self.longcmd('XOVER ' + start + '-' + end)
resp, lines = self.longcmd('XOVER ' + start + '-' + end, file)
def xover(self,start,end): """Process an XOVER command (optional server extension) Arguments: - start: start of range - end: end of range Returns: - resp: server response if successful - list: list of (art-nr, subject, poster, date, id, references, size, lines)"""
f8c3072b3a95680a34ccbad8c83642b197b6aad9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/f8c3072b3a95680a34ccbad8c83642b197b6aad9/nntplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 1643, 12, 2890, 16, 1937, 16, 409, 4672, 3536, 2227, 392, 1139, 12959, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 787, 30, 787, 434, 1048, 300, 679, 30, 679, 434, 1048, 286...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 619, 1643, 12, 2890, 16, 1937, 16, 409, 4672, 3536, 2227, 392, 1139, 12959, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 787, 30, 787, 434, 1048, 300, 679, 30, 679, 434, 1048, 286...
for payload in cataloginfo.get('payloads',[]):
for payload in cataloginfo.get('payloads', []):
def getAdobeCatalogInfo(mountpoint, pkgname=""): '''Used by makepkginfo to build pkginfo data for Adobe installers/updaters''' # look for AdobeDeploymentManager (AAMEE installer) deploymentmanager = findAdobeDeploymentManager(mountpoint) if deploymentmanager: dirpath = os.path.dirname(deploymentmanager) cataloginfo = ...
d017f8be802d57d1f1e35025b468e64fd1d43ce9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6241/d017f8be802d57d1f1e35025b468e64fd1d43ce9/adobeutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 1871, 947, 73, 9769, 966, 12, 4778, 1153, 16, 29348, 1546, 6, 4672, 9163, 6668, 635, 29796, 881, 14931, 1376, 358, 1361, 3475, 1376, 501, 364, 4052, 947, 73, 3799, 414, 19, 416, 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, 336, 1871, 947, 73, 9769, 966, 12, 4778, 1153, 16, 29348, 1546, 6, 4672, 9163, 6668, 635, 29796, 881, 14931, 1376, 358, 1361, 3475, 1376, 501, 364, 4052, 947, 73, 3799, 414, 19, 416, 3...
dnode=None
dnode = None metakey = ''
def parse_text(request, page, text): pagename = page.page_name from copy import copy newreq = copy(request) newreq.cfg = copy(request.cfg) newreq.page = lcpage = LinkCollectingPage(newreq, pagename, text) newreq.theme = copy(request.theme) newreq.theme.request = newreq newreq.theme.cfg = newreq.cfg parserclass = impor...
5234004c3db3b197814e7217821897ae9cf97cb4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/888/5234004c3db3b197814e7217821897ae9cf97cb4/savegraphdata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 955, 12, 2293, 16, 1363, 16, 977, 4672, 4262, 1069, 273, 1363, 18, 2433, 67, 529, 225, 628, 1610, 1930, 1610, 394, 3658, 273, 1610, 12, 2293, 13, 394, 3658, 18, 7066, 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, 1109, 67, 955, 12, 2293, 16, 1363, 16, 977, 4672, 4262, 1069, 273, 1363, 18, 2433, 67, 529, 225, 628, 1610, 1930, 1610, 394, 3658, 273, 1610, 12, 2293, 13, 394, 3658, 18, 7066, 273, ...
self.notify.debug("delayDeleteCount for doId %s now 0" % (self.doId))
assert(self.notify.debug("delayDeleteCount for doId %s now 0" % (self.doId)))
def delayDelete(self, flag): # Flag should be 0 or 1, meaning increment or decrement count # Also see DelayDelete.py
4661ac427c38464e5c9cefaa283687baf3f33af3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/4661ac427c38464e5c9cefaa283687baf3f33af3/DistributedObject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4624, 2613, 12, 2890, 16, 2982, 4672, 468, 9960, 1410, 506, 374, 578, 404, 16, 12256, 5504, 578, 15267, 1056, 468, 8080, 2621, 20165, 2613, 18, 2074, 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, 0, 0, 0, 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, 4624, 2613, 12, 2890, 16, 2982, 4672, 468, 9960, 1410, 506, 374, 578, 404, 16, 12256, 5504, 578, 15267, 1056, 468, 8080, 2621, 20165, 2613, 18, 2074, 2, -100, -100, -100, -100, -100, -10...
length = len(self.lines) - self.hei - 1
length = len(self.lines) - self.hei
def move(self, relative=0, absolute=None, pages=False): i = self.scroll_begin if isinstance(absolute, int): i = absolute
c0602b62bb3e097172e19f78a7429b8205acd799 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5729/c0602b62bb3e097172e19f78a7429b8205acd799/pager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 12, 2890, 16, 3632, 33, 20, 16, 4967, 33, 7036, 16, 4689, 33, 8381, 4672, 277, 273, 365, 18, 12033, 67, 10086, 309, 1549, 12, 12547, 16, 509, 4672, 277, 273, 4967, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 12, 2890, 16, 3632, 33, 20, 16, 4967, 33, 7036, 16, 4689, 33, 8381, 4672, 277, 273, 365, 18, 12033, 67, 10086, 309, 1549, 12, 12547, 16, 509, 4672, 277, 273, 4967, 2, -100, -10...
oldTime = date.LIGOTimeGPS(trigger.end_time,trigger.end_time_ns) ringIdx = rings.find(oldTime) ring = rings[ringIdx] if ringIdx == len(rings): print >> sys.stderr, "DireErrorAboutRounding" sys.exit(1) assert trigger.end_time in ring newTime = slideTimeOnRing(oldTime, shifts[trigger.ifo], ring) trigger.end_time = ne...
end_time = trigger.get_end() trigger.set_end(slideTimeOnRing(end_time, shifts[trigger.ifo], rings[rings.find(end_time)]))
def slideTriggersOnRings(triggerList, rings, shifts): """ In-place modify trigger_list so that triggers are slid by appropriate value of shifts along their enclosing ring segment by the algorithm given in XXX. This function calls the function slideTimeOnRing @param triggerList: a SnglInspiralTable @param rings: ...
0940c03f9577a1fa78504cf2da9aedf1e61e59a8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3592/0940c03f9577a1fa78504cf2da9aedf1e61e59a8/SnglInspiralUtils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12701, 15114, 1398, 54, 899, 12, 10668, 682, 16, 26537, 16, 27552, 4672, 3536, 657, 17, 964, 5612, 3080, 67, 1098, 1427, 716, 11752, 854, 2020, 350, 635, 5505, 460, 434, 27552, 7563, 367...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12701, 15114, 1398, 54, 899, 12, 10668, 682, 16, 26537, 16, 27552, 4672, 3536, 657, 17, 964, 5612, 3080, 67, 1098, 1427, 716, 11752, 854, 2020, 350, 635, 5505, 460, 434, 27552, 7563, 367...
tmp = [os.path.join(root, file) for file in files \ if datafile_re.match(file, 1)]
tmp = [os.path.join(root, file) for file in files if datafile_re.match(file, 1)]
def setup(**kwargs): if kwargs.has_key("classifiers"): del kwargs["classifiers"] _setup(**kwargs)
1b1718d095f7d460c310af35df3dca3ad640296c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/1b1718d095f7d460c310af35df3dca3ad640296c/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 636, 4333, 4672, 309, 1205, 18, 5332, 67, 856, 2932, 1106, 3383, 6, 4672, 1464, 1205, 9614, 1106, 3383, 11929, 389, 8401, 12, 636, 4333, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 3875, 12, 636, 4333, 4672, 309, 1205, 18, 5332, 67, 856, 2932, 1106, 3383, 6, 4672, 1464, 1205, 9614, 1106, 3383, 11929, 389, 8401, 12, 636, 4333, 13, 2, -100, -100, -100, -100, -100, ...
node.appendChild(doc.createTextNode(str(self.__dict__[attr])))
node.appendChild(doc.createTextNode(str(value)))
def toxml(self): doc = getDOMImplementation().createDocument(None, 'person', None) person = doc.documentElement #person.setAttribute('xmlns', "FIXME") for attr in attributes: if attr == 'friends': friends = doc.createElement(attr) person.appendChild(friends) for friend in self.__dict__[attr]: node = doc.createElement...
9d0c9f8bcde0ddb05b911961b6e66feb2ebcfaf4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2682/9d0c9f8bcde0ddb05b911961b6e66feb2ebcfaf4/foaf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 2902, 12, 2890, 4672, 997, 225, 273, 2343, 1872, 13621, 7675, 2640, 2519, 12, 7036, 16, 296, 12479, 2187, 599, 13, 6175, 273, 997, 18, 5457, 1046, 468, 12479, 18, 542, 1499, 2668, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 358, 2902, 12, 2890, 4672, 997, 225, 273, 2343, 1872, 13621, 7675, 2640, 2519, 12, 7036, 16, 296, 12479, 2187, 599, 13, 6175, 273, 997, 18, 5457, 1046, 468, 12479, 18, 542, 1499, 2668, ...
class _Nothing: pass
def getAdapter(obj, interfaceClass, default=_default, adapterClassLocator=None): """Return an object that implements the given interface. The result will be a wrapper around the object passed as a paramter, or the parameter itself if it already implements the interface. If no adapter can be found, the 'default' parame...
3e2d62bace8f4775ead23ef736309a0e08f49caf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/3e2d62bace8f4775ead23ef736309a0e08f49caf/components.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16679, 12, 2603, 16, 1560, 797, 16, 805, 33, 67, 1886, 16, 4516, 797, 5786, 33, 7036, 4672, 3536, 990, 392, 733, 716, 4792, 326, 864, 1560, 18, 225, 1021, 563, 903, 506, 279, 4053, 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, 16679, 12, 2603, 16, 1560, 797, 16, 805, 33, 67, 1886, 16, 4516, 797, 5786, 33, 7036, 4672, 3536, 990, 392, 733, 716, 4792, 326, 864, 1560, 18, 225, 1021, 563, 903, 506, 279, 4053, 6...
else: self.actualFeed.update() finally: self.endRead()
finally: self.endRead() self.actualFeed.update()
def update(self): self.beginRead() try: if self.loading: return elif self.errorState: self.loading = True self.errorState = False self.beginChange() self.endChange() thread = Thread(target=lambda: self.generateFeed()) thread.setDaemon(False) thread.start() return else: self.actualFeed.update() finally: self.endRead()
9a02e48f266b55f9dbcff07583f864988f8778a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/9a02e48f266b55f9dbcff07583f864988f8778a0/feed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 365, 18, 10086, 1994, 1435, 775, 30, 309, 365, 18, 15174, 30, 327, 1327, 365, 18, 1636, 1119, 30, 365, 18, 15174, 273, 1053, 365, 18, 1636, 1119, 273, 1083, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 365, 18, 10086, 1994, 1435, 775, 30, 309, 365, 18, 15174, 30, 327, 1327, 365, 18, 1636, 1119, 30, 365, 18, 15174, 273, 1053, 365, 18, 1636, 1119, 273, 1083, 365, ...