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
free_reflections_per_bin = 200, max_number_of_bins = 30,
free_reflections_per_bin = 140, max_number_of_bins = 20,
def r_factors_in_resolution_bins(self, free_reflections_per_bin = 200, max_number_of_bins = 30, out=None): results = self.r_values(table=True, rows=True) return results #self.twin_fraction_scan(n=15)
993233c08e80b963496300ffb6bffd66195ae28f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/696/993233c08e80b963496300ffb6bffd66195ae28f/twin_f_model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 67, 22108, 67, 267, 67, 19182, 67, 11862, 12, 2890, 16, 4843, 67, 26606, 87, 67, 457, 67, 4757, 273, 31907, 16, 943, 67, 2696, 67, 792, 67, 11862, 225, 273, 4200, 16, 596, 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, 436, 67, 22108, 67, 267, 67, 19182, 67, 11862, 12, 2890, 16, 4843, 67, 26606, 87, 67, 457, 67, 4757, 273, 31907, 16, 943, 67, 2696, 67, 792, 67, 11862, 225, 273, 4200, 16, 596, 33, ...
payment_line()
payment_line()
def onchange_move_line(self, cr, uid, ids, move_line_id, payment_type, date_prefered, date_planned, currency=False, company_currency=False, context=None): # Adds account.move.line name to the payment line communication res = super(payment_line, self).onchange_move_line(cr, uid, ids, move_line_id, payment_type, date_pre...
6645b0fd328b27609c10f43a98d1c00193addc6e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9833/6645b0fd328b27609c10f43a98d1c00193addc6e/payment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3427, 67, 8501, 67, 1369, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 3635, 67, 1369, 67, 350, 16, 5184, 67, 723, 16, 1509, 67, 1484, 586, 329, 16, 1509, 67, 412, 10041, 16, 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, 603, 3427, 67, 8501, 67, 1369, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 3635, 67, 1369, 67, 350, 16, 5184, 67, 723, 16, 1509, 67, 1484, 586, 329, 16, 1509, 67, 412, 10041, 16, 5...
def GetMemberSize(id, member_offset):
def GetMemberSize(sid, member_offset):
def GetMemberSize(id, member_offset): """ Get size of a member @param id: structure type ID @param member_offset: member offset. The offset can be any offset in the member. For example, is a member is 4 bytes long and starts at offset 2, then 2,3,4,5 denote the same structure member. @return: -1 if bad structure type...
4f22943d42ee1d5013421d280b3bd776bee83fb9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3410/4f22943d42ee1d5013421d280b3bd776bee83fb9/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 4419, 1225, 12, 7453, 16, 3140, 67, 3348, 4672, 3536, 968, 963, 434, 279, 3140, 225, 632, 891, 612, 30, 3695, 618, 1599, 632, 891, 3140, 67, 3348, 30, 3140, 1384, 18, 1021, 1384, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 4419, 1225, 12, 7453, 16, 3140, 67, 3348, 4672, 3536, 968, 963, 434, 279, 3140, 225, 632, 891, 612, 30, 3695, 618, 1599, 632, 891, 3140, 67, 3348, 30, 3140, 1384, 18, 1021, 1384, ...
gtypename = '_TYPE_'.join(prefix.upper().rsplit('_',1))
gtypename = '_TYPE_'.join(prefix.upper().split('_',1))
stream.write ("typedef struct _%sClass %sClass;\n\n" % (classname,classname))
1e6e4b43621fb4b742bdee4b444b00498c00a83e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8150/1e6e4b43621fb4b742bdee4b444b00498c00a83e/gengobject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1407, 18, 2626, 7566, 723, 536, 1958, 389, 9, 87, 797, 738, 87, 797, 9747, 82, 64, 82, 6, 738, 261, 18340, 16, 18340, 3719, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1407, 18, 2626, 7566, 723, 536, 1958, 389, 9, 87, 797, 738, 87, 797, 9747, 82, 64, 82, 6, 738, 261, 18340, 16, 18340, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if len(tuning.sat.choices): transponderlist = nimmanager.getTransponders(int(tuning.sat.value))
if len(tuning.sat.satList): transponderlist = nimmanager.getTransponders(tuning.sat.orbital_position)
def updateTransponders(self): if len(tuning.sat.choices): transponderlist = nimmanager.getTransponders(int(tuning.sat.value)) tps = [] cnt=0 for x in transponderlist: if x[3] == 0: pol = "H" elif x[3] == 1: pol = "V" elif x[3] == 2: pol = "CL" elif x[3] == 3: pol = "CR" else: pol = "??" if x[4] == 0: fec = "FEC Auto" e...
56068e5ec25361c2a06eb9f0133eeebb32cf44c1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/56068e5ec25361c2a06eb9f0133eeebb32cf44c1/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 1429, 3111, 414, 12, 2890, 4672, 309, 562, 12, 88, 13036, 18, 12973, 18, 12973, 682, 4672, 906, 17707, 1098, 273, 290, 381, 4181, 18, 588, 1429, 3111, 414, 12, 88, 13036, 18, 129...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1429, 3111, 414, 12, 2890, 4672, 309, 562, 12, 88, 13036, 18, 12973, 18, 12973, 682, 4672, 906, 17707, 1098, 273, 290, 381, 4181, 18, 588, 1429, 3111, 414, 12, 88, 13036, 18, 129...
rational number times the square root of a rational number (if prec=None), or real number if a precision is given
Rational number times the square root of a rational number (if ``prec=None``), or real number if a precision is given.
def wigner_9j(j_1, j_2, j_3, j_4, j_5, j_6, j_7, j_8, j_9, prec=None): r""" Calculate the Wigner 9j symbol `Wigner9j(j_1,j_2,j_3,j_4,j_5,j_6,j_7,j_8,j_9)`. INPUT: - ``j_1``, ..., ``j_9`` - integer or half integer - ``prec`` - precision, default: None. Providing a precision can drastically speed up the calculation....
c6a90d820f57455b2ff6063db98cb5e6f7a11f83 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/c6a90d820f57455b2ff6063db98cb5e6f7a11f83/wigner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 724, 264, 67, 29, 78, 12, 78, 67, 21, 16, 525, 67, 22, 16, 525, 67, 23, 16, 525, 67, 24, 16, 525, 67, 25, 16, 525, 67, 26, 16, 525, 67, 27, 16, 525, 67, 28, 16, 525, 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, 341, 724, 264, 67, 29, 78, 12, 78, 67, 21, 16, 525, 67, 22, 16, 525, 67, 23, 16, 525, 67, 24, 16, 525, 67, 25, 16, 525, 67, 26, 16, 525, 67, 27, 16, 525, 67, 28, 16, 525, 6...
return coord(self.i*other, self.j*other)
return Coord(self.i*other, self.j*other)
def __mul__(self, other): return coord(self.i*other, self.j*other)
e571d502c19abfb5a3320300c347793da7b43d05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3176/e571d502c19abfb5a3320300c347793da7b43d05/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 16411, 972, 12, 2890, 16, 1308, 4672, 327, 2745, 12, 2890, 18, 77, 14, 3011, 16, 365, 18, 78, 14, 3011, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 16411, 972, 12, 2890, 16, 1308, 4672, 327, 2745, 12, 2890, 18, 77, 14, 3011, 16, 365, 18, 78, 14, 3011, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for node in l[:K]:
for node in l:
def schedule(self):
b67d64cc271cd334cfc49e98107b88655885514d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/665/b67d64cc271cd334cfc49e98107b88655885514d/actions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4788, 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, 0, 0,...
[ 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4788, 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, -100, -...
if self._configure_counter != 0: self._configure_counter -=1
if self._window_configures != 0: self._window_configures -=1
def window_on_configure_notify(self, event): if self._configure_counter != 0: self._configure_counter -=1 else: self._configure_counter += 1 actor = self.client.actor geom = Rect.from_object(event) window = self.client.window window_border = 0 config = self.plugin.config border = 2 title_height = config.get('decorator....
b2a7bc565aa93e3014504ba23722739df6abcbf0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10761/b2a7bc565aa93e3014504ba23722739df6abcbf0/decorator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2742, 67, 265, 67, 14895, 67, 12336, 12, 2890, 16, 871, 4672, 309, 365, 6315, 5668, 67, 1425, 1823, 480, 374, 30, 365, 6315, 5668, 67, 1425, 1823, 3947, 21, 469, 30, 365, 6315, 14895, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2742, 67, 265, 67, 14895, 67, 12336, 12, 2890, 16, 871, 4672, 309, 365, 6315, 5668, 67, 1425, 1823, 480, 374, 30, 365, 6315, 5668, 67, 1425, 1823, 3947, 21, 469, 30, 365, 6315, 14895, ...
def __init__(self, filenames=()):
def __init__(self, filenames=(), strict=True):
def __init__(self, filenames=()): if not inited: init() self.encodings_map = encodings_map.copy() self.suffix_map = suffix_map.copy() self.types_map = types_map.copy() self.common_types = common_types.copy() for name in filenames: self.read(name)
b0945ca0ad01e7fdc7cc8a5703d1e114970042b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b0945ca0ad01e7fdc7cc8a5703d1e114970042b7/mimetypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9066, 33, 9334, 5490, 33, 5510, 4672, 309, 486, 1208, 329, 30, 1208, 1435, 365, 18, 1331, 369, 899, 67, 1458, 273, 24118, 67, 1458, 18, 3530, 1435, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9066, 33, 9334, 5490, 33, 5510, 4672, 309, 486, 1208, 329, 30, 1208, 1435, 365, 18, 1331, 369, 899, 67, 1458, 273, 24118, 67, 1458, 18, 3530, 1435, 365, ...
print ServiceReference(x).frontendStatusInfo().getFrontendData(True)
def updateAlternatives(self): self.alternativeslist = [] if len(self.serviceslist) > 0: alternativelist = self.alternatives[self["serviceslist"].getCurrent()[1]]
e78b5b9f8180bbad1808926b2c35dd691709281d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/e78b5b9f8180bbad1808926b2c35dd691709281d/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 22111, 12, 2890, 4672, 365, 18, 16025, 8785, 1098, 273, 5378, 225, 309, 562, 12, 2890, 18, 8387, 1098, 13, 405, 374, 30, 6416, 270, 427, 5449, 273, 365, 18, 16025, 8785, 63, 2890...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 22111, 12, 2890, 4672, 365, 18, 16025, 8785, 1098, 273, 5378, 225, 309, 562, 12, 2890, 18, 8387, 1098, 13, 405, 374, 30, 6416, 270, 427, 5449, 273, 365, 18, 16025, 8785, 63, 2890...
sys.stderr.write('Done processing %s\n' % filename)
def process_file(filename, error=error): """Performs cpp_style on a single file. Args: filename: The name of the file to parse. error: The function to call with any errors found. """ try: # Support the UNIX convention of using "-" for stdin. Note that # we are not opening the file with universal newline support # (wh...
dd15348b3cffd2faf0c5170abad6c15f23de0160 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/dd15348b3cffd2faf0c5170abad6c15f23de0160/cpp_style.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 768, 12, 3459, 16, 555, 33, 1636, 4672, 3536, 9409, 3283, 84, 67, 4060, 603, 279, 2202, 585, 18, 225, 6634, 30, 1544, 30, 1021, 508, 434, 326, 585, 358, 1109, 18, 555, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 768, 12, 3459, 16, 555, 33, 1636, 4672, 3536, 9409, 3283, 84, 67, 4060, 603, 279, 2202, 585, 18, 225, 6634, 30, 1544, 30, 1021, 508, 434, 326, 585, 358, 1109, 18, 555, 30, ...
result.append('')
result += ['']
def look_down(buffer, parent_bbox): for child in node.iterchildren(): _scan(child, buffer, parent_bbox, settings) if node.tail and node.tail.strip(): buffer += node.tail, if node.text and node.text.strip(): buffer += node.text,
315f18ffb86f09b9e28e8cd561c13dfcf911d770 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3685/315f18ffb86f09b9e28e8cd561c13dfcf911d770/hocr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2324, 67, 2378, 12, 4106, 16, 982, 67, 20737, 4672, 364, 1151, 316, 756, 18, 2165, 5906, 13332, 389, 9871, 12, 3624, 16, 1613, 16, 982, 67, 20737, 16, 1947, 13, 309, 756, 18, 13101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2324, 67, 2378, 12, 4106, 16, 982, 67, 20737, 4672, 364, 1151, 316, 756, 18, 2165, 5906, 13332, 389, 9871, 12, 3624, 16, 1613, 16, 982, 67, 20737, 16, 1947, 13, 309, 756, 18, 13101, ...
y -= self.viewport_y x -= self.viewport_x
def pixel_from_screen(self, x, y): '''Look up the map-space pixel matching the screen-space pixel.
dc12c8db72ac8ef494cbc580d2bb583bba1b57cb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7473/dc12c8db72ac8ef494cbc580d2bb583bba1b57cb/tiles.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4957, 67, 2080, 67, 9252, 12, 2890, 16, 619, 16, 677, 4672, 9163, 9794, 731, 326, 852, 17, 2981, 4957, 3607, 326, 5518, 17, 2981, 4957, 18, 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, 4957, 67, 2080, 67, 9252, 12, 2890, 16, 619, 16, 677, 4672, 9163, 9794, 731, 326, 852, 17, 2981, 4957, 3607, 326, 5518, 17, 2981, 4957, 18, 2, -100, -100, -100, -100, -100, -100, -100,...
rows = opth-2 cols = optw / wl
rows = opth-2 cols = shared.optw / wl or 1
def calc_lsize(r): """Calculate the size required on screen to display the list."""
bcb1496c968881715634380c9e6bc4206a4388d6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6932/bcb1496c968881715634380c9e6bc4206a4388d6/bpython.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7029, 67, 80, 1467, 12, 86, 4672, 3536, 8695, 326, 963, 1931, 603, 5518, 358, 2562, 326, 666, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7029, 67, 80, 1467, 12, 86, 4672, 3536, 8695, 326, 963, 1931, 603, 5518, 358, 2562, 326, 666, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.log_error("command: %s", cmdline)
self.log_message("command: %s", cmdline)
def run_cgi(self): """Execute a CGI script.""" dir, rest = self.cgi_info i = rest.rfind('?') if i >= 0: rest, query = rest[:i], rest[i+1:] else: query = '' i = rest.find('/') if i >= 0: script, rest = rest[:i], rest[i:] else: script, rest = rest, '' scriptname = dir + '/' + script scriptfile = self.translate_path(scrip...
bcbdc95e90794794081927b81006ce8563974969 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/bcbdc95e90794794081927b81006ce8563974969/CGIHTTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 19062, 12, 2890, 4672, 3536, 5289, 279, 385, 13797, 2728, 12123, 1577, 16, 3127, 273, 365, 18, 19062, 67, 1376, 277, 273, 3127, 18, 86, 4720, 2668, 4899, 13, 309, 277, 1545, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19062, 12, 2890, 4672, 3536, 5289, 279, 385, 13797, 2728, 12123, 1577, 16, 3127, 273, 365, 18, 19062, 67, 1376, 277, 273, 3127, 18, 86, 4720, 2668, 4899, 13, 309, 277, 1545, ...
new = dok_matrix()
new = dok_matrix(self.shape, dtype=self.dtype)
def __add__(self, other): # First check if argument is a scalar if isscalar(other) or (isdense(other) and rank(other)==0): new = dok_matrix() # Add this scalar to every element. M, N = self.shape for i in range(M): for j in range(N): aij = self.get((i, j), 0) + other if aij != 0: new[i, j] = aij #new.dtype.char = self....
cc9a850083c66543ac7901fd68022fbe73610704 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/cc9a850083c66543ac7901fd68022fbe73610704/sparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1289, 972, 12, 2890, 16, 1308, 4672, 468, 5783, 866, 309, 1237, 353, 279, 4981, 309, 3385, 3473, 12, 3011, 13, 578, 261, 291, 25942, 12, 3011, 13, 471, 6171, 12, 3011, 13, 631, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1289, 972, 12, 2890, 16, 1308, 4672, 468, 5783, 866, 309, 1237, 353, 279, 4981, 309, 3385, 3473, 12, 3011, 13, 578, 261, 291, 25942, 12, 3011, 13, 471, 6171, 12, 3011, 13, 631, ...
dd = cur.detection_distance
dd = self.cur.detection_distance
def AsteroidNear (unit, how): num_ships=0 count=0 un = VS.getUnit (count) while (un): dd = cur.detection_distance if (unit.getSignificantDistance(un,unit)<how): if (unit.isAsteroid (un)): _io.printf ("asty near") return 1 count=count+1 if (un): un = _unit.getUnit(count) return 0
0196b99221f192e1640b9a18a3f627096af1b5a1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2883/0196b99221f192e1640b9a18a3f627096af1b5a1/random_encounters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 432, 8190, 839, 24686, 261, 4873, 16, 3661, 4672, 818, 67, 3261, 87, 33, 20, 1056, 33, 20, 640, 273, 776, 55, 18, 588, 2802, 261, 1883, 13, 1323, 261, 318, 4672, 6957, 273, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 432, 8190, 839, 24686, 261, 4873, 16, 3661, 4672, 818, 67, 3261, 87, 33, 20, 1056, 33, 20, 640, 273, 776, 55, 18, 588, 2802, 261, 1883, 13, 1323, 261, 318, 4672, 6957, 273, 365, 18, ...
get_filename_and_save_in_prefs(parent, gmspath_prefs_key, 'Choose Nano-Hive Executable')
get_filename_and_save_in_prefs(parent, nanohive_path_prefs_key, 'Choose Nano-Hive Executable')
def _validate_nanohive_program(self): '''Private method: Checks that the Nano-Hive program path exists in the user pref database and that the file it points to exists. If the Nano-Hive path does not exist, the user will be prompted with the file chooser to select the Nano-Hive executable. This function does not check ...
af3cb5b13b18245272507c91c33b1a18ca9e1c1c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/af3cb5b13b18245272507c91c33b1a18ca9e1c1c/NanoHive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5662, 67, 13569, 16699, 688, 67, 12890, 12, 2890, 4672, 9163, 6014, 707, 30, 13074, 716, 326, 23294, 83, 17, 44, 688, 5402, 589, 1704, 316, 326, 729, 11307, 2063, 471, 716, 326, 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, 389, 5662, 67, 13569, 16699, 688, 67, 12890, 12, 2890, 4672, 9163, 6014, 707, 30, 13074, 716, 326, 23294, 83, 17, 44, 688, 5402, 589, 1704, 316, 326, 729, 11307, 2063, 471, 716, 326, 5...
self.assert_(self._box.get_string(key0) ==
self.assertEqual(self._box.get_string(key0),
def test_update(self): # Modify multiple messages using update() key0 = self._box.add(self._template % 'original 0') key1 = self._box.add(self._template % 'original 1') key2 = self._box.add(self._template % 'original 2') self._box.update({key0: self._template % 'changed 0', key2: _sample_message}) self.assertEqual(len(...
ea8344797e1a0ebd0b419ce14e16ab25af771fcc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/ea8344797e1a0ebd0b419ce14e16ab25af771fcc/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2725, 12, 2890, 4672, 468, 9518, 3229, 2743, 1450, 1089, 1435, 498, 20, 273, 365, 6315, 2147, 18, 1289, 12, 2890, 6315, 3202, 738, 296, 8830, 374, 6134, 498, 21, 273, 365, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2725, 12, 2890, 4672, 468, 9518, 3229, 2743, 1450, 1089, 1435, 498, 20, 273, 365, 6315, 2147, 18, 1289, 12, 2890, 6315, 3202, 738, 296, 8830, 374, 6134, 498, 21, 273, 365, 63...
except ValueError:
except Exception:
def __setstate__(self, state): state.pop('__dummy__', None) for name, value in state.iteritems(): attribute = getattr(self.__class__, name, None) if isinstance(attribute, (SettingsGroupMeta, Setting)): try: setattr(self, name, value) except ValueError: pass #FIXME: add log message saying that stored value could not be ...
0e87cc260f61017d4510663d48ab352573490ab1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/0e87cc260f61017d4510663d48ab352573490ab1/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 2019, 972, 12, 2890, 16, 919, 4672, 919, 18, 5120, 2668, 972, 21050, 972, 2187, 599, 13, 364, 508, 16, 460, 316, 919, 18, 2165, 3319, 13332, 1566, 273, 3869, 12, 2890, 16186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 542, 2019, 972, 12, 2890, 16, 919, 4672, 919, 18, 5120, 2668, 972, 21050, 972, 2187, 599, 13, 364, 508, 16, 460, 316, 919, 18, 2165, 3319, 13332, 1566, 273, 3869, 12, 2890, 16186...
scenario.append(scenario)
scenarios.append(scenario)
def usage(): print """Periodically monitor working directory for Continuous and Nightly builds
7c4b94345b2caec32a64a7ee992e6bc3128ef15f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8531/7c4b94345b2caec32a64a7ee992e6bc3128ef15f/run_continuous.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 3536, 5027, 6478, 6438, 5960, 1867, 364, 1816, 16295, 471, 423, 750, 715, 10736, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4084, 13332, 1172, 3536, 5027, 6478, 6438, 5960, 1867, 364, 1816, 16295, 471, 423, 750, 715, 10736, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
return sources + self.sources
return sources
def allSources(self): sources = [] for (tarball, extractdir) in self.tarballs: sources.append(tarball) for (patch, level, backup) in self.patches: sources.append(patch)
25b1a55d2da41bc4a61b3a90457498c8e62ef599 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/25b1a55d2da41bc4a61b3a90457498c8e62ef599/recipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 777, 8628, 12, 2890, 4672, 5550, 273, 5378, 364, 261, 88, 23846, 16, 2608, 1214, 13, 316, 365, 18, 88, 23846, 87, 30, 5550, 18, 6923, 12, 88, 23846, 13, 364, 261, 2272, 16, 1801, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 777, 8628, 12, 2890, 4672, 5550, 273, 5378, 364, 261, 88, 23846, 16, 2608, 1214, 13, 316, 365, 18, 88, 23846, 87, 30, 5550, 18, 6923, 12, 88, 23846, 13, 364, 261, 2272, 16, 1801, 16,...
blocking: whether to block while trying to acquire or to operate in try-lock mode. this locking mode is not supported yet.
blocking: whether to block while trying to acquire or to operate in try-lock mode. this locking mode is not supported yet.
def acquire(self, blocking=1, shared=0): """Acquire a shared lock.
4e07ec8c3bd5f6288f53a61c33558c1f423781bc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/4e07ec8c3bd5f6288f53a61c33558c1f423781bc/locking.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10533, 12, 2890, 16, 9445, 33, 21, 16, 5116, 33, 20, 4672, 3536, 27761, 279, 5116, 2176, 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, 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, 10533, 12, 2890, 16, 9445, 33, 21, 16, 5116, 33, 20, 4672, 3536, 27761, 279, 5116, 2176, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not opts['all'] or fstate[fn]: pos, neg = display(fn, rev, m, fstate[fn]) count += pos + neg if pos and not opts['all']:
if fn in prev or fstate[fn]: r = display(fn, rev, m, fstate[fn]) found = found or r if r and not opts['all']:
def display(fn, rev, states, prevstates): counts = {'-': 0, '+': 0} filerevmatches = {} if not opts['all']: a, b, r = prevstates, states, rev else: a, b, r = states, prevstates, prev.get(fn, -1) for change, l in difflinestates(a, b): cols = [fn, str(r)] if opts['line_number']: cols.append(str(l.linenum)) if opts['all']...
68d8aa6f8792bba0d73e8b285df038642e32a5c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/68d8aa6f8792bba0d73e8b285df038642e32a5c5/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 12, 4293, 16, 5588, 16, 5493, 16, 2807, 7992, 4672, 6880, 273, 13666, 17, 4278, 374, 16, 15126, 4278, 374, 97, 661, 822, 90, 8436, 273, 2618, 309, 486, 1500, 3292, 454, 3546, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 12, 4293, 16, 5588, 16, 5493, 16, 2807, 7992, 4672, 6880, 273, 13666, 17, 4278, 374, 16, 15126, 4278, 374, 97, 661, 822, 90, 8436, 273, 2618, 309, 486, 1500, 3292, 454, 3546, 30,...
capitals = (("Clydesdale","watson","archimedes","kahan","Hawking"),
capitals = (("Clydesdale","watson","Archimedes","Kahan","Hawking"),
def Precache(): pass#fixme
d63fd07c1902819d53e2b6e33c3c67ba3b9ddd7d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2883/d63fd07c1902819d53e2b6e33c3c67ba3b9ddd7d/faction_ships.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2962, 2493, 13332, 1342, 7, 904, 3501, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2962, 2493, 13332, 1342, 7, 904, 3501, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
modulename = "imaging.tools.%s"%toolname
modulename = "imaging.tools.%s"%classname
def getToolByName(toolname): if not tool_map.has_key(toolname): raise ValueError("No tool called '%s'."%toolname) classname = tool_map[toolname] modulename = "imaging.tools.%s"%toolname try: return import_from(modulename, toolname) except ImportError: raise RuntimeError("Tool class %s.%s not found."%(modulename.toolnam...
f5e8dfd0ff9fdce2dea9763a9a4cdf119b3c07e5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7241/f5e8dfd0ff9fdce2dea9763a9a4cdf119b3c07e5/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 6364, 5911, 12, 6738, 529, 4672, 309, 486, 5226, 67, 1458, 18, 5332, 67, 856, 12, 6738, 529, 4672, 1002, 2068, 2932, 2279, 5226, 2566, 1995, 87, 14550, 9, 6738, 529, 13, 7479, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 6364, 5911, 12, 6738, 529, 4672, 309, 486, 5226, 67, 1458, 18, 5332, 67, 856, 12, 6738, 529, 4672, 1002, 2068, 2932, 2279, 5226, 2566, 1995, 87, 14550, 9, 6738, 529, 13, 7479, 273...
return self.crypt_handler.decrpyt(password_encrypted)
return self.crypt_handler.decrypt(password_encrypted)
def decrypt(self,password_encrypted): """Decrypt the password using the CryptAPI. """ return self.crypt_handler.decrpyt(password_encrypted)
b230b1f706f036bec6b49665a469441f2d4c8f54 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5209/b230b1f706f036bec6b49665a469441f2d4c8f54/backend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8420, 12, 2890, 16, 3664, 67, 18702, 4672, 3536, 17306, 326, 2201, 1450, 326, 22752, 2557, 18, 3536, 327, 365, 18, 22784, 67, 4176, 18, 323, 3353, 2074, 88, 12, 3664, 67, 18702, 13, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8420, 12, 2890, 16, 3664, 67, 18702, 4672, 3536, 17306, 326, 2201, 1450, 326, 22752, 2557, 18, 3536, 327, 365, 18, 22784, 67, 4176, 18, 323, 3353, 2074, 88, 12, 3664, 67, 18702, 13, 2,...
arr = numpy.empty(depth * bytes_per_image, dtype=numpy.uint8)
arr = numpy.empty(depth * bytes_per_image, dtype=self.dtypes.uint8)
def get_samples(self, subfile_type=0, verbose=False): """ Return samples and sample names.
67eb5b913784e716184933d99aa3bcc5629e8fe1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8227/67eb5b913784e716184933d99aa3bcc5629e8fe1/tiff_file.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7319, 12, 2890, 16, 720, 768, 67, 723, 33, 20, 16, 3988, 33, 8381, 4672, 3536, 2000, 5216, 471, 3296, 1257, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7319, 12, 2890, 16, 720, 768, 67, 723, 33, 20, 16, 3988, 33, 8381, 4672, 3536, 2000, 5216, 471, 3296, 1257, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
package = tuple (path[0:-1])
package = string.join(path[0:-1], '.')
def find_modules (self): """Finds individually-specified Python modules, ie. those listed by module name in 'self.py_modules'. Returns a list of tuples (package, module_base, filename): 'package' is a tuple of the path through package-space to the module; 'module_base' is the bare (no packages, no dots) module name, a...
312008e2cd00c81cfaa67acd97343a2d1001e865 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/312008e2cd00c81cfaa67acd97343a2d1001e865/build_py.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 6400, 261, 2890, 4672, 3536, 8947, 28558, 17, 13827, 6600, 4381, 16, 9228, 18, 5348, 12889, 635, 1605, 508, 316, 296, 2890, 18, 2074, 67, 6400, 10332, 225, 2860, 279, 666, 434,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 6400, 261, 2890, 4672, 3536, 8947, 28558, 17, 13827, 6600, 4381, 16, 9228, 18, 5348, 12889, 635, 1605, 508, 316, 296, 2890, 18, 2074, 67, 6400, 10332, 225, 2860, 279, 666, 434,...
import re _typeprog = re.compile('^([^/:]+):') match = _typeprog.match(url)
import re _typeprog = re.compile('^([^/:]+):') match = _typeprog.match(url)
def splittype(url): global _typeprog if _typeprog is None: import re _typeprog = re.compile('^([^/:]+):') match = _typeprog.match(url) if match: scheme = match.group(1) return scheme, url[len(scheme) + 1:] return None, url
52c990fef6d843442d24f88c38914bc52c0210e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/52c990fef6d843442d24f88c38914bc52c0210e0/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1416, 723, 12, 718, 4672, 2552, 389, 723, 14654, 309, 389, 723, 14654, 353, 599, 30, 1930, 283, 389, 723, 14654, 273, 283, 18, 11100, 2668, 66, 8178, 16880, 7941, 2497, 13, 225, 845, 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, 1416, 723, 12, 718, 4672, 2552, 389, 723, 14654, 309, 389, 723, 14654, 353, 599, 30, 1930, 283, 389, 723, 14654, 273, 283, 18, 11100, 2668, 66, 8178, 16880, 7941, 2497, 13, 225, 845, 2...
self.space = test.objspace('std')
self.space = test.objspace()
def setUp(self): self.space = test.objspace('std')
21fc0408f9f61cab03a343529c8b106ae469b8d0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/21fc0408f9f61cab03a343529c8b106ae469b8d0/test_module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 2981, 273, 1842, 18, 2603, 2981, 1435, 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, 24292, 12, 2890, 4672, 365, 18, 2981, 273, 1842, 18, 2603, 2981, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
By default, smtplib.SMTP_PORT is used.
By default, smtplib.SMTP_PORT is used. An SMTPConnectError is raised if the specified `host' doesn't respond correctly.
def __init__(self, host = '', port = 0): """Initialize a new instance.
296e14301a7aa23a5ee2bfaa1210af54e594cbbf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/296e14301a7aa23a5ee2bfaa1210af54e594cbbf/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1479, 273, 10226, 1756, 273, 374, 4672, 3536, 7520, 279, 394, 791, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1479, 273, 10226, 1756, 273, 374, 4672, 3536, 7520, 279, 394, 791, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
return Utils.collapse_rfc2231_value(boundary).strip()
return Utils.collapse_rfc2231_value(boundary).rstrip()
def get_boundary(self, failobj=None): """Return the boundary associated with the payload if present.
46b73ec3b62163aa0a03b482c970078a6a6f8190 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/46b73ec3b62163aa0a03b482c970078a6a6f8190/Message.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 16604, 12, 2890, 16, 2321, 2603, 33, 7036, 4672, 3536, 990, 326, 7679, 3627, 598, 326, 2385, 309, 3430, 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, 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, 336, 67, 16604, 12, 2890, 16, 2321, 2603, 33, 7036, 4672, 3536, 990, 326, 7679, 3627, 598, 326, 2385, 309, 3430, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
indent += "\t",
indent += "\t"
def ShowPipelineTree(self, pipeline, recurseDepth = 0, maxDepth = 3): '''Display a tree of pipeline elements and their children''' if recurseDepth > maxDepth: return
ad45600a360afafb52e42b236a78e0e640e1c3a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10033/ad45600a360afafb52e42b236a78e0e640e1c3a8/JokDebug.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9674, 8798, 2471, 12, 2890, 16, 5873, 16, 11502, 6148, 273, 374, 16, 22074, 273, 890, 4672, 9163, 4236, 279, 2151, 434, 5873, 2186, 471, 3675, 2325, 26418, 309, 11502, 6148, 405, 22074, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9674, 8798, 2471, 12, 2890, 16, 5873, 16, 11502, 6148, 273, 374, 16, 22074, 273, 890, 4672, 9163, 4236, 279, 2151, 434, 5873, 2186, 471, 3675, 2325, 26418, 309, 11502, 6148, 405, 22074, ...
p
def do_proxy(self, p, req): p return self.parent.open(req)
1368ca273a7d8e771a6c120d96e6e55429c9ebbd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/1368ca273a7d8e771a6c120d96e6e55429c9ebbd/urllib2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5656, 12, 2890, 16, 293, 16, 1111, 4672, 327, 365, 18, 2938, 18, 3190, 12, 3658, 13, 2, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5656, 12, 2890, 16, 293, 16, 1111, 4672, 327, 365, 18, 2938, 18, 3190, 12, 3658, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
'origin': porder.origin,
'origin': porder.origin or '',
def make_key(br, fields): list_key = [] for field in fields: field_val = getattr(br, field) if field in ('product_id','move_dest_id'): if not field_val: field_val = False if isinstance(field_val, browse_record): field_val = field_val.id if isinstance(field_val, browse_null): field_val = False elif isinstance(field_val,...
a99a3022baa933e0da76583cb15a8b9d3e7e763f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/a99a3022baa933e0da76583cb15a8b9d3e7e763f/wizard_merge_purchase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 856, 12, 2848, 16, 1466, 4672, 666, 67, 856, 273, 5378, 364, 652, 316, 1466, 30, 652, 67, 1125, 273, 3869, 12, 2848, 16, 652, 13, 309, 652, 316, 7707, 5896, 67, 350, 17023,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 856, 12, 2848, 16, 1466, 4672, 666, 67, 856, 273, 5378, 364, 652, 316, 1466, 30, 652, 67, 1125, 273, 3869, 12, 2848, 16, 652, 13, 309, 652, 316, 7707, 5896, 67, 350, 17023,...
attachment_ids.append(attachment.id) if attachment_ids:
attachment_id = attachment.id else: key = (object_name, object_id) attachment_id = cache['_model&id&name2attachment_ids']\ [key].get(name, [False])[0] if attachment_id:
def _uri2object(self, cursor, user, uri, object_name=_name, object_id=False, context=None, cache=None): attachment_obj = self.pool.get('ir.attachment') report_obj = self.pool.get('ir.action.report') cache_uri = uri
993ff2d321de105954db9e2ba9648c6707becb87 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/993ff2d321de105954db9e2ba9648c6707becb87/webdav.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1650, 22, 1612, 12, 2890, 16, 3347, 16, 729, 16, 2003, 16, 733, 67, 529, 33, 67, 529, 16, 733, 67, 350, 33, 8381, 16, 819, 33, 7036, 16, 1247, 33, 7036, 4672, 6042, 67, 2603, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1650, 22, 1612, 12, 2890, 16, 3347, 16, 729, 16, 2003, 16, 733, 67, 529, 33, 67, 529, 16, 733, 67, 350, 33, 8381, 16, 819, 33, 7036, 16, 1247, 33, 7036, 4672, 6042, 67, 2603, ...
cmd = ['pg_dump', '--format=c']
cmd = ['pg_dump', '--format=c', '--no-owner']
def dump(self, password, db_name): security.check_super(password) logger = netsvc.Logger()
4d5631e29cdfd4899b89b3a5a92ec6a8934ae17c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/4d5631e29cdfd4899b89b3a5a92ec6a8934ae17c/web_services.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 12, 2890, 16, 2201, 16, 1319, 67, 529, 4672, 4373, 18, 1893, 67, 9565, 12, 3664, 13, 1194, 273, 21954, 4227, 18, 3328, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 12, 2890, 16, 2201, 16, 1319, 67, 529, 4672, 4373, 18, 1893, 67, 9565, 12, 3664, 13, 1194, 273, 21954, 4227, 18, 3328, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -1...
tardy_model_start = scitbx.rigid_body.tardy_model(
tardy_model = scitbx.rigid_body.tardy_model(
def generate_rotamers(comp, rotamer_info, bonds_to_omit, strip_hydrogens): resname = comp.chem_comp.id comp_atom_names = set([atom.atom_id for atom in comp.atom_list]) pdb_inp = iotbx.pdb.input( file_name=op.join( protein_pdb_files, reference_pdb_file_name_lookup[resname])) pdb_atoms = pdb_inp.atoms() pdb_atoms.reset_i...
2660185393d07f44d74af45c3a4be3afec180d44 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/696/2660185393d07f44d74af45c3a4be3afec180d44/tst_tor_vs_tardy_tree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 8342, 301, 414, 12, 2919, 16, 4168, 24458, 67, 1376, 16, 15692, 67, 869, 67, 362, 305, 16, 2569, 67, 18112, 9005, 23730, 4672, 400, 529, 273, 1161, 18, 1036, 67, 2919, 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, 2103, 67, 8342, 301, 414, 12, 2919, 16, 4168, 24458, 67, 1376, 16, 15692, 67, 869, 67, 362, 305, 16, 2569, 67, 18112, 9005, 23730, 4672, 400, 529, 273, 1161, 18, 1036, 67, 2919, 18, ...
Semistandard tableaux of shape [2, 1]
Semistandard tableaux of shape [2, 1] and maximum entry 3
def SemistandardTableaux(p=None, mu=None): """ Returns the combinatorial class of semistandard tableaux. If p is specified and is a partition, then it returns the class of semistandard tableaux of shape p (and max entry sum(p)) If p is specified and is an integer, it returns the class of semistandard tableaux of size...
6ec7d5a4cd0b83ae5413f0375d51a0339f12b4b7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/6ec7d5a4cd0b83ae5413f0375d51a0339f12b4b7/tableau.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15661, 376, 2958, 1388, 18196, 12, 84, 33, 7036, 16, 4129, 33, 7036, 4672, 3536, 2860, 326, 3894, 4240, 649, 667, 434, 6111, 376, 2958, 1014, 18196, 18, 225, 971, 293, 353, 1269, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15661, 376, 2958, 1388, 18196, 12, 84, 33, 7036, 16, 4129, 33, 7036, 4672, 3536, 2860, 326, 3894, 4240, 649, 667, 434, 6111, 376, 2958, 1014, 18196, 18, 225, 971, 293, 353, 1269, 471, ...
return ('id','=',0)
self.__exp[i] = ('id','=',0)
def _get_expression(field_obj,cr, uid, left, right, operator, context=None): if context is None: context = {} c = context.copy() c['active_test'] = False dict_op = {'not in':'!=','in':'='} if isinstance(right,tuple): right = list(right) if (not isinstance(right,list)) and operator in ['not in','in']: operator = dict_op...
3611160e5257828994e4f80aaa743c66914eb652 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/3611160e5257828994e4f80aaa743c66914eb652/expression.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 8692, 12, 1518, 67, 2603, 16, 3353, 16, 4555, 16, 2002, 16, 2145, 16, 3726, 16, 819, 33, 7036, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 276, 273, 819, 18, 3530, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 8692, 12, 1518, 67, 2603, 16, 3353, 16, 4555, 16, 2002, 16, 2145, 16, 3726, 16, 819, 33, 7036, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 276, 273, 819, 18, 3530, ...
""" return self.display2d(onscreen=False)
sage: f = (exp(x)-1)/(exp(x/2)+1) sage: g = exp(x/2)-1 sage: print f(10), g(10) 10 e - 1 -------- 5 e + 1 5 e - 1 """ return '\n' + self.display2d(onscreen=False)
def __str__(self): """ Printing an object explicitly gives ASCII art:
1cc30c845d871988cf52ae707e5d4687f5934472 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/1cc30c845d871988cf52ae707e5d4687f5934472/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 3536, 3038, 310, 392, 733, 8122, 14758, 11768, 3688, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 3536, 3038, 310, 392, 733, 8122, 14758, 11768, 3688, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for queue in self.queues: lostMembers = [i for i in self.queues[queue]['members'].keys() if i not in self.queueMemberStatus[queue]] for member in lostMembers: log.log('MonAst.handlerQueueStatusComplete :: Removing lost member: %s' % member) del self.queues[queue]['members'][member] self.enqueue('RemoveQueueMember: %s::...
queue = self.queueStatusOrder.pop(0) lostMembers = [i for i in self.queues[queue]['members'].keys() if i not in self.queueMemberStatus[queue]] for member in lostMembers: log.log('MonAst.handlerQueueStatusComplete :: Removing lost member %s from queue %s' % (member, queue)) del self.queues[queue]['members'][member] self...
def handlerQueueStatusComplete(self, lines): log.info('MonAst.handlerQueueStatusComplete :: Running...') self.queuesLock.acquire() for queue in self.queues: lostMembers = [i for i in self.queues[queue]['members'].keys() if i not in self.queueMemberStatus[queue]] for member in lostMembers: log.log('MonAst.handlerQueue...
8eb2ec980fafd459704d4facda9d1e4c0a8a0462 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12004/8eb2ec980fafd459704d4facda9d1e4c0a8a0462/monast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 3183, 1482, 6322, 12, 2890, 16, 2362, 4672, 225, 613, 18, 1376, 2668, 11415, 21385, 18, 4176, 3183, 1482, 6322, 493, 20480, 7821, 13, 225, 365, 18, 18924, 2531, 18, 1077, 1039, 143...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 3183, 1482, 6322, 12, 2890, 16, 2362, 4672, 225, 613, 18, 1376, 2668, 11415, 21385, 18, 4176, 3183, 1482, 6322, 493, 20480, 7821, 13, 225, 365, 18, 18924, 2531, 18, 1077, 1039, 143...
panel.SetScrollRate(5,5)
def BuildColorPanel(self): """Select components by color and reassign labels if desired.""" panel = wx.ScrolledWindow(self, -1, style=wx.VSCROLL) color_names = self.model.GetZLabels(self.model.GetCurrentZ()) self.cbs = [wx.CheckBox(panel, -1, name) for name in color_names]
97423d7ac527f9bf70871352542e85a329374f1c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9486/97423d7ac527f9bf70871352542e85a329374f1c/Main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 2957, 5537, 12, 2890, 4672, 3536, 3391, 4085, 635, 2036, 471, 283, 6145, 3249, 309, 6049, 12123, 6594, 273, 7075, 18, 1541, 25054, 3829, 12, 2890, 16, 300, 21, 16, 2154, 33, 27226,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 2957, 5537, 12, 2890, 4672, 3536, 3391, 4085, 635, 2036, 471, 283, 6145, 3249, 309, 6049, 12123, 6594, 273, 7075, 18, 1541, 25054, 3829, 12, 2890, 16, 300, 21, 16, 2154, 33, 27226,...
def list(self, n): return [self(i) for i in range(1,n+1)]
def list(self, n): return [self(i) for i in range(1,n+1)]
2c9ec0e9ee4b6a66dba3cad312fef1c27ffc8925 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/2c9ec0e9ee4b6a66dba3cad312fef1c27ffc8925/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 12, 2890, 16, 290, 4672, 327, 306, 2890, 12, 77, 13, 364, 277, 316, 1048, 12, 21, 16, 82, 15, 21, 25887, 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, 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, 666, 12, 2890, 16, 290, 4672, 327, 306, 2890, 12, 77, 13, 364, 277, 316, 1048, 12, 21, 16, 82, 15, 21, 25887, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
assy.update_parts(do_post_event_updates = False)
assy.update_parts()
def _reset_grouplist(assy, grouplist): #bruce 050302 split this out of readmmp; # it should be entirely rewritten and become an assy method """ [private] Stick a new just-read grouplist into assy, within readmmp. If grouplist is None, indicating file had bad format, do some but not all of the usual side effects. [app...
5ab7078870c7da1d9b23f1248aa39b43690b6113 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/5ab7078870c7da1d9b23f1248aa39b43690b6113/files_mmp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6208, 67, 75, 14004, 17842, 12, 428, 93, 16, 314, 14004, 17842, 4672, 468, 2848, 3965, 374, 3361, 23, 3103, 1416, 333, 596, 434, 855, 81, 1291, 31, 468, 518, 1410, 506, 21658, 267...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6208, 67, 75, 14004, 17842, 12, 428, 93, 16, 314, 14004, 17842, 4672, 468, 2848, 3965, 374, 3361, 23, 3103, 1416, 333, 596, 434, 855, 81, 1291, 31, 468, 518, 1410, 506, 21658, 267...
"""
"""
def flimage_write_via_filter(pImage, p2, p3, p4): """ flimage_write_via_filter(pImage, p2, p3, p4) -> num. """ retval = _flimage_write_via_filter(pImage, p2, p3, p4) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 2730, 67, 2626, 67, 21985, 67, 2188, 12, 84, 2040, 16, 293, 22, 16, 293, 23, 16, 293, 24, 4672, 3536, 1183, 2730, 67, 2626, 67, 21985, 67, 2188, 12, 84, 2040, 16, 293, 22, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 2730, 67, 2626, 67, 21985, 67, 2188, 12, 84, 2040, 16, 293, 22, 16, 293, 23, 16, 293, 24, 4672, 3536, 1183, 2730, 67, 2626, 67, 21985, 67, 2188, 12, 84, 2040, 16, 293, 22, 16...
self._func = key
self._func = key or self.default
def __init__(self, parent, key=Collection.default): UserDict.__init__(self) self.parent = weakref.ref(parent) self.list = [] self._func = key
2c172de5cd84e8542a52f0380a86720572828228 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/2c172de5cd84e8542a52f0380a86720572828228/Utility.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 498, 33, 2532, 18, 1886, 4672, 2177, 5014, 16186, 2738, 972, 12, 2890, 13, 365, 18, 2938, 273, 16046, 1734, 18, 1734, 12, 2938, 13, 365, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 498, 33, 2532, 18, 1886, 4672, 2177, 5014, 16186, 2738, 972, 12, 2890, 13, 365, 18, 2938, 273, 16046, 1734, 18, 1734, 12, 2938, 13, 365, 18, 1...
text=None, extension_elements=None, extension_attributes=None):
extension_elements=None, extension_attributes=None, text=None):
def __init__(self, author=None, category=None, contributor=None, generator=None, icon=None, atom_id=None, link=None, logo=None, rights=None, subtitle=None, title=None, updated=None, entry=None, total_results=None, start_index=None, items_per_page=None, text=None, extension_elements=None, extension_attributes=None): gda...
0ba6315ab8118b874d87e51c8f024bfc6f59e8a9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6580/0ba6315ab8118b874d87e51c8f024bfc6f59e8a9/gcalendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2869, 33, 7036, 16, 3150, 33, 7036, 16, 31123, 33, 7036, 16, 4456, 33, 7036, 16, 4126, 33, 7036, 16, 3179, 67, 350, 33, 7036, 16, 1692, 33, 7036, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2869, 33, 7036, 16, 3150, 33, 7036, 16, 31123, 33, 7036, 16, 4456, 33, 7036, 16, 4126, 33, 7036, 16, 3179, 67, 350, 33, 7036, 16, 1692, 33, 7036, 16, ...
sys.stderr.write(u'\n! Warning: Skipping "%s" as there is no IMDB number for this movie.\nUse interactive option (-i) or (-I) to select the IMDB number.\n\n' % (cfile['file_seriesname']))
sys.stderr.write(u'\n! Warning: Skipping "%s" as there is no IMDB number for this movie.\nUse interactive option (-i) or (-I) to select the IMDB number.\n\n' % (cfile['file_seriesname']))
def processMythTvMetaData(self): '''Check each video file in the mythvideo directories download graphics files and meta data then update MythTV data base meta data with any new information. ''' # If there were directories specified move them and update the MythTV db meta data accordingly if self.config['video_dir']: if...
6089d4d60f2dab84c6af9981c242684b162de38e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/6089d4d60f2dab84c6af9981c242684b162de38e/jamu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
print i, w['key'], w['title']
print i, work['key'], work['title']
def read_works(): i = 0 pages = {} page_marc = {} for w, marc in work_and_marc(): lines = [] for loc in marc: data = get_data(loc) if not data: continue found = [v for k, v in get_tag_lines(data, set(['600']))] if found: lines.append((loc, found)) if not lines: continue w['lines'] = lines i += 1 print i, w['key'], w['...
ea3116f4fd6d199f513adfc9355c2f70530e7b4c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3913/ea3116f4fd6d199f513adfc9355c2f70530e7b4c/from_works.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 18597, 13332, 277, 273, 374, 4689, 273, 2618, 1363, 67, 3684, 71, 273, 2618, 225, 364, 341, 16, 312, 11828, 316, 1440, 67, 464, 67, 3684, 71, 13332, 2362, 273, 5378, 364, 1515...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 18597, 13332, 277, 273, 374, 4689, 273, 2618, 1363, 67, 3684, 71, 273, 2618, 225, 364, 341, 16, 312, 11828, 316, 1440, 67, 464, 67, 3684, 71, 13332, 2362, 273, 5378, 364, 1515...
if (label == ""): label = "Site" + str(len(positions)+1)
if (label == ""): label = "Site" + str(len(self.positions)+1)
def __init__(self, ucparams, sgsymbol, convention, format, coor_type, skip_columns, coordinates): self.ucparams = ucparams self.sgsymbol = sgsymbol self.convention = convention if (format == "generic"): skip_columns = int(skip_columns) self.positions = [] for line in coordinates: label, coor = interpret_generic_coordin...
dd653ee51ade87b9856d81e625e11bacc389e06b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/dd653ee51ade87b9856d81e625e11bacc389e06b/emma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 6232, 2010, 16, 272, 564, 3284, 16, 15797, 16, 740, 16, 1825, 280, 67, 723, 16, 2488, 67, 5112, 16, 5513, 4672, 365, 18, 5286, 2010, 273, 6232, 2010, 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, 1001, 2738, 972, 12, 2890, 16, 6232, 2010, 16, 272, 564, 3284, 16, 15797, 16, 740, 16, 1825, 280, 67, 723, 16, 2488, 67, 5112, 16, 5513, 4672, 365, 18, 5286, 2010, 273, 6232, 2010, 3...
Returns the Molien series of a transtive permutation group. The
Returns the Molien series of a transitive permutation group. The
def molien_series(self): r""" Returns the Molien series of a transtive permutation group. The function
2d077a3331069892dd585070aa02c876686672d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/2d077a3331069892dd585070aa02c876686672d2/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12629, 77, 275, 67, 10222, 12, 2890, 4672, 436, 8395, 2860, 326, 490, 355, 77, 275, 4166, 434, 279, 30442, 17440, 1041, 18, 1021, 445, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12629, 77, 275, 67, 10222, 12, 2890, 4672, 436, 8395, 2860, 326, 490, 355, 77, 275, 4166, 434, 279, 30442, 17440, 1041, 18, 1021, 445, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
inslen = idaapi.ua_code(ea)
inslen = idaapi.decode_insn(ea)
def GetOpType(ea, n): """ Get type of instruction operand @param ea: linear address of instruction @param n: number of operand: 0 - the first operand 1 - the second operand @return: any of o_* constants or -1 on error """ inslen = idaapi.ua_code(ea) if inslen == 0: return -1 insn = idaapi.get_current_instruction() ...
32fd13f56d8a9cb5cd4ce4b2e106630ac7b86cf4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3410/32fd13f56d8a9cb5cd4ce4b2e106630ac7b86cf4/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 3817, 559, 12, 24852, 16, 290, 4672, 3536, 968, 618, 434, 7592, 9886, 225, 632, 891, 24164, 30, 9103, 1758, 434, 7592, 632, 891, 290, 30, 1300, 434, 9886, 30, 374, 300, 326, 1122,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 3817, 559, 12, 24852, 16, 290, 4672, 3536, 968, 618, 434, 7592, 9886, 225, 632, 891, 24164, 30, 9103, 1758, 434, 7592, 632, 891, 290, 30, 1300, 434, 9886, 30, 374, 300, 326, 1122,...
portal_path = self.get_portal_path(metatype)
portal_path = self.get_portal_path(portal)
def get_fs_template_content(self, id, metatype): """ return the content of the filesystem template """ portal_path = self.get_portal_path(metatype) skel_handler, error = skel_parser().parse(readFile(join(portal_path, 'skel', 'skel.xml'), 'r')) if skel_handler.root.forms is not None: return readFile(join(portal_path, 's...
0116da894b0fd06e2befe1c4b6331ce460957cbc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3287/0116da894b0fd06e2befe1c4b6331ce460957cbc/NaayaUpdater.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2556, 67, 3202, 67, 1745, 12, 2890, 16, 612, 16, 5100, 6361, 4672, 3536, 327, 326, 913, 434, 326, 6496, 1542, 3536, 11899, 67, 803, 273, 365, 18, 588, 67, 24386, 67, 803, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2556, 67, 3202, 67, 1745, 12, 2890, 16, 612, 16, 5100, 6361, 4672, 3536, 327, 326, 913, 434, 326, 6496, 1542, 3536, 11899, 67, 803, 273, 365, 18, 588, 67, 24386, 67, 803, 12...
eq(msg.get_payload(1).get_payload(decode=1),
eq(msg.get_payload(1).get_payload(decode=True),
def test_get_decoded_payload(self): eq = self.assertEqual msg = self._msgobj('msg_10.txt') # The outer message is a multipart eq(msg.get_payload(decode=1), None) # Subpart 1 is 7bit encoded eq(msg.get_payload(0).get_payload(decode=1), 'This is a 7bit encoded message.\n') # Subpart 2 is quopri eq(msg.get_payload(1).get_...
825154870b11bdae0cd2b37ef150eaa3dfe363e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/825154870b11bdae0cd2b37ef150eaa3dfe363e2/test_email.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 588, 67, 26646, 67, 7648, 12, 2890, 4672, 7555, 273, 365, 18, 11231, 5812, 1234, 273, 365, 6315, 3576, 2603, 2668, 3576, 67, 2163, 18, 5830, 6134, 468, 1021, 6390, 883, 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, 1842, 67, 588, 67, 26646, 67, 7648, 12, 2890, 4672, 7555, 273, 365, 18, 11231, 5812, 1234, 273, 365, 6315, 3576, 2603, 2668, 3576, 67, 2163, 18, 5830, 6134, 468, 1021, 6390, 883, 353, ...
'return in finally clause causes java.lang.VerifyError at compile time' exec code32 def test
'return in finally clause causes java.lang.VerifyError at compile time' exec code32
def test32(): 'return in finally clause causes java.lang.VerifyError at compile time' exec code32
255f4210c1e3b967db40828e7c0a557465f32371 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6753/255f4210c1e3b967db40828e7c0a557465f32371/bugs101.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1578, 13332, 296, 2463, 316, 3095, 6591, 14119, 2252, 18, 4936, 18, 8097, 668, 622, 4074, 813, 11, 1196, 981, 1578, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1578, 13332, 296, 2463, 316, 3095, 6591, 14119, 2252, 18, 4936, 18, 8097, 668, 622, 4074, 813, 11, 1196, 981, 1578, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
"""Under Development. Output similar to the web page can be printed to the screen
"""Output similar to the web page can be printed to the screen
def getJobSummary(self,jobID,outputFile=None,printOutput=False): """Under Development. Output similar to the web page can be printed to the screen or stored as a file or just returned as a dictionary for further usage.
2762b06242602a0ca2e8c502d626d42c8ff88c1b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/2762b06242602a0ca2e8c502d626d42c8ff88c1b/Dirac.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13024, 4733, 12, 2890, 16, 4688, 734, 16, 2844, 812, 33, 7036, 16, 1188, 1447, 33, 8381, 4672, 3536, 1447, 7281, 358, 326, 3311, 1363, 848, 506, 14099, 358, 326, 5518, 578, 4041, 487, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13024, 4733, 12, 2890, 16, 4688, 734, 16, 2844, 812, 33, 7036, 16, 1188, 1447, 33, 8381, 4672, 3536, 1447, 7281, 358, 326, 3311, 1363, 848, 506, 14099, 358, 326, 5518, 578, 4041, 487, ...
if verbose:
if verbose and mode[0] != 'l':
def mirrorsubdir(f, localdir): pwd = f.pwd() if localdir and not os.path.isdir(localdir): if verbose: print 'Creating local directory', localdir try: makedir(localdir) except os.error, msg: print "Failed to establish local directory", localdir return infofilename = os.path.join(localdir, '.mirrorinfo') try: text = open...
177e24029a050d5f78171d466185e2fd80d527b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/177e24029a050d5f78171d466185e2fd80d527b6/ftpmirror.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 27026, 373, 1214, 12, 74, 16, 1191, 1214, 4672, 14720, 273, 284, 18, 27487, 1435, 309, 1191, 1214, 471, 486, 1140, 18, 803, 18, 291, 1214, 12, 3729, 1214, 4672, 309, 3988, 471, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 27026, 373, 1214, 12, 74, 16, 1191, 1214, 4672, 14720, 273, 284, 18, 27487, 1435, 309, 1191, 1214, 471, 486, 1140, 18, 803, 18, 291, 1214, 12, 3729, 1214, 4672, 309, 3988, 471, 19...
wx.Panel.SetWindowStyleFlag(self, style)
wx.PyPanel.SetWindowStyleFlag(self, style)
def SetWindowStyleFlag(self, style): """ Sets the L{FlatNotebook} window style flags. """ wx.Panel.SetWindowStyleFlag(self, style) renderer = self._pages._mgr.GetRenderer(self.GetWindowStyleFlag()) renderer._tabHeight = None
3a0b1f421ffd09b66f7f6a99913173fbe0ebb517 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12725/3a0b1f421ffd09b66f7f6a99913173fbe0ebb517/flatnotebook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 3829, 2885, 4678, 12, 2890, 16, 2154, 4672, 3536, 11511, 326, 511, 95, 16384, 19751, 97, 2742, 2154, 2943, 18, 3536, 225, 7075, 18, 9413, 5537, 18, 694, 3829, 2885, 4678, 12, 2890,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 3829, 2885, 4678, 12, 2890, 16, 2154, 4672, 3536, 11511, 326, 511, 95, 16384, 19751, 97, 2742, 2154, 2943, 18, 3536, 225, 7075, 18, 9413, 5537, 18, 694, 3829, 2885, 4678, 12, 2890,...
result = fstr.safe_substitute(NAME=self.pprint_repr(f.name), DESCRIPTION=self.pprint_repr(f.description), CATEGORY=self.pprint_repr(f.category), DOC=self.pprint_repr(f.doc), INPUTS=self.pprint_repr(f.inputs), OUTPUTS=self.pprint_repr(f.outputs), ELT_FACTORY=self.pprint_repr(f.elt_factory), ELT_CONNECTIONS=self.pprint_r...
result = fstr.safe_substitute(NAME=pprint_repr(f.name), DESCRIPTION=pprint_repr(f.description), CATEGORY=pprint_repr(f.category), DOC=pprint_repr(f.doc), INPUTS=pprint_repr(f.inputs), OUTPUTS=pprint_repr(f.outputs), ELT_FACTORY=pprint_repr(f.elt_factory), ELT_CONNECTIONS=pprint_repr(f.connections), ELT_DATA=pprint_repr...
def __repr__(self): """ Return the python string representation """
7fe5f722eda62264074d3197975bdb97b6505cbf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11338/7fe5f722eda62264074d3197975bdb97b6505cbf/compositenode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 3536, 2000, 326, 5790, 533, 4335, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 12715, 972, 12, 2890, 4672, 3536, 2000, 326, 5790, 533, 4335, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
% (t_bold, t_normal))
% (t_bold, t_reset))
def format_line(line, conflicts=conflicts): if line.startswith('C '): conflicts.append(line) return '%s%s%s' % (t_colour[12], line, t_reset) elif line.startswith('M '): return '%s%s%s' % (t_colour[10], line, t_reset) elif line.startswith('? '): return '%s%s%s' % (t_colour[8], line, t_reset) else: return line
eea98b0b4b51c9727bf260e66213669b8269f2e4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4596/eea98b0b4b51c9727bf260e66213669b8269f2e4/terminal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 1369, 12, 1369, 16, 14450, 33, 20340, 87, 4672, 309, 980, 18, 17514, 1918, 2668, 39, 296, 4672, 14450, 18, 6923, 12, 1369, 13, 327, 1995, 87, 9, 87, 9, 87, 11, 738, 261, 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, 740, 67, 1369, 12, 1369, 16, 14450, 33, 20340, 87, 4672, 309, 980, 18, 17514, 1918, 2668, 39, 296, 4672, 14450, 18, 6923, 12, 1369, 13, 327, 1995, 87, 9, 87, 9, 87, 11, 738, 261, 8...
val = int(value.split(',')[1].split(',')[0].strip('('))
default_val = int(value.split(',')[1].split(',')[0].strip('('))
def set(self, cursor, user, name, model, res_id, val, context=None): """ Set property value for res_id """ model_field_obj = self.pool.get('ir.model.field')
70a898af6d79d43cb4bc81eb74dcd15bf049afb0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/70a898af6d79d43cb4bc81eb74dcd15bf049afb0/property.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 3347, 16, 729, 16, 508, 16, 938, 16, 400, 67, 350, 16, 1244, 16, 819, 33, 7036, 4672, 3536, 1000, 1272, 460, 364, 400, 67, 350, 3536, 938, 67, 1518, 67, 2603, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 3347, 16, 729, 16, 508, 16, 938, 16, 400, 67, 350, 16, 1244, 16, 819, 33, 7036, 4672, 3536, 1000, 1272, 460, 364, 400, 67, 350, 3536, 938, 67, 1518, 67, 2603, 27...
self.vboxlayout_selfilter.setMargin(0)
self.vboxlayout_selfilter.setMargin(pmGrpBoxVboxLayoutMargin)
def ui_selectionFilter_GroupBox(self, MMKitDialog): #Start Selection Filter GroupBox self.selectionFilter_groupBox = QtGui.QGroupBox(MMKitDialog) self.selectionFilter_groupBox.setObjectName("selectionFilter_groupBox") self.selectionFilter_groupBox.setAutoFillBackground(True) palette = MMKitDialog.getGroupBoxPalette() ...
025f56a97bb06f65e7eca6eb146078b276dd199e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11221/025f56a97bb06f65e7eca6eb146078b276dd199e/MMKitDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5915, 67, 10705, 1586, 67, 1114, 3514, 12, 2890, 16, 18295, 14102, 6353, 4672, 468, 1685, 12977, 4008, 3756, 3514, 365, 18, 10705, 1586, 67, 1655, 3514, 273, 23425, 18, 53, 1114, 3514, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5915, 67, 10705, 1586, 67, 1114, 3514, 12, 2890, 16, 18295, 14102, 6353, 4672, 468, 1685, 12977, 4008, 3756, 3514, 365, 18, 10705, 1586, 67, 1655, 3514, 273, 23425, 18, 53, 1114, 3514, 1...
Block.objects.exclude(right_city=SHORT_NAME.upper()).exclude(left_city=SHORT_NAME.upper()).delete()
Block.objects.exclude(right_city=settings.SHORT_NAME.upper()).exclude(left_city=settings.SHORT_NAME.upper()).delete()
def update_block_numbers(): Block.objects.exclude(right_city=SHORT_NAME.upper()).exclude(left_city=SHORT_NAME.upper()).delete() for b in Block.objects.all(): (from_num, to_num) = make_block_numbers(b.left_from_num, b.left_to_num, b.right_from_num, b.right_to_num) if b.from_num != from_num and b.to_num != to_num: b.from...
4cf41664f1cab2cac49f504dd1e5f107a11cf172 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10327/4cf41664f1cab2cac49f504dd1e5f107a11cf172/fix_block_numbers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2629, 67, 13851, 13332, 3914, 18, 6911, 18, 10157, 12, 4083, 67, 14240, 33, 4272, 18, 15993, 67, 1985, 18, 5797, 1435, 2934, 10157, 12, 4482, 67, 14240, 33, 4272, 18, 15993, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2629, 67, 13851, 13332, 3914, 18, 6911, 18, 10157, 12, 4083, 67, 14240, 33, 4272, 18, 15993, 67, 1985, 18, 5797, 1435, 2934, 10157, 12, 4482, 67, 14240, 33, 4272, 18, 15993, ...
print "Latch [%s]"%(req.cur_tf.child_frame_id)
print "Latch [%s]/[%shz]"%(req.cur_tf.child_frame_id,req.freq)
def set_tf(self,req): print "Latch [%s]"%(req.cur_tf.child_frame_id) tf_sleep_time = 1.0/req.freq self.cur_tf[req.cur_tf.child_frame_id] = req.cur_tf self.publish_tf(req.cur_tf.child_frame_id) return SetDynamicTFResponse()
ea9e14e3ca28ad9d0b97605890c7b0cb874376b1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7888/ea9e14e3ca28ad9d0b97605890c7b0cb874376b1/tf_publish.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 6632, 12, 2890, 16, 3658, 4672, 1172, 315, 23463, 9799, 87, 18537, 14451, 674, 94, 4279, 17105, 3658, 18, 1397, 67, 6632, 18, 3624, 67, 3789, 67, 350, 16, 3658, 18, 10212, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 6632, 12, 2890, 16, 3658, 4672, 1172, 315, 23463, 9799, 87, 18537, 14451, 674, 94, 4279, 17105, 3658, 18, 1397, 67, 6632, 18, 3624, 67, 3789, 67, 350, 16, 3658, 18, 10212, 13,...
attributes = [attribute for attribute in attributes \ if hasattr(object, attribute)]
def getAttributeNames(object, includeMagic=1, includeSingle=1, includeDouble=1): """Return list of unique attributes, including inherited, for object.""" attributes = [] dict = {} if not hasattrAlwaysReturnsTrue(object): # Add some attributes that don't always get picked up. If # they don't apply, they'll get filtered...
8d9be42a2821ffed248db455c4976a079e2fe2cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/8d9be42a2821ffed248db455c4976a079e2fe2cb/introspect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4061, 1557, 12, 1612, 16, 2341, 19289, 33, 21, 16, 2341, 5281, 33, 21, 16, 2341, 5265, 33, 21, 4672, 3536, 990, 666, 434, 3089, 1677, 16, 6508, 12078, 16, 364, 733, 12123, 1677, 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, 4061, 1557, 12, 1612, 16, 2341, 19289, 33, 21, 16, 2341, 5281, 33, 21, 16, 2341, 5265, 33, 21, 4672, 3536, 990, 666, 434, 3089, 1677, 16, 6508, 12078, 16, 364, 733, 12123, 1677, 273, ...
new_doc.childNodes[0].appendChild(lines)
new_doc.append(lines)
def _append_node(name, text): n = new_doc.createElement(name) t = new_doc.createTextNode(text) n.appendChild(t) config.appendChild(n)
32aa89f603ce93d4388ce6f049f482862969ced9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/32aa89f603ce93d4388ce6f049f482862969ced9/custom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 2159, 12, 529, 16, 977, 4672, 290, 273, 394, 67, 2434, 18, 2640, 1046, 12, 529, 13, 268, 273, 394, 67, 2434, 18, 2640, 17299, 12, 955, 13, 290, 18, 6923, 1763, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 2159, 12, 529, 16, 977, 4672, 290, 273, 394, 67, 2434, 18, 2640, 1046, 12, 529, 13, 268, 273, 394, 67, 2434, 18, 2640, 17299, 12, 955, 13, 290, 18, 6923, 1763, 12, 8...
if self.valid( job.runningJob ) :
if self.valid( job.runningJob ) or objType == 'node':
def query(self, obj, service='', objType='node') : """ query status and eventually other scheduler related information """ # Can the check on objType be deprecated? ... talk with Giuseppe # the object passed is a Task: if type(obj) == Task :
3e4422e8b47493dfc63c8923517b77387fe8d28e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8886/3e4422e8b47493dfc63c8923517b77387fe8d28e/SchedulerGLite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 843, 12, 2890, 16, 1081, 16, 1156, 2218, 2187, 30078, 2218, 2159, 6134, 294, 3536, 843, 1267, 471, 18011, 1308, 8129, 3746, 1779, 3536, 468, 4480, 326, 866, 603, 30078, 506, 6849, 35, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 843, 12, 2890, 16, 1081, 16, 1156, 2218, 2187, 30078, 2218, 2159, 6134, 294, 3536, 843, 1267, 471, 18011, 1308, 8129, 3746, 1779, 3536, 468, 4480, 326, 866, 603, 30078, 506, 6849, 35, 13...
return str[len(prefix)] == sep and str[:len(prefix)] == prefix
scripts = { 'tinu_run_versions' : '''CREATE TABLE tinu_run_versions ( id INTEGER PRIMARY KEY AUTOINCREMENT, create_time INTEGER )''', 'tinu_summary' : '''CREATE TABLE tinu_summary ( run_id INTEGER REFERENCES tinu_run_versions(id) ON DELETE CASCADE, passed INTEGER, failed INTEGER, segfault INTEGER )''', 'tinu_messages' ...
def is_prefix(str, prefix, sep = '.'): if len(str) <= len(prefix): return False return str[len(prefix)] == sep and str[:len(prefix)] == prefix
f809f388ba16b0d594155c0b3703be8316710995 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13126/f809f388ba16b0d594155c0b3703be8316710995/sqlite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 3239, 12, 701, 16, 1633, 16, 5478, 273, 2611, 4672, 309, 562, 12, 701, 13, 1648, 562, 12, 3239, 4672, 327, 1083, 225, 8873, 273, 288, 296, 88, 6860, 67, 2681, 67, 10169, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3239, 12, 701, 16, 1633, 16, 5478, 273, 2611, 4672, 309, 562, 12, 701, 13, 1648, 562, 12, 3239, 4672, 327, 1083, 225, 8873, 273, 288, 296, 88, 6860, 67, 2681, 67, 10169, 11,...
def compare_to_sort(self, other_media): return self.compare_filename(other_media)
def get_date_taken(self): return self.get_datetime()
def compare_to_sort(self, other_media): return self.compare_filename(other_media)
9579e648e4ad1b612154d0158eb22191dd83872c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4663/9579e648e4ad1b612154d0158eb22191dd83872c/sourcetree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 869, 67, 3804, 12, 2890, 16, 1308, 67, 5829, 4672, 327, 365, 18, 9877, 67, 3459, 12, 3011, 67, 5829, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3400, 67, 869, 67, 3804, 12, 2890, 16, 1308, 67, 5829, 4672, 327, 365, 18, 9877, 67, 3459, 12, 3011, 67, 5829, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
service_dir = os.path.dirname(sys.argv[0]) server_dir = os.path.split(service_dir)[0] server_path = os.path.join(server_dir, 'openerp-server.exe') self.terpprocess = subprocess.Popen([server_path], \ cwd=server_dir, creationflags=win32process.CREATE_NO_WINDOW)
service_dir = os.path.dirname(sys.argv[0]) server_dir = os.path.split(service_dir)[0] server_path = os.path.join(server_dir, 'openerp-server.exe') self.terpprocess = subprocess.Popen([server_path], cwd=server_dir, creationflags=win32process.CREATE_NO_WINDOW)
def StartTERP(self):
262ca045dbaef82145f04cc8ee8db4582bce9c5f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/262ca045dbaef82145f04cc8ee8db4582bce9c5f/OpenERPServerService.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3603, 2560, 52, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3603, 2560, 52, 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, -10...
def create_shortcut(self, cr, uid, values, context={}):
def create_shortcut(self, cr, uid, values, context=None):
def create_shortcut(self, cr, uid, values, context={}): dataobj = self.pool.get('ir.model.data') new_context = context.copy() for key in context: if key.startswith('default_'): del new_context[key]
9dd8d6a482b3154fbd83d47d36e3bece67de416a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/9dd8d6a482b3154fbd83d47d36e3bece67de416a/ir_ui_menu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 24744, 12, 2890, 16, 4422, 16, 4555, 16, 924, 16, 819, 33, 7036, 4672, 501, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 2284, 18, 892, 6134, 394, 67, 2472, 273, 819, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 24744, 12, 2890, 16, 4422, 16, 4555, 16, 924, 16, 819, 33, 7036, 4672, 501, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 2284, 18, 892, 6134, 394, 67, 2472, 273, 819, ...
"""Completes a scan for available access points, and returns them in Iwscanresult format
""" Completes a scan for available access points, and returns them in Iwscanresult format.
def scan(self, fullscan=True): """Completes a scan for available access points, and returns them in Iwscanresult format fullscan: If False, data is read from a cache of the last scan If True, a scan is conducted, and then the data is read """ # By default everything is fine, do not wait result = 1 if fullscan: self.se...
05b40a3d0b9e46299ea3a7ddfd32be4a1e2ba258 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3159/05b40a3d0b9e46299ea3a7ddfd32be4a1e2ba258/iwlibs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4135, 12, 2890, 16, 1983, 9871, 33, 5510, 4672, 3536, 8359, 281, 279, 4135, 364, 2319, 2006, 3143, 16, 471, 1135, 2182, 316, 467, 91, 9871, 2088, 740, 18, 225, 1983, 9871, 30, 971, 108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4135, 12, 2890, 16, 1983, 9871, 33, 5510, 4672, 3536, 8359, 281, 279, 4135, 364, 2319, 2006, 3143, 16, 471, 1135, 2182, 316, 467, 91, 9871, 2088, 740, 18, 225, 1983, 9871, 30, 971, 108...
def __init__(self,parent,id,label,url):
def __init__(self,parent,id,label,url,background=None):
def __init__(self,parent,id,label,url): wx.HyperlinkCtrl.__init__(self,parent,id,label,url)
9ba3a023e7510312f20c9bccdc7fd95d158d37f4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11142/9ba3a023e7510312f20c9bccdc7fd95d158d37f4/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 16, 350, 16, 1925, 16, 718, 16, 9342, 33, 7036, 4672, 7075, 18, 15996, 1232, 12418, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 350, 16, 1925, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 16, 350, 16, 1925, 16, 718, 16, 9342, 33, 7036, 4672, 7075, 18, 15996, 1232, 12418, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 350, 16, 1925, 16, ...
self.connected = 1
self.connected = True
def __init__(self, sock=None, map=None): if map is None: self._map = socket_map else: self._map = map
f94fbfa5fad912cd8d3e8c9796714e413449545b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/f94fbfa5fad912cd8d3e8c9796714e413449545b/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 33, 7036, 16, 852, 33, 7036, 4672, 309, 852, 353, 599, 30, 365, 6315, 1458, 273, 2987, 67, 1458, 469, 30, 365, 6315, 1458, 273, 852, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 33, 7036, 16, 852, 33, 7036, 4672, 309, 852, 353, 599, 30, 365, 6315, 1458, 273, 2987, 67, 1458, 469, 30, 365, 6315, 1458, 273, 852, 2, -100, -10...
"""Calculate the date the machine which emitted the packet booted using TCP timestamp
"""Calculate the date the machine which emitted the packet booted using TCP timestamp
def pkt2uptime(pkt, HZ=100): """Calculate the date the machine which emitted the packet booted using TCP timestamp
bebe0596dd5f92720a86c6f3fa23aaf4b1bbc984 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7311/bebe0596dd5f92720a86c6f3fa23aaf4b1bbc984/p0f.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11536, 22, 3648, 494, 12, 5465, 88, 16, 670, 62, 33, 6625, 4672, 3536, 8695, 326, 1509, 326, 5228, 1492, 17826, 326, 4414, 4835, 329, 1450, 9911, 2858, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11536, 22, 3648, 494, 12, 5465, 88, 16, 670, 62, 33, 6625, 4672, 3536, 8695, 326, 1509, 326, 5228, 1492, 17826, 326, 4414, 4835, 329, 1450, 9911, 2858, 2, -100, -100, -100, -100, -100, ...
except:
except (KeyboardInterrupt, SystemExit): raise except Exception, err:
def recover(inp, outp, verbose=0, partial=0, force=0, pack=0): print 'Recovering', inp, 'into', outp if os.path.exists(outp) and not force: die("%s exists" % outp) file = open(inp, "rb") if file.read(4) != ZODB.FileStorage.packed_version: die("input is not a file storage") file.seek(0,2) file_size = file.tell() ofs...
9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814/fsrecover.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5910, 12, 31647, 16, 596, 84, 16, 3988, 33, 20, 16, 4702, 33, 20, 16, 2944, 33, 20, 16, 2298, 33, 20, 4672, 1172, 296, 27622, 310, 2187, 12789, 16, 296, 18591, 2187, 596, 84, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5910, 12, 31647, 16, 596, 84, 16, 3988, 33, 20, 16, 4702, 33, 20, 16, 2944, 33, 20, 16, 2298, 33, 20, 4672, 1172, 296, 27622, 310, 2187, 12789, 16, 296, 18591, 2187, 596, 84, 225, ...
longOptList = ["help", "GMEMCEIL="] if len(sys.argv) == 1: usage() else: filename = sys.argv[1] sys.argv.pop(1) if string.find(filename, ".pqr") == -1: usage()
longOptList = ["help", "CFAC=", "SPACE=", "GMEMFAC=", "GMEMCEIL=", \ "OFAC=", "REDFAC=", "TFAC_ALPHA=", "TFAC_XEON=", "TFAC_ALPHA="]
def main(): import getopt filename = "" shortOptList = "" longOptList = ["help", "GMEMCEIL="] if len(sys.argv) == 1: usage() else: filename = sys.argv[1] sys.argv.pop(1) if string.find(filename, ".pqr") == -1: usage() try: opts, args = getopt.getopt(sys.argv[1:], shortOptList, longOptList) except getopt.GetoptError: us...
6665cc764c783c9ecf9bd3ffa66639aeba8434c0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8179/6665cc764c783c9ecf9bd3ffa66639aeba8434c0/psize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1930, 336, 3838, 1544, 273, 1408, 3025, 6179, 682, 273, 1408, 1525, 6179, 682, 273, 8247, 5201, 3113, 315, 39, 2046, 39, 1546, 16, 315, 6616, 1546, 16, 315, 43, 12286, 2046,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1930, 336, 3838, 1544, 273, 1408, 3025, 6179, 682, 273, 1408, 1525, 6179, 682, 273, 8247, 5201, 3113, 315, 39, 2046, 39, 1546, 16, 315, 6616, 1546, 16, 315, 43, 12286, 2046,...
//a little timeout.
//a little timeout. Safari also has this problem.
def javascript(): s = async_lib() s+= r"""
c2aaa66812ebd6574ef2d6949428068ed58dba1b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/c2aaa66812ebd6574ef2d6949428068ed58dba1b/js.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11341, 13332, 272, 273, 4326, 67, 2941, 1435, 272, 15, 33, 436, 8395, 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, 11341, 13332, 272, 273, 4326, 67, 2941, 1435, 272, 15, 33, 436, 8395, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not handleInfoFile(dirpath, parts, ".fac", sceneryObject, authors): return
def handleFacade(dirpath, filename, libraryFileHandle, libraryPlaceholderFileHandle, facades, authors): objectSourcePath = os.path.join(dirpath, filename) parts = dirpath.split("/", 2) print "Handling facade: " + objectSourcePath # Create an instance of the SceneryObject class sceneryObject = classes.SceneryObject(pa...
5d85d733c345934088eebd21200220a1ee2d66fa /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5176/5d85d733c345934088eebd21200220a1ee2d66fa/functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12467, 12, 1214, 803, 16, 1544, 16, 5313, 812, 3259, 16, 5313, 14038, 812, 3259, 16, 5853, 16601, 16, 14494, 4672, 733, 1830, 743, 273, 1140, 18, 803, 18, 5701, 12, 1214, 803, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12467, 12, 1214, 803, 16, 1544, 16, 5313, 812, 3259, 16, 5313, 14038, 812, 3259, 16, 5853, 16601, 16, 14494, 4672, 733, 1830, 743, 273, 1140, 18, 803, 18, 5701, 12, 1214, 803, 16...
def __init__(self, logFile, ignoreStrings=[]):
def __init__(self, logFile, ignoreStrings=None):
def __init__(self, logFile, ignoreStrings=[]): if not logFile: raise Exception("No log file specified!") if not(os.path.exists(logFile)): raise Exception("Specified log file does not exist!") self.log = open(logFile, "r") self.ignore = [] for string in ignoreStrings: reg = re.compile(string) self.ignore.append(reg) ...
c669adde24710f434b837da02218493181885817 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/c669adde24710f434b837da02218493181885817/simulationLogParser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 20169, 16, 2305, 7957, 33, 7036, 4672, 309, 486, 20169, 30, 1002, 1185, 2932, 2279, 613, 585, 1269, 4442, 13, 225, 309, 486, 12, 538, 18, 803, 18, 1808, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 20169, 16, 2305, 7957, 33, 7036, 4672, 309, 486, 20169, 30, 1002, 1185, 2932, 2279, 613, 585, 1269, 4442, 13, 225, 309, 486, 12, 538, 18, 803, 18, 1808, ...
def install(self): sys.path.insert(0, self)
def install(self): sys.path.insert(0, self)
84fc7ddb7a93f029d7ea47386fbacf965b511ab2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/84fc7ddb7a93f029d7ea47386fbacf965b511ab2/imputil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 12, 2890, 4672, 2589, 18, 803, 18, 6387, 12, 20, 16, 365, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3799, 12, 2890, 4672, 2589, 18, 803, 18, 6387, 12, 20, 16, 365, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
class CWCmdLineTests(WCmdLineTests):
class CWCmdLineTests(BaseTest, WCmdLineTests):
def test_improper_input(self): # Uses the private _setoption() function to test the parsing # of command-line warning arguments with test_support.catch_warning(self.module): self.assertRaises(self.module._OptionError, self.module._setoption, '1:2:3:4:5:6') self.assertRaises(self.module._OptionError, self.module._setopt...
c234aa4a542d628a9341637977fc458f47a485ae /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/c234aa4a542d628a9341637977fc458f47a485ae/test_warnings.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 381, 22754, 67, 2630, 12, 2890, 4672, 468, 14854, 326, 3238, 389, 542, 3482, 1435, 445, 358, 1842, 326, 5811, 468, 434, 1296, 17, 1369, 3436, 1775, 598, 1842, 67, 13261, 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, 1842, 67, 381, 22754, 67, 2630, 12, 2890, 4672, 468, 14854, 326, 3238, 389, 542, 3482, 1435, 445, 358, 1842, 326, 5811, 468, 434, 1296, 17, 1369, 3436, 1775, 598, 1842, 67, 13261, 18, ...
yield "<div class='%s unit %s' id='%s-%s'>" % (type, status, type, id) yield "<a href=\"javascript:handle('%s');\">" % id yield "<img id='img-%s' name='img-%s' alt='%s' src='%s' />" %(id, id, status, icon) yield "<div class='%s title'>%s</div></a>\n" % (type, title) yield "<div class='%s status %s'>%s</div>\n" % (type,...
ret = "<div class='%s unit %s' id='%s-%s'>" % (type, status, type, id) ret += "<a href=\"javascript:handle('%s');\">" % id ret += "<img id='img-%s' name='img-%s' alt='%s' src='%s' />" %(id, id, status, icon) ret += "<div class='%s title'>%s</div></a>" % (type, title) ret += "<div class='%s status %s'>%s</div>" % (type...
def make_collapsible_html(type, title, output, id, status=""): """generate html for a collapsible section :param type: the logical type of it. e.g. "test" or "action" :param title: the title to be displayed """ if ((status == "" or "failed" == status.lower())): icon = 'icon_hide_16.png' else: icon = 'icon_unhide_16.pn...
6f759d61aa9f4714f83d32476fcc23e0c846d5e7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7314/6f759d61aa9f4714f83d32476fcc23e0c846d5e7/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 1293, 3762, 2736, 67, 2620, 12, 723, 16, 2077, 16, 876, 16, 612, 16, 1267, 1546, 6, 4672, 3536, 7163, 1729, 364, 279, 9262, 2736, 2442, 225, 294, 891, 618, 30, 326, 6374, 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, 1221, 67, 1293, 3762, 2736, 67, 2620, 12, 723, 16, 2077, 16, 876, 16, 612, 16, 1267, 1546, 6, 4672, 3536, 7163, 1729, 364, 279, 9262, 2736, 2442, 225, 294, 891, 618, 30, 326, 6374, 6...
self.model.editor.clearAllStepPoints() self.stackView.load_stack([])
if hasattr(self.model, 'editor'): self.model.editor.clearAllStepPoints() self.stackView.load_stack([]) self.frame = None self.stopMainLoop()
def OnStop(self, event): wxPhonyApp.inMainLoop = false self.set_quit() self.model.editor.clearAllStepPoints() self.stackView.load_stack([])
4eec0be95e3e66540e1dc5ad80c627444fd82c18 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/4eec0be95e3e66540e1dc5ad80c627444fd82c18/OldDebugger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4947, 12, 2890, 16, 871, 4672, 7075, 3731, 6598, 3371, 18, 267, 6376, 6452, 273, 629, 365, 18, 542, 67, 27176, 1435, 365, 18, 2284, 18, 9177, 18, 8507, 1595, 4160, 5636, 1435, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4947, 12, 2890, 16, 871, 4672, 7075, 3731, 6598, 3371, 18, 267, 6376, 6452, 273, 629, 365, 18, 542, 67, 27176, 1435, 365, 18, 2284, 18, 9177, 18, 8507, 1595, 4160, 5636, 1435, 36...
hash (
hash (
def _skip_to_nonblank(f, spacegroup): """Read lines from f until a nonblank line not starting with a hash (#) is encountered and returns the line.""" while True: line = f.readline() if not line: raise SpacegroupNotFoundError( 'invalid spacegroup %s, not found in data base'%spacegroup) line.strip() if line and not line....
6f4c55ef5b482e5dd9b72e728a5ba02ca06ab5d6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5572/6f4c55ef5b482e5dd9b72e728a5ba02ca06ab5d6/spacegroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7457, 67, 869, 67, 5836, 12111, 12, 74, 16, 3476, 1655, 4672, 3536, 1994, 2362, 628, 284, 3180, 279, 1661, 12111, 980, 486, 5023, 598, 279, 1651, 23885, 13, 353, 9919, 471, 1135, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7457, 67, 869, 67, 5836, 12111, 12, 74, 16, 3476, 1655, 4672, 3536, 1994, 2362, 628, 284, 3180, 279, 1661, 12111, 980, 486, 5023, 598, 279, 1651, 23885, 13, 353, 9919, 471, 1135, ...
desc = split(__import__(modname).__doc__ or '', '\n')[0]
desc = split(freshimp(modname).__doc__ or '', '\n')[0]
def run(self, key, callback, completer=None): self.quit = 0 seen = {}
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, 1086, 12, 2890, 16, 498, 16, 1348, 16, 31848, 33, 7036, 4672, 365, 18, 27176, 273, 374, 5881, 273, 2618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 498, 16, 1348, 16, 31848, 33, 7036, 4672, 365, 18, 27176, 273, 374, 5881, 273, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
]) .setName('expression')
]) .setName('expression')
def _defineLanguageSyntax(self): ''' Here is Siml's BNF Creates the objects of the pyParsing library, that do all the work. ''' #define short alias so they don't clutter the text kw = self.defineKeyword # Usage: test = kw('variable') L = Literal # Usage: L('+') S = Suppress ES = ErrStop
8d423a3a49fcffb9fd2045c1638eeede3472d2e1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2720/8d423a3a49fcffb9fd2045c1638eeede3472d2e1/simlparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11255, 3779, 8070, 12, 2890, 4672, 9163, 13743, 353, 9587, 80, 1807, 605, 26473, 10210, 326, 2184, 434, 326, 2395, 13963, 5313, 16, 716, 741, 777, 326, 1440, 18, 9163, 468, 11255, 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, 11255, 3779, 8070, 12, 2890, 4672, 9163, 13743, 353, 9587, 80, 1807, 605, 26473, 10210, 326, 2184, 434, 326, 2395, 13963, 5313, 16, 716, 741, 777, 326, 1440, 18, 9163, 468, 11255, 3...
<InterfaceClass zope.app.publisher.browser.tests.test_addMenuItem.IX>)),
<InterfaceClass zope.app.publisher.browser.tests.test_addMenuItem.IX>), {}),
def test_w_for_factory(): """ >>> context = Context() >>> addMenuItem(context, for_=IX, factory="x.y.z", title="Add an X", ... permission="zope.ManageContent", description="blah blah", ... filter="context/foo") >>> context ((None, <function provideInterface>, ('', <InterfaceClass zope.app.publis...
a9a3a1a5c0e09bd96df2bc32787c0f82fca1e8b4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9523/a9a3a1a5c0e09bd96df2bc32787c0f82fca1e8b4/test_addMenuItem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 91, 67, 1884, 67, 6848, 13332, 3536, 4080, 819, 273, 1772, 1435, 4080, 527, 12958, 12, 2472, 16, 364, 67, 33, 12507, 16, 3272, 1546, 92, 18, 93, 18, 94, 3113, 2077, 1546, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 91, 67, 1884, 67, 6848, 13332, 3536, 4080, 819, 273, 1772, 1435, 4080, 527, 12958, 12, 2472, 16, 364, 67, 33, 12507, 16, 3272, 1546, 92, 18, 93, 18, 94, 3113, 2077, 1546, 9...
self.copy_file(name, outfile, preserve_mode = 0)
self.copy_file(os.path.join(package_dir, name), outfile, preserve_mode = 0)
def run(self): # Copies all .py files, then also copies the txt and gif files build_py.run(self) assert self.packages == [idlelib] for name in txt_files: outfile = self.get_plain_outfile(self.build_lib, [idlelib], name) dir = os.path.dirname(outfile) self.mkpath(dir) self.copy_file(name, outfile, preserve_mode = 0) for...
448165dc450c349b1322045e675e20df1d0322e4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/448165dc450c349b1322045e675e20df1d0322e4/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 28506, 606, 777, 263, 2074, 1390, 16, 1508, 2546, 13200, 326, 6463, 471, 27618, 1390, 1361, 67, 2074, 18, 2681, 12, 2890, 13, 1815, 365, 18, 10308, 422, 306, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 28506, 606, 777, 263, 2074, 1390, 16, 1508, 2546, 13200, 326, 6463, 471, 27618, 1390, 1361, 67, 2074, 18, 2681, 12, 2890, 13, 1815, 365, 18, 10308, 422, 306, ...
data = [unanswered[0]] data += [i[1] for i in per_choice]
data = [i[1] for i in per_choice] data.append(unanswered[1])
def render(self, answers): """Render statistics as HTML code""" total, answered, unanswered, per_choice = self.calculate(self.question, answers) chart = pygooglechart.PieChart3D(600, 170) data = [unanswered[0]] data += [i[1] for i in per_choice] chart.add_data(data) legend = ['No choice'] # TODO translate 'No choice' l...
5762cdb4c194bd459723a00b15de1e457a8e66b4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3287/5762cdb4c194bd459723a00b15de1e457a8e66b4/MultipleChoicePieChartStatistics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 12415, 4672, 3536, 3420, 7691, 487, 3982, 981, 8395, 2078, 16, 5803, 329, 16, 640, 13490, 329, 16, 1534, 67, 11569, 273, 365, 18, 11162, 12, 2890, 18, 4173, 16, 124...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 12415, 4672, 3536, 3420, 7691, 487, 3982, 981, 8395, 2078, 16, 5803, 329, 16, 640, 13490, 329, 16, 1534, 67, 11569, 273, 365, 18, 11162, 12, 2890, 18, 4173, 16, 124...
This is similar to getallmatchingheaders, but it returns only the first matching header (and its continuation lines).
This is similar to getallmatchingheaders, but it returns only the first matching header (and its continuation lines).
def getfirstmatchingheader(self, name): """Get the first header line matching name.
b6f6fad5b96d38181611f28a27ba278b112ea9c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b6f6fad5b96d38181611f28a27ba278b112ea9c9/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 3645, 16271, 3374, 12, 2890, 16, 508, 4672, 3536, 967, 326, 1122, 1446, 980, 3607, 508, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 336, 3645, 16271, 3374, 12, 2890, 16, 508, 4672, 3536, 967, 326, 1122, 1446, 980, 3607, 508, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
import ArrayPrinter
def __import__(*args, **kws): arg = args[0] print >>sys.stderr, "about to import " + arg # helps determine which module had the problem return _old_import(*args, **kws)
b128a3e33d34c4973ef3c73f191ef346245b4c5e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/b128a3e33d34c4973ef3c73f191ef346245b4c5e/all_mac_imports.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5666, 972, 30857, 1968, 16, 2826, 79, 4749, 4672, 1501, 273, 833, 63, 20, 65, 1172, 1671, 9499, 18, 11241, 16, 315, 21071, 358, 1930, 315, 397, 1501, 468, 21814, 4199, 1492, 1605, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5666, 972, 30857, 1968, 16, 2826, 79, 4749, 4672, 1501, 273, 833, 63, 20, 65, 1172, 1671, 9499, 18, 11241, 16, 315, 21071, 358, 1930, 315, 397, 1501, 468, 21814, 4199, 1492, 1605, ...
this = apply(_quickfix.new_MinPriceIncrement, args)
this = _quickfix.new_MinPriceIncrement(*args)
def __init__(self, *args): this = apply(_quickfix.new_MinPriceIncrement, 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, 5147, 10798, 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, 5147, 10798, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
lineno: current line number of line
def _GetPlatformUpdateAction(self, line, lineno, tests, platform): """Check the platform option and return the action needs to be taken.
211a3ffcbe86cd75b6c6053d87df43b574b52ab2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/211a3ffcbe86cd75b6c6053d87df43b574b52ab2/test_expectations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 967, 8201, 1891, 1803, 12, 2890, 16, 980, 16, 7586, 16, 7434, 16, 4072, 4672, 3536, 1564, 326, 4072, 1456, 471, 327, 326, 1301, 4260, 358, 506, 9830, 18, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 967, 8201, 1891, 1803, 12, 2890, 16, 980, 16, 7586, 16, 7434, 16, 4072, 4672, 3536, 1564, 326, 4072, 1456, 471, 327, 326, 1301, 4260, 358, 506, 9830, 18, 2, -100, -100, -100, -100...
gdal_ds = self.layer.parent.get_dataset()
gdal_ds = self.layer.get_dataset()
def create_imageinfo(self): iipane = gtk.VBox(spacing=10) iipane.set_border_width(10) self.notebook.append_page( iipane, gtk.Label('Image Info') )
0a9f3291528240d019f1755ce071bd15e36e112d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11090/0a9f3291528240d019f1755ce071bd15e36e112d/gvrasterpropdlg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2730, 1376, 12, 2890, 4672, 277, 625, 8806, 273, 22718, 18, 58, 3514, 12, 14080, 33, 2163, 13, 277, 625, 8806, 18, 542, 67, 8815, 67, 2819, 12, 2163, 13, 365, 18, 24422, 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2730, 1376, 12, 2890, 4672, 277, 625, 8806, 273, 22718, 18, 58, 3514, 12, 14080, 33, 2163, 13, 277, 625, 8806, 18, 542, 67, 8815, 67, 2819, 12, 2163, 13, 365, 18, 24422, 18,...
r'Software\\Microsoft\\VisualStudio\\' + version + '\\' + key_suffix )
'Software\\Microsoft\\VisualStudio\\' + version + '\\' + key_suffix )
def get_visualstudio8_suites(version = '8.0'): """ Returns a sorted list of all installed Visual Studio 2005 suites found in the registry. The highest version should be the first entry in the list. """ suites = [] # Detect Standard, Professional and Team edition try: idk = SCons.Util.RegOpenKeyEx(SCons.Util.HKEY_LOCA...
b0f2ea3adf6bc7a051d46942cf2c0e96c1cbe2bf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6357/b0f2ea3adf6bc7a051d46942cf2c0e96c1cbe2bf/msvc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 26671, 334, 4484, 28, 67, 26560, 2997, 12, 1589, 273, 296, 28, 18, 20, 11, 4672, 3536, 2860, 279, 3115, 666, 434, 777, 5876, 26832, 934, 4484, 4044, 25, 27208, 1392, 316, 326,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 26671, 334, 4484, 28, 67, 26560, 2997, 12, 1589, 273, 296, 28, 18, 20, 11, 4672, 3536, 2860, 279, 3115, 666, 434, 777, 5876, 26832, 934, 4484, 4044, 25, 27208, 1392, 316, 326,...
return 'images/icons/projects/%s' % uuid.uuid4().hex
return 'images/icons/projects/%s.png' % uuid.uuid4().hex
def get_icon_path(instance, filename): # MEDIA_ROOT is prefixed automatically. return 'images/icons/projects/%s' % uuid.uuid4().hex
cab5c4b60216cd601460662bf4833d84e476f6eb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11976/cab5c4b60216cd601460662bf4833d84e476f6eb/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3950, 67, 803, 12, 1336, 16, 1544, 4672, 468, 26312, 67, 9185, 353, 12829, 6635, 18, 327, 296, 7369, 19, 14516, 19, 13582, 5258, 87, 11, 738, 3822, 18, 7080, 24, 7675, 7118, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3950, 67, 803, 12, 1336, 16, 1544, 4672, 468, 26312, 67, 9185, 353, 12829, 6635, 18, 327, 296, 7369, 19, 14516, 19, 13582, 5258, 87, 11, 738, 3822, 18, 7080, 24, 7675, 7118, ...