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
out.write("%s.o "%os.path.splitext(modules[mod])[0])
out.write("%s%s "%(os.path.splitext(modules[mod])[0],obj_ext))
def print_makefile(out,files,modules): "print Makefile dependencies" for r in files: out.write("%s.o:\t\t"%os.path.splitext(r['realname'])[0]) for mod in r['uses']: if mod in modules.keys(): if modules[mod] != r['realname']: out.write("%s.o "%os.path.splitext(modules[mod])[0]) for inc in r['includes']: out.write("%s "...
c98518074652f81381172a4ca817542c305f98a2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2666/c98518074652f81381172a4ca817542c305f98a2/f90_dependencies.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 6540, 768, 12, 659, 16, 2354, 16, 6400, 4672, 315, 1188, 4344, 768, 5030, 6, 225, 364, 436, 316, 1390, 30, 596, 18, 2626, 27188, 87, 18, 83, 5581, 88, 64, 88, 28385, 538, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 6540, 768, 12, 659, 16, 2354, 16, 6400, 4672, 315, 1188, 4344, 768, 5030, 6, 225, 364, 436, 316, 1390, 30, 596, 18, 2626, 27188, 87, 18, 83, 5581, 88, 64, 88, 28385, 538, ...
type_datum = type(datum) if type_datum is UnicodeType: datum = datum.encode(charset) data.append(str(datum))
def munge_message(self, msg, **kwargs): """Override this to messge with the message for subclasses""" return msg
def SearchableText(self): """All fields marked as 'searchable' are concatenated together here for indexing purpose. """ data = [] charset = self.getCharset() for field in self.Schema().fields(): if not field.searchable: continue method = field.getIndexAccessor(self) try: datum = method(mimetype="text/plain") except Ty...
666b3121d0973ee58e2280850b1b85da862b8b3c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/666b3121d0973ee58e2280850b1b85da862b8b3c/debug.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5167, 429, 1528, 12, 2890, 4672, 3536, 1595, 1466, 9350, 487, 296, 3072, 429, 11, 854, 22080, 9475, 2674, 364, 14403, 13115, 18, 3536, 501, 273, 5378, 4856, 273, 365, 18, 588, 9652, 1435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5167, 429, 1528, 12, 2890, 4672, 3536, 1595, 1466, 9350, 487, 296, 3072, 429, 11, 854, 22080, 9475, 2674, 364, 14403, 13115, 18, 3536, 501, 273, 5378, 4856, 273, 365, 18, 588, 9652, 1435...
print __doc__.replace('<N>', str(N))
print(__doc__.replace('<N>', str(N)))
def case8(): sys.stdout.writelines(Foo())
841edad43ceb903dbbc3b5f4621ec0628d2ca8dc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/841edad43ceb903dbbc3b5f4621ec0628d2ca8dc/iter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 648, 28, 13332, 2589, 18, 10283, 18, 5363, 14567, 12, 42, 5161, 10756, 225, 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, 648, 28, 13332, 2589, 18, 10283, 18, 5363, 14567, 12, 42, 5161, 10756, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sage: sage.symbolic.units.is_unit(var('meter')) True
sage: sage.symbolic.units.is_unit(var('meter')) True
def is_unit(s): """ Returns a boolean when asked whether the input is in the list of units. INPUT: - `s` -- an object OUTPUT: - ``bool`` EXAMPLES:: sage: sage.symbolic.units.is_unit(1) False sage: sage.symbolic.units.is_unit(units.length.meter) True The square of a unit is not a unit:: sage: sage.symbolic.units...
ed891e5784edd8a5e4d544f1ef837edc82b93924 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/ed891e5784edd8a5e4d544f1ef837edc82b93924/units.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 4873, 12, 87, 4672, 3536, 2860, 279, 1250, 1347, 19279, 2856, 326, 810, 353, 316, 326, 666, 434, 4971, 18, 225, 12943, 30, 225, 300, 1375, 87, 68, 1493, 392, 733, 225, 11550, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 4873, 12, 87, 4672, 3536, 2860, 279, 1250, 1347, 19279, 2856, 326, 810, 353, 316, 326, 666, 434, 4971, 18, 225, 12943, 30, 225, 300, 1375, 87, 68, 1493, 392, 733, 225, 11550, ...
return self._int != (0,)*len(self._int)
return sum(self._int) != 0
def __nonzero__(self): """Is the number non-zero?
323d0b30a64964b89a85e1b02e8fcc4017ce9fa7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/323d0b30a64964b89a85e1b02e8fcc4017ce9fa7/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 26449, 972, 12, 2890, 4672, 3536, 2520, 326, 1300, 1661, 17, 7124, 35, 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, 1001, 26449, 972, 12, 2890, 4672, 3536, 2520, 326, 1300, 1661, 17, 7124, 35, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
$$ (x,y) \mapsto (x',y') = (u^2*x+r , u^3*y + s*u^2*x' + t) $$
$$ (x,y) \mapsto (x',y') = (u^2*x+r , u^3*y + s*u^2*x' + t) $$.
def change_weierstrass_model(self, *urst): r""" Return a new Weierstrass model of self under the transformation (on points) $$ (x,y) \mapsto (x',y') = (u^2*x+r , u^3*y + s*u^2*x' + t) $$ EXAMPLES: sage: E = EllipticCurve('15a') sage: F1 = E.change_weierstrass_model([1/2,0,0,0]); F1 Elliptic Curve defined by y^2 + 2*x*...
4f0514b45a47cdf92a6d781876aa0dd2f3653f54 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/4f0514b45a47cdf92a6d781876aa0dd2f3653f54/ell_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2549, 67, 1814, 20778, 313, 428, 67, 2284, 12, 2890, 16, 380, 18593, 4672, 436, 8395, 2000, 279, 394, 1660, 20778, 313, 428, 938, 434, 365, 3613, 326, 8620, 261, 265, 3143, 13, 5366, 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, 2549, 67, 1814, 20778, 313, 428, 67, 2284, 12, 2890, 16, 380, 18593, 4672, 436, 8395, 2000, 279, 394, 1660, 20778, 313, 428, 938, 434, 365, 3613, 326, 8620, 261, 265, 3143, 13, 5366, 2...
if self.mode == "slow":
if "slow" in self.mode:
def run_init(self): "Runs the 2 first steps: XYCORR and INIT" self.inpParam["TRUSTED_REGION"] = [0, 1.20] self.inpParam["JOB"] = "XYCORR", "INIT" i1, i2 = self.inpParam["DATA_RANGE"] if self.mode == "slow": self.inpParam["BACKGROUND_RANGE"] = i1, min(i2, i1+11) else: self.inpParam["BACKGROUND_RANGE"] = i1, min(i2, i1...
a7de4b51cedee4f8c0433feacbde7525192c6031 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4374/a7de4b51cedee4f8c0433feacbde7525192c6031/XDS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 2738, 12, 2890, 4672, 315, 9361, 326, 576, 1122, 6075, 30, 18774, 9428, 54, 471, 12584, 6, 365, 18, 31647, 786, 9614, 4349, 5996, 2056, 67, 28314, 11929, 273, 306, 20, 16, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2738, 12, 2890, 4672, 315, 9361, 326, 576, 1122, 6075, 30, 18774, 9428, 54, 471, 12584, 6, 365, 18, 31647, 786, 9614, 4349, 5996, 2056, 67, 28314, 11929, 273, 306, 20, 16, 40...
The function prototype can be called in three ways to create a
The function prototype can be called in different ways to create a
def CFUNCTYPE(restype, *argtypes): """CFUNCTYPE(restype, *argtypes) -> function prototype. restype: the result type argtypes: a sequence specifying the argument types The function prototype can be called in three ways to create a callable object: prototype(integer address) -> foreign function prototype(callable) -> ...
866a5d89b29903735379fe778c1a08ef3314ba78 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/866a5d89b29903735379fe778c1a08ef3314ba78/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6123, 2124, 17331, 12, 8792, 388, 16, 380, 3175, 2352, 4672, 3536, 8955, 2124, 17331, 12, 8792, 388, 16, 380, 3175, 2352, 13, 317, 445, 4409, 18, 225, 3127, 388, 30, 326, 563, 618, 150...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6123, 2124, 17331, 12, 8792, 388, 16, 380, 3175, 2352, 4672, 3536, 8955, 2124, 17331, 12, 8792, 388, 16, 380, 3175, 2352, 13, 317, 445, 4409, 18, 225, 3127, 388, 30, 326, 563, 618, 150...
""" Add a Utility to the root folders Utility Service.
""" Add a Utility to the root folder's Utility Service.
def addUtility(root_folder, utility_type, utility_factory, **kw): """ Add a Utility to the root folders Utility Service. The utility is added to the default package and activated. This assumes the root folder already as a Utility Service """ package = getServiceManagerDefault(root_folder) chooser = INameChooser(packag...
60bd3d68310e0e9a3aab90aae046172435937d1a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9745/60bd3d68310e0e9a3aab90aae046172435937d1a/bootstrap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 6497, 12, 3085, 67, 5609, 16, 12788, 67, 723, 16, 12788, 67, 6848, 16, 2826, 9987, 4672, 3536, 1436, 279, 13134, 358, 326, 1365, 3009, 1807, 13134, 1956, 18, 225, 1021, 12788, 353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 6497, 12, 3085, 67, 5609, 16, 12788, 67, 723, 16, 12788, 67, 6848, 16, 2826, 9987, 4672, 3536, 1436, 279, 13134, 358, 326, 1365, 3009, 1807, 13134, 1956, 18, 225, 1021, 12788, 353, ...
try: captcha_url = "http://netload.in/" + re.search('(share/includes/captcha.php\?t=\d*)', self.html[1]).group(1) except: url_captcha_html = "http://netload.in/" + re.search('(index.php\?id=10&amp;.*&amp;captcha=1)', self.html[1]).group(1).replace("amp;", "")
for i in range(6):
def download_html2(self): url_captcha_html = "http://netload.in/" + re.search('(index.php\?id=10&amp;.*&amp;captcha=1)', self.html[0]).group(1).replace("amp;", "") self.html[1] = self.req.load(url_captcha_html, cookies=True)
24fd08a6773a4cddfb3dc7d81e85d9bec7d18205 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9838/24fd08a6773a4cddfb3dc7d81e85d9bec7d18205/NetloadIn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4224, 67, 2620, 22, 12, 2890, 4672, 880, 67, 27267, 67, 2620, 273, 315, 2505, 2207, 2758, 945, 18, 267, 4898, 397, 283, 18, 3072, 2668, 12, 1615, 18, 2684, 64, 35, 350, 33, 2163, 10,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4224, 67, 2620, 22, 12, 2890, 4672, 880, 67, 27267, 67, 2620, 273, 315, 2505, 2207, 2758, 945, 18, 267, 4898, 397, 283, 18, 3072, 2668, 12, 1615, 18, 2684, 64, 35, 350, 33, 2163, 10,...
author = obfuscate(changes[1]), desc = nl2br(cgi.escape(changes[4])), date = time.asctime(time.gmtime(t)),
author = changes[1], desc = changes[4], date = t,
def diff(): yield self.diff(p1, n, changes[3])
67df6715c948c4f7c6d7d2e72c3c108141d13150 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/67df6715c948c4f7c6d7d2e72c3c108141d13150/hgweb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 13332, 2824, 365, 18, 5413, 12, 84, 21, 16, 290, 16, 3478, 63, 23, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3122, 13332, 2824, 365, 18, 5413, 12, 84, 21, 16, 290, 16, 3478, 63, 23, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.value = int(text, 8) if negate: self.value = ~self.value & 077777
value = int(text, 8) if self.size == 1: self.value = value if negate: self.value = ~self.value & 077777 else: textval = "%010o" % value tval1 = textval[:5] tval2 = textval[5:] self.value = (int(tval1, 8), int(tval2, 8)) if negate: self.value[0] = ~self.value[0] & 077777 self.value[1] = ~self.value[1] & 077777
def _getOctal(self, text): negate = False self.type = self.OCTAL if text.startswith('-'): negate = True if text.startswith('-') or text.startswith('+'): text = text[1:] self.value = int(text, 8) if negate: self.value = ~self.value & 077777 self.valid = True
61c498782190367933ab197480db4d4669c6485b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8152/61c498782190367933ab197480db4d4669c6485b/number.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 19320, 287, 12, 2890, 16, 977, 4672, 15626, 273, 1083, 365, 18, 723, 273, 365, 18, 51, 1268, 1013, 309, 977, 18, 17514, 1918, 2668, 6627, 4672, 15626, 273, 1053, 309, 977, 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, 588, 19320, 287, 12, 2890, 16, 977, 4672, 15626, 273, 1083, 365, 18, 723, 273, 365, 18, 51, 1268, 1013, 309, 977, 18, 17514, 1918, 2668, 6627, 4672, 15626, 273, 1053, 309, 977, 18...
sage: v, t = qsieve(n, time=True) sage: v
sage: v, t = qsieve(n, time=True) sage: v
def qsieve(n, block=True, time=False, verbose=False): """ Run Hart's quadratic sieve and return the distinct proper factors of the integer n that it finds. INPUT: n -- an integer with at least 40 digits block -- (default: True) if True, you must wait until the sieve computation is complete before using SAGE further. I...
2463b3ce4815f07e5d3193d0253a20020ab5651e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/2463b3ce4815f07e5d3193d0253a20020ab5651e/qsieve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8719, 21271, 12, 82, 16, 1203, 33, 5510, 16, 813, 33, 8381, 16, 3988, 33, 8381, 4672, 3536, 1939, 670, 485, 1807, 26146, 272, 21271, 471, 327, 326, 10217, 5338, 14490, 434, 326, 3571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8719, 21271, 12, 82, 16, 1203, 33, 5510, 16, 813, 33, 8381, 16, 3988, 33, 8381, 4672, 3536, 1939, 670, 485, 1807, 26146, 272, 21271, 471, 327, 326, 10217, 5338, 14490, 434, 326, 3571, ...
self.navbar(prev, index, next)
self.navbar(self.prev, self.index, self.next)
def foot(self): print >> self.outfile, self.suffix self.navbar(prev, index, next) print >> self.outfile, """
babbdd40a3787aebac49db515737be23863262cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9464/babbdd40a3787aebac49db515737be23863262cb/irclog2html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14200, 12, 2890, 4672, 1172, 1671, 365, 18, 26050, 16, 365, 18, 8477, 365, 18, 11589, 3215, 12, 2890, 18, 10001, 16, 365, 18, 1615, 16, 365, 18, 4285, 13, 1172, 1671, 365, 18, 26050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14200, 12, 2890, 4672, 1172, 1671, 365, 18, 26050, 16, 365, 18, 8477, 365, 18, 11589, 3215, 12, 2890, 18, 10001, 16, 365, 18, 1615, 16, 365, 18, 4285, 13, 1172, 1671, 365, 18, 26050, ...
WindowSched.enter(child.my_number*1000, 0, my_ringer, child)
WindowSched.enter(child.my_number*1000, 0, my_ringer, (child,))
def my_hook(child): # schedule for the bell to ring in N seconds; cancel previous if child.my_id: WindowSched.cancel(child.my_id) child.my_id = \ WindowSched.enter(child.my_number*1000, 0, my_ringer, child)
0e71dc1106575f26cb55e55daec7c96955fffafa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/0e71dc1106575f26cb55e55daec7c96955fffafa/TestSched.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3399, 67, 4476, 12, 3624, 4672, 468, 4788, 364, 326, 324, 1165, 358, 9221, 316, 423, 3974, 31, 3755, 2416, 309, 1151, 18, 4811, 67, 350, 30, 6076, 55, 2049, 18, 10996, 12, 3624, 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, 3399, 67, 4476, 12, 3624, 4672, 468, 4788, 364, 326, 324, 1165, 358, 9221, 316, 423, 3974, 31, 3755, 2416, 309, 1151, 18, 4811, 67, 350, 30, 6076, 55, 2049, 18, 10996, 12, 3624, 18, ...
reslist=filter( lambda x: x[0] and (not x[1]), searchres )
reslist=filter( lambda x: not x[1], searchres )
def check_phrase_internal (self,phrase,tabkey=None,database='main'): '''Check word freq and user_freq ''' if type(phrase) != type(u''): phrase = phrase.decode('utf8') try: if phrase in self._no_check_chars: # if the phrase is a single char, and in no_check_chars, we skip it. return except: print 'you are using old form...
5788a2abe5571ead36cef99b87853ffbb90f9652 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/544/5788a2abe5571ead36cef99b87853ffbb90f9652/tabsqlitedb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 9429, 67, 7236, 261, 2890, 16, 9429, 16, 7032, 856, 33, 7036, 16, 6231, 2218, 5254, 11, 4672, 9163, 1564, 2076, 7684, 471, 729, 67, 10212, 9163, 309, 618, 12, 9429, 13, 480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 9429, 67, 7236, 261, 2890, 16, 9429, 16, 7032, 856, 33, 7036, 16, 6231, 2218, 5254, 11, 4672, 9163, 1564, 2076, 7684, 471, 729, 67, 10212, 9163, 309, 618, 12, 9429, 13, 480, ...
+-foo%(obj)s +-foo.c +-foo.h +-bar.h """ % globals()
+-foo.ooo | +-foo.c | +-foo.h | +-bar.h +-foo.xxx +-foo.ooo | +-foo.c | +-foo.h | +-bar.h +-bar.ooo +-bar.c +-bar.h +-foo.h """
#ifndef BAR_H
3b7ff720042f1b4863f7d386963392c0698b4cbf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12817/3b7ff720042f1b4863f7d386963392c0698b4cbf/option--debug.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 430, 82, 536, 605, 985, 67, 44, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 430, 82, 536, 605, 985, 67, 44, 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...
vmstat_dict['ctr_pageins'] = long(string.split(l)[-1][0:-2])
vmstat_dict['ctr_pageins'] = long(string.split(l)[-1][:-1])
def _getvmstat(self):
9e22f99208408658691d47f27cf07b0b98763f07 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3643/9e22f99208408658691d47f27cf07b0b98763f07/system.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 3489, 5642, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 3489, 5642, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
g = T.charpoly('x') V = T.kernel_on(V, poly=g//f, check=False) if V.rank() + self.rank() <= A.rank():
W = T.kernel_on(V, poly=g//f, check=False) if W.rank() < V.rank(): V = W misc.verbose("reduced rank to %s" % V.rank()) if V.rank() == rank_target:
def complement(self, bound=None): """ Return the largest Hecke-stable complement of this space.
f8d278382e9e906ac616e19ab3afb411bb1711d5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/f8d278382e9e906ac616e19ab3afb411bb1711d5/submodule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 2890, 16, 2489, 33, 7036, 4672, 3536, 2000, 326, 12756, 670, 762, 73, 17, 15021, 17161, 434, 333, 3476, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17161, 12, 2890, 16, 2489, 33, 7036, 4672, 3536, 2000, 326, 12756, 670, 762, 73, 17, 15021, 17161, 434, 333, 3476, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
and session
def update_session(key, val): """ put key/val into session, avoid writing if it is unchanged """ try: current_val = session[key] except KeyError: session[key] = val else: if val != current_val: session[key] = val
32dd277b6685805649c9b16b73f7499d553270b8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/888/32dd277b6685805649c9b16b73f7499d553270b8/session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 3184, 12, 856, 16, 1244, 4672, 3536, 1378, 498, 19, 1125, 1368, 1339, 16, 4543, 7410, 309, 518, 353, 14827, 3536, 775, 30, 783, 67, 1125, 273, 1339, 63, 856, 65, 1335, 4999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 3184, 12, 856, 16, 1244, 4672, 3536, 1378, 498, 19, 1125, 1368, 1339, 16, 4543, 7410, 309, 518, 353, 14827, 3536, 775, 30, 783, 67, 1125, 273, 1339, 63, 856, 65, 1335, 4999, ...
req_user = user_obj.browse(cron['request_user'])
def _callback(self, cron): try: args = (cron['args'] or []) and safe_eval(cron['args']) obj = self.pool.get(cron['model']) if not obj and hasattr(obj, cron['function']): return False fct = getattr(obj, cron['function']) fct(cron['user'], *args) except Exception, error: Transaction().cursor.rollback()
04dfe649c465695c6f18b72c6bac44ad41e0e89e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9266/04dfe649c465695c6f18b72c6bac44ad41e0e89e/cron.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3394, 12, 2890, 16, 9998, 4672, 775, 30, 833, 273, 261, 18041, 3292, 1968, 3546, 578, 5378, 13, 471, 4183, 67, 8622, 12, 18041, 3292, 1968, 19486, 1081, 273, 365, 18, 6011, 18, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3394, 12, 2890, 16, 9998, 4672, 775, 30, 833, 273, 261, 18041, 3292, 1968, 3546, 578, 5378, 13, 471, 4183, 67, 8622, 12, 18041, 3292, 1968, 19486, 1081, 273, 365, 18, 6011, 18, 58...
self.fill(1)
self._path = [self._position] self._filling = 1
def begin_fill(self): """ Called just before drawing a shape to be filled.
940f668a51bf98e56ee02b2398c53324deae8c87 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/940f668a51bf98e56ee02b2398c53324deae8c87/turtle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2376, 67, 5935, 12, 2890, 4672, 3536, 11782, 2537, 1865, 16327, 279, 2179, 358, 506, 6300, 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, ...
[ 1, 1, 1, 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, 2376, 67, 5935, 12, 2890, 4672, 3536, 11782, 2537, 1865, 16327, 279, 2179, 358, 506, 6300, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
newtb = tb.tb_next if newtb is None: return (exctype, excvalue, tb) return (exctype, excvalue, newtb)
return (exctype, excvalue, tb)
def __exc_info(self): """Return a version of sys.exc_info() with the traceback frame minimised; usually the top level of the traceback frame is not needed. """ exctype, excvalue, tb = sys.exc_info() if sys.platform[:4] == 'java': ## tracebacks look different in Jython return (exctype, excvalue, tb) newtb = tb.tb_next i...
b8d5f245b7077d869121835ed72656ac14962ef0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/b8d5f245b7077d869121835ed72656ac14962ef0/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 10075, 67, 1376, 12, 2890, 4672, 3536, 990, 279, 1177, 434, 2589, 18, 10075, 67, 1376, 1435, 598, 326, 10820, 2623, 18172, 5918, 31, 11234, 326, 1760, 1801, 434, 326, 10820, 2623, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10075, 67, 1376, 12, 2890, 4672, 3536, 990, 279, 1177, 434, 2589, 18, 10075, 67, 1376, 1435, 598, 326, 10820, 2623, 18172, 5918, 31, 11234, 326, 1760, 1801, 434, 326, 10820, 2623, ...
TixWidget.__init__(self, master, 'tixScrolledTList', ['options'], cnf, kw) self.subwidget_list['tlist'] = _dummyTList(self, 'tlist') self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb') self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
TixWidget.__init__(self, master, 'tixScrolledTList', ['options'], cnf, kw) self.subwidget_list['tlist'] = _dummyTList(self, 'tlist') self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb') self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
def __init__(self, master, cnf={}, **kw):
86af7ef7e3f4448abc89aa941517a84075d99a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/86af7ef7e3f4448abc89aa941517a84075d99a38/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 23118, 28793, 2826, 9987, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 23118, 28793, 2826, 9987, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
fix = [] fix_cart = {}
fix_cart = np.zeros([len(atoms),3])
def write_aims(filename, atoms, cell=None): """Method to write FHI-aims geometry files. Writes the atoms positions and constraints (only FixAtoms is supported at the moment). If cell=True also the unitcell is written out. """ from ase.constraints import FixAtoms, FixCartesian import numpy as np if cell is None: cell...
d693b4b60b812dbb59e92cad813e1d4036e0daf3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5572/d693b4b60b812dbb59e92cad813e1d4036e0daf3/aims.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 4581, 87, 12, 3459, 16, 9006, 16, 2484, 33, 7036, 4672, 3536, 1305, 358, 1045, 28705, 45, 17, 4581, 87, 5316, 1390, 18, 225, 30053, 326, 9006, 6865, 471, 6237, 261, 3700, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 4581, 87, 12, 3459, 16, 9006, 16, 2484, 33, 7036, 4672, 3536, 1305, 358, 1045, 28705, 45, 17, 4581, 87, 5316, 1390, 18, 225, 30053, 326, 9006, 6865, 471, 6237, 261, 3700, 121...
w.attach(durLabel, left_attach=1, right_attach=2, top_attach=offset, bottom_attach=offset+1, xoptions=gtk.FILL)
w.attach(durLabel, left_attach=1, right_attach=2, top_attach=offset, bottom_attach=offset+1, xoptions=gtk.FILL, yoptions=0)
def add(a, b, offset): dateLabel=gtk.Label(a) dateLabel.set_use_markup(True) dateLabel.set_alignment(xalign=0.0, yalign=0.5) w.attach(dateLabel, left_attach=0, right_attach=1, top_attach=offset, bottom_attach=offset+1, xoptions=gtk.FILL, xpadding=20) durLabel=gtk.Label(b) durLabel.set_use_markup(True) durLabel.set_ali...
8d2f1b34a4463061a61f9578c3488df97418997b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/8d2f1b34a4463061a61f9578c3488df97418997b/hamster.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 12, 69, 16, 324, 16, 1384, 4672, 1509, 2224, 33, 4521, 79, 18, 2224, 12, 69, 13, 1509, 2224, 18, 542, 67, 1202, 67, 15056, 12, 5510, 13, 1509, 2224, 18, 542, 67, 14409, 12, 92...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 69, 16, 324, 16, 1384, 4672, 1509, 2224, 33, 4521, 79, 18, 2224, 12, 69, 13, 1509, 2224, 18, 542, 67, 1202, 67, 15056, 12, 5510, 13, 1509, 2224, 18, 542, 67, 14409, 12, 92...
if preprocess and preprocess != NodeSet.intersection_update:
if preprocess and preprocess != class_set.intersection_update:
def runNodeSetCommand(args): """ Main script function. """ autostep = None command = None preprocess = None quiet = False excludes = NodeSet() try: opts, args = getopt.getopt(args[1:], "a:cefhiqvx:X", ["autostep=", "count", "expand", "fold", "help", "intersection", "quiet", "version", "exclude=", "xor"]) except getopt...
e33ac6a071917880e8fabc9b1f203713102bacc9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11479/e33ac6a071917880e8fabc9b1f203713102bacc9/nodeset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 907, 694, 2189, 12, 1968, 4672, 3536, 12740, 2728, 445, 18, 3536, 2059, 669, 881, 273, 599, 1296, 273, 599, 17942, 273, 599, 10902, 273, 1083, 13644, 273, 2029, 694, 1435, 225, 775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 907, 694, 2189, 12, 1968, 4672, 3536, 12740, 2728, 445, 18, 3536, 2059, 669, 881, 273, 599, 1296, 273, 599, 17942, 273, 599, 10902, 273, 1083, 13644, 273, 2029, 694, 1435, 225, 775...
<label string="(Keep empty to open the current situation)" align="0.0" colspan="3"/>
<label string="(Keep empty to open the current situation. Adjust HH:MM:SS to 00:00:00 to filter all resources of the day)" align="0.0" colspan="3"/>
def _action_open_window(self, cr, uid, data, context): return { 'name': False, 'view_type': 'form', "view_mode": 'tree,form', 'res_model': 'product.product', 'type': 'ir.actions.act_window', 'context':{'location': data['ids'][0],'from_date':data['form']['from_date'],'to_date':data['form']['to_date']}, 'domain':[('type'...
a305b1a2cac858e90a3fa6e052ff1dbcecd92bc6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/a305b1a2cac858e90a3fa6e052ff1dbcecd92bc6/wizard_location_product.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 67, 3190, 67, 5668, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 327, 288, 296, 529, 4278, 1083, 16, 296, 1945, 67, 723, 4278, 296, 687, 2187, 315, 1945, 67, 3188...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 67, 3190, 67, 5668, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 327, 288, 296, 529, 4278, 1083, 16, 296, 1945, 67, 723, 4278, 296, 687, 2187, 315, 1945, 67, 3188...
if not (isinstance(alphabet, Alphabet) or isinstance(alphabet, AlphabetEncoder)):
if not (isinstance(alphabet, Alphabet) \ or isinstance(alphabet, AlphabetEncoder)):
def to_alignment(sequences, alphabet=None, strict=True): """Returns a multiple sequence alignment (OBSOLETE). - sequences -An iterator that returns SeqRecord objects, or simply a list of SeqRecord objects. All the record sequences must be the same length. - alphabet - Optional alphabet. Stongly recommended. - strict...
a2855b4f95e94e4ef816422674d48a89ec6bbe18 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7167/a2855b4f95e94e4ef816422674d48a89ec6bbe18/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 14409, 12, 17190, 16, 10877, 33, 7036, 16, 5490, 33, 5510, 4672, 3536, 1356, 279, 3229, 3102, 8710, 261, 5704, 3584, 4311, 2934, 225, 300, 8463, 300, 979, 2775, 716, 1135, 14367...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 14409, 12, 17190, 16, 10877, 33, 7036, 16, 5490, 33, 5510, 4672, 3536, 1356, 279, 3229, 3102, 8710, 261, 5704, 3584, 4311, 2934, 225, 300, 8463, 300, 979, 2775, 716, 1135, 14367...
raise "Layout does not have foundations!"
raise AttributeError("Layout does not have foundations!")
def put_into_founds(self, card): if not self.with_foundations: raise "Layout does not have foundations!"
603fda4645541f7dbf99dbcc16d51c21cf1ef8c8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2756/603fda4645541f7dbf99dbcc16d51c21cf1ef8c8/make_pysol_freecell_board.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 67, 18591, 67, 7015, 87, 12, 2890, 16, 5270, 4672, 309, 486, 365, 18, 1918, 67, 7015, 1012, 30, 1002, 315, 3744, 1552, 486, 1240, 1392, 1012, 4442, 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, 1378, 67, 18591, 67, 7015, 87, 12, 2890, 16, 5270, 4672, 309, 486, 365, 18, 1918, 67, 7015, 1012, 30, 1002, 315, 3744, 1552, 486, 1240, 1392, 1012, 4442, 2, -100, -100, -100, -100, -10...
if os.path.exists(path): paths_to_remove.add(path)
paths_to_remove.add(path)
def uninstall(self, auto_confirm=False): """ Uninstall the distribution currently satisfying this requirement.
148ff3a8ed30471165d01398e701fae7a951917e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/148ff3a8ed30471165d01398e701fae7a951917e/req.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16577, 12, 2890, 16, 3656, 67, 10927, 33, 8381, 4672, 3536, 1351, 5425, 326, 7006, 4551, 9281, 14946, 333, 12405, 18, 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, 16577, 12, 2890, 16, 3656, 67, 10927, 33, 8381, 4672, 3536, 1351, 5425, 326, 7006, 4551, 9281, 14946, 333, 12405, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.request.log("Can't acquire write lock in %s", self.lock_dir)
self.request.log("Can't acquire write lock in %s" % self.lock_dir)
def update(self, content, encode=False): if encode: content = content.encode(config.charset) if not locking or locking and self.wlock.acquire(1.0): try: f = open(self._filename(), 'wb') f.write(content) f.close() try: os.chmod(self._filename(), 0666 & config.umask) except OSError: pass finally: if locking: self.wlock.r...
bd19f5fd9260a5523a37d7d11adffa6c667b2e83 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/bd19f5fd9260a5523a37d7d11adffa6c667b2e83/caching.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 913, 16, 2017, 33, 8381, 4672, 309, 2017, 30, 913, 273, 913, 18, 3015, 12, 1425, 18, 9999, 13, 309, 486, 18887, 578, 18887, 471, 365, 18, 91, 739, 18, 1077, 1039,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 913, 16, 2017, 33, 8381, 4672, 309, 2017, 30, 913, 273, 913, 18, 3015, 12, 1425, 18, 9999, 13, 309, 486, 18887, 578, 18887, 471, 365, 18, 91, 739, 18, 1077, 1039,...
@schema.observer(toAddress, ccAddress)
@schema.observer(toAddress, ccAddress, bccAddress)
def onFromMeChange(self, op, name): if op != "set": return
f368abdd7cb773f9ab5ef9e88bd1637612f221bb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/f368abdd7cb773f9ab5ef9e88bd1637612f221bb/mail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 1265, 4667, 3043, 12, 2890, 16, 1061, 16, 508, 4672, 309, 1061, 480, 315, 542, 6877, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 1265, 4667, 3043, 12, 2890, 16, 1061, 16, 508, 4672, 309, 1061, 480, 315, 542, 6877, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
heightremaining = maxheight-leading
heightremaining = maxheight if leading: self.leading = leading
def format(self, maxwidth, maxheight, program, leading=0): "return program with line operations added if at least one line fits" # note: a generated formatted segment should not be formatted again startstate = self.__dict__.copy() #remainder = self.cleanProgram(program) remainder = program[:] #program1 = remainder[:] #...
22c96d47bac7e0dd9cb4e4762c175c7e57ef3fe6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/22c96d47bac7e0dd9cb4e4762c175c7e57ef3fe6/para.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 2890, 16, 943, 2819, 16, 943, 4210, 16, 5402, 16, 7676, 33, 20, 4672, 315, 2463, 5402, 598, 980, 5295, 3096, 309, 622, 4520, 1245, 980, 13351, 6, 468, 4721, 30, 279, 4374, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 2890, 16, 943, 2819, 16, 943, 4210, 16, 5402, 16, 7676, 33, 20, 4672, 315, 2463, 5402, 598, 980, 5295, 3096, 309, 622, 4520, 1245, 980, 13351, 6, 468, 4721, 30, 279, 4374, 4...
if guarantee_limit and now()> mx.DateTime.strptime(guarantee_limit, '%Y-%m-%d'):
if guarantee_limit and today() > mx.DateTime.strptime(guarantee_limit, '%Y-%m-%d'):
def onchange_operation_type(self, cr, uid, ids, type,guarantee_limit): if not type: return {'value':{'location_id': False , 'location_dest_id' : False}} stock_id = self.pool.get('stock.location').search(cr, uid, [('name','=','Stock')])[0] produc_id = self.pool.get('stock.location').search(cr, uid, [('name','=','Defaul...
a1f57a44b59af4ea3a82339d2b0a51bd4b9bbeda /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7339/a1f57a44b59af4ea3a82339d2b0a51bd4b9bbeda/mrp_repair.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3427, 67, 7624, 67, 723, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 618, 16, 6891, 9106, 73, 67, 3595, 4672, 309, 486, 618, 30, 327, 13666, 1132, 4278, 27828, 3562, 67, 350, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3427, 67, 7624, 67, 723, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 618, 16, 6891, 9106, 73, 67, 3595, 4672, 309, 486, 618, 30, 327, 13666, 1132, 4278, 27828, 3562, 67, 350, 42...
if sys.platform == 'win32': args = ['"%s"' % arg for arg in args]
def restart_with_reloader(): """Spawn a new Python interpreter with the same arguments as this one, but running the reloader thread. """ while 1: _log('info', ' * Restarting with reloader...') args = [sys.executable] + sys.argv if sys.platform == 'win32': args = ['"%s"' % arg for arg in args] new_environ = os.environ.c...
0d91c122f5a9c932dcac4b42e271109c12a67b82 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14437/0d91c122f5a9c932dcac4b42e271109c12a67b82/serving.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7870, 67, 1918, 67, 266, 6714, 13332, 3536, 3389, 9533, 279, 394, 6600, 16048, 598, 326, 1967, 1775, 487, 333, 1245, 16, 1496, 3549, 326, 283, 6714, 2650, 18, 3536, 1323, 404, 30, 389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7870, 67, 1918, 67, 266, 6714, 13332, 3536, 3389, 9533, 279, 394, 6600, 16048, 598, 326, 1967, 1775, 487, 333, 1245, 16, 1496, 3549, 326, 283, 6714, 2650, 18, 3536, 1323, 404, 30, 389, ...
print m
def repl_cflag(m): print m repl = "CCFLAGS:= -Werror -msoft-float -c -MD -mv8 -O0 -g " if leon3_level.get() == 1: repl += "-DLEON3 " if test_system_level.get() == 1: repl += "-D_TEST_SYSTEM_ " if error_level.get() == 1: repl += "-D_ERROR " if trace_level.get() == 1: repl += "-D_TRACE " if warn_level.get() == 1: repl +=...
b45822ab1b8c283c918d4d526606c90504da4a9a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2128/b45822ab1b8c283c918d4d526606c90504da4a9a/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6831, 67, 71, 6420, 12, 81, 4672, 6831, 273, 315, 6743, 17836, 30, 33, 300, 59, 1636, 300, 959, 4401, 17, 5659, 300, 71, 300, 6188, 300, 17509, 28, 300, 51, 20, 300, 75, 315, 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, 6831, 67, 71, 6420, 12, 81, 4672, 6831, 273, 315, 6743, 17836, 30, 33, 300, 59, 1636, 300, 959, 4401, 17, 5659, 300, 71, 300, 6188, 300, 17509, 28, 300, 51, 20, 300, 75, 315, 309, ...
server.sendto('\xFF\xFF\xFF\xFFplayers', (self.cs_host, self.cs_port)) data = server.recv(16384)
server.sendto('\xFF\xFF\xFF\xFFplayers', (self.cs_host, self.cs_port)) data = server.recv(16384)
def cs_players(self, event): try: server = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
7a7bc55d6310853f8238b236b8021b8bbb1461ab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12048/7a7bc55d6310853f8238b236b8021b8bbb1461ab/gameservers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2873, 67, 1601, 414, 12, 2890, 16, 871, 4672, 775, 30, 1438, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 40, 15370, 13, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2873, 67, 1601, 414, 12, 2890, 16, 871, 4672, 775, 30, 1438, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 40, 15370, 13, 2, -100, -100, -100, -10...
_handlerList.remove(self)
def close(self): """ Tidy up any resources used by the handler.
3949a767fc77d495350ce1fe2ee100f56e64cd07 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/3949a767fc77d495350ce1fe2ee100f56e64cd07/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 3536, 399, 29609, 731, 1281, 2703, 1399, 635, 326, 1838, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1746, 12, 2890, 4672, 3536, 399, 29609, 731, 1281, 2703, 1399, 635, 326, 1838, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if request.method not in self.allowed_methods
if request.method not in self.allowed_methods:
def new_controller_func(request, *args, **kwargs): if request.method not in self.allowed_methods return HTTPMethodNotAllowed()
8dd8d72ef207521563f4e597ab01fc701e79807b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8420/8dd8d72ef207521563f4e597ab01fc701e79807b/decorators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 67, 5723, 67, 644, 12, 2293, 16, 380, 1968, 16, 2826, 4333, 4672, 309, 590, 18, 2039, 486, 316, 365, 18, 8151, 67, 5163, 30, 327, 8245, 19354, 1435, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 67, 5723, 67, 644, 12, 2293, 16, 380, 1968, 16, 2826, 4333, 4672, 309, 590, 18, 2039, 486, 316, 365, 18, 8151, 67, 5163, 30, 327, 8245, 19354, 1435, 2, -100, -100, -100, -100, -...
return '%s/dernieres-minutes' % self.portal_url
""" Get the link to all sejour fute """ utool = getToolByName(self.context, 'portal_url') return '%s/dernieres-minutes' % utool()
def getAllDerniereMinuteLink(self): return '%s/dernieres-minutes' % self.portal_url
df3134b16422e05f0d0ee7565f8417a04928ac25 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10188/df3134b16422e05f0d0ee7565f8417a04928ac25/derniereminute.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5514, 40, 8865, 77, 822, 18329, 2098, 12, 2890, 4672, 327, 1995, 87, 19, 765, 82, 2453, 281, 17, 17916, 11, 738, 365, 18, 24386, 67, 718, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5514, 40, 8865, 77, 822, 18329, 2098, 12, 2890, 4672, 327, 1995, 87, 19, 765, 82, 2453, 281, 17, 17916, 11, 738, 365, 18, 24386, 67, 718, 2, -100, -100, -100, -100, -100, -100, -100, ...
["BUG1234 DEBUG MAC : passes/text.html = TIMEOUT PASS"],
["BUGCR1234 DEBUG MAC : passes/text.html = TIMEOUT PASS"],
def test_valid_expectations(self): self.assert_lines_lint( ["passes/text.html = PASS"], "") self.assert_lines_lint( ["passes/text.html = FAIL PASS"], "") self.assert_lines_lint( ["passes/text.html = CRASH TIMEOUT FAIL PASS"], "") self.assert_lines_lint( ["BUG1234 MAC : passes/text.html = PASS FAIL"], "") self.assert_li...
b1e56747c60975e0eae8fc5abbc091023580cd0e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/b1e56747c60975e0eae8fc5abbc091023580cd0e/test_expectations_unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 877, 67, 12339, 1012, 12, 2890, 4672, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 877, 67, 12339, 1012, 12, 2890, 4672, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 6...
T[:,i] = t.T U[:,i] = u.T C[:,i] = c.T W[:,i] = w.T b = dot(t.T,u)[0]
T[:,i], U[:,i], C[:,i], W[:,i] = t.T, u.T, c.T, w.T b = dot(t.T,u)[0][0]
def __call__(self, data, y, x=None, nc=None, weight=None): if x == None: x = [v for v in data.domain.variables if v not in y]
2f0d6c2e9c037aae88c832940eb40e18d9619a80 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/2f0d6c2e9c037aae88c832940eb40e18d9619a80/orngRegression.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 501, 16, 677, 16, 619, 33, 7036, 16, 8194, 33, 7036, 16, 3119, 33, 7036, 4672, 309, 619, 422, 599, 30, 619, 273, 306, 90, 364, 331, 316, 501, 18, 430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1991, 972, 12, 2890, 16, 501, 16, 677, 16, 619, 33, 7036, 16, 8194, 33, 7036, 16, 3119, 33, 7036, 4672, 309, 619, 422, 599, 30, 619, 273, 306, 90, 364, 331, 316, 501, 18, 430...
read_bytes = 10
def verify_read_random_from_start(self, rar_file, raw_file): file_size = os.path.getsize(raw_file) rarf = open(rar_file, 'r') rawf = open(raw_file, 'r') read_bytes = 10 for i in xrange(0, 10000): # get random number rb = random.randrange(0, file_size-10) # align on 10 char boundary byte = rb - ((rb + 10) % 10) # make e...
4ae600c948a0104df4a1c8b4348829bd1dfe5c1f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12662/4ae600c948a0104df4a1c8b4348829bd1dfe5c1f/test-read.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 67, 896, 67, 9188, 67, 2080, 67, 1937, 12, 2890, 16, 436, 297, 67, 768, 16, 1831, 67, 768, 4672, 585, 67, 1467, 273, 1140, 18, 803, 18, 588, 1467, 12, 1899, 67, 768, 13, 436,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3929, 67, 896, 67, 9188, 67, 2080, 67, 1937, 12, 2890, 16, 436, 297, 67, 768, 16, 1831, 67, 768, 4672, 585, 67, 1467, 273, 1140, 18, 803, 18, 588, 1467, 12, 1899, 67, 768, 13, 436,...
msg = ugettext(self.success_message) messages.success(request, msg, fail_silently=True)
if self.success_message: msg = ugettext(self.success_message) messages.success(request, msg, fail_silently=True)
def __call__(self, request, *args, **kwargs): self.form_class = kwargs.get('form_class', getattr(self, 'form_class', self.get_form_class())) self.form_args = kwargs.get('form_args', getattr(self, 'form_args', self.get_form_args(*args, **kwargs))) self.template_name=kwargs.get('template_name', getattr(self, 'template_na...
489460b099524832e1d9858c919bbe7037b254d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12648/489460b099524832e1d9858c919bbe7037b254d3/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 590, 16, 380, 1968, 16, 2826, 4333, 4672, 365, 18, 687, 67, 1106, 273, 1205, 18, 588, 2668, 687, 67, 1106, 2187, 3869, 12, 2890, 16, 296, 687, 67, 1106...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 590, 16, 380, 1968, 16, 2826, 4333, 4672, 365, 18, 687, 67, 1106, 273, 1205, 18, 588, 2668, 687, 67, 1106, 2187, 3869, 12, 2890, 16, 296, 687, 67, 1106...
if request.method != 'POST': return HttpResponse('Method not allowed.', status=405)
def delete(request): """/<issue>/delete - Delete an issue. There is no way back.""" if request.method != 'POST': return HttpResponse('Method not allowed.', status=405) issue = request.issue tbd = [issue] for cls in [models.PatchSet, models.Patch, models.Comment, models.Message, models.Content]: tbd += cls.gql('WHERE A...
264566c645d8695a06618b4b815fa86679143ee3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/476/264566c645d8695a06618b4b815fa86679143ee3/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 12, 2293, 4672, 3536, 28177, 13882, 16893, 3733, 300, 2504, 392, 5672, 18, 225, 6149, 353, 1158, 4031, 1473, 12123, 5672, 273, 590, 18, 13882, 8739, 72, 273, 306, 13882, 65, 364, 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, 1430, 12, 2293, 4672, 3536, 28177, 13882, 16893, 3733, 300, 2504, 392, 5672, 18, 225, 6149, 353, 1158, 4031, 1473, 12123, 5672, 273, 590, 18, 13882, 8739, 72, 273, 306, 13882, 65, 364, 2...
tns = 'http://www.w3.org/2001/XMLSchema'
def getArrayType(self):
4d8ebba35fff2bb9af80b30200f02500bb52a11d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/4d8ebba35fff2bb9af80b30200f02500bb52a11d/wsdlInterface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12634, 559, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12634, 559, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def processNonWhitespaceCharacter(self, data):
def processNonSpaceCharacter(self, data):
def processNonWhitespaceCharacter(self, data): if self.collectingCharacters: self.characterBuffer += data else: self.anythingElse() self.parser.processCharacter(data)
71bb2b3bb38e163608588ee19478e6e981a2ee61 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4487/71bb2b3bb38e163608588ee19478e6e981a2ee61/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 3989, 3819, 7069, 12, 2890, 16, 501, 4672, 309, 365, 18, 14676, 310, 11600, 30, 365, 18, 11560, 1892, 1011, 501, 469, 30, 365, 18, 2273, 4274, 12427, 1435, 365, 18, 4288, 18, 256...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1207, 3989, 3819, 7069, 12, 2890, 16, 501, 4672, 309, 365, 18, 14676, 310, 11600, 30, 365, 18, 11560, 1892, 1011, 501, 469, 30, 365, 18, 2273, 4274, 12427, 1435, 365, 18, 4288, 18, 256...
prop_doc.docstring = get_docstring(prop)
prop_doc.docstring = get_docstring(prop, module_name=module_name)
def introspect_property(prop, prop_doc): """Add API documentation information about the property C{prop} to C{prop_doc} (specializing it to C{PropertyDoc}).""" prop_doc.specialize_to(PropertyDoc) # Record the property's docstring. prop_doc.docstring = get_docstring(prop) # Record the property's access functions. if h...
d9e67897aaaf2b8d18fca084b80edea62a58df3f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11420/d9e67897aaaf2b8d18fca084b80edea62a58df3f/docintrospecter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30165, 67, 4468, 12, 5986, 16, 2270, 67, 2434, 4672, 3536, 986, 1491, 7323, 1779, 2973, 326, 1272, 385, 95, 5986, 97, 358, 385, 95, 5986, 67, 2434, 97, 261, 9371, 6894, 518, 358, 385, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30165, 67, 4468, 12, 5986, 16, 2270, 67, 2434, 4672, 3536, 986, 1491, 7323, 1779, 2973, 326, 1272, 385, 95, 5986, 97, 358, 385, 95, 5986, 67, 2434, 97, 261, 9371, 6894, 518, 358, 385, ...
tag = string.lower(string.strip(rawdata[i+2:j-1])) if not tag: raise HTMLParseError("empty start tag", self.getpos())
match = endtagfind.match(rawdata, i) if not match: raise HTMLParseError("bad end tag: %s" % `rawdata[i:j]`, self.getpos()) tag = match.group(1)
def parse_endtag(self, i): rawdata = self.rawdata assert rawdata[i:i+2] == "</", "unexpected call to parse_endtag" match = endendtag.search(rawdata, i+1) # > if not match: return -1 j = match.end() tag = string.lower(string.strip(rawdata[i+2:j-1])) if not tag: raise HTMLParseError("empty start tag", self.getpos()) self...
bdda145495ce7ded36a4d0423674e0c0525e74ce /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/bdda145495ce7ded36a4d0423674e0c0525e74ce/HTMLParser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 409, 2692, 12, 2890, 16, 277, 4672, 1831, 892, 273, 365, 18, 1899, 892, 1815, 1831, 892, 63, 77, 30, 77, 15, 22, 65, 422, 6823, 3113, 315, 21248, 745, 358, 1109, 67, 409, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 409, 2692, 12, 2890, 16, 277, 4672, 1831, 892, 273, 365, 18, 1899, 892, 1815, 1831, 892, 63, 77, 30, 77, 15, 22, 65, 422, 6823, 3113, 315, 21248, 745, 358, 1109, 67, 409, ...
r -- MPolynomialRing, you must take care it matches the current singular ring as e.g. returned by singular.current_ring() kcache -- optional dictionary for faster finite field lookups, this is mainly usefull for finite extension fields
R -- MPolynomialRing: you *must* take care it matches the current singular ring as, e.g., returned by singular.current_ring() kcache -- (default: None); an optional dictionary for faster finite field lookups, this is mainly useful for finite extension fields
def sage_poly(self, r, kcache=None): """ Returns a SAGE polynomial in the ring r matching the provided poly which is a singular polynomial.
214a30eab3e3bdd4ac12dda038541d7fa10865f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/214a30eab3e3bdd4ac12dda038541d7fa10865f1/singular.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 410, 67, 16353, 12, 2890, 16, 436, 16, 417, 2493, 33, 7036, 4672, 3536, 2860, 279, 348, 2833, 16991, 316, 326, 9221, 436, 3607, 326, 2112, 7573, 1492, 353, 279, 10048, 16991, 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, 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, 272, 410, 67, 16353, 12, 2890, 16, 436, 16, 417, 2493, 33, 7036, 4672, 3536, 2860, 279, 348, 2833, 16991, 316, 326, 9221, 436, 3607, 326, 2112, 7573, 1492, 353, 279, 10048, 16991, 18, ...
self.assertAlmostEqual(np.prod(self.shape)*np.nbytes[np.float], \
self.assertAlmostEqual(np.prod(self.shape)*np.nbytes[self.dtype], \
def get_leaktest_scenario(self): self.assertAlmostEqual(np.prod(self.shape)*np.nbytes[np.float], \ self.footprint, -2) #100B
88b603ff621e2ad746a5d41f5fd968d468f8b565 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1380/88b603ff621e2ad746a5d41f5fd968d468f8b565/vtk_data.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 298, 581, 3813, 67, 26405, 12, 2890, 4672, 365, 18, 11231, 1067, 10329, 5812, 12, 6782, 18, 17672, 12, 2890, 18, 4867, 17653, 6782, 18, 82, 3890, 63, 2890, 18, 8972, 6487, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 298, 581, 3813, 67, 26405, 12, 2890, 4672, 365, 18, 11231, 1067, 10329, 5812, 12, 6782, 18, 17672, 12, 2890, 18, 4867, 17653, 6782, 18, 82, 3890, 63, 2890, 18, 8972, 6487, 521...
c = cmp(dict1, dict2)
if random.random() < 0.5: c = cmp(dict1, dict2) else: c = dict1 == dict2
def test_one(n): global mutate, dict1, dict2, dict1keys, dict2keys # Fill the dicts without mutating them. mutate = 0 dict1keys = fill_dict(dict1, range(n), n) dict2keys = fill_dict(dict2, range(n), n) # Enable mutation, then compare the dicts so long as they have the # same size. mutate = 1 if verbose: print "trying...
8418dd88ff4459913bf1c369fbf653e7158cc6f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/8418dd88ff4459913bf1c369fbf653e7158cc6f6/test_mutants.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 476, 12, 82, 4672, 2552, 15887, 16, 2065, 21, 16, 2065, 22, 16, 2065, 21, 2452, 16, 2065, 22, 2452, 225, 468, 14192, 326, 15838, 2887, 4318, 1776, 2182, 18, 15887, 273, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 476, 12, 82, 4672, 2552, 15887, 16, 2065, 21, 16, 2065, 22, 16, 2065, 21, 2452, 16, 2065, 22, 2452, 225, 468, 14192, 326, 15838, 2887, 4318, 1776, 2182, 18, 15887, 273, 374, ...
self.suppress_updates = False
self.transdepositing = False
def transdeposit_from_MMKit(self, singlet): '''Trans-deposit the current object in the MMKit on all singlets reachable through any sequence of bonds to the singlet <singlet>. '''
30b7b2668b35413b585c9c5811e352df52db7de2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/30b7b2668b35413b585c9c5811e352df52db7de2/depositMode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 906, 323, 1724, 67, 2080, 67, 8206, 14102, 12, 2890, 16, 4864, 1810, 4672, 9163, 1429, 17, 323, 1724, 326, 783, 733, 316, 326, 18295, 14102, 603, 777, 4864, 17307, 19234, 3059, 1281, 310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 906, 323, 1724, 67, 2080, 67, 8206, 14102, 12, 2890, 16, 4864, 1810, 4672, 9163, 1429, 17, 323, 1724, 326, 783, 733, 316, 326, 18295, 14102, 603, 777, 4864, 17307, 19234, 3059, 1281, 310...
sd = rp.conn.win32security.GetFileSecurity(rp.path, ACL.flags)
sd = rp.conn.win32security.GetNamedSecurityInfo(rp.path, SE_FILE_OBJECT, ACL.flags)
def load_from_rp(self, rp, skip_inherit_only = True): self.index = rp.index try: sd = rp.conn.win32security.GetFileSecurity(rp.path, ACL.flags) except: return
8d7a4278775380c2f5108b86c0dde2f2a4148d32 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8033/8d7a4278775380c2f5108b86c0dde2f2a4148d32/win_acls.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 2080, 67, 13832, 12, 2890, 16, 8715, 16, 2488, 67, 6018, 67, 3700, 273, 1053, 4672, 365, 18, 1615, 273, 8715, 18, 1615, 775, 30, 8349, 273, 8715, 18, 4646, 18, 8082, 1578, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 2080, 67, 13832, 12, 2890, 16, 8715, 16, 2488, 67, 6018, 67, 3700, 273, 1053, 4672, 365, 18, 1615, 273, 8715, 18, 1615, 775, 30, 8349, 273, 8715, 18, 4646, 18, 8082, 1578, ...
else:
elif not silent:
def lrscan(): # long-range sensor scan if damaged(DLRSENS): # Now allow base's sensors if docked if game.condition != "docked": prout(_("LONG-RANGE SENSORS DAMAGED.")) return prout(_("Starbase's long-range scan")) else: prout(_("Long-range scan")) for x in range(game.quadrant.x-1, game.quadrant.x+2): proutn(" ") for y ...
874334bb4787b1c102e1171674709e30ee23368a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3176/874334bb4787b1c102e1171674709e30ee23368a/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12226, 9871, 13332, 468, 1525, 17, 3676, 10583, 4135, 309, 302, 301, 11349, 12, 8914, 54, 26753, 4672, 468, 4494, 1699, 1026, 1807, 31349, 309, 5822, 329, 309, 7920, 18, 4175, 480, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12226, 9871, 13332, 468, 1525, 17, 3676, 10583, 4135, 309, 302, 301, 11349, 12, 8914, 54, 26753, 4672, 468, 4494, 1699, 1026, 1807, 31349, 309, 5822, 329, 309, 7920, 18, 4175, 480, 315, ...
elif not newtrack and self.play:
elif not force and self.play:
def updateBar(self,newtrack=False): if newtrack: try: pr=str(self.connection.status['time']).split(":") except KeyError: #worst line ever? ti=self.connection.client.playlistinfo()[int(self.connection.client.status()['songid'])] pr=[ti['pos'],ti['time']] self.ui.progressBar.setMaximum(int(pr[1])) self.ui.progressBar.set...
a677088cc6d09a460af64e1f37bfcfcc441cf943 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14596/a677088cc6d09a460af64e1f37bfcfcc441cf943/qplayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 5190, 12, 2890, 16, 2704, 4101, 33, 8381, 4672, 309, 394, 4101, 30, 775, 30, 846, 33, 701, 12, 2890, 18, 4071, 18, 2327, 3292, 957, 3546, 2934, 4939, 2932, 2773, 13, 1335, 4999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 5190, 12, 2890, 16, 2704, 4101, 33, 8381, 4672, 309, 394, 4101, 30, 775, 30, 846, 33, 701, 12, 2890, 18, 4071, 18, 2327, 3292, 957, 3546, 2934, 4939, 2932, 2773, 13, 1335, 4999, ...
hostmask = self.nick_to_host(irc, target) match = self.getBans(hostmask, channel)
def format_entry(entry): ret = list(entry[:-1]) t = cPickle.loads(entry[-1]).astimezone(pytz.timezone('UTC')).strftime("%b %d %Y %H:%M:%S") ret.append(t) return tuple(ret)
353e8a3cb6570f78f25b8d8c4070231630fbefe3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3106/353e8a3cb6570f78f25b8d8c4070231630fbefe3/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 4099, 12, 4099, 4672, 325, 273, 666, 12, 4099, 10531, 17, 21, 5717, 268, 273, 276, 17968, 298, 18, 17135, 12, 4099, 18919, 21, 65, 2934, 689, 494, 3486, 12, 2074, 12994, 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, 740, 67, 4099, 12, 4099, 4672, 325, 273, 666, 12, 4099, 10531, 17, 21, 5717, 268, 273, 276, 17968, 298, 18, 17135, 12, 4099, 18919, 21, 65, 2934, 689, 494, 3486, 12, 2074, 12994, 18, ...
ImportMozillaCVS(args[0], options.hg, options.cvsroot, options.tempdir,
ImportMozillaCVS(args[0], options.cvsroot, options.hg, options.tempdir,
def InitRepo(directory, hg=None): hg = ensurevalue(hg, "HG", "hg") check_call([hg, 'init', directory]) ignoref = open("%s/.hgignore" % directory, "wb") print >>ignoref, "CVS\/.*\n\\.cvsignore$" ignoref.close() check_call([hg, 'add', '.hgignore'], cwd=directory) check_call([hg, 'commit', '-d', HG_INIT_PREP_COMMIT_DATE...
5410dd425835672ac85dab33df823bbbc1c05147 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13067/5410dd425835672ac85dab33df823bbbc1c05147/cvs2hg-import.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4378, 8791, 12, 5149, 16, 22576, 33, 7036, 4672, 22576, 273, 3387, 1132, 12, 26981, 16, 315, 44, 43, 3113, 315, 26981, 7923, 866, 67, 1991, 3816, 26981, 16, 296, 2738, 2187, 1867, 5717, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4378, 8791, 12, 5149, 16, 22576, 33, 7036, 4672, 22576, 273, 3387, 1132, 12, 26981, 16, 315, 44, 43, 3113, 315, 26981, 7923, 866, 67, 1991, 3816, 26981, 16, 296, 2738, 2187, 1867, 5717, ...
print "G1 Z%6.2f F%6.2f" % (-nutHeight * 1.5, feedrate * 0.5)
print "G1 Z%06.2f F%06.2f" % (-nutHeight * 1.5, feedrate * 0.5) print "G92 Z0" def build_z_kebab(length): "Function to output the GCode to build a Z kebab of a certain length." print "M00 (Grab a %06.2fmm rod and 4 nuts)" % (length) nutPosition = length - nutHeight - 50 - blockSize - blockSize if useWashers: nutPo...
def build_frame_kebab(length): "Function to output the GCode to build a frame kebab of a certain length." #user prompt for raw materials if useWashers: print "M00 (Grab a %6.2fmm rod, 4 nuts, 4 washers, and 2 frame brackets. Thread it into the nut winder.)" % (length) else: print "M00 (Grab a %6.2fmm rod, 4 nuts, and...
74fb04ff2e7d3c298179074e45420a96021f9c99 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/479/74fb04ff2e7d3c298179074e45420a96021f9c99/make_bot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 3789, 67, 4491, 70, 378, 12, 2469, 4672, 315, 2083, 358, 876, 326, 611, 1085, 358, 1361, 279, 2623, 12519, 70, 378, 434, 279, 8626, 769, 1199, 225, 468, 1355, 6866, 364, 1831...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 3789, 67, 4491, 70, 378, 12, 2469, 4672, 315, 2083, 358, 876, 326, 611, 1085, 358, 1361, 279, 2623, 12519, 70, 378, 434, 279, 8626, 769, 1199, 225, 468, 1355, 6866, 364, 1831...
if verbose: print 'unpack tuple wrong size' try: a, b = t raise TestFailed except ValueError: pass
Now for some failures
def __getitem__(self, i): if i >= 0 and i < 3: return i raise IndexError
4f813074150348704b07b2ebfc7dc357e888a6aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/4f813074150348704b07b2ebfc7dc357e888a6aa/test_unpack.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 277, 4672, 309, 277, 1545, 374, 471, 277, 411, 890, 30, 327, 277, 1002, 10195, 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, 1001, 31571, 972, 12, 2890, 16, 277, 4672, 309, 277, 1545, 374, 471, 277, 411, 890, 30, 327, 277, 1002, 10195, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if isinstance(res,pointer_IAccessible):
if isinstance(res,IAccessible):
def accParent(ia,child): try: if not child: res=ia.accParent if isinstance(res,pointer_IAccessible): new_ia=res new_child=0 elif isinstance(res,comtypesClient._Dispatch): new_ia=res.QueryInterface(IAccessible) new_child=0 elif isinstance(res,int): new_ia=ia new_child=res else: new_ia=ia new_child=0 return (new_ia,new_c...
54f5fb8ca408d94e0671d354611b49eb4bb2b114 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/54f5fb8ca408d94e0671d354611b49eb4bb2b114/IAccessibleHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4078, 3054, 12, 1155, 16, 3624, 4672, 775, 30, 309, 486, 1151, 30, 400, 33, 1155, 18, 8981, 3054, 309, 1549, 12, 455, 16, 45, 10451, 4672, 394, 67, 1155, 33, 455, 394, 67, 3624, 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, 4078, 3054, 12, 1155, 16, 3624, 4672, 775, 30, 309, 486, 1151, 30, 400, 33, 1155, 18, 8981, 3054, 309, 1549, 12, 455, 16, 45, 10451, 4672, 394, 67, 1155, 33, 455, 394, 67, 3624, 33, ...
item, funcs, classes, mdict, name) title = '<a name="%s">class <strong>%s</strong></a>' % (name, name)
value, key, funcs, classes, mdict, name) if name == realname: title = '<a name="%s">class <strong>%s</strong></a>' % ( name, realname) else: title = '<strong>%s</strong> = <a name="%s">class %s</a>' % ( name, name, realname)
def docclass(self, object, funcs={}, classes={}): """Produce HTML documentation for a class object.""" name = object.__name__ bases = object.__bases__ contents = ''
2c3f3ddf9452a1f3f228e0d8c7abdbeed214a6b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/2c3f3ddf9452a1f3f228e0d8c7abdbeed214a6b7/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 1106, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 12938, 4672, 3536, 25884, 3982, 7323, 364, 279, 667, 733, 12123, 508, 273, 733, 16186, 529, 972, 8337, 273, 733, 16186, 18602, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 997, 1106, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 12938, 4672, 3536, 25884, 3982, 7323, 364, 279, 667, 733, 12123, 508, 273, 733, 16186, 529, 972, 8337, 273, 733, 16186, 18602, 972, ...
self.tk.call(self._w, 'appendhistory', str)
self.tk.call(self._w, 'appendhistory', str)
def append_history(self, str):
22710823fb554a796dc96c44885d7a9389426824 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/22710823fb554a796dc96c44885d7a9389426824/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 714, 67, 8189, 12, 2890, 16, 609, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 714, 67, 8189, 12, 2890, 16, 609, 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, ...
unwrap = re.compile(r"(?<=.{%i}([a-z,;):\IA]|(?<!\&\w{4});))\s*</(span|p|div)>\s*(</(p|span|div)>)?\s*(?P<up2threeblanks><(p|span|div)[^>]*>\s*(<(p|span|div)[^>]*>\s*</(span|p|div)>\s*)</(span|p|div)>\s*){0,3}\s*<(span|div|p)[^>]*>\s*(<(span|div|p)[^>]*>)?\s*" % length, re.UNICODE)
unwrap = re.compile(u"(?<=.{%i}([a-z,:)\IA\u00DF]|(?<!\&\w{4});))\s*</(span|p|div)>\s*(</(p|span|div)>)?\s*(?P<up2threeblanks><(p|span|div)[^>]*>\s*(<(p|span|div)[^>]*>\s*</(span|p|div)>\s*)</(span|p|div)>\s*){0,3}\s*<(span|div|p)[^>]*>\s*(<(span|div|p)[^>]*>)?\s*" % length, re.UNICODE)
def __call__(self, html): self.log("********* Preprocessing HTML *********")
217a1716faf8c8394b52f3467e07f537137de217 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/217a1716faf8c8394b52f3467e07f537137de217/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 1729, 4672, 365, 18, 1330, 2932, 1644, 14, 225, 2962, 10632, 3982, 225, 380, 1644, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 1729, 4672, 365, 18, 1330, 2932, 1644, 14, 225, 2962, 10632, 3982, 225, 380, 1644, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if (next_word_size + tmp_occupied_size) < (width - tmp_size) and occupied_height <= height:
if (next_word_size + tmp_occupied_size) < cache_wt:
def drawstringframedsoft(self, string, x, y, width, height, fgcolor=None, bgcolor=None, font=None, ptsize=0, align_h='left', align_v='top', layer=None, ellipses='...'):
f9be34fe6bf36d18d76b59cccedd089b5c4584eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/f9be34fe6bf36d18d76b59cccedd089b5c4584eb/osd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 1080, 74, 1940, 329, 9269, 12, 2890, 16, 533, 16, 619, 16, 677, 16, 1835, 16, 2072, 16, 10186, 3266, 33, 7036, 16, 31509, 33, 7036, 16, 3512, 33, 7036, 16, 5818, 1467, 33, 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, 3724, 1080, 74, 1940, 329, 9269, 12, 2890, 16, 533, 16, 619, 16, 677, 16, 1835, 16, 2072, 16, 10186, 3266, 33, 7036, 16, 31509, 33, 7036, 16, 3512, 33, 7036, 16, 5818, 1467, 33, 20, ...
otherEdges = list( MelFormLayout.ALL_EDGES ) otherEdges.remove( edge1 ) otherEdges.remove( edge2 ) otherEdge1, otherEdge2 = otherEdges for child in children: self( e=True, af=((child, otherEdge1, 0), (child, otherEdge2, 0)) )
self.layoutExpand( children )
def layout( self ): padding = self.padding children = self.getChildren()
06e7502aa22e5e1d21a3fd883faac0b8a2864c7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1810/06e7502aa22e5e1d21a3fd883faac0b8a2864c7b/baseMelUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3511, 12, 365, 262, 30, 4992, 273, 365, 18, 9598, 2325, 273, 365, 18, 588, 4212, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 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, 3511, 12, 365, 262, 30, 4992, 273, 365, 18, 9598, 2325, 273, 365, 18, 588, 4212, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.assertEquals(CLONE_COUNTER.get(orig_url), 0)
def test_rename(self): obj_id = 'demodoc' new_id = 'new_demodoc' doc = makeContent(self.folder, portal_type='Fact', id=obj_id) content = 'The book is on the table!' doc.setQuote(content, mimetype="text/plain") orig_url = doc.absolute_url() self.failUnless(str(doc.getQuote()) == str(content)) #make sure we have _p_jar g...
49fd1fc877cc263bec78f0818eeec475d277e73c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/49fd1fc877cc263bec78f0818eeec475d277e73c/test_rename.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 18539, 12, 2890, 4672, 1081, 67, 350, 273, 296, 323, 1711, 504, 11, 394, 67, 350, 273, 296, 2704, 67, 323, 1711, 504, 11, 997, 273, 1221, 1350, 12, 2890, 18, 5609, 16, 1189...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 18539, 12, 2890, 4672, 1081, 67, 350, 273, 296, 323, 1711, 504, 11, 394, 67, 350, 273, 296, 2704, 67, 323, 1711, 504, 11, 997, 273, 1221, 1350, 12, 2890, 18, 5609, 16, 1189...
entry.setData(cgi.escape(entry['content']))
entry.setData(cgi.escape(entry.getData()))
def __processEntry(self, entry, current_date): """ Main workhorse of pyblosxom stories, comments and other miscelany goes here
6e13caaf7ea0f1fc27564e9739b995ac337a645f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11836/6e13caaf7ea0f1fc27564e9739b995ac337a645f/blosxom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2567, 1622, 12, 2890, 16, 1241, 16, 783, 67, 712, 4672, 3536, 12740, 1440, 76, 23035, 434, 2395, 70, 383, 30319, 362, 384, 2401, 16, 5678, 471, 1308, 7524, 2183, 2273, 13998, 2674,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2567, 1622, 12, 2890, 16, 1241, 16, 783, 67, 712, 4672, 3536, 12740, 1440, 76, 23035, 434, 2395, 70, 383, 30319, 362, 384, 2401, 16, 5678, 471, 1308, 7524, 2183, 2273, 13998, 2674,...
SQL_select = "select id from user where email = '%s' and password='%s'"%(p_email,p_pw) query_ID = int(run_sql(SQL_select)[0][0])
query_ID = int(run_sql("select id from user where email=%s and password=%s", (p_email,p_pw))[0][0])
def update_Uid(req,p_email,p_pw,uid): """It updates the userId of the session. It is used when a guest user is logged in succesfully in the system with a given email and password """ ## clean the guest user line which id = uid, previously inserted as guest user SQL_select = "select id from user where email = '%s' and p...
89522df1aa794a89017aeb7e5aa2e1881da95d6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/89522df1aa794a89017aeb7e5aa2e1881da95d6e/webuser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 11994, 12, 3658, 16, 84, 67, 3652, 16, 84, 67, 14921, 16, 1911, 4672, 3536, 7193, 4533, 326, 6249, 434, 326, 1339, 18, 2597, 353, 1399, 1347, 279, 13051, 729, 353, 7545, 316,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 11994, 12, 3658, 16, 84, 67, 3652, 16, 84, 67, 14921, 16, 1911, 4672, 3536, 7193, 4533, 326, 6249, 434, 326, 1339, 18, 2597, 353, 1399, 1347, 279, 13051, 729, 353, 7545, 316,...
print "Classifying took", time.time() - t, "seconds."
print "Classifying took %.4f seconds." % (time.time() - t,)
def Filter(self): if options["globals", "verbose"]: t = time.time() count = {} count["ham"] = 0 count["spam"] = 0 count["unsure"] = 0
c62b9d629ac64b3cdf23f22f32ebdd99d35c9cc6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/c62b9d629ac64b3cdf23f22f32ebdd99d35c9cc6/sb_imapfilter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4008, 12, 2890, 4672, 309, 702, 9614, 16227, 3113, 315, 11369, 11929, 30, 268, 273, 813, 18, 957, 1435, 1056, 273, 2618, 1056, 9614, 31698, 11929, 273, 374, 1056, 9614, 1752, 301, 11929, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4008, 12, 2890, 4672, 309, 702, 9614, 16227, 3113, 315, 11369, 11929, 30, 268, 273, 813, 18, 957, 1435, 1056, 273, 2618, 1056, 9614, 31698, 11929, 273, 374, 1056, 9614, 1752, 301, 11929, ...
self.uploadUrl = _HTTPPostUrl
self.uploadUrl = _HTTPPostURL
def __init__(self): self.state = TaskState(os.getcwd()) self.state.loadRunResDB() self.config = self.state.configurationDict() self.workflowSpecId = self.config['WorkflowSpecID'][0] self.jobSpecId = self.config['JobSpecID'][0]
8aa0379b7ff693cb5ae777625af3f75853af35f9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8887/8aa0379b7ff693cb5ae777625af3f75853af35f9/RuntimeOfflineDQM.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 2019, 273, 3837, 1119, 12, 538, 18, 588, 11089, 10756, 365, 18, 2019, 18, 945, 1997, 607, 2290, 1435, 365, 18, 1425, 273, 365, 18, 2019, 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, 4672, 365, 18, 2019, 273, 3837, 1119, 12, 538, 18, 588, 11089, 10756, 365, 18, 2019, 18, 945, 1997, 607, 2290, 1435, 365, 18, 1425, 273, 365, 18, 2019, 18, ...
self.siteInfo = createObject('groupserver.SiteInfo', context)
self.siteInfo = createObject('groupserver.SiteInfo', ctx)
def __init__(self, context, groupId=None): self.context = context self.groupId = groupId self.siteInfo = createObject('groupserver.SiteInfo', context) self.groupObj = self.__get_group_object()
86da76d2323bd4bfc4b89947fe7dd025ac756997 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6272/86da76d2323bd4bfc4b89947fe7dd025ac756997/groupInfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 819, 16, 6612, 33, 7036, 4672, 365, 18, 2472, 273, 819, 365, 18, 27547, 273, 6612, 365, 18, 4256, 966, 273, 17109, 2668, 1655, 3567, 18, 4956, 966, 2187,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 819, 16, 6612, 33, 7036, 4672, 365, 18, 2472, 273, 819, 365, 18, 27547, 273, 6612, 365, 18, 4256, 966, 273, 17109, 2668, 1655, 3567, 18, 4956, 966, 2187,...
compDict[ 'port' ] = loc[ loc.find( ":" ) +1: ]
compDict[ 'port' ] = loc[ loc.find( ":" ) + 1: ]
def __cmdb_registerComponent( self, sourceId, sourceDict, componentExtraInfo ): if sourceDict[ 'componentType' ] not in ( 'service', 'agent' ): return compDict = { 'componentName' : sourceDict[ 'componentName' ], 'setup' : sourceDict[ 'setup' ], 'type' : sourceDict[ 'componentType' ], 'host' : sou...
de384e26eac7f0ebf3dca53e7bdbd545de804820 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/de384e26eac7f0ebf3dca53e7bdbd545de804820/ServiceInterface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4172, 70, 67, 4861, 1841, 12, 365, 16, 27572, 16, 1084, 5014, 16, 1794, 7800, 966, 262, 30, 309, 1084, 5014, 63, 296, 4652, 559, 11, 308, 486, 316, 261, 296, 3278, 2187, 296, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4172, 70, 67, 4861, 1841, 12, 365, 16, 27572, 16, 1084, 5014, 16, 1794, 7800, 966, 262, 30, 309, 1084, 5014, 63, 296, 4652, 559, 11, 308, 486, 316, 261, 296, 3278, 2187, 296, 5...
))()
), context)()
def get_index_dashboard(context): """ Returns the admin dashboard defined by the user or the default one. """ return _get_dashboard_cls(getattr( settings, 'ADMIN_TOOLS_INDEX_DASHBOARD', 'admin_tools.dashboard.dashboards.DefaultIndexDashboard' ))()
e1b75732008a854c5cbede34cc843724219f044f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8993/e1b75732008a854c5cbede34cc843724219f044f/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1615, 67, 13479, 12, 2472, 4672, 3536, 2860, 326, 3981, 11825, 2553, 635, 326, 729, 578, 326, 805, 1245, 18, 3536, 327, 389, 588, 67, 13479, 67, 6429, 12, 588, 1747, 12, 1947,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1615, 67, 13479, 12, 2472, 4672, 3536, 2860, 326, 3981, 11825, 2553, 635, 326, 729, 578, 326, 805, 1245, 18, 3536, 327, 389, 588, 67, 13479, 67, 6429, 12, 588, 1747, 12, 1947,...
while curr_coord < self.thumbpane_bottom_coord_loaded or imgnum < force_upto_imgnum:
while curr_coord < self.thumbpane_bottom_coord_loaded or imgnum <= force_upto_imgnum:
def thumbpane_update_pending_images(self, force_upto_imgnum, foo): self.thumbpane_updating = True # Check to see if any images need their thumbnails generated. curr_coord = 0 imgnum = 0 while curr_coord < self.thumbpane_bottom_coord_loaded or imgnum < force_upto_imgnum: if self.closing_app or self.stop_now: break if se...
3ecb95e9c36b174645d2331f87e21475691682c8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2291/3ecb95e9c36b174645d2331f87e21475691682c8/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11156, 29009, 67, 2725, 67, 9561, 67, 7369, 12, 2890, 16, 2944, 67, 3648, 83, 67, 381, 1600, 379, 16, 8431, 4672, 365, 18, 21639, 29009, 67, 5533, 1776, 273, 1053, 468, 2073, 358, 2621...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11156, 29009, 67, 2725, 67, 9561, 67, 7369, 12, 2890, 16, 2944, 67, 3648, 83, 67, 381, 1600, 379, 16, 8431, 4672, 365, 18, 21639, 29009, 67, 5533, 1776, 273, 1053, 468, 2073, 358, 2621...
self.hboxlayout26.addWidget(self.dnaStrutScaleFactorSpinBox)
self.hboxlayout29.addWidget(self.dnaStrutScaleFactorSpinBox)
def setupUi(self, UserPrefsDialog): UserPrefsDialog.setObjectName("UserPrefsDialog") UserPrefsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,609,642).size()).expandedTo(UserPrefsDialog.minimumSizeHint()))
30deb2219e016847d91b37e801c50b75fbd1c3cf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/30deb2219e016847d91b37e801c50b75fbd1c3cf/UserPrefsDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 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, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
def opening(self, node): s = u''
def opening(s, node): r = u''
def opening(self, node): s = u'' # for loop if node.parent.type == "loop" and node.parent.get("loopType") == "FOR": if node.parent.get("forVariant") == "iter": if not node.parent.hasChild("first") and not node.parent.hasChild("second") and not node.parent.hasChild("third"): s += write("(;;");
01a99d0db0499777506f7fbf9ecf7a7e70c7a9e2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/01a99d0db0499777506f7fbf9ecf7a7e70c7a9e2/Packer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10890, 12, 87, 16, 756, 4672, 436, 273, 582, 6309, 468, 364, 2798, 309, 756, 18, 2938, 18, 723, 422, 315, 6498, 6, 471, 756, 18, 2938, 18, 588, 2932, 6498, 559, 7923, 422, 315, 7473,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10890, 12, 87, 16, 756, 4672, 436, 273, 582, 6309, 468, 364, 2798, 309, 756, 18, 2938, 18, 723, 422, 315, 6498, 6, 471, 756, 18, 2938, 18, 588, 2932, 6498, 559, 7923, 422, 315, 7473,...
position = int((eval(gpsTime) - gpsStart) / (segLenSec -segOverlapSec)) \ - trigPosition
gpsPosition = int((eval(gpsTime) - gpsStart - segOverlapSec/2.) / (segLenSec -segOverlapSec)) position = gpsPosition - trigPosition
def plotsnrchisq(gpsTime,frameFile,outputPath,inspProcParams,tableFile): rsqThreshold = 0; for row in inspProcParams: if row.param == "--channel-name": chanStringBase = row.value ifoName = str(row.value).split(":",1) if row.param == "--segment-length": segLen = eval(row.value) if row.param == "--sample-rate": sampleR...
257a3bd69c969abb8bbe9af038cceed4c13c21ab /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3592/257a3bd69c969abb8bbe9af038cceed4c13c21ab/plotsnrchisq_pipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 8134, 86, 343, 291, 85, 12, 75, 1121, 950, 16, 3789, 812, 16, 2844, 743, 16, 267, 1752, 15417, 1370, 16, 2121, 812, 4672, 225, 3597, 85, 7614, 273, 374, 31, 225, 364, 1027, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 8134, 86, 343, 291, 85, 12, 75, 1121, 950, 16, 3789, 812, 16, 2844, 743, 16, 267, 1752, 15417, 1370, 16, 2121, 812, 4672, 225, 3597, 85, 7614, 273, 374, 31, 225, 364, 1027, 316...
removed, but is preserved only so that older recipes can be cooked
removed, and is preserved only so that older recipes can be cooked
def __init__(self, recipe, *args, **keywords):
84b682ac9c7332b3cab4a2634f8e1d87c2e644cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/84b682ac9c7332b3cab4a2634f8e1d87c2e644cb/source.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 16100, 16, 380, 1968, 16, 2826, 11771, 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, ...
[ 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, 1001, 2738, 972, 12, 2890, 16, 16100, 16, 380, 1968, 16, 2826, 11771, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
raise BadZipZile("zipfiles that span multiple disks are not supported")
raise BadZipFile("zipfiles that span multiple disks are not supported")
def _EndRecData64(fpin, offset, endrec): """ Read the ZIP64 end-of-archive records and use that to update endrec """ try: fpin.seek(offset - sizeEndCentDir64Locator, 2) except IOError: # If the seek fails, the file is not large enough to contain a ZIP64 # end-of-archive record, so just return the end record we were giv...
e54992eaf863307c296b110b44de19e3e4c97ac2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/e54992eaf863307c296b110b44de19e3e4c97ac2/zipfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1638, 5650, 751, 1105, 12, 7944, 267, 16, 1384, 16, 679, 3927, 4672, 3536, 2720, 326, 18277, 1105, 679, 17, 792, 17, 10686, 3853, 471, 999, 716, 358, 1089, 679, 3927, 3536, 775, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1638, 5650, 751, 1105, 12, 7944, 267, 16, 1384, 16, 679, 3927, 4672, 3536, 2720, 326, 18277, 1105, 679, 17, 792, 17, 10686, 3853, 471, 999, 716, 358, 1089, 679, 3927, 3536, 775, 3...
openid_identifier = self.request.get('openid_identifier') if openid_identifier is not None and len(openid_identifier) > 0: self.redirect(users.create_login_url(cont, federated_identity = openid_identifier))
if App.facebook_app_secret is None: self.redirect(users.create_login_url(cont))
def post(self): cont = self.request.get('continue') if not App.accepts_openid: self.redirect(users.create_login_url(cont)) return openid_identifier = self.request.get('openid_identifier') if openid_identifier is not None and len(openid_identifier) > 0: self.redirect(users.create_login_url(cont, federated_identity = ope...
2b422ab2560a7e70a99b76e923129a2448180bee /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12010/2b422ab2560a7e70a99b76e923129a2448180bee/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 12, 2890, 4672, 466, 273, 365, 18, 2293, 18, 588, 2668, 17143, 6134, 309, 486, 4677, 18, 9436, 87, 67, 20619, 30, 365, 18, 7590, 12, 5577, 18, 2640, 67, 5819, 67, 718, 12, 1213...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4672, 466, 273, 365, 18, 2293, 18, 588, 2668, 17143, 6134, 309, 486, 4677, 18, 9436, 87, 67, 20619, 30, 365, 18, 7590, 12, 5577, 18, 2640, 67, 5819, 67, 718, 12, 1213...
simplename = r'[a-zA-Z0-9](?:[-_.a-zA-Z0-9]*[a-zA-Z0-9])?'
simplename = r'[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?'
def parse(self, text, lineno, memo, parent): """ Return 2 lists: nodes (text and inline elements), and system_messages.
039645ec5706bfe06b64e66663e62db9bc1abf30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/039645ec5706bfe06b64e66663e62db9bc1abf30/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 977, 16, 7586, 16, 11063, 16, 982, 4672, 3536, 2000, 576, 6035, 30, 2199, 261, 955, 471, 6370, 2186, 3631, 471, 2619, 67, 6833, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 977, 16, 7586, 16, 11063, 16, 982, 4672, 3536, 2000, 576, 6035, 30, 2199, 261, 955, 471, 6370, 2186, 3631, 471, 2619, 67, 6833, 18, 2, -100, -100, -100, -100, -100,...
image_list = page.image_glob(base_name+'-*lambda.png')
image_list = page.image_glob(base_name+'-*_lambda.png')
def parse_command_line(): parser = OptionParser(version = "%prog CVS $Id$", usage = "%prog [options] [file ...]", description = "%prog computes mass/mass upperlimit") parser.add_option("--webserver", help = "Set the webserver path. Required. Example https://ldas-jobs.ligo.caltech.edu/~channa/highmass_months_23-24_sum...
9a176e80c24ce95696942a0b635ed16270518b8e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/9a176e80c24ce95696942a0b635ed16270518b8e/make_summary_page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3076, 67, 1369, 13332, 2082, 273, 18862, 12, 1589, 273, 2213, 14654, 385, 14640, 271, 548, 8, 3113, 4084, 273, 2213, 14654, 306, 2116, 65, 306, 768, 1372, 65, 3113, 2477, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3076, 67, 1369, 13332, 2082, 273, 18862, 12, 1589, 273, 2213, 14654, 385, 14640, 271, 548, 8, 3113, 4084, 273, 2213, 14654, 306, 2116, 65, 306, 768, 1372, 65, 3113, 2477, 273, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 836) else quickfix.IntField.__init__(self, 836, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 5718, 13, 469, 9549, 904, 18, 1702, 974, 16186, 2738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 1725, 5718, 13, 469, 9549, 904, 18, 1702, 974, 16186, 2738, ...
print ans, [rans, wans, eans]
def minitest_select(rans, wans, eans, timeout, f1=None, f4=None, c1=None, c4=None): """Mini-unit test for select (Python and I2P sockets). Calls f1() on socket S1, f4() on socket S4, uses select() timeout 'timeout'. rans, wans, and eans should be lists containing indexes 1...6 of the sockets defined below. The result...
83c8953d1b1bcc2d128875c2935c01fdcfc2e18d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11109/83c8953d1b1bcc2d128875c2935c01fdcfc2e18d/test_select.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1131, 305, 395, 67, 4025, 12, 28001, 16, 341, 634, 16, 425, 634, 16, 2021, 16, 284, 21, 33, 7036, 16, 284, 24, 33, 7036, 16, 276, 21, 33, 7036, 16, 276, 24, 33, 7036, 4672, 3536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1131, 305, 395, 67, 4025, 12, 28001, 16, 341, 634, 16, 425, 634, 16, 2021, 16, 284, 21, 33, 7036, 16, 284, 24, 33, 7036, 16, 276, 21, 33, 7036, 16, 276, 24, 33, 7036, 4672, 3536, ...
else:
elif entities:
def _depthFirstSearch(searchEntities, entities): """ Depth first search comparing a list of reading entities with wildcards against reading entities from a result. """ if not searchEntities: if not entities: return True else: return False if searchEntities[0] == '%': if ReadingWildcardBase._depthFirstSearch(searchEntit...
0905445685facca4d4514e221c851d8bf0c0cbe9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/0905445685facca4d4514e221c851d8bf0c0cbe9/dictionary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5979, 3759, 2979, 12, 3072, 8108, 16, 5140, 4672, 3536, 25210, 1122, 1623, 17553, 279, 666, 434, 6453, 5140, 598, 21170, 5314, 6453, 5140, 628, 279, 563, 18, 3536, 309, 486, 1623, 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, 389, 5979, 3759, 2979, 12, 3072, 8108, 16, 5140, 4672, 3536, 25210, 1122, 1623, 17553, 279, 666, 434, 6453, 5140, 598, 21170, 5314, 6453, 5140, 628, 279, 563, 18, 3536, 309, 486, 1623, 8...
prompt = '%s (%s)' % (question, ', '.join(options))
prompt = '%s (%s) ' % (question, ', '.join(options))
def inputChoice(self, question, options, hotkeys, default = None): for i in range(len(options)): option = options[i] hotkey = hotkeys[i] m = re.search('[%s%s]' % (hotkey.lower(), hotkey.upper()), option) if m: pos = m.start() options[i] = '%s[%s]%s' % (option[:pos], hotkey, option[pos+1:]) else: options[i] = '%s [%s]' ...
67acc624b465432a38a423663787556a577973e8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/67acc624b465432a38a423663787556a577973e8/terminal_interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 810, 10538, 12, 2890, 16, 5073, 16, 702, 16, 12811, 2452, 16, 805, 273, 599, 4672, 364, 277, 316, 1048, 12, 1897, 12, 2116, 3719, 30, 1456, 273, 702, 63, 77, 65, 12811, 856, 273, 128...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 810, 10538, 12, 2890, 16, 5073, 16, 702, 16, 12811, 2452, 16, 805, 273, 599, 4672, 364, 277, 316, 1048, 12, 1897, 12, 2116, 3719, 30, 1456, 273, 702, 63, 77, 65, 12811, 856, 273, 128...
tarball = download_setuptools(version, download_base, to_dir, download_delay) egg = _build_egg(tarball, to_dir)
egg = 'distribute-%s-py%d.%d.egg' % (version, sys.version_info[0], sys.version_info[1]) if not os.path.exists(egg): tarball = download_setuptools(version, download_base, to_dir, download_delay) egg = _build_egg(tarball, to_dir)
def _do_download(version, download_base, to_dir, download_delay): tarball = download_setuptools(version, download_base, to_dir, download_delay) egg = _build_egg(tarball, to_dir) sys.path.insert(0, egg) import setuptools setuptools.bootstrap_install_from = egg
11115bfb3ff0cb6d9f5aa934badab8d08b1f923f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8186/11115bfb3ff0cb6d9f5aa934badab8d08b1f923f/distribute_setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 7813, 12, 1589, 16, 4224, 67, 1969, 16, 358, 67, 1214, 16, 4224, 67, 10790, 4672, 25144, 273, 296, 2251, 887, 6456, 87, 17, 2074, 9, 72, 7866, 72, 18, 23171, 11, 738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 7813, 12, 1589, 16, 4224, 67, 1969, 16, 358, 67, 1214, 16, 4224, 67, 10790, 4672, 25144, 273, 296, 2251, 887, 6456, 87, 17, 2074, 9, 72, 7866, 72, 18, 23171, 11, 738, ...
shutil.copy(from_file, to_file)
shutil.copyfile(from_file, to_file) try: shutil.copymode(from_file, to_file) except: pass
def main(argv): progname = argv[0] exts = [] #list of extensions for which we're checking targext = "LyXconv" #extension for target directory opts, args = getopt.getopt(sys.argv[1:], "e:t:") for o, v in opts: if o == "-e": exts = v.split(',') if o == "-t": targext = v # input directory if len(args) != 2: error(usage(...
7982ee6cef0db33111c1cbc9e33878e18a81e7e0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7514/7982ee6cef0db33111c1cbc9e33878e18a81e7e0/ext_copy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 11243, 529, 273, 5261, 63, 20, 65, 225, 20793, 273, 5378, 468, 1098, 434, 4418, 364, 1492, 732, 4565, 6728, 24202, 408, 273, 315, 48, 93, 60, 4896, 6, 468, 6447,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11243, 529, 273, 5261, 63, 20, 65, 225, 20793, 273, 5378, 468, 1098, 434, 4418, 364, 1492, 732, 4565, 6728, 24202, 408, 273, 315, 48, 93, 60, 4896, 6, 468, 6447,...
this = apply(_quickfix.new_MinTradeVol, args)
this = _quickfix.new_MinTradeVol(*args)
def __init__(self, *args): this = apply(_quickfix.new_MinTradeVol, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 2930, 22583, 17431, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 2930, 22583, 17431, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
this = apply(_quickfix.new_UnderlyingStipType, args)
this = _quickfix.new_UnderlyingStipType(*args)
def __init__(self, *args): this = apply(_quickfix.new_UnderlyingStipType, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 14655, 6291, 510, 625, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 14655, 6291, 510, 625, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, ...
self.mocoeffs[0][base:base + len(part) / 10, i] = temp
mocoeffs[0][base:base + len(part) / 10, i] = temp
def extract(self, inputfile, fupdate=0.05, cupdate=0.002): """Extract information from the file object inputfile.""" optfinished = False # Flag that indicates whether it has reached the end of a geoopt coupledcluster = False # Flag for identifying Coupled Cluster runs for line in inputfile: self.updateprogress(input...
4b3e0120eb5304e7a8f6c337c6ddb58da1aee11f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8167/4b3e0120eb5304e7a8f6c337c6ddb58da1aee11f/gaussianparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 2890, 16, 810, 768, 16, 284, 2725, 33, 20, 18, 6260, 16, 276, 2725, 33, 20, 18, 24908, 4672, 3536, 4976, 1779, 628, 326, 585, 733, 810, 768, 12123, 225, 2153, 13527, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 12, 2890, 16, 810, 768, 16, 284, 2725, 33, 20, 18, 6260, 16, 276, 2725, 33, 20, 18, 24908, 4672, 3536, 4976, 1779, 628, 326, 585, 733, 810, 768, 12123, 225, 2153, 13527, 273, 1...
if v[i].hdr.getOne("buildtime") > \ v[i + 1].hdr.getOne("buildtime"):
if (v[i].hdr.getOne("buildtime") > v[i + 1].hdr.getOne("buildtime")):
def checkSrpms(ignoresymlinks): directories = [ "/var/www/html/mirror/updates-rhel/2.1", "/var/www/html/mirror/updates-rhel/3", "/var/www/html/mirror/updates-rhel/4", "/mnt/hdb4/data/cAos/3.5/updates/SRPMS", "/home/mirror/centos/3.6/updates/SRPMS", "/mnt/hdb4/data/cAos/4.1/os/SRPMS", "/mnt/hdb4/data/cAos/4.1/updates/SR...
427871e48b993cbe1bec0e26f0693386c8014c95 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/427871e48b993cbe1bec0e26f0693386c8014c95/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 55, 13832, 959, 12, 724, 3485, 93, 7405, 87, 4672, 6402, 273, 306, 2206, 1401, 19, 5591, 19, 2620, 19, 27197, 19, 14703, 17, 30138, 292, 19, 22, 18, 21, 3113, 2206, 1401, 19, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 55, 13832, 959, 12, 724, 3485, 93, 7405, 87, 4672, 6402, 273, 306, 2206, 1401, 19, 5591, 19, 2620, 19, 27197, 19, 14703, 17, 30138, 292, 19, 22, 18, 21, 3113, 2206, 1401, 19, 55...
if not self.radius:
if self.radius is None:
def start( self ): super(OrbitCamera,self).start()
8f89ba271e078e6c04d9f0101d5052cd7d12c7ae /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7473/8f89ba271e078e6c04d9f0101d5052cd7d12c7ae/camera_actions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 365, 262, 30, 2240, 12, 1162, 3682, 16521, 16, 2890, 2934, 1937, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 365, 262, 30, 2240, 12, 1162, 3682, 16521, 16, 2890, 2934, 1937, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
xds_inp.write('UNIT_CELL_CONSTANTS=%f %f %f %f %f %f' % \
xds_inp.write('UNIT_CELL_CONSTANTS=%6.2f %6.2f %6.2f %6.2f %6.2f %6.2f\n' % \
def run(self): '''Run idxref.'''
ca562d92794e104211f97612cddd85736d101fad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3290/ca562d92794e104211f97612cddd85736d101fad/XDSIdxref.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 9163, 1997, 2067, 1734, 1093, 6309, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 9163, 1997, 2067, 1734, 1093, 6309, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.thread.join()
def stop(self): self.beginRead() self.state = "stopped" self.endRead() for item in self.itemList: item.beginChange() item.endChange() self.thread.join() try: remove(self.filename) except: pass
9d1602181a5152043240e9d941a90077e6f261cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/9d1602181a5152043240e9d941a90077e6f261cd/downloader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 12, 2890, 4672, 365, 18, 10086, 1994, 1435, 365, 18, 2019, 273, 315, 24228, 6, 365, 18, 409, 1994, 1435, 364, 761, 316, 365, 18, 1726, 682, 30, 761, 18, 10086, 3043, 1435, 761, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2132, 12, 2890, 4672, 365, 18, 10086, 1994, 1435, 365, 18, 2019, 273, 315, 24228, 6, 365, 18, 409, 1994, 1435, 364, 761, 316, 365, 18, 1726, 682, 30, 761, 18, 10086, 3043, 1435, 761, ...
self.invals += 1 self.total_invals += 1
def event(self, ts, dlen, _version, code, _current, oid, _serial): # Record first and last timestamp seen if self.ts0 is None: self.ts0 = ts if self.epoch is None: self.epoch = ts self.ts1 = ts
7c6cd709b29c98e3a0df9e9501bbc9857e03429a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/7c6cd709b29c98e3a0df9e9501bbc9857e03429a/simul.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 871, 12, 2890, 16, 3742, 16, 302, 1897, 16, 389, 1589, 16, 981, 16, 389, 2972, 16, 7764, 16, 389, 8818, 4672, 468, 5059, 1122, 471, 1142, 2858, 5881, 309, 365, 18, 3428, 20, 353, 599...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 871, 12, 2890, 16, 3742, 16, 302, 1897, 16, 389, 1589, 16, 981, 16, 389, 2972, 16, 7764, 16, 389, 8818, 4672, 468, 5059, 1122, 471, 1142, 2858, 5881, 309, 365, 18, 3428, 20, 353, 599...
State.clear_orphaned_configfiles() State.clear_orphaned_proposals()
State.clear_orphaned(self)
def clear_all_states(self): "this is pretty much 'undo all' but it also removes orphaned state files" State.clear_orphaned_configfiles() State.clear_orphaned_proposals() self.refresh()
f5f45c78cd397683f9378f87ef3b0a39fea2433b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2695/f5f45c78cd397683f9378f87ef3b0a39fea2433b/etcproposals_lib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 67, 454, 67, 7992, 12, 2890, 4672, 315, 2211, 353, 7517, 9816, 296, 31226, 777, 11, 1496, 518, 2546, 7157, 31124, 919, 1390, 6, 3287, 18, 8507, 67, 7657, 304, 329, 12, 2890, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 67, 454, 67, 7992, 12, 2890, 4672, 315, 2211, 353, 7517, 9816, 296, 31226, 777, 11, 1496, 518, 2546, 7157, 31124, 919, 1390, 6, 3287, 18, 8507, 67, 7657, 304, 329, 12, 2890, 13, ...
tmpname = GroupsController.configuration.groups.guest_prefix + name
tmpname = GroupsController.configuration.groups.guest_prefix \ + name
def RenameGroup(self, profilelist, name, new_name): """ Modify the name of a group."""
2c25685af98e96114695a04efeb86385220aeb9c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/2c25685af98e96114695a04efeb86385220aeb9c/groups.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19996, 1114, 12, 2890, 16, 450, 7540, 5449, 16, 508, 16, 394, 67, 529, 4672, 3536, 9518, 326, 508, 434, 279, 1041, 12123, 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, 19996, 1114, 12, 2890, 16, 450, 7540, 5449, 16, 508, 16, 394, 67, 529, 4672, 3536, 9518, 326, 508, 434, 279, 1041, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...