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
return SkewTableau( filter(lambda z: z != [], map(lambda x: filter(lambda y: y <= n, x), t)) )
return SkewTableau( filter(lambda z: z != [], map(lambda x: filter(lambda y: y is None or y <= n, x), t)) )
def restrict(self, n): """ Returns the restriction of the standard skew tableau to all the numbers less than or equal to n.
4aa4f3b04dc69d5e9cf0e27f7fda4e72cb300193 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/4aa4f3b04dc69d5e9cf0e27f7fda4e72cb300193/skew_tableau.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13108, 12, 2890, 16, 290, 4672, 3536, 2860, 326, 9318, 434, 326, 4529, 20001, 1014, 8377, 358, 777, 326, 5600, 5242, 2353, 578, 3959, 358, 290, 18, 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, 13108, 12, 2890, 16, 290, 4672, 3536, 2860, 326, 9318, 434, 326, 4529, 20001, 1014, 8377, 358, 777, 326, 5600, 5242, 2353, 578, 3959, 358, 290, 18, 2, -100, -100, -100, -100, -100, -100,...
cmd = cmd + ' /OUT:"' + dll + '" /IMPLIB:"' + lib + '" /MAP:NUL' cmd = cmd + ' /LIBPATH:"' + PREFIX + '/python/libs" ' for x in wobj: cmd = cmd + ' "' + x + '"' if (dll[-4:]==".exe"): cmd = cmd + ' "' + PREFIX + '/tmp/pandaIcon.res"'
cmd = cmd + ' /OUT:' + dll + ' /IMPLIB:' + lib + ' /MAP:NUL' cmd = cmd + ' /LIBPATH:' + PREFIX + '/python/libs ' for x in wobj: cmd = cmd + ' ' + x if (dll[-4:]==".exe"): cmd = cmd + ' ' + PREFIX + '/tmp/pandaIcon.res'
def CompileLink(dll=0, obj=[], opts=[], xdep=[]): if (dll==0): sys.exit("Syntax error in CompileLink directive") if (COMPILER=="MSVC7"): ALLTARGETS.append(PREFIX+"/bin/"+dll) lib = PREFIX+"/lib/"+dll[:-4]+".lib" dll = PREFIX+"/bin/"+dll wobj = [] for x in obj: suffix = x[-4:] if (suffix==".obj"): wobj.append(PREFIX+...
c85190276cd6a9b01b212e9fdd00c907bf653374 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/c85190276cd6a9b01b212e9fdd00c907bf653374/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16143, 2098, 12, 27670, 33, 20, 16, 1081, 22850, 6487, 1500, 22850, 6487, 619, 15037, 33, 8526, 4672, 309, 261, 27670, 631, 20, 4672, 2589, 18, 8593, 2932, 8070, 555, 316, 16143, 2098, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16143, 2098, 12, 27670, 33, 20, 16, 1081, 22850, 6487, 1500, 22850, 6487, 619, 15037, 33, 8526, 4672, 309, 261, 27670, 631, 20, 4672, 2589, 18, 8593, 2932, 8070, 555, 316, 16143, 2098, 8...
if fromauth != maintainer:
if fromauth != sender:
def __build_message(tmpl, patch, patch_nr, total_nr, msg_id, ref_id, options): """Build the message to be sent via SMTP """ p = crt_series.get_patch(patch) descr = p.get_description().strip() descr_lines = descr.split('\n') short_descr = descr_lines[0].rstrip() long_descr = '\n'.join(descr_lines[1:]).lstrip() authna...
901288c20717c357bfd7b640fbd2e3d24d4b636b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12366/901288c20717c357bfd7b640fbd2e3d24d4b636b/mail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3510, 67, 2150, 12, 24717, 16, 4729, 16, 4729, 67, 11611, 16, 2078, 67, 11611, 16, 1234, 67, 350, 16, 1278, 67, 350, 16, 702, 4672, 3536, 3116, 326, 883, 358, 506, 3271, 3970, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3510, 67, 2150, 12, 24717, 16, 4729, 16, 4729, 67, 11611, 16, 2078, 67, 11611, 16, 1234, 67, 350, 16, 1278, 67, 350, 16, 702, 4672, 3536, 3116, 326, 883, 358, 506, 3271, 3970, ...
def decode(in_file, out_file=None, mode=None):
def decode(in_file, out_file=None, mode=None, quiet=0):
def decode(in_file, out_file=None, mode=None): """Decode uuencoded file""" # # Open the input file, if needed. # if in_file == '-': in_file = sys.stdin elif type(in_file) == type(''): in_file = open(in_file) # # Read until a begin is encountered or we've exhausted the file # while 1: hdr = in_file.readline() if not hdr...
7dd503dda36ba97cf1f0dc07da0505ba843532d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/7dd503dda36ba97cf1f0dc07da0505ba843532d7/uu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2495, 12, 267, 67, 768, 16, 596, 67, 768, 33, 7036, 16, 1965, 33, 7036, 16, 10902, 33, 20, 4672, 3536, 6615, 582, 89, 10787, 585, 8395, 468, 468, 3502, 326, 810, 585, 16, 309, 3577, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2495, 12, 267, 67, 768, 16, 596, 67, 768, 33, 7036, 16, 1965, 33, 7036, 16, 10902, 33, 20, 4672, 3536, 6615, 582, 89, 10787, 585, 8395, 468, 468, 3502, 326, 810, 585, 16, 309, 3577, ...
except ValueError, m: logging.critical( unicodeC( m ) + u"""File was supposed to be \ torrent data, but could not be bdecoded, indicates it is not torrent data""")
except ValueError: logging.critical(''.join((traceback.format_exc() , u"""File was supposed to be torrent data, but could not be bdecoded""")))
def getFileSize( info, data=None ): u"""give me the HTTP headers (info) and, if you expect it to be a torrent file, the actual file, i'll return the filesize, of type None if not determined""" logging.debug(u"determining size of file") size = None if 'torrent' in info.gettype(): if data: if hasattr(data, 'read'): data ...
0d66125a786b9ec925cf42d85180c8c854987932 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/0d66125a786b9ec925cf42d85180c8c854987932/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 1225, 12, 1123, 16, 501, 33, 7036, 262, 30, 582, 8395, 75, 688, 1791, 326, 2239, 1607, 261, 1376, 13, 471, 16, 309, 1846, 4489, 518, 358, 506, 279, 17351, 585, 16, 326, 3214, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 1225, 12, 1123, 16, 501, 33, 7036, 262, 30, 582, 8395, 75, 688, 1791, 326, 2239, 1607, 261, 1376, 13, 471, 16, 309, 1846, 4489, 518, 358, 506, 279, 17351, 585, 16, 326, 3214, 5...
else
else:
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 364) else quickfix.IntField.__init__(self, 364, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 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, 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, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 273...
second_descent = int(second_descent)
second_descent = int(second_descent)
def two_descent(self, verbose = True, selmer_only = False, first_limit = 20, second_limit = 8, n_aux = -1, second_descent = True): """ Compute 2-descent data for this curve.
c2ebf8bfa15bcdb4318f58bfcf2982e3a69cce87 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/c2ebf8bfa15bcdb4318f58bfcf2982e3a69cce87/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2795, 67, 5569, 319, 12, 2890, 16, 3988, 273, 1053, 16, 357, 6592, 67, 3700, 273, 1083, 16, 1122, 67, 3595, 273, 4200, 16, 2205, 67, 3595, 273, 1725, 16, 290, 67, 18196, 273, 300, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2795, 67, 5569, 319, 12, 2890, 16, 3988, 273, 1053, 16, 357, 6592, 67, 3700, 273, 1083, 16, 1122, 67, 3595, 273, 4200, 16, 2205, 67, 3595, 273, 1725, 16, 290, 67, 18196, 273, 300, 21...
self.cookedq = ''
self.cookedq = b''
def read_all(self): """Read all data until EOF; block until connection closed.""" self.process_rawq() while not self.eof: self.fill_rawq() self.process_rawq() buf = self.cookedq self.cookedq = '' return buf
a69ff7792116218bfddc90e5e2776d431495b39b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/a69ff7792116218bfddc90e5e2776d431495b39b/telnetlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 454, 12, 2890, 4672, 3536, 1994, 777, 501, 3180, 6431, 31, 1203, 3180, 1459, 4375, 12123, 365, 18, 2567, 67, 1899, 85, 1435, 1323, 486, 365, 18, 9339, 30, 365, 18, 5935, 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, 855, 67, 454, 12, 2890, 4672, 3536, 1994, 777, 501, 3180, 6431, 31, 1203, 3180, 1459, 4375, 12123, 365, 18, 2567, 67, 1899, 85, 1435, 1323, 486, 365, 18, 9339, 30, 365, 18, 5935, 67, ...
self._debug('opcode: getattr | self: %s | path: %s' % (repr(self), path))
self._debug('opcode: getattr (%d) | self: %s | path: %s' % (self.GetContext()['pid'], repr(self), path))
def getattr(self, path): ''' Callback which is called into when a stat() is performed on the user side of things.
fa456b369f1a4cae9b0c4eddb7f2cfeaf42d5bc1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10739/fa456b369f1a4cae9b0c4eddb7f2cfeaf42d5bc1/fusethread.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3869, 12, 2890, 16, 589, 4672, 9163, 8444, 1492, 353, 2566, 1368, 1347, 279, 610, 1435, 353, 9591, 603, 326, 729, 4889, 434, 9198, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3869, 12, 2890, 16, 589, 4672, 9163, 8444, 1492, 353, 2566, 1368, 1347, 279, 610, 1435, 353, 9591, 603, 326, 729, 4889, 434, 9198, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not dir.startswith('recent.files://'):
if not dir.startswith('recent.files://') and \ not dir.startswith('config://'):
def open(self, node): if node and node.isFolderish(): try: self.lcFiles.refreshItems(self.modImages, node) except ExplorerNodes.TransportError, v: wxMessageBox(str(v), 'Transport Error', wxOK | wxICON_EXCLAMATION | wxCENTRE) return self.updatePathLabel() if self.style & wxSAVE: btn = saveStr else: btn = openStr self.bt...
74805696b752da34fc7f09751590d5ae4661ea0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/74805696b752da34fc7f09751590d5ae4661ea0c/FileDlg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 756, 4672, 309, 756, 471, 756, 18, 291, 3899, 1468, 13332, 775, 30, 365, 18, 17704, 2697, 18, 9144, 3126, 12, 2890, 18, 1711, 8946, 16, 756, 13, 1335, 1312, 11766, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 756, 4672, 309, 756, 471, 756, 18, 291, 3899, 1468, 13332, 775, 30, 365, 18, 17704, 2697, 18, 9144, 3126, 12, 2890, 18, 1711, 8946, 16, 756, 13, 1335, 1312, 11766, ...
domdir = dom[i] if getattr(domdir[0],'id',None)=='fctau0':
if getattr(domitem[0],'id',None)=='fctau0':
def forecast_axis( self, varname ): """returns a tuple (axis,start,length,true_length) where axis is in the forecast direction""" # TO DO: see whether I can get an axis without starting with a variable name. # Most variables will have a suitable domain.
d89492f6d43d83e591ac4c1662522679174b9637 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/41/d89492f6d43d83e591ac4c1662522679174b9637/forecast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18763, 67, 4890, 12, 365, 16, 15434, 262, 30, 3536, 6154, 279, 3193, 261, 4890, 16, 1937, 16, 2469, 16, 3767, 67, 2469, 13, 1625, 2654, 353, 316, 326, 18763, 4068, 8395, 468, 8493, 546...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18763, 67, 4890, 12, 365, 16, 15434, 262, 30, 3536, 6154, 279, 3193, 261, 4890, 16, 1937, 16, 2469, 16, 3767, 67, 2469, 13, 1625, 2654, 353, 316, 326, 18763, 4068, 8395, 468, 8493, 546...
for _ in range(10):
i = 0 while True: i += 1
def RunAndGetFileList(verbose, args, cwd, file_list, stdout=None): """Runs svn checkout, update, or status, output to stdout.
8cedc080d5dedf747e831636832db4545029dd9a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/8cedc080d5dedf747e831636832db4545029dd9a/scm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 14042, 26098, 12, 11369, 16, 833, 16, 7239, 16, 585, 67, 1098, 16, 3909, 33, 7036, 4672, 3536, 9361, 5893, 82, 13926, 16, 1089, 16, 578, 1267, 16, 876, 358, 3909, 18, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1939, 14042, 26098, 12, 11369, 16, 833, 16, 7239, 16, 585, 67, 1098, 16, 3909, 33, 7036, 4672, 3536, 9361, 5893, 82, 13926, 16, 1089, 16, 578, 1267, 16, 876, 358, 3909, 18, 2, -100, ...
- ``params`` - The parameters of func. Correspond to the dependent
- ``params`` - The parameters of func. Corresponds to the dependent
def to_cartesian(self, func, params): """ Returns a 3-tuple of functions, parameterized over ``params``, that represents the cartesian coordinates of the value of ``func``.
ae9bf5e0d28a56cbf9d189e5545c9a8340d806de /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/ae9bf5e0d28a56cbf9d189e5545c9a8340d806de/plot3d.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 11848, 13404, 12, 2890, 16, 1326, 16, 859, 4672, 3536, 2860, 279, 890, 17, 8052, 434, 4186, 16, 17629, 1879, 12176, 2010, 68, 9191, 716, 8686, 326, 24549, 5513, 434, 326, 460, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 11848, 13404, 12, 2890, 16, 1326, 16, 859, 4672, 3536, 2860, 279, 890, 17, 8052, 434, 4186, 16, 17629, 1879, 12176, 2010, 68, 9191, 716, 8686, 326, 24549, 5513, 434, 326, 460, ...
elif Flag._attrMap['kind'].validate(name):
elif name[-5:]=='_Flag' and Flag._attrMap['kind'].validate(name[:-5]):
def makeMarker(name): if Marker._attrMap['kind'].validate(name): m = Marker() m.kind = name elif Flag._attrMap['kind'].validate(name): m = Flag() m.kind = name m.size = 10 else: raise ValueError, "Invalid marker name %s" % name return m
a77c0498a33204c6e4648a002751383ee882429f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/a77c0498a33204c6e4648a002751383ee882429f/markers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 7078, 12, 529, 4672, 309, 14742, 6315, 1747, 863, 3292, 9224, 29489, 5662, 12, 529, 4672, 312, 273, 14742, 1435, 312, 18, 9224, 273, 508, 1327, 508, 18919, 25, 26894, 18920, 67, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7078, 12, 529, 4672, 309, 14742, 6315, 1747, 863, 3292, 9224, 29489, 5662, 12, 529, 4672, 312, 273, 14742, 1435, 312, 18, 9224, 273, 508, 1327, 508, 18919, 25, 26894, 18920, 67, 46...
def device_get:
def device_get():
def device_get: warnings.warn("device_get() is deprecated and will be removed", DeprecationWarning) # XXX
58f09f31f275f6d8c81df749d3dc7b8c9b8eb6ec /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5978/58f09f31f275f6d8c81df749d3dc7b8c9b8eb6ec/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2346, 67, 588, 13332, 5599, 18, 8935, 2932, 5964, 67, 588, 1435, 353, 6849, 471, 903, 506, 3723, 3113, 24041, 13, 468, 11329, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2346, 67, 588, 13332, 5599, 18, 8935, 2932, 5964, 67, 588, 1435, 353, 6849, 471, 903, 506, 3723, 3113, 24041, 13, 468, 11329, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
"""
r"""
def _latex_(self): """ Return latex representation of self.
c6cd577bd330ea3035200787708a7c922ef4d7c8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/c6cd577bd330ea3035200787708a7c922ef4d7c8/free_monoid_element.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 26264, 67, 12, 2890, 4672, 436, 8395, 2000, 25079, 4335, 434, 365, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 26264, 67, 12, 2890, 4672, 436, 8395, 2000, 25079, 4335, 434, 365, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
(_check_dates, 'Error! Task start-date must be lower then task end-date.', ['date_start', 'date_end']),
def _check_recursion(self, cr, uid, ids): obj_task = self.browse(cr, uid, ids[0]) parent_ids = [x.id for x in obj_task.parent_ids] children_ids = [x.id for x in obj_task.child_ids]
d5b36b50c4b4bd9b2ecad23fe7000b8bc93da25a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/d5b36b50c4b4bd9b2ecad23fe7000b8bc93da25a/project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 67, 31347, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 1081, 67, 4146, 273, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 63, 20, 5717, 982, 67, 2232, 273, 306, 92, 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, 389, 1893, 67, 31347, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 1081, 67, 4146, 273, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 63, 20, 5717, 982, 67, 2232, 273, 306, 92, 18, ...
return parent
return parent.__of__(self)
def _get_storage(self): parent = self.aq_parent if 'images' in parent.objectIds(['Folder']): return parent._getOb('images') else: return parent
c309ec18d1d7e19d29f8840fc7393f7e42a40c10 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3287/c309ec18d1d7e19d29f8840fc7393f7e42a40c10/NyImageContainer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 5697, 12, 2890, 4672, 982, 273, 365, 18, 69, 85, 67, 2938, 309, 296, 7369, 11, 316, 982, 18, 1612, 2673, 12, 3292, 3899, 3546, 4672, 327, 982, 6315, 588, 10516, 2668, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 5697, 12, 2890, 4672, 982, 273, 365, 18, 69, 85, 67, 2938, 309, 296, 7369, 11, 316, 982, 18, 1612, 2673, 12, 3292, 3899, 3546, 4672, 327, 982, 6315, 588, 10516, 2668, 7...
text = _('For optimal performance use django.contrib.sessions.backends.cache as the session engine')
text = _('For optimal performance use django.contrib.sessions.backends.cache as the session engine.')
def optimal_depcheck(): optimal = [] if not depcheck.test_db(): if depcheck.test_mysqldb(): text = _("Using the default sqlite3 database engine. sqlite is only suitable for small installs with a small number of users. Pootle will perform better with the mysql database enginge") else: text = _("Using the default sqlite...
14ed1d919997b49ada78a823d1a49847386f5bcd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11388/14ed1d919997b49ada78a823d1a49847386f5bcd/adminpages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16413, 67, 15037, 1893, 13332, 16413, 273, 5378, 225, 309, 486, 5993, 1893, 18, 3813, 67, 1966, 13332, 309, 5993, 1893, 18, 3813, 67, 12527, 1966, 13332, 977, 273, 389, 2932, 7736, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16413, 67, 15037, 1893, 13332, 16413, 273, 5378, 225, 309, 486, 5993, 1893, 18, 3813, 67, 1966, 13332, 309, 5993, 1893, 18, 3813, 67, 12527, 1966, 13332, 977, 273, 389, 2932, 7736, 326, ...
self.aboutus = KAboutApplicationDialog(self.aboutdata, self)
self.aboutus = KAboutApplicationDialog(self.aboutdata, self)
def __init__(self,parent=None,name=None): global standalone,isroot KGlobal.locale().insertCatalog("guidance")
3e2b3f02055da34dbac488f142f1c10ac9b399d8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1669/3e2b3f02055da34dbac488f142f1c10ac9b399d8/userconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 33, 7036, 16, 529, 33, 7036, 4672, 2552, 17676, 16, 291, 3085, 1475, 5160, 18, 6339, 7675, 6387, 9769, 2932, 14066, 1359, 7923, 2, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 33, 7036, 16, 529, 33, 7036, 4672, 2552, 17676, 16, 291, 3085, 1475, 5160, 18, 6339, 7675, 6387, 9769, 2932, 14066, 1359, 7923, 2, -100, -100, -100, ...
h.setParameterisedValue( p.parameters().filename ) self.assertEqual( p.parameters().filename.getValue().value, "testValue2" )
h.setParameterisedValue( p.parameters()["filename"] ) self.assertEqual( p.parameters()["filename"].getValue().value, "testValue2" )
def testNode( self ): """ Test ParameterisedHolderNode """ n = cmds.createNode( "ieParameterisedHolderNode" ) h = IECoreMaya.FnParameterisedHolder( str(n) ) self.assert_( h ) p = IECore.ParticleMeshOp() h.setParameterised( p ) p.parameters().filename = "testValue" h.setNodeValue( p.parameters().filename ) pl = h.par...
765d09f2550281a90528240432d2bee5ab9598e0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9042/765d09f2550281a90528240432d2bee5ab9598e0/ParameterisedHolder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 907, 12, 365, 262, 30, 3536, 7766, 5498, 5918, 6064, 907, 3536, 290, 273, 13446, 18, 2640, 907, 12, 315, 1385, 1662, 5918, 6064, 907, 6, 262, 366, 273, 10897, 4670, 49, 528, 69, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 907, 12, 365, 262, 30, 3536, 7766, 5498, 5918, 6064, 907, 3536, 290, 273, 13446, 18, 2640, 907, 12, 315, 1385, 1662, 5918, 6064, 907, 6, 262, 366, 273, 10897, 4670, 49, 528, 69, ...
def __init__(self, queryId, documents):
def __init__(self, queryId, provider, documents): """ :type provider: 3-tuple (login, IP, xmlrpc-port) """
def __init__(self, queryId, documents): self.queryId = queryId self.provider = provider self.documents = documents
573fe776e9e342c02d9607bf6f0eddda7eed9d65 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2259/573fe776e9e342c02d9607bf6f0eddda7eed9d65/p2pquerier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 843, 548, 16, 2893, 16, 7429, 4672, 3536, 294, 723, 2893, 30, 890, 17, 8052, 261, 5819, 16, 2971, 16, 31811, 17, 655, 13, 3536, 365, 18, 2271, 548, 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, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 843, 548, 16, 2893, 16, 7429, 4672, 3536, 294, 723, 2893, 30, 890, 17, 8052, 261, 5819, 16, 2971, 16, 31811, 17, 655, 13, 3536, 365, 18, 2271, 548, 273...
unique_name = fields.Char('Unique Name', size=100, required=True,)
unique_name = fields.Char( 'Unique Name', required=True, on_change_with=['title', 'unique_name'], )
def on_change_with_unique_name(self, cursor, user, vals, context=None): if vals.get('title'): if not vals.get('unique_name'): vals['unique_name'] = slugify(vals['title']) return vals['unique_name']
2f4b813241b57b4449071f72a3d18a585f770b33 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2593/2f4b813241b57b4449071f72a3d18a585f770b33/cms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 3427, 67, 1918, 67, 6270, 67, 529, 12, 2890, 16, 3347, 16, 729, 16, 5773, 16, 819, 33, 7036, 4672, 309, 5773, 18, 588, 2668, 2649, 11, 4672, 309, 486, 5773, 18, 588, 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, 603, 67, 3427, 67, 1918, 67, 6270, 67, 529, 12, 2890, 16, 3347, 16, 729, 16, 5773, 16, 819, 33, 7036, 4672, 309, 5773, 18, 588, 2668, 2649, 11, 4672, 309, 486, 5773, 18, 588, 2668, ...
wrapped = textwrap.wrap(value.strip(), self.width-3)
wrapped = self.textwrap(value.strip(), self.width-3)
def handle_ul(self, node): """Transform 'ul' tags into:
0b5bd3bd954b69bfb417c1196a27bb8e7c5ff1c2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2680/0b5bd3bd954b69bfb417c1196a27bb8e7c5ff1c2/fshgv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 332, 12, 2890, 16, 756, 4672, 3536, 4059, 296, 332, 11, 2342, 1368, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 332, 12, 2890, 16, 756, 4672, 3536, 4059, 296, 332, 11, 2342, 1368, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
return (ord(self._ttf_data[pos]) << 8) + \ (ord(self._ttf_data[pos + 1]))
return unpack('>H',self._ttf_data[pos:pos+2])[0]
def get_ushort(self, pos): "Return an unsigned short at given position" return (ord(self._ttf_data[pos]) << 8) + \ (ord(self._ttf_data[pos + 1]))
689d8a952f540512aeb160874823280c1d23f22c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/689d8a952f540512aeb160874823280c1d23f22c/ttfonts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1218, 499, 12, 2890, 16, 949, 4672, 315, 990, 392, 9088, 3025, 622, 864, 1754, 6, 327, 261, 517, 12, 2890, 6315, 748, 74, 67, 892, 63, 917, 5717, 2296, 1725, 13, 397, 521, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 67, 1218, 499, 12, 2890, 16, 949, 4672, 315, 990, 392, 9088, 3025, 622, 864, 1754, 6, 327, 261, 517, 12, 2890, 6315, 748, 74, 67, 892, 63, 917, 5717, 2296, 1725, 13, 397, 521, ...
((context or context == None) and x.startswith('***************')))):
((context is not False) and x.startswith('***************')))):
def iterhunks(ui, fp, sourcefile=None): """Read a patch and yield the following events: - ("file", afile, bfile, firsthunk): select a new target file. - ("hunk", hunk): a new hunk is ready to be applied, follows a "file" event. - ("git", gitchanges): current diff is in git format, gitchanges maps filenames to gitpatch ...
adc502544ab3f36525942ee7f32f43b177e37699 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/adc502544ab3f36525942ee7f32f43b177e37699/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 76, 1683, 87, 12, 4881, 16, 4253, 16, 1084, 768, 33, 7036, 4672, 3536, 1994, 279, 4729, 471, 2824, 326, 3751, 2641, 30, 300, 7566, 768, 3113, 279, 768, 16, 324, 768, 16, 1122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1400, 76, 1683, 87, 12, 4881, 16, 4253, 16, 1084, 768, 33, 7036, 4672, 3536, 1994, 279, 4729, 471, 2824, 326, 3751, 2641, 30, 300, 7566, 768, 3113, 279, 768, 16, 324, 768, 16, 1122, ...
("<tunable name=\"%s\" dftval=\"%s\">"
("<tunable name=\"%s\" dftval=\"%s\">\n"
def getTunableXML(file_name): ''' Return all the XML for the tunables in the file specified. ''' # Try to open the file, if it cant, just ignore it. try: tunable_file = open(file_name, "r") tunable_code = tunable_file.readlines() tunable_file.close() except: warning("cannot open file %s for read, skipping" % file_name...
c3a0754c233a3008e84c016d0ce42f9fef3cdd06 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7247/c3a0754c233a3008e84c016d0ce42f9fef3cdd06/segenxml.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3181, 18828, 4201, 12, 768, 67, 529, 4672, 9163, 2000, 777, 326, 3167, 364, 326, 268, 318, 1538, 316, 326, 585, 1269, 18, 9163, 225, 468, 6161, 358, 1696, 326, 585, 16, 309, 518, 848, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3181, 18828, 4201, 12, 768, 67, 529, 4672, 9163, 2000, 777, 326, 3167, 364, 326, 268, 318, 1538, 316, 326, 585, 1269, 18, 9163, 225, 468, 6161, 358, 1696, 326, 585, 16, 309, 518, 848, ...
eff = 100. itemList.append('%.2f' % eff)
eff = 100. itemList.append('%.2f' % eff)
def getPilotSummaryWeb(self,selectDict,sortList,startItem,maxItems): """ Get summary of the pilot jobs status by CE/site in a standard structure """
4281b6ebd17e9e6456de007d4a03f9fe1ab6a236 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/4281b6ebd17e9e6456de007d4a03f9fe1ab6a236/PilotAgentsDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 22797, 4733, 4079, 12, 2890, 16, 4025, 5014, 16, 3804, 682, 16, 1937, 1180, 16, 1896, 3126, 4672, 3536, 968, 4916, 434, 326, 293, 22797, 6550, 1267, 635, 29538, 19, 4256, 316, 279,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 22797, 4733, 4079, 12, 2890, 16, 4025, 5014, 16, 3804, 682, 16, 1937, 1180, 16, 1896, 3126, 4672, 3536, 968, 4916, 434, 326, 293, 22797, 6550, 1267, 635, 29538, 19, 4256, 316, 279,...
results = os.path.join(self.resultsdir, 'stdout') args = '--%s -i %d -p %s -b 2k -B 2M %s %s' % \ (type, iterations, pattern, filesize, tmpfile)
results = os.path.join(self.resultsdir, 'stdout.%d' % self.iteration) args = '--%s -p %s -b 2k -B 2M %s %s' % \ (type, pattern, filesize, tmpfile)
def execute(self, testdir = None, iterations = 1, filesize='100M', type='write', pattern='random'): cmd = os.path.join(self.srcdir, 'src/spew') if not testdir: testdir = self.tmpdir tmpfile = os.path.join(testdir, 'spew-test.%d' % os.getpid()) results = os.path.join(self.resultsdir, 'stdout') args = '--%s -i %d -p %s -...
c0cd30bbdbbd299c4c385961fca222705f40db21 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/c0cd30bbdbbd299c4c385961fca222705f40db21/spew.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 1842, 1214, 273, 599, 16, 11316, 273, 404, 16, 14104, 2218, 6625, 49, 2187, 618, 2218, 2626, 2187, 1936, 2218, 9188, 11, 4672, 1797, 273, 1140, 18, 803, 18, 5701, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1836, 12, 2890, 16, 1842, 1214, 273, 599, 16, 11316, 273, 404, 16, 14104, 2218, 6625, 49, 2187, 618, 2218, 2626, 2187, 1936, 2218, 9188, 11, 4672, 1797, 273, 1140, 18, 803, 18, 5701, 1...
return [pywbem.tupleparse.parse_value_namedinstance(x)[2] for x in tt]
return [pywbem.tupleparse.parse_value_namedinstance(x) for x in tt]
def parseResponse(self, xml):
5621898f4fa05bbe42128e217caaabce741d6dc9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10648/5621898f4fa05bbe42128e217caaabce741d6dc9/twisted_client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28880, 12, 2890, 16, 2025, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28880, 12, 2890, 16, 2025, 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, -1...
classadJob = ClassAd('[]')
classadJob = ClassAd( '[]' )
def _toJDL(self,xmlFile=''): #messy but need to account for xml file being in /tmp/guid dir """Creates a JDL representation of itself as a Job. """ #Check if we have to do old bootstrap... classadJob = ClassAd('[]')
50b3322668816ba92ea3f9b253d993dc34c53a21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/50b3322668816ba92ea3f9b253d993dc34c53a21/Job.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 869, 46, 8914, 12, 2890, 16, 2902, 812, 2218, 11, 4672, 468, 81, 403, 93, 1496, 1608, 358, 2236, 364, 2025, 585, 3832, 316, 342, 5645, 19, 14066, 1577, 3536, 2729, 279, 804, 8914,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 869, 46, 8914, 12, 2890, 16, 2902, 812, 2218, 11, 4672, 468, 81, 403, 93, 1496, 1608, 358, 2236, 364, 2025, 585, 3832, 316, 342, 5645, 19, 14066, 1577, 3536, 2729, 279, 804, 8914,...
return self._doAutoscaleArr[subplotInd] def getSubplot(self, subplotInd=0): return self.subplotArr[subplotInd]
return self.subplotArr[subplotInd].get_autoscaley_on()
def getDoAutoscale(self, subplotInd=0): return self._doAutoscaleArr[subplotInd]
27a58a0112f1fec646c48234c36396c25acdd031 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6353/27a58a0112f1fec646c48234c36396c25acdd031/StripChartWdg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11165, 21023, 1869, 12, 2890, 16, 19826, 3866, 33, 20, 4672, 327, 365, 6315, 2896, 21023, 1869, 5715, 63, 24523, 3866, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11165, 21023, 1869, 12, 2890, 16, 19826, 3866, 33, 20, 4672, 327, 365, 6315, 2896, 21023, 1869, 5715, 63, 24523, 3866, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
String = group("'" + group('[\].', "[^\n'\]") + "*'", '"' + group('[\].', '[^\n"\]') + '*"')
String = group("'" + group("[^\n'\]", "[\].") + "*'", '"' + group('[^\n"\]', '[\].') + '*"')
def group(*choices): return '\(' + string.join(choices, '\|') + '\)'
da67869f766cef01e3126399eb209553c39dc565 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/da67869f766cef01e3126399eb209553c39dc565/tokenize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1041, 30857, 11937, 4672, 327, 2337, 2668, 397, 533, 18, 5701, 12, 11937, 16, 2337, 96, 6134, 397, 2337, 2506, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1041, 30857, 11937, 4672, 327, 2337, 2668, 397, 533, 18, 5701, 12, 11937, 16, 2337, 96, 6134, 397, 2337, 2506, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
arange[1] = arange[1] - arange[0] - 1
arange[1] = arange[1] - arange[0] + 1
def fix_ranges(ranges, size): """Complementary to parse_ranges it will transform all the ranges into (first_byte, length), adjusting all the value based on the actual size provided. """ ret = [] for arange in ranges: if (arange[0] is None and arange[1] > 0) or arange[0] < size: if arange[0] is None: arange[0] = size - ...
008f78ac7242a207cacf980d97a7116f41a556af /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/008f78ac7242a207cacf980d97a7116f41a556af/bibdocfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 14530, 12, 14530, 16, 963, 4672, 3536, 2945, 806, 814, 358, 1109, 67, 14530, 518, 903, 2510, 777, 326, 7322, 1368, 261, 3645, 67, 7229, 16, 769, 3631, 5765, 310, 777, 326, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2917, 67, 14530, 12, 14530, 16, 963, 4672, 3536, 2945, 806, 814, 358, 1109, 67, 14530, 518, 903, 2510, 777, 326, 7322, 1368, 261, 3645, 67, 7229, 16, 769, 3631, 5765, 310, 777, 326, 46...
return S_ERROR('JobDB.getJobAttributes: can not retrieve job attributes')
return S_ERROR('JobDB.getJobAttributes: can not retrieve job attributes')
def getJobInfo( self, jobID, parameters=[] ): """ Get parameters for job specified by jobID. Parameters can be either job attributes ( fields in the Jobs table ) or those stored in the JobParameters table. The return value is a dictionary of the structure: Dict[Name] = Value """
1003ac61d116370b07cee16aacc54dc3897c4044 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/1003ac61d116370b07cee16aacc54dc3897c4044/JobDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13024, 966, 12, 365, 16, 28913, 16, 1472, 33, 8526, 262, 30, 3536, 968, 1472, 364, 1719, 1269, 635, 28913, 18, 7012, 848, 506, 3344, 1719, 1677, 261, 1466, 316, 326, 26909, 1014, 262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13024, 966, 12, 365, 16, 28913, 16, 1472, 33, 8526, 262, 30, 3536, 968, 1472, 364, 1719, 1269, 635, 28913, 18, 7012, 848, 506, 3344, 1719, 1677, 261, 1466, 316, 326, 26909, 1014, 262, ...
self._is_changed = self.check_real_change(instance, mapper, connection) if not self.revisioning_disabled(instance) and self._is_changed:
self._is_changed[instance] = self.check_real_change(instance, mapper, connection) if not self.revisioning_disabled(instance) and self._is_changed[instance]:
def before_insert(self, mapper, connection, instance): self._is_changed = self.check_real_change(instance, mapper, connection) if not self.revisioning_disabled(instance) and self._is_changed: logger.debug('before_insert: %s' % instance) self.set_revision(instance) return EXT_CONTINUE
5835839e83d7f351299e573a5d74d17a82c9eee0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11881/5835839e83d7f351299e573a5d74d17a82c9eee0/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1865, 67, 6387, 12, 2890, 16, 5815, 16, 1459, 16, 791, 4672, 365, 6315, 291, 67, 6703, 63, 1336, 65, 273, 365, 18, 1893, 67, 7688, 67, 3427, 12, 1336, 16, 5815, 16, 1459, 13, 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, 1865, 67, 6387, 12, 2890, 16, 5815, 16, 1459, 16, 791, 4672, 365, 6315, 291, 67, 6703, 63, 1336, 65, 273, 365, 18, 1893, 67, 7688, 67, 3427, 12, 1336, 16, 5815, 16, 1459, 13, 309, ...
argList = {1: {}, 2: {}, 3:{}, 4:{}} for argsByClass in self.arguments.values(): for i in range(len(argsByClass)): attrs = argsByClass[i][2]
for classValue in self.arguments.keys(): argList = {1: {}, 2: {}, 3:{}, 4:{}} arguments = self.arguments[classValue] for i in range(len(arguments)): attrs = arguments[i][2]
def removeWeakerArguments(self): if not self.arguments or not self.arguments.values(): return
4efd233be228eb9a1c05d22bfdf2e5818ec8861a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/4efd233be228eb9a1c05d22bfdf2e5818ec8861a/orngMosaic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 3218, 6388, 4628, 12, 2890, 4672, 309, 486, 365, 18, 7099, 578, 486, 365, 18, 7099, 18, 2372, 13332, 327, 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, 1206, 3218, 6388, 4628, 12, 2890, 4672, 309, 486, 365, 18, 7099, 578, 486, 365, 18, 7099, 18, 2372, 13332, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
@checkAuth(write = True, admin = True)
@checkAuth(admin = True)
def addPermForm(self, auth, userGroupName): groups = (x[1] for x in self.repServer.auth.iterGroups()) labels = (x[1] for x in self.repServer.auth.iterLabels()) troves = (x[1] for x in self.repServer.auth.iterItems())
da24c3346d4fa9223ceb3365b4262bfdf7e6ba3c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/da24c3346d4fa9223ceb3365b4262bfdf7e6ba3c/http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 9123, 1204, 12, 2890, 16, 1357, 16, 729, 3943, 4672, 3252, 273, 261, 92, 63, 21, 65, 364, 619, 316, 365, 18, 14462, 2081, 18, 1944, 18, 2165, 3621, 10756, 3249, 273, 261, 92, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 9123, 1204, 12, 2890, 16, 1357, 16, 729, 3943, 4672, 3252, 273, 261, 92, 63, 21, 65, 364, 619, 316, 365, 18, 14462, 2081, 18, 1944, 18, 2165, 3621, 10756, 3249, 273, 261, 92, 63...
self, button = "left", pressed = "", coords = (0, 0), double = True):
self, button = "left", pressed = "", coords = (0, 0)):
def DoubleClick( self, button = "left", pressed = "", coords = (0, 0), double = True): "Perform a double click action" _perform_click(self, button, pressed, coords, double) return self
186267d912b2327653564c2a6fdee702cfdd83f4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6953/186267d912b2327653564c2a6fdee702cfdd83f4/HwndWrapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3698, 6563, 12, 365, 16, 3568, 273, 315, 4482, 3113, 19504, 273, 23453, 6074, 273, 261, 20, 16, 374, 3719, 30, 315, 4990, 279, 1645, 4682, 1301, 6, 389, 16092, 67, 7475, 12, 2890, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3698, 6563, 12, 365, 16, 3568, 273, 315, 4482, 3113, 19504, 273, 23453, 6074, 273, 261, 20, 16, 374, 3719, 30, 315, 4990, 279, 1645, 4682, 1301, 6, 389, 16092, 67, 7475, 12, 2890, 16, ...
decalObj = alc_ObjClasses.plSceneObject.FindCreate(self.getRoot(),decalName)
decalObj = refparser.MixedRef_FindCreate(decalName)
def export_obj(self, obj): # now we get all the values. >.< objscript = AlcScript.objects.Find(obj.name) # add shore refs shoreNames = list(FindInDict(objscript, 'waveset.shores', [])) for shoreName in shoreNames: shoreObj = alc_ObjClasses.plSceneObject.FindCreate(self.getRoot(), shoreName) self.fShores.append(shoreOb...
469113b2c8880ac0a13bd50159a0cebbf6f170e7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12286/469113b2c8880ac0a13bd50159a0cebbf6f170e7/alc_MatClasses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 2603, 12, 2890, 16, 1081, 4672, 468, 2037, 732, 336, 777, 326, 924, 18, 405, 22782, 1081, 4263, 273, 2262, 71, 3651, 18, 6911, 18, 3125, 12, 2603, 18, 529, 13, 225, 468, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 2603, 12, 2890, 16, 1081, 4672, 468, 2037, 732, 336, 777, 326, 924, 18, 405, 22782, 1081, 4263, 273, 2262, 71, 3651, 18, 6911, 18, 3125, 12, 2603, 18, 529, 13, 225, 468, 52...
imenu = imb.make(self.config, uuid, menu)
self.logger.debug('Setting menu for computer UUID/MAC %s/%s' % (uuid, macaddress)) imb = ImagingMenuBuilder(self.config, macaddress, menu) imenu = imb.make()
def xmlrpc_computersMenuSet(self, menus): """ Set computers imaging boot menu.
a7a2deeacb16ff05a67649d7c111796cd3fa0646 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5988/a7a2deeacb16ff05a67649d7c111796cd3fa0646/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31811, 67, 13406, 414, 4599, 694, 12, 2890, 16, 21374, 4672, 3536, 1000, 5305, 414, 709, 5755, 4835, 3824, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31811, 67, 13406, 414, 4599, 694, 12, 2890, 16, 21374, 4672, 3536, 1000, 5305, 414, 709, 5755, 4835, 3824, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __init__(self, count=0, limit=None): if limit is not None and count > limit: count = limit
def __init__(self, count=0): self.counter = count self._waiters = {} def __str__(self): params = (self.__class__.__name__, hex(id(self)), self.counter) return '<%s at %s counter=%r>' % params def locked(self): return self.counter <= 0 def bounded(self): return False def acquire(self, blocking=True): if not block...
def __init__(self, count=0, limit=None): if limit is not None and count > limit: # Prevent initializing with inconsistent values count = limit self.counter = count self.limit = limit self.acqevent = event() self.relevent = event() if self.counter > 0: # If we initially have items, then don't block acquire()s. self....
961419045b357378af67f700b41d9403d322b26b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10078/961419045b357378af67f700b41d9403d322b26b/coros.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1056, 33, 20, 16, 1800, 33, 7036, 4672, 309, 1800, 353, 486, 599, 471, 1056, 405, 1800, 30, 468, 19412, 22584, 598, 27403, 924, 1056, 273, 1800, 365, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1056, 33, 20, 16, 1800, 33, 7036, 4672, 309, 1800, 353, 486, 599, 471, 1056, 405, 1800, 30, 468, 19412, 22584, 598, 27403, 924, 1056, 273, 1800, 365, 18,...
def _processSet(self, atom, sessionID):
def _processSet(self, elem, sessionID):
def _processSet(self, atom, sessionID): # Set atoms processes its contents and assigns the results to # a predicate in the specified session. The predicate to set # is specified by the required 'name' attribute of the atom. # The contents of the atom are also returned. value = "" for a in atom[2:]: value += self._proc...
cdb5ca51cf362e7f41cc166060e200bc84fcb1e8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6428/cdb5ca51cf362e7f41cc166060e200bc84fcb1e8/Kernel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 694, 12, 2890, 16, 3179, 16, 13737, 4672, 468, 1000, 9006, 8488, 2097, 2939, 471, 22698, 326, 1686, 358, 468, 279, 5641, 316, 326, 1269, 1339, 18, 225, 1021, 5641, 358, 444, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 694, 12, 2890, 16, 3179, 16, 13737, 4672, 468, 1000, 9006, 8488, 2097, 2939, 471, 22698, 326, 1686, 358, 468, 279, 5641, 316, 326, 1269, 1339, 18, 225, 1021, 5641, 358, 444, ...
'NUMERIC')
'NUMERIC', 'BIGINT', 'SMALLINT')
def _isNumber(t): return string.upper(t) in ( 'OID', 'DECIMAL', 'FLOAT4', 'FLOAT8', 'INT2', 'INT4', 'INT8', 'NUMERIC')
8830b586a28ef3b620195c52bc3c48e7f3cd50dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5832/8830b586a28ef3b620195c52bc3c48e7f3cd50dc/postconn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 291, 1854, 12, 88, 4672, 327, 533, 18, 5797, 12, 88, 13, 316, 261, 296, 12945, 2187, 296, 23816, 2187, 296, 15640, 24, 2187, 296, 15640, 28, 2187, 296, 3217, 22, 2187, 296, 3217, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 291, 1854, 12, 88, 4672, 327, 533, 18, 5797, 12, 88, 13, 316, 261, 296, 12945, 2187, 296, 23816, 2187, 296, 15640, 24, 2187, 296, 15640, 28, 2187, 296, 3217, 22, 2187, 296, 3217, ...
from ctypes import Structure, c_int, c_ubyte
from ctypes import Structure, c_int, c_ubyte, memmove, sizeof, addressof
def close(self): asyncore.dispatcher.close(self) if self.server.socket_map != None: self.del_channel(self.server.socket_map) self.has_request = False self.has_response = False self.input_buffer = [] self.output_buffer = '' if self.server != None: # put it in inactive request handlers queue self.server.rh_queue.put(self...
0d51deb44c49226d83af37f7a9b4114bcb1b2b06 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2504/0d51deb44c49226d83af37f7a9b4114bcb1b2b06/asyncserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 4326, 479, 18, 18495, 18, 4412, 12, 2890, 13, 309, 365, 18, 3567, 18, 7814, 67, 1458, 480, 599, 30, 365, 18, 3771, 67, 4327, 12, 2890, 18, 3567, 18, 7814, 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, 1746, 12, 2890, 4672, 4326, 479, 18, 18495, 18, 4412, 12, 2890, 13, 309, 365, 18, 3567, 18, 7814, 67, 1458, 480, 599, 30, 365, 18, 3771, 67, 4327, 12, 2890, 18, 3567, 18, 7814, 67, ...
This is the normal interface: it returns a stripped version of the header value for a given header name, or None if it doesn't exist. This uses the dictionary version which finds the *last* such header.
This is the normal interface: it returns a stripped version of the header value for a given header name, or None if it doesn't exist. This uses the dictionary version which finds the *last* such header.
def getheader(self, name, default=None): """Get the header value for a name.
b6f6fad5b96d38181611f28a27ba278b112ea9c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b6f6fad5b96d38181611f28a27ba278b112ea9c9/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 3374, 12, 2890, 16, 508, 16, 805, 33, 7036, 4672, 3536, 967, 326, 1446, 460, 364, 279, 508, 18, 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, 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, 336, 3374, 12, 2890, 16, 508, 16, 805, 33, 7036, 4672, 3536, 967, 326, 1446, 460, 364, 279, 508, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
yield UInt16(self, "left", "Text Grid Left") yield UInt16(self, "top", "Text Grid Top") yield UInt16(self, "width", "Text Grid Width") yield UInt16(self, "height", "Text Grid Height")
yield UInt16(parent, "left", "Text Grid Left") yield UInt16(parent, "top", "Text Grid Top") yield UInt16(parent, "width", "Text Grid Width") yield UInt16(parent, "height", "Text Grid Height")
def parseTextExtension(parent): yield UInt8(parent, "block_size", "Block Size") yield UInt16(self, "left", "Text Grid Left") yield UInt16(self, "top", "Text Grid Top") yield UInt16(self, "width", "Text Grid Width") yield UInt16(self, "height", "Text Grid Height") yield UInt8(parent, "cell_width", "Character Cell Width"...
53d940dc57135bdf11782fc668764795df4a40c7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9327/53d940dc57135bdf11782fc668764795df4a40c7/gif.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 1528, 3625, 12, 2938, 4672, 2824, 29810, 28, 12, 2938, 16, 315, 2629, 67, 1467, 3113, 315, 1768, 6321, 7923, 2824, 29810, 2313, 12, 2938, 16, 315, 4482, 3113, 315, 1528, 7145, 1333...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 3625, 12, 2938, 4672, 2824, 29810, 28, 12, 2938, 16, 315, 2629, 67, 1467, 3113, 315, 1768, 6321, 7923, 2824, 29810, 2313, 12, 2938, 16, 315, 4482, 3113, 315, 1528, 7145, 1333...
def _createControls(self):
def _createControls(self, name):
def _createControls(self): # Creat box around controls box = wx.StaticBox(parent = self, label = "Bouy") topSizer = wx.StaticBoxSizer(box) self.sizer = wx.FlexGridSizer(0, 2, 10, 10) topSizer.Add(self.sizer, 1, wx.EXPAND) # Buoy Text and Label self._hide = wx.Button(self, label = "Hide") self.sizer.Add(self._hide, 1,...
dbfe0ba996521b1d01d8cb971d1132a55c29e7bb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10608/dbfe0ba996521b1d01d8cb971d1132a55c29e7bb/vision.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 16795, 12, 2890, 16, 508, 4672, 468, 5799, 270, 3919, 6740, 11022, 3919, 273, 7075, 18, 5788, 3514, 12, 2938, 273, 365, 16, 1433, 273, 315, 38, 1395, 93, 7923, 1760, 20512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16795, 12, 2890, 16, 508, 4672, 468, 5799, 270, 3919, 6740, 11022, 3919, 273, 7075, 18, 5788, 3514, 12, 2938, 273, 365, 16, 1433, 273, 315, 38, 1395, 93, 7923, 1760, 20512, ...
def __init__(self, codecMap): self.__codecMap = codecMap
def __init__(self, __codecMap): self.__codecMap = __codecMap
def __init__(self, codecMap): self.__codecMap = codecMap
90b5321d3bcef80b568a6079214c6f531e2a460c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/586/90b5321d3bcef80b568a6079214c6f531e2a460c/encoder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9196, 863, 4672, 365, 16186, 21059, 863, 273, 9196, 863, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9196, 863, 4672, 365, 16186, 21059, 863, 273, 9196, 863, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def get_newest_revision(self, location): url = self.get_url(location) revision = call_subprocess( [BZR_CMD, 'revno', url], show_stdout=False, cwd=location) return revision.splitlines()[-1]
def get_newest_revision(self, location): url = self.get_url(location) revision = call_subprocess( [BZR_CMD, 'revno', url], show_stdout=False, cwd=location) return revision.splitlines()[-1]
3fce15540ce2ceb5bd4eb61b89955505cfac2fee /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/3fce15540ce2ceb5bd4eb61b89955505cfac2fee/pip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2704, 395, 67, 13057, 12, 2890, 16, 2117, 4672, 880, 273, 365, 18, 588, 67, 718, 12, 3562, 13, 6350, 273, 745, 67, 1717, 2567, 12, 306, 38, 62, 54, 67, 19473, 16, 296, 908...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2704, 395, 67, 13057, 12, 2890, 16, 2117, 4672, 880, 273, 365, 18, 588, 67, 718, 12, 3562, 13, 6350, 273, 745, 67, 1717, 2567, 12, 306, 38, 62, 54, 67, 19473, 16, 296, 908...
data.append('HTTP/1.1 %d %s\n' % (status_code, status_message))
data.append('HTTP/1.1 %d %s' % (status_code, status_message))
def to_str(self): state = self.state
416f800d511b64f2a9a6332dcd1c387a46fa3796 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/416f800d511b64f2a9a6332dcd1c387a46fa3796/response.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 701, 12, 2890, 4672, 919, 273, 365, 18, 2019, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 701, 12, 2890, 4672, 919, 273, 365, 18, 2019, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
check_call_noisy(cmd)
check_call_noisy(cmd, retryMax=options.retries)
def do_hg_pull(dir, repository, hg, rev): fulldir = os.path.join(topsrcdir, dir) # clone if the dir doesn't exist, pull if it does hgopts = [] if options.hgopts: hgopts = options.hgopts.split() hgcloneopts = [] if options.hgcloneopts: hgcloneopts = options.hgcloneopts.split() if not os.path.exists(fulldir): fulldir =...
0376e156dff5362923ab01c36e488d21031811d4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11044/0376e156dff5362923ab01c36e488d21031811d4/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 26981, 67, 13469, 12, 1214, 16, 3352, 16, 22576, 16, 5588, 4672, 1983, 1214, 273, 1140, 18, 803, 18, 5701, 12, 3669, 4816, 1214, 16, 1577, 13, 468, 3236, 309, 326, 1577, 3302,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26981, 67, 13469, 12, 1214, 16, 3352, 16, 22576, 16, 5588, 4672, 1983, 1214, 273, 1140, 18, 803, 18, 5701, 12, 3669, 4816, 1214, 16, 1577, 13, 468, 3236, 309, 326, 1577, 3302,...
self.__transforms = []
self.__transforms = _SortedDict()
self.__paradigm_def = {}
be01928f95cae442325326d4e6455b6b6448097a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2408/be01928f95cae442325326d4e6455b6b6448097a/flexion.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 16186, 1065, 361, 360, 81, 67, 536, 273, 2618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 16186, 1065, 361, 360, 81, 67, 536, 273, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
gp = changed.get(bfile[2:])
gp = changed.get(bfile)
def iterhunks(ui, fp, sourcefile=None): """Read a patch and yield the following events: - ("file", afile, bfile, firsthunk): select a new target file. - ("hunk", hunk): a new hunk is ready to be applied, follows a "file" event. - ("git", gitchanges): current diff is in git format, gitchanges maps filenames to gitpatch ...
b0ccc6c4afc2daea22e79b7bd96dda5f7dfb9bcc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11312/b0ccc6c4afc2daea22e79b7bd96dda5f7dfb9bcc/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 76, 1683, 87, 12, 4881, 16, 4253, 16, 1084, 768, 33, 7036, 4672, 3536, 1994, 279, 4729, 471, 2824, 326, 3751, 2641, 30, 300, 7566, 768, 3113, 279, 768, 16, 324, 768, 16, 1122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1400, 76, 1683, 87, 12, 4881, 16, 4253, 16, 1084, 768, 33, 7036, 4672, 3536, 1994, 279, 4729, 471, 2824, 326, 3751, 2641, 30, 300, 7566, 768, 3113, 279, 768, 16, 324, 768, 16, 1122, ...
trash1, trash2, trash3, consumed_modifiers = res
keyval, trash2, trash3, consumed_modifiers = res
def key_press_cb(self, widget, event): if not self.enabled: return # See gtk sourcecode in gtkmenu.c function gtk_menu_key_press, # which uses the same code as below when changing an accelerator. keymap = gdk.keymap_get_default() # figure out what modifiers went into determing the keyval res = keymap.translate_keyboard...
beb7bec80f0be5369eb4975a97bf9a095b1a4e97 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7129/beb7bec80f0be5369eb4975a97bf9a095b1a4e97/keyboard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 498, 67, 1028, 67, 7358, 12, 2890, 16, 3604, 16, 871, 4672, 309, 486, 365, 18, 5745, 30, 327, 468, 2164, 22718, 1084, 710, 316, 22718, 5414, 18, 71, 445, 22718, 67, 5414, 67, 856, 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, 498, 67, 1028, 67, 7358, 12, 2890, 16, 3604, 16, 871, 4672, 309, 486, 365, 18, 5745, 30, 327, 468, 2164, 22718, 1084, 710, 316, 22718, 5414, 18, 71, 445, 22718, 67, 5414, 67, 856, 67...
PkgEnable("X11", "x11", "X11", "Xlib.h")
PkgEnable("X11", "x11", "X11", ("X11", "X11/Xlib.h"))
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist", "version=","lzma","no-python","threads=","outputdir="] anything = 0 optimi...
1acc929b5a6aa3574c1daad5b2ce1ca15f86786b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/1acc929b5a6aa3574c1daad5b2ce1ca15f86786b/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4952, 12, 1968, 4672, 2552, 22880, 4685, 654, 16, 12185, 2565, 882, 16, 54, 25375, 16, 16652, 9560, 16, 2565, 27424, 1693, 916, 2552, 8456, 16, 4208, 22526, 916, 16, 21730, 7240, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4952, 12, 1968, 4672, 2552, 22880, 4685, 654, 16, 12185, 2565, 882, 16, 54, 25375, 16, 16652, 9560, 16, 2565, 27424, 1693, 916, 2552, 8456, 16, 4208, 22526, 916, 16, 21730, 7240, 1...
if height:
if height and '<' not in height and '>' not in height and \ re.search(r'\d+', height):
def upshift_markup(self, root): self.log.debug('Converting style information to CSS...') size_map = { 'xx-small': '0.5', 'x-small': '1', 'small': '2', 'medium': '3', 'large': '4', 'x-large': '5', 'xx-large': '6', } mobi_version = self.book_header.mobi_version for i, tag in enumerate(root.iter(etree.Element)): tag.attri...
bf6f98363e535334178da12312b5d9dc3a72fe93 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/bf6f98363e535334178da12312b5d9dc3a72fe93/reader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 731, 4012, 67, 15056, 12, 2890, 16, 1365, 4672, 365, 18, 1330, 18, 4148, 2668, 2723, 310, 2154, 1779, 358, 6765, 7821, 13, 963, 67, 1458, 273, 288, 296, 5279, 17, 12019, 4278, 296, 20,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 731, 4012, 67, 15056, 12, 2890, 16, 1365, 4672, 365, 18, 1330, 18, 4148, 2668, 2723, 310, 2154, 1779, 358, 6765, 7821, 13, 963, 67, 1458, 273, 288, 296, 5279, 17, 12019, 4278, 296, 20,...
dvb_date = datetime.fromtimestamp(event_time).toordinal() - self.EPG_PROLEPTIC_ZERO_DAY
dvb_date = event_time_HMS.toordinal() - self.EPG_PROLEPTIC_ZERO_DAY
def preprocess_events_channel(self, services): for service in services: # prepare and write CHANNEL INFO record ssid = service.split(":") # write CHANNEL INFO record (sid, onid, tsid, eventcount) self.EPG_TMP_FD.write(self.s_IIII.pack( \ int(ssid[3],16), int(ssid[5],16), \ int(ssid[4],16), len(self.events))) self.EPG_...
b31dc891cb9c9d991a9d5ec52f985e9b43672c0c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10939/b31dc891cb9c9d991a9d5ec52f985e9b43672c0c/epgdat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17942, 67, 5989, 67, 4327, 12, 2890, 16, 4028, 4672, 364, 1156, 316, 4028, 30, 468, 2911, 471, 1045, 27417, 9286, 1409, 5202, 350, 273, 1156, 18, 4939, 2932, 2773, 13, 468, 1045, 27417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17942, 67, 5989, 67, 4327, 12, 2890, 16, 4028, 4672, 364, 1156, 316, 4028, 30, 468, 2911, 471, 1045, 27417, 9286, 1409, 5202, 350, 273, 1156, 18, 4939, 2932, 2773, 13, 468, 1045, 27417, ...
print_test('sin')
print 'radians' testit('radians(180)', math.radians(180), math.pi) testit('radians(90)', math.radians(90), math.pi/2) testit('radians(-45)', math.radians(-45), -math.pi/4) print 'sin'
def testmodf(name, (v1, v2), (e1, e2)): if abs(v1-e1) > eps or abs(v2-e2): raise TestFailed, '%s returned %s, expected %s'%\ (name, `v1,v2`, `e1,e2`)
8c8ac34babc99b5c0ebbd8bdade89f73afabedc0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6753/8c8ac34babc99b5c0ebbd8bdade89f73afabedc0/test_math.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1711, 74, 12, 529, 16, 261, 90, 21, 16, 331, 22, 3631, 261, 73, 21, 16, 425, 22, 3719, 30, 309, 2417, 12, 90, 21, 17, 73, 21, 13, 405, 7785, 578, 2417, 12, 90, 22, 17, 73...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1711, 74, 12, 529, 16, 261, 90, 21, 16, 331, 22, 3631, 261, 73, 21, 16, 425, 22, 3719, 30, 309, 2417, 12, 90, 21, 17, 73, 21, 13, 405, 7785, 578, 2417, 12, 90, 22, 17, 73...
'''Read sys.argv for configuration, and perform the imports.'''
'''Read sys.argv for cofiguration, and perform the imports.'''
def main(): '''Read sys.argv for configuration, and perform the imports.''' if len(sys.argv) != 3: print "Usage: %s old_pootle.prefs users.prefs" % ( sys.argv[0]) return oldprefsfile = sys.argv[1] parsed_oldprefs = prefs.PrefsParser(oldprefsfile) usersfile = sys.argv[2] parsed_users = prefs.PrefsParser(usersfile) try:...
b48bbc9944912afac38f13d6b2ddba40f7dcd846 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11388/b48bbc9944912afac38f13d6b2ddba40f7dcd846/import_old_prefs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 9163, 1994, 2589, 18, 19485, 364, 1825, 470, 872, 16, 471, 3073, 326, 10095, 1093, 6309, 309, 562, 12, 9499, 18, 19485, 13, 480, 890, 30, 1172, 315, 5357, 30, 738, 87, 159...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9163, 1994, 2589, 18, 19485, 364, 1825, 470, 872, 16, 471, 3073, 326, 10095, 1093, 6309, 309, 562, 12, 9499, 18, 19485, 13, 480, 890, 30, 1172, 315, 5357, 30, 738, 87, 159...
print "status"
def _handleStatus(self, version, status, message): print "status" self.gotStatus = 1 self.assertEquals(version, "HTTP/1.0") self.assertEquals(status, "200")
f86e718c3c1d0405bfe458f2f79cf43aca582f99 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/f86e718c3c1d0405bfe458f2f79cf43aca582f99/test_http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4110, 1482, 12, 2890, 16, 1177, 16, 1267, 16, 883, 4672, 365, 18, 13212, 1482, 273, 404, 365, 18, 11231, 8867, 12, 1589, 16, 315, 3693, 19, 21, 18, 20, 7923, 365, 18, 11231, 886...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4110, 1482, 12, 2890, 16, 1177, 16, 1267, 16, 883, 4672, 365, 18, 13212, 1482, 273, 404, 365, 18, 11231, 8867, 12, 1589, 16, 315, 3693, 19, 21, 18, 20, 7923, 365, 18, 11231, 886...
def reset_occupancies(fmodels, occ_min, occ_max, set_min, set_max):
fmodels.fmodel_xray().xray_structure.scatterers().flags_set_grads(state=False) def reset_occupancies(fmodels, selection, occ_min, occ_max, set_min, set_max):
def refinery(fmodels, number_of_iterations, iselection, parameter): lbfgs_termination_params = scitbx.lbfgs.termination_parameters( max_iterations = number_of_iterations) if(parameter == "occupancies"): fmodels.fmodel_xray().xray_structure.scatterers().flags_set_grad_occupancy( iselection = iselection) elif(parameter =...
92e312eb37350a68e2c73fd77a47e63caf098692 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/92e312eb37350a68e2c73fd77a47e63caf098692/grow_density.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25994, 627, 12, 74, 7665, 16, 1300, 67, 792, 67, 19330, 16, 353, 292, 794, 16, 1569, 4672, 7831, 74, 564, 67, 9505, 367, 67, 2010, 273, 888, 305, 70, 92, 18, 80, 17156, 564, 18, 95...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25994, 627, 12, 74, 7665, 16, 1300, 67, 792, 67, 19330, 16, 353, 292, 794, 16, 1569, 4672, 7831, 74, 564, 67, 9505, 367, 67, 2010, 273, 888, 305, 70, 92, 18, 80, 17156, 564, 18, 95...
print "Clearing previous data."
msg = "Clearing previous data." appendTextview(self.textviewStdOut, msg)
def clearDictionaries(self): print "Clearing previous data." for i in range(len(self.dicts)): for k in self.dicts[i].keys(): if k != 'Station' and k != 'StaLat' and k != 'StaLon' and \ k != 'StaEle' and k != 'pazZ' and k != 'pazN' and \ k != 'pazE': del self.dicts[i][k] self.dicts[i]['MagUse'] = True self.dictOrigin = ...
b822b77814749ba0fa0b0a638d2c2e8ccf514f6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/b822b77814749ba0fa0b0a638d2c2e8ccf514f6c/obspyck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 40, 14336, 12, 2890, 4672, 1234, 273, 315, 4756, 5968, 2416, 501, 1199, 714, 1528, 1945, 12, 2890, 18, 955, 1945, 10436, 1182, 16, 1234, 13, 364, 277, 316, 1048, 12, 1897, 12, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 40, 14336, 12, 2890, 4672, 1234, 273, 315, 4756, 5968, 2416, 501, 1199, 714, 1528, 1945, 12, 2890, 18, 955, 1945, 10436, 1182, 16, 1234, 13, 364, 277, 316, 1048, 12, 1897, 12, 28...
def fetch_subscriber_tables(self, curs): q = "select * from londiste.subscriber_get_table_list(%s)" curs.execute(q, [self.pgq_queue_name])
def fetch_subscriber_tables(self, curs, pattern = '*'): q = "select * from londiste.subscriber_get_table_list(%s) where table_name ~ %s" curs.execute(q, [self.pgq_queue_name, glob2regex(pattern)])
def fetch_subscriber_tables(self, curs): q = "select * from londiste.subscriber_get_table_list(%s)" curs.execute(q, [self.pgq_queue_name]) return curs.dictfetchall()
284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14597/284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 67, 26410, 67, 9373, 12, 2890, 16, 25326, 16, 1936, 273, 5306, 4672, 1043, 273, 315, 4025, 380, 628, 328, 1434, 376, 73, 18, 26410, 67, 588, 67, 2121, 67, 1098, 9275, 87, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 67, 26410, 67, 9373, 12, 2890, 16, 25326, 16, 1936, 273, 5306, 4672, 1043, 273, 315, 4025, 380, 628, 328, 1434, 376, 73, 18, 26410, 67, 588, 67, 2121, 67, 1098, 9275, 87, 13, 1...
self.workRequestQueue = Queue.Queue() self.resultQueue = Queue.Queue()
self.__workRequestQueue = Queue.Queue() self.__resultQueue = Queue.Queue() self.__finished = threading.Event()
def __init__(self, **kwargs): Theading.Thread.__init__(self, **kwargs) self.setDaemon(True) self.workRequestQueue = Queue.Queue() self.resultQueue = Queue.Queue() self.start()
9309008f769451c24a2114d1b377a0ccf8828835 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9837/9309008f769451c24a2114d1b377a0ccf8828835/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 4333, 4672, 1021, 14968, 18, 3830, 16186, 2738, 972, 12, 2890, 16, 2826, 4333, 13, 365, 18, 542, 12858, 12, 5510, 13, 365, 16186, 1252, 691, 3183, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2826, 4333, 4672, 1021, 14968, 18, 3830, 16186, 2738, 972, 12, 2890, 16, 2826, 4333, 13, 365, 18, 542, 12858, 12, 5510, 13, 365, 16186, 1252, 691, 3183, ...
msg = self.idb.set_break(filename, lineno) if msg: text.bell() return
self.idb.set_break(filename, lineno)
def set_breakpoint_here(self, filename, lineno): msg = self.idb.set_break(filename, lineno) if msg: text.bell() return
b57b3220632f27ec7ae552e1b48e1b2c8acf1383 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b57b3220632f27ec7ae552e1b48e1b2c8acf1383/Debugger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 8820, 1153, 67, 14852, 12, 2890, 16, 1544, 16, 7586, 4672, 1234, 273, 365, 18, 350, 70, 18, 542, 67, 8820, 12, 3459, 16, 7586, 13, 309, 1234, 30, 977, 18, 70, 1165, 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, 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, 67, 8820, 1153, 67, 14852, 12, 2890, 16, 1544, 16, 7586, 4672, 1234, 273, 365, 18, 350, 70, 18, 542, 67, 8820, 12, 3459, 16, 7586, 13, 309, 1234, 30, 977, 18, 70, 1165, 1435, ...
self.prefixlen = int(addr[1])
self._prefixlen = int(addr[1])
def __init__(self, ipaddr): """Instantiate a new IPv6 object.
ed0824247937850fadddb0e515cbb0d26c0086f4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5467/ed0824247937850fadddb0e515cbb0d26c0086f4/ipaddr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2359, 4793, 4672, 3536, 22438, 279, 394, 7853, 26, 733, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2359, 4793, 4672, 3536, 22438, 279, 394, 7853, 26, 733, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
saved = self.vars.copy()
saved = {}
def push_vars (self, **dict): """ For each named argument "key=val", save the value of variable "key" and assign it the value "val". """ saved = self.vars.copy() for (key, val) in dict.items(): self.vars[key] = val self.vars_stack.append(saved)
4ccb857958a8fc501d474f6f41e29f4f5ed500f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10102/4ccb857958a8fc501d474f6f41e29f4f5ed500f1/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1817, 67, 4699, 261, 2890, 16, 2826, 1576, 4672, 3536, 2457, 1517, 4141, 1237, 315, 856, 33, 1125, 3113, 1923, 326, 460, 434, 2190, 315, 856, 6, 471, 2683, 518, 326, 460, 315, 1125, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1817, 67, 4699, 261, 2890, 16, 2826, 1576, 4672, 3536, 2457, 1517, 4141, 1237, 315, 856, 33, 1125, 3113, 1923, 326, 460, 434, 2190, 315, 856, 6, 471, 2683, 518, 326, 460, 315, 1125, 96...
if sec=='run' and firstrun==False: subsec=self.param[sec+'/'+res] else: subsec=self.param[sec].create_group(res)
subsec=self.param[sec].require_group(res)
def __read_param(self): ''' Read params.log file and write corresponding data Should only be called by __init__''' if self.__creating: fpar=param_file(self.datadir+'params.log',precision=self.precision) while True: (descr,res)=fpar.readline() if descr=='i': sec='init' elif descr=='r': if sec=='init': sec='run' firstrun...
bf1a599ad9cde581f4679533ab3c54c55f5e9732 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1377/bf1a599ad9cde581f4679533ab3c54c55f5e9732/hdf5.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 896, 67, 891, 12, 2890, 4672, 9163, 2720, 859, 18, 1330, 585, 471, 1045, 4656, 501, 9363, 1338, 506, 2566, 635, 1001, 2738, 972, 26418, 309, 365, 16186, 23799, 30, 284, 1065, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 896, 67, 891, 12, 2890, 4672, 9163, 2720, 859, 18, 1330, 585, 471, 1045, 4656, 501, 9363, 1338, 506, 2566, 635, 1001, 2738, 972, 26418, 309, 365, 16186, 23799, 30, 284, 1065, 33, ...
nearest_words.append(row[0]) nearest_words.reverse() nearest_words.append(p) query = "SELECT word FROM %s WHERE word>'%s' ORDER BY word ASC LIMIT %d" % (bibwordsX, escape_string(p), n) res = run_sql(query) if res:
browsed_phrases_above[row[0]] = 1 if len(t) != 6 or t[-1:]=='%': query = "SELECT bx.value FROM %s AS bx WHERE bx.value>'%s' AND bx.tag LIKE '%s%%' ORDER BY bx.value ASC LIMIT %d" \ % (bx, escape_string(p), t, n_below) else: query = "SELECT bx.value FROM %s AS bx WHERE bx.value>'%s' AND bx.tag='%s' ORDER BY bx.value AS...
def create_nearest_terms_box(urlargs, p, f, n=5, prologue="<blockquote>", epilogue="</blockquote>"): """Return text box containing list of 'n' nearest terms above/below 'p' in the words index list for the field 'f'. Propose new searches according to `urlargs' with the new words. """ out = "" # deduce into which bibword...
535ed6a8d836745c0ddd7f1016fbe145d7c7bebd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/535ed6a8d836745c0ddd7f1016fbe145d7c7bebd/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 25785, 67, 10112, 67, 2147, 12, 718, 1968, 16, 293, 16, 284, 16, 290, 33, 25, 16, 450, 1330, 344, 1546, 32, 2629, 6889, 2984, 16, 5529, 21947, 344, 1546, 1757, 2629, 6889, 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, 752, 67, 25785, 67, 10112, 67, 2147, 12, 718, 1968, 16, 293, 16, 284, 16, 290, 33, 25, 16, 450, 1330, 344, 1546, 32, 2629, 6889, 2984, 16, 5529, 21947, 344, 1546, 1757, 2629, 6889, 2...
q = Person.all() for property_operator, value in filters: q.filter(property_operator, value) q.order(order) return q
q = Person.all() for property_operator, value in filters: q.filter(property_operator, value) q.order(order) return q
def _create_person_query(filters, order): q = Person.all() for property_operator, value in filters: q.filter(property_operator, value) q.order(order) return q
64c260bbfba7eb92917fa51399bfcab18972dc86 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6014/64c260bbfba7eb92917fa51399bfcab18972dc86/sitemap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 67, 12479, 67, 2271, 12, 6348, 16, 1353, 4672, 1043, 273, 11573, 18, 454, 1435, 364, 1272, 67, 9497, 16, 460, 316, 3415, 30, 1043, 18, 2188, 12, 4468, 67, 9497, 16, 460, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 2640, 67, 12479, 67, 2271, 12, 6348, 16, 1353, 4672, 1043, 273, 11573, 18, 454, 1435, 364, 1272, 67, 9497, 16, 460, 316, 3415, 30, 1043, 18, 2188, 12, 4468, 67, 9497, 16, 460, 1...
self.s.pop(-1) self.y.pop(-1) self.rho.pop(-1) self.ITR -= 1
def replay_trajectory(self, traj): """Initialize hessian from old trajectory.""" if isinstance(traj, str): from ase.io.trajectory import PickleTrajectory traj = PickleTrajectory(traj, 'r') atoms = traj[0] r_old = atoms.get_positions() f_old = atoms.get_forces() for atoms in traj: r = atoms.get_positions() f = atoms.get...
e012c5a185a2d36777b24a72653eba0530f2eeef /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5572/e012c5a185a2d36777b24a72653eba0530f2eeef/lbfgs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16033, 67, 2033, 19528, 12, 2890, 16, 1284, 78, 4672, 3536, 7520, 366, 20529, 628, 1592, 27016, 12123, 309, 1549, 12, 30514, 16, 609, 4672, 628, 26561, 18, 1594, 18, 2033, 19528, 1930, 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, 16033, 67, 2033, 19528, 12, 2890, 16, 1284, 78, 4672, 3536, 7520, 366, 20529, 628, 1592, 27016, 12123, 309, 1549, 12, 30514, 16, 609, 4672, 628, 26561, 18, 1594, 18, 2033, 19528, 1930, 2...
p = wc.configuration.ZapperParser(filename)
p = wc.configuration.confparse.ZapperParser(filename)
def read_ids (filename, ids): p = wc.configuration.ZapperParser(filename) p.parse() ids['folder']['sid'] = str(p.folder.sid) ids['folder']['oid'] = p.folder.oid ids['folder']['configversion'] = str(p.folder.configversion) for rule in p.folder.rules: for ftype in ('domains', 'urls'): if rule.name.endswith(ftype): ids[ft...
3465b5ee3ef1c0df3638f47dce4d547cf4c2df9c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/3465b5ee3ef1c0df3638f47dce4d547cf4c2df9c/bl2wc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 2232, 261, 3459, 16, 3258, 4672, 293, 273, 14310, 18, 7025, 18, 3923, 2670, 18, 62, 438, 457, 2678, 12, 3459, 13, 293, 18, 2670, 1435, 3258, 3292, 5609, 21712, 7453, 3546, 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, 855, 67, 2232, 261, 3459, 16, 3258, 4672, 293, 273, 14310, 18, 7025, 18, 3923, 2670, 18, 62, 438, 457, 2678, 12, 3459, 13, 293, 18, 2670, 1435, 3258, 3292, 5609, 21712, 7453, 3546, 273...
api = IApiVersion(ctx)
def search(self, ctx): """ Run the search query and prefix the results with API URL. """ api = IApiVersion(ctx) d = self.dbpool.runQueryInPast(ctx, self.query(), {'term': self.term}) d.addCallback(lambda results: ["/api/%s/%s" % (api, y[0]) for y in results]) return d
890e568faea2f3e24da02fbc763cced05144a7cd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13049/890e568faea2f3e24da02fbc763cced05144a7cd/search.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 2890, 16, 1103, 4672, 3536, 1939, 326, 1623, 843, 471, 1633, 326, 1686, 598, 1491, 1976, 18, 3536, 302, 273, 365, 18, 1966, 6011, 18, 2681, 1138, 382, 52, 689, 12, 5900, 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, 1623, 12, 2890, 16, 1103, 4672, 3536, 1939, 326, 1623, 843, 471, 1633, 326, 1686, 598, 1491, 1976, 18, 3536, 302, 273, 365, 18, 1966, 6011, 18, 2681, 1138, 382, 52, 689, 12, 5900, 16, ...
library_dirs = library_dirs)
library_dirs = library_dirs, extra_link_args = extra_link_args)
def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys()
e03cff86d24211eac31cf00c34d53fd3d5ed1bb0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10290/e03cff86d24211eac31cf00c34d53fd3d5ed1bb0/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3089, 12, 1098, 4672, 3536, 510, 355, 275, 628, 1635, 3651, 3875, 2728, 8395, 2065, 273, 2618, 364, 761, 316, 666, 30, 2065, 63, 1726, 65, 273, 875, 327, 2065, 18, 2452, 1435, 282, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3089, 12, 1098, 4672, 3536, 510, 355, 275, 628, 1635, 3651, 3875, 2728, 8395, 2065, 273, 2618, 364, 761, 316, 666, 30, 2065, 63, 1726, 65, 273, 875, 327, 2065, 18, 2452, 1435, 282, 2, ...
self.write(atoms) assert os.system('cd %s; elk' % self.dir) == 0 self.read()
self.update(atoms)
def get_potential_energy(self, atoms): self.write(atoms) assert os.system('cd %s; elk' % self.dir) == 0 self.read() return self.energy
68fa4ce4c49544fc36a9b70ec34c268d0772041b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5735/68fa4ce4c49544fc36a9b70ec34c268d0772041b/elk.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 26451, 67, 15358, 12, 2890, 16, 9006, 4672, 365, 18, 2725, 12, 14937, 13, 327, 365, 18, 15358, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 26451, 67, 15358, 12, 2890, 16, 9006, 4672, 365, 18, 2725, 12, 14937, 13, 327, 365, 18, 15358, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def post(self, url, params=None, headers={}, extra_environ={},
def post(self, url, params='', headers={}, extra_environ={},
def post(self, url, params=None, headers={}, extra_environ={}, status=None, upload_files=None, expect_errors=False): """ Do a POST request. Very like the ``.get()`` method. ``params`` are put in the body of the request.
2ea99159dffa41685396647367a4980868ecd3c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11400/2ea99159dffa41685396647367a4980868ecd3c5/fixture.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 12, 2890, 16, 880, 16, 859, 2218, 2187, 1607, 28793, 2870, 67, 28684, 28793, 1267, 33, 7036, 16, 3617, 67, 2354, 33, 7036, 16, 4489, 67, 4324, 33, 8381, 4672, 3536, 2256, 279, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 16, 880, 16, 859, 2218, 2187, 1607, 28793, 2870, 67, 28684, 28793, 1267, 33, 7036, 16, 3617, 67, 2354, 33, 7036, 16, 4489, 67, 4324, 33, 8381, 4672, 3536, 2256, 279, 54...
class TokenBased(_Pruner):
class TokenBasedOneIter(_Pruner):
def generate_children(self, particle, neighbors): """Produce two children, one for no nbest, no pbest, and one for the last branch that was taken by this particle. """ # Create child guessing that neither pbest nor nbest was updated child = SEParticle(particle, specpbest=False, specnbestid=-1) self.specex.set_motion_ra...
7a3971afd2cc9b63d644b90664fcb03d4fc17784 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/966/7a3971afd2cc9b63d644b90664fcb03d4fc17784/specmethod.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 5906, 12, 2890, 16, 20036, 16, 11003, 4672, 3536, 25884, 2795, 2325, 16, 1245, 364, 1158, 4264, 395, 16, 1158, 6386, 395, 16, 471, 1245, 364, 326, 1142, 3803, 716, 1703, 9830, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5906, 12, 2890, 16, 20036, 16, 11003, 4672, 3536, 25884, 2795, 2325, 16, 1245, 364, 1158, 4264, 395, 16, 1158, 6386, 395, 16, 471, 1245, 364, 326, 1142, 3803, 716, 1703, 9830, ...
"""This renders the plugins admin page."""
"""Shows all saved pages"""
def show_pages_overview(request): """This renders the plugins admin page.""" return render_admin_response( 'admin/pages.html', 'pages.overview', pages=Page.objects.all() )
23bf113b3d6c4a8054212202f08e8de98f689a9f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12815/23bf113b3d6c4a8054212202f08e8de98f689a9f/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 7267, 67, 26081, 12, 2293, 4672, 3536, 24548, 777, 5198, 4689, 8395, 327, 1743, 67, 3666, 67, 2740, 12, 296, 3666, 19, 7267, 18, 2620, 2187, 296, 7267, 18, 26081, 2187, 4689, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 7267, 67, 26081, 12, 2293, 4672, 3536, 24548, 777, 5198, 4689, 8395, 327, 1743, 67, 3666, 67, 2740, 12, 296, 3666, 19, 7267, 18, 2620, 2187, 296, 7267, 18, 26081, 2187, 4689, ...
bodyrefs.update(_setmovepointer(self.cond.references(), -stride))
bodyrefs.updatesure(_setmovepointer(self.cond.references(), -stride))
def postreferences(self): bodyrefs = self.bodypostreferences() stride = self.stride() if stride is not None: bodyrefs.update(_setmovepointer(self.cond.references(), -stride)) else: bodyrefs.add(None) # we don't know where it is. return bodyrefs
71e0598bb7dc6d9b90f66161eeb283e8ddccc073 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2040/71e0598bb7dc6d9b90f66161eeb283e8ddccc073/esotope-bfc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 14353, 12, 2890, 4672, 1417, 9316, 273, 365, 18, 70, 369, 879, 669, 14353, 1435, 11084, 273, 365, 18, 27937, 1435, 309, 11084, 353, 486, 599, 30, 1417, 9316, 18, 14703, 594, 24899,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14353, 12, 2890, 4672, 1417, 9316, 273, 365, 18, 70, 369, 879, 669, 14353, 1435, 11084, 273, 365, 18, 27937, 1435, 309, 11084, 353, 486, 599, 30, 1417, 9316, 18, 14703, 594, 24899,...
if nim.configMode.value == "loopthrough":
elif nim.configMode.value == "loopthrough":
def update(self): sec = secClass.getInstance() sec.clear() ## this do unlinking NIMs too !! print "sec config cleared" self.satList = []
35d026372584a1653e27db4c7d4060c327be8d53 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6652/35d026372584a1653e27db4c7d4060c327be8d53/NimManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 1428, 273, 1428, 797, 18, 588, 1442, 1435, 1428, 18, 8507, 1435, 7541, 333, 741, 8255, 310, 423, 3445, 87, 4885, 401, 5, 1172, 315, 3321, 642, 16054, 6, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 1428, 273, 1428, 797, 18, 588, 1442, 1435, 1428, 18, 8507, 1435, 7541, 333, 741, 8255, 310, 423, 3445, 87, 4885, 401, 5, 1172, 315, 3321, 642, 16054, 6, 365, 18, ...
DebugPrint (0, "ERROR: " + str(e) + "exception caught while processing record ")
DebugPrint (0, "ERROR: " + str(e) + " exception caught while processing record ")
def Send(record): global failedSendCount global suppressedCount global successfulSendCount try: DebugPrint(0, "***********************************************************") DebugPrint(4, "DEBUG: In Send(record)") DebugPrint(4, "DEBUG: Printing record to send") record.Print() DebugPrint(4, "DEBUG: Printing record to se...
acbae47f05e07a99f734092965efc47de80a393b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/637/acbae47f05e07a99f734092965efc47de80a393b/Gratia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2479, 12, 3366, 4672, 2552, 2535, 3826, 1380, 2552, 24448, 1380, 2552, 6873, 3826, 1380, 225, 775, 30, 4015, 5108, 12, 20, 16, 315, 5021, 19482, 636, 7388, 13, 4015, 5108, 12, 24, 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, 2479, 12, 3366, 4672, 2552, 2535, 3826, 1380, 2552, 24448, 1380, 2552, 6873, 3826, 1380, 225, 775, 30, 4015, 5108, 12, 20, 16, 315, 5021, 19482, 636, 7388, 13, 4015, 5108, 12, 24, 16, ...
prog.read_ini()
prog.read_ini('Tools.ini')
def main(argv): ver_file = '' if len(argv) > 0: opts, args = getopt.getopt(argv, "hclv:f:", [ "help", "cleanup", "libraries", "version=", "file="]) for opt, arg in opts: if opt in ("-h", "--help"): usage() sys.exit() if opt in ("-v", "--version"): prog.version = arg print "Start building WinMerge release version " + p...
6228d9b2cd65cc62ddf9628b32a0f457c7ec3358 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5344/6228d9b2cd65cc62ddf9628b32a0f457c7ec3358/create_release.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 1924, 67, 768, 273, 875, 309, 562, 12, 19485, 13, 405, 374, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 19485, 16, 315, 76, 830, 90, 30, 74, 2773, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19485, 4672, 1924, 67, 768, 273, 875, 309, 562, 12, 19485, 13, 405, 374, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 19485, 16, 315, 76, 830, 90, 30, 74, 2773, ...
self.typecode += '\n%s%s.typecode = Struct(%s,[%s], pname=name, aname="%%s" %% name, oname="%%s xmlns=\\"%s\\"" %% name )'\
self.typecode += '\n%s%s.typecode = Struct(%s,[%s], pname=name, aname="%s" %% name, oname="%%s xmlns=\\"%s\\"" %% name )'\
self.typecode += '\n%sdef __init__(self, name=None, ns=None): pass' %(ID1) break
f062f4cd5d2c50539a63020b5dfd9d6370b8a9a7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/f062f4cd5d2c50539a63020b5dfd9d6370b8a9a7/wsdl2python.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 723, 710, 1011, 2337, 82, 9, 87, 536, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 3153, 33, 7036, 4672, 1342, 11, 8975, 734, 21, 13, 898, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 723, 710, 1011, 2337, 82, 9, 87, 536, 1001, 2738, 972, 12, 2890, 16, 508, 33, 7036, 16, 3153, 33, 7036, 4672, 1342, 11, 8975, 734, 21, 13, 898, 2, -100, -100, -100, -100, -100, ...
a,b,c = b2, 8*b4, 16*b6
def short_weierstrass_model(self, complete_cube=True): """ Return a short Weierstrass model for self.
4789f2f4430b21d47b76bafb915b6110a6a45be1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/4789f2f4430b21d47b76bafb915b6110a6a45be1/ell_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3025, 67, 1814, 20778, 313, 428, 67, 2284, 12, 2890, 16, 3912, 67, 21186, 33, 5510, 4672, 3536, 2000, 279, 3025, 1660, 20778, 313, 428, 938, 364, 365, 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, 3025, 67, 1814, 20778, 313, 428, 67, 2284, 12, 2890, 16, 3912, 67, 21186, 33, 5510, 4672, 3536, 2000, 279, 3025, 1660, 20778, 313, 428, 938, 364, 365, 18, 2, -100, -100, -100, -100, -1...
val = _getParamValue(opt, cmdArgs[idx][(endChar+3):])
val = _getParamValue(opt, cmdArgs[idx][(len(name)+3):])
def processArgs(self, args=None): '''try to get parameters from a list of arguments *args* (default to ``sys.argv``). If ``-h`` or ``--help`` is in *args*, this function prints out a usage message and returns ``False``. ''' if args is None: cmdArgs = sys.argv else: cmdArgs = args if '-h' in cmdArgs or '--help' in cmdAr...
6ac5246ba4000f5881ab66d206602b065db34d5f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/401/6ac5246ba4000f5881ab66d206602b065db34d5f/simuOpt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 2615, 12, 2890, 16, 833, 33, 7036, 4672, 9163, 698, 358, 336, 1472, 628, 279, 666, 434, 1775, 380, 1968, 14, 261, 1886, 358, 12176, 9499, 18, 19485, 10335, 2934, 971, 12176, 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, 1207, 2615, 12, 2890, 16, 833, 33, 7036, 4672, 9163, 698, 358, 336, 1472, 628, 279, 666, 434, 1775, 380, 1968, 14, 261, 1886, 358, 12176, 9499, 18, 19485, 10335, 2934, 971, 12176, 17, ...
self.initVar("_data") self.dict["_data"] = parent
self.dict = deepcopy(parent)
def linkDataSet(self,parent): if not parent == None: self.initVar("_data") self.dict["_data"] = parent
dff53880f356f15ffcd3fc80d9da87244d5b5519 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2672/dff53880f356f15ffcd3fc80d9da87244d5b5519/data_dict.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 13676, 12, 2890, 16, 2938, 4672, 309, 486, 982, 422, 599, 30, 365, 18, 2738, 1537, 2932, 67, 892, 7923, 365, 18, 1576, 9614, 67, 892, 11929, 273, 982, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 13676, 12, 2890, 16, 2938, 4672, 309, 486, 982, 422, 599, 30, 365, 18, 2738, 1537, 2932, 67, 892, 7923, 365, 18, 1576, 9614, 67, 892, 11929, 273, 982, 2, -100, -100, -100, -100, ...
if self.debug > 0: print 'restart required! because cell changed'
log.debug('restart required! because cell changed')
def calculation_required(self, atoms=None, quantities=None): ''' determines if a calculation is needed.
efb0053a692e68241ce5b5d3e00d105383545b1a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5572/efb0053a692e68241ce5b5d3e00d105383545b1a/jacapo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11096, 67, 4718, 12, 2890, 16, 9006, 33, 7036, 16, 10251, 1961, 33, 7036, 4672, 9163, 12949, 309, 279, 11096, 353, 3577, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 11096, 67, 4718, 12, 2890, 16, 9006, 33, 7036, 16, 10251, 1961, 33, 7036, 4672, 9163, 12949, 309, 279, 11096, 353, 3577, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
folder = self.doclist.CreateFolder(folder_name)
folder = self.client.CreateFolder(folder_name)
def testCreateAndDeleteFolder(self): folder_name = 'TestFolder' folder = self.doclist.CreateFolder(folder_name) self.assertEqual(folder.title.text, folder_name) self.doclist.Delete(folder.GetEditLink().href)
76de6e666a2dc6ba3f703b89b870266619bcabd4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10620/76de6e666a2dc6ba3f703b89b870266619bcabd4/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1684, 1876, 2613, 3899, 12, 2890, 4672, 3009, 67, 529, 273, 296, 4709, 3899, 11, 3009, 273, 365, 18, 2625, 18, 1684, 3899, 12, 5609, 67, 529, 13, 365, 18, 11231, 5812, 12, 5609, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1684, 1876, 2613, 3899, 12, 2890, 4672, 3009, 67, 529, 273, 296, 4709, 3899, 11, 3009, 273, 365, 18, 2625, 18, 1684, 3899, 12, 5609, 67, 529, 13, 365, 18, 11231, 5812, 12, 5609, ...
if w >= rank_limit_relevance:
if w >= rank_limit_relevance:
def sort_record_relevance_findsimilar(recdict, rec_termcount, hitset, rank_limit_relevance, verbose): """Sorts the dictionary and returns records with a relevance higher than the given value. recdict - {recid: value} unsorted rank_limit_relevance - a value > 0 usually verbose - verbose value""" startCreate = time.time...
65057a59d7844e5dc821df793923e70a6a071b3b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/65057a59d7844e5dc821df793923e70a6a071b3b/bibrank_record_sorter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1524, 67, 3366, 67, 16599, 5882, 67, 4720, 22985, 12, 3927, 1576, 16, 1950, 67, 6408, 1883, 16, 6800, 542, 16, 6171, 67, 3595, 67, 16599, 5882, 16, 3988, 4672, 3536, 22447, 326, 3880, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1524, 67, 3366, 67, 16599, 5882, 67, 4720, 22985, 12, 3927, 1576, 16, 1950, 67, 6408, 1883, 16, 6800, 542, 16, 6171, 67, 3595, 67, 16599, 5882, 16, 3988, 4672, 3536, 22447, 326, 3880, ...
cmd = cmd + ' /IMPLIB:' + GetOutputDir() + '/lib/'+dll[10:-4]+".lib"
cmd = cmd + ' /IMPLIB:' + GetOutputDir() + '/lib/'+dll[len(GetOutputDir()+"/bin/"):-4]+".lib"
def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = 'link /nologo /NOD:MFC80.LIB /NOD:MFC90.LIB /NOD:LIBCI.LIB /NOD:MSVCRTD.LIB /DEBUG ' cmd = cmd + " /nod:libc /nod:libcmtd /nod:atlthunk" if (GetOrigExt(dll) != ".exe"): cmd = cmd + " /DLL" optlevel = GetOptimizeOption(opts,OPTIMIZE) if (optlevel==1): cmd = c...
1f06255489a6f52ace6cfed51e58aee258516b69 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/1f06255489a6f52ace6cfed51e58aee258516b69/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16143, 2098, 12, 27670, 16, 1081, 16, 1500, 4672, 309, 261, 31075, 14668, 31713, 3537, 13464, 6, 4672, 1797, 273, 296, 1232, 342, 82, 3966, 83, 342, 50, 1212, 30, 49, 4488, 3672, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16143, 2098, 12, 27670, 16, 1081, 16, 1500, 4672, 309, 261, 31075, 14668, 31713, 3537, 13464, 6, 4672, 1797, 273, 296, 1232, 342, 82, 3966, 83, 342, 50, 1212, 30, 49, 4488, 3672, 18, 1...
if chunks and len(chunks[0]) > width:
if chunks and len(chunks[-1]) > width:
def _wrap_chunks(self, chunks): """_wrap_chunks(chunks : [string]) -> [string]
813c5d3fb234531a2f4549fcc4952768bddda0f8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/813c5d3fb234531a2f4549fcc4952768bddda0f8/textwrap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4113, 67, 14691, 12, 2890, 16, 6055, 4672, 3536, 67, 4113, 67, 14691, 12, 14691, 294, 306, 1080, 5717, 317, 306, 1080, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4113, 67, 14691, 12, 2890, 16, 6055, 4672, 3536, 67, 4113, 67, 14691, 12, 14691, 294, 306, 1080, 5717, 317, 306, 1080, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
class livecd_stage3_target(generic_stage_target): def __init__(self,spec,addlargs):
def run_local(self): mynames=self.settings["boot/kernel"] if type(mynames)==types.StringType: mynames=[mynames] args=[] args.append(`len(mynames)`) for x in mynames: args.append(x) args.append(self.settings["boot/kernel/"+x+"/sources"]) if not os.path.exists(self.settings["boot/kernel/"+x+"/config"]): self.unbind() rai...
1e570df83eedb0a3be13a41e54fcfea58fe6892f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7327/1e570df83eedb0a3be13a41e54fcfea58fe6892f/targets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 3729, 12, 2890, 4672, 312, 878, 753, 33, 2890, 18, 4272, 9614, 7137, 19, 8111, 11929, 309, 618, 12, 81, 878, 753, 13, 631, 2352, 18, 780, 559, 30, 312, 878, 753, 22850, 81,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 3729, 12, 2890, 4672, 312, 878, 753, 33, 2890, 18, 4272, 9614, 7137, 19, 8111, 11929, 309, 618, 12, 81, 878, 753, 13, 631, 2352, 18, 780, 559, 30, 312, 878, 753, 22850, 81,...
gMonitor.addMark("File registration failed",1) gLogger.error("Failed to register %s to %s." % (lfn,targetSE))
gMonitor.addMark( "File registration failed", 1 ) gLogger.error( "Failed to register %s to %s." % ( lfn, targetSE ) )
def execute(self): subRequestAttributes = self.argumentsDict.get('SubRequestAttributes',{}) if not subRequestAttributes: return S_ERROR("SubRequestAttributes not supplied") subRequestFiles = self.argumentsDict.get('Files',{}) if not subRequestFiles: return S_ERROR("Files not supplied") targetSE = subRequestAttributes.g...
203b3f482634aa69b2569c32c04bfbf6f7a10c51 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/203b3f482634aa69b2569c32c04bfbf6f7a10c51/PutAndRegister.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 4672, 720, 691, 2498, 273, 365, 18, 7099, 5014, 18, 588, 2668, 1676, 691, 2498, 2187, 2916, 13, 309, 486, 720, 691, 2498, 30, 327, 348, 67, 3589, 2932, 1676, 691, 2498,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1836, 12, 2890, 4672, 720, 691, 2498, 273, 365, 18, 7099, 5014, 18, 588, 2668, 1676, 691, 2498, 2187, 2916, 13, 309, 486, 720, 691, 2498, 30, 327, 348, 67, 3589, 2932, 1676, 691, 2498,...
misc.WriteLine(resolv,"nameserver " + network["dns3"])
misc.WriteLine(resolv,"nameserver " + network["dns3"]))
def run(self): #we don't touch the wifi interface #but we do remove all wifi entries from the #routing table
4fd5957fdcb4d138c695adfbb87b082f1810c6e2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/353/4fd5957fdcb4d138c695adfbb87b082f1810c6e2/networking.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 1814, 2727, 1404, 6920, 326, 341, 704, 1560, 468, 12885, 732, 741, 1206, 777, 341, 704, 3222, 628, 326, 468, 16529, 1014, 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, 1086, 12, 2890, 4672, 468, 1814, 2727, 1404, 6920, 326, 341, 704, 1560, 468, 12885, 732, 741, 1206, 777, 341, 704, 3222, 628, 326, 468, 16529, 1014, 2, -100, -100, -100, -100, -100, -100...
try: self.parent.contents.remove(self) except ValueError: pass
idx = None for i, x in enumerate(self.parent.contents): if x is self: idx = i break if idx is not None: self.parent.contents.pop(idx)
def extract(self): """Destructively rips this element out of the tree.""" if self.parent: try: self.parent.contents.remove(self) except ValueError: pass
9fa6e8abe236d00be8209525c253617a75f6b652 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/9fa6e8abe236d00be8209525c253617a75f6b652/BeautifulSoup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 2890, 4672, 3536, 6305, 8813, 4492, 436, 7146, 333, 930, 596, 434, 326, 2151, 12123, 309, 365, 18, 2938, 30, 775, 30, 365, 18, 2938, 18, 3980, 18, 4479, 12, 2890, 13, 1335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 2890, 4672, 3536, 6305, 8813, 4492, 436, 7146, 333, 930, 596, 434, 326, 2151, 12123, 309, 365, 18, 2938, 30, 775, 30, 365, 18, 2938, 18, 3980, 18, 4479, 12, 2890, 13, 1335, ...
'all':(
'all':(
def run_tests(tests): for filename in tests: try: execfile(os.path.join(functional_dir, filename)) except: import traceback print "%s failed due to exception" % fileName type, value, stack = sys.exc_info() traceback.print_exception(type, value, stack, None, sys.stderr)
eca9a99ee60305be7b4dd4773565e94803a444a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/eca9a99ee60305be7b4dd4773565e94803a444a0/FunctionalTestSuite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 16341, 12, 16341, 4672, 364, 1544, 316, 7434, 30, 775, 30, 1196, 768, 12, 538, 18, 803, 18, 5701, 12, 915, 287, 67, 1214, 16, 1544, 3719, 1335, 30, 1930, 10820, 1172, 2213, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 16341, 12, 16341, 4672, 364, 1544, 316, 7434, 30, 775, 30, 1196, 768, 12, 538, 18, 803, 18, 5701, 12, 915, 287, 67, 1214, 16, 1544, 3719, 1335, 30, 1930, 10820, 1172, 2213, ...
If note in notebook mode, the output is displayed in a separate
If not in notebook mode, the output is displayed in a separate
def view(objects, title='SAGE', debug=False, sep='', tiny=False, pdflatex=None, viewer = None, tightpage = None, **kwds): r"""nodetex Compute a latex representation of each object in objects, compile, and display typeset. If used from the command line, this requires that latex be installed. INPUT: - ``objects`` - li...
0c6b8f8815764e61eb586c90481a3400ae53a30b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/0c6b8f8815764e61eb586c90481a3400ae53a30b/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 12, 6911, 16, 2077, 2218, 55, 2833, 2187, 1198, 33, 8381, 16, 5478, 2218, 2187, 24405, 33, 8381, 16, 8169, 26264, 33, 7036, 16, 14157, 273, 599, 16, 26066, 2433, 273, 599, 16, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 12, 6911, 16, 2077, 2218, 55, 2833, 2187, 1198, 33, 8381, 16, 5478, 2218, 2187, 24405, 33, 8381, 16, 8169, 26264, 33, 7036, 16, 14157, 273, 599, 16, 26066, 2433, 273, 599, 16, 28...
if (ignore.count(srcfile)): return([]);
if (ignore.count(srcfile)): return([])
def CxxCalcDependencies(srcfile, ipath, ignore): if (CxxDependencyCache.has_key(srcfile)): return CxxDependencyCache[srcfile] if (ignore.count(srcfile)): return([]); dep = {} dep[srcfile] = 1 includes = CxxGetIncludes(srcfile) for include in includes: if (CxxIgnoreHeader.has_key(include)==0): header = CxxFindHeader(src...
aa9700942409f59dfc63d4542d0bad0a01230726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/aa9700942409f59dfc63d4542d0bad0a01230726/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 385, 5279, 25779, 8053, 12, 4816, 768, 16, 277, 803, 16, 2305, 4672, 309, 261, 39, 5279, 7787, 1649, 18, 5332, 67, 856, 12, 4816, 768, 3719, 30, 327, 385, 5279, 7787, 1649, 63, 4816, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 385, 5279, 25779, 8053, 12, 4816, 768, 16, 277, 803, 16, 2305, 4672, 309, 261, 39, 5279, 7787, 1649, 18, 5332, 67, 856, 12, 4816, 768, 3719, 30, 327, 385, 5279, 7787, 1649, 63, 4816, ...
(remote_ip, rrset))
(remote_ip, rrset))
def handle_update(self, msg): """Process an update message."""
2b2b5839b23008a8980ab8eeeca606297c51c416 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4157/2b2b5839b23008a8980ab8eeeca606297c51c416/route53d.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2725, 12, 2890, 16, 1234, 4672, 3536, 2227, 392, 1089, 883, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 2725, 12, 2890, 16, 1234, 4672, 3536, 2227, 392, 1089, 883, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...