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
time.sleep(1); debug_log = os.path.normpath(_build_dir + "/" + "debug.log");
time.sleep(1) debug_log = os.path.normpath(_build_dir + "/" + "debug.log")
def main(): # Prevent windows from using cygwin python. if (sys.platform == "cygwin"): raise Exception("Building docs not supported for cygwin python.\n" "Please run the build.bat script."); parser = OptionParser() parser.add_option("--test-shell-path", dest="test_shell_path") (options, args) = parser.parse_args() if...
c7df381fcaea795f78863f5c1cc1b335fabcae48 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/c7df381fcaea795f78863f5c1cc1b335fabcae48/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 19412, 9965, 628, 1450, 276, 4338, 8082, 5790, 18, 309, 261, 9499, 18, 9898, 422, 315, 2431, 75, 8082, 6, 4672, 1002, 1185, 2932, 16713, 3270, 486, 3260, 364, 276, 4338...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 19412, 9965, 628, 1450, 276, 4338, 8082, 5790, 18, 309, 261, 9499, 18, 9898, 422, 315, 2431, 75, 8082, 6, 4672, 1002, 1185, 2932, 16713, 3270, 486, 3260, 364, 276, 4338...
if message.startswith("DISABLESTOPBUTTON: "):
if message.startswith(u"DISABLESTOPBUTTON: "):
def processSocketMsg(self, message): if message.startswith("ACTIVATE: "): NSApp.activateIgnoringOtherApps_(True) return "" if message.startswith("HIDE: "): self.window.orderOut_(self) return "" if message.startswith("SHOW: "): self.window.orderFront_(self) return "" if message.startswith("TITLE: "): self.window.setTitl...
54e92711e9eb2572d70240c4a8cff7dd10c36120 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6241/54e92711e9eb2572d70240c4a8cff7dd10c36120/MSController.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 4534, 3332, 12, 2890, 16, 883, 4672, 309, 883, 18, 17514, 1918, 2932, 22271, 1777, 30, 315, 4672, 11472, 3371, 18, 10014, 21702, 8290, 16339, 67, 12, 5510, 13, 327, 1408, 309, 883,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4534, 3332, 12, 2890, 16, 883, 4672, 309, 883, 18, 17514, 1918, 2932, 22271, 1777, 30, 315, 4672, 11472, 3371, 18, 10014, 21702, 8290, 16339, 67, 12, 5510, 13, 327, 1408, 309, 883,...
res = '''<a href="%s"''' % quoted_url
res = '''<a href="%s"''' % htmlquote(url)
def handler2(m): whole_match = m.group(1) link_text = m.group(2) url = m.group(3) title = m.group(6)
10d6a0e5e98a74ede944771156e43ce18cf853d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6723/10d6a0e5e98a74ede944771156e43ce18cf853d3/markdown.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 22, 12, 81, 4672, 7339, 67, 1916, 273, 312, 18, 1655, 12, 21, 13, 1692, 67, 955, 273, 312, 18, 1655, 12, 22, 13, 880, 273, 312, 18, 1655, 12, 23, 13, 2077, 273, 312, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 22, 12, 81, 4672, 7339, 67, 1916, 273, 312, 18, 1655, 12, 21, 13, 1692, 67, 955, 273, 312, 18, 1655, 12, 22, 13, 880, 273, 312, 18, 1655, 12, 23, 13, 2077, 273, 312, 18, 16...
self.job_options = '/bin/echo %IN | sed \'s/,/\\\\n/g\' > input.txt; root -b -q ' + self.job_options
self.job_options = '/bin/echo %IN | sed \'s/,/\\\\\\n/g\' > input.txt; root -b -q ' + self.job_options
def master_prepare(self,app,appconfig): '''Prepare the master job'''
d92da77313779dfff8c45c8631fdea7037943bba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/d92da77313779dfff8c45c8631fdea7037943bba/AthenaPandaRTHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4171, 67, 9366, 12, 2890, 16, 2910, 16, 2910, 1425, 4672, 9163, 7543, 326, 4171, 1719, 26418, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4171, 67, 9366, 12, 2890, 16, 2910, 16, 2910, 1425, 4672, 9163, 7543, 326, 4171, 1719, 26418, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
else
else:
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 161) else quickfix.StringField.__init__(self, 161, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 2872, 21, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 2872, 21, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738, ...
self.size = size
self.size = insize
def __init__(self, network, nid, size, label, dtype ): self.network = network self.nodeid = nid self.size = size self.label = label self.dtype = dtype self.data = [] self.slotlabels = []
1cac18f12b1b91166cc9cec5d8fe119bffa40e08 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10633/1cac18f12b1b91166cc9cec5d8fe119bffa40e08/pydon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2483, 16, 19416, 16, 963, 16, 1433, 16, 3182, 262, 30, 365, 18, 5185, 273, 2483, 365, 18, 2159, 350, 273, 19416, 365, 18, 1467, 273, 316, 1467, 365, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2483, 16, 19416, 16, 963, 16, 1433, 16, 3182, 262, 30, 365, 18, 5185, 273, 2483, 365, 18, 2159, 350, 273, 19416, 365, 18, 1467, 273, 316, 1467, 365, 18...
[(1.0, 0.0), (1.0, 0.0), (1.0, 0.0), (1.0, 0.0), (1.0, 0.0)]
Indexed sequence: [1.00000000000000, 1.00000000000000, 1.00000000000000, 1.00000000000000, 1.00000000000000] indexed by [0, 1, 2, 3, 4]
def ifft(self): """ Implements the gsl FastFourierTransform.inverse in fft.pyx. If the number of sample points in the input is a power of 2 then the wrapper for the GSL function gsl_fft_complex_radix2_inverse is automatically called. Otherwise, gsl_fft_complex_inverse is used. EXAMPLES: sage: J = range(5) sage: A = [R...
837c0b7c218776beb9f35f10fe4f0b231105b3a3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/837c0b7c218776beb9f35f10fe4f0b231105b3a3/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 309, 1222, 12, 2890, 4672, 3536, 29704, 326, 314, 2069, 9545, 42, 24775, 4059, 18, 22552, 316, 15741, 18, 2074, 92, 18, 971, 326, 1300, 434, 3296, 3143, 316, 326, 810, 353, 279, 7212, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 309, 1222, 12, 2890, 4672, 3536, 29704, 326, 314, 2069, 9545, 42, 24775, 4059, 18, 22552, 316, 15741, 18, 2074, 92, 18, 971, 326, 1300, 434, 3296, 3143, 316, 326, 810, 353, 279, 7212, ...
info = _('Sheild (%d/%d) was damaged by %+d last turn.') % (
info = _('Shield (%d/%d) was damaged by %+d last turn.') % (
def showPlanet(self): self.win.setTagAttr('pl', 'visible', 1) self.win.setTagAttr('sys', 'visible', 0) self.win.setTagAttr('hidden', 'visible', 0) planet = client.get(self.planetID, noUpdate = 1) player = client.getPlayer() if hasattr(planet, 'revoltLen') and planet.revoltLen > 0: self.win.vPName.text = _('Planet %s: P...
3a4bf6526ff2dec1cf5ac6b1e5176521be55eb55 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/503/3a4bf6526ff2dec1cf5ac6b1e5176521be55eb55/StarSystemDlg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 5365, 278, 12, 2890, 4672, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 412, 2187, 296, 8613, 2187, 404, 13, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 9499, 2187, 296, 8613, 2187, 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, 2405, 5365, 278, 12, 2890, 4672, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 412, 2187, 296, 8613, 2187, 404, 13, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 9499, 2187, 296, 8613, 2187, 3...
if move.state != 'draft':
if move.state not in ('draft', 'cancel'):
def unlink(self, cursor, user, ids, context=None): for move in self.browse(cursor, user, ids, context=context): if move.state != 'draft': raise ExceptORM('UserError', 'You can only delete draft moves!') return super(Move, self).unlink(cursor, user, ids, context=context)
63558aa4ab56d35d24ed79d36cb4400492515f1b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9298/63558aa4ab56d35d24ed79d36cb4400492515f1b/move.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8255, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 364, 3635, 316, 365, 18, 25731, 12, 9216, 16, 729, 16, 3258, 16, 819, 33, 2472, 4672, 309, 3635, 18, 2019, 486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8255, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 364, 3635, 316, 365, 18, 25731, 12, 9216, 16, 729, 16, 3258, 16, 819, 33, 2472, 4672, 309, 3635, 18, 2019, 486, ...
Return the intersection of self and X.
Return the xor of self and X.
def __xor__(self, X): """ Return the intersection of self and X. """ return self.intersection(X)
8302b5dd338b1fa23aacbd98ccd7fca76400a089 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/8302b5dd338b1fa23aacbd98ccd7fca76400a089/set.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31346, 972, 12, 2890, 16, 1139, 4672, 3536, 2000, 326, 17586, 434, 365, 471, 1139, 18, 3536, 327, 365, 18, 30231, 12, 60, 13, 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, 1001, 31346, 972, 12, 2890, 16, 1139, 4672, 3536, 2000, 326, 17586, 434, 365, 471, 1139, 18, 3536, 327, 365, 18, 30231, 12, 60, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -...
else
else:
def __init__(data = None) if data == None: quickfix.DoubleField.__init__(self, 631) else quickfix.DoubleField.__init__(self, 631, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 6938, 13, 469, 30, 9549, 904, 18, 5265, 974, 16186, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 6938, 13, 469, 30, 9549, 904, 18, 5265, 974, 16186, 27...
def execute(self, testdir = None, iterations = 1, filesize='200G'): cmd = os.path.join(self.srcdir + 'src/spew')
def execute(self, testdir = None, iterations = 1, filesize='100M'): cmd = os.path.join(self.srcdir, 'src/spew')
def execute(self, testdir = None, iterations = 1, filesize='200G'): cmd = os.path.join(self.srcdir + 'src/spew') if not testdir: testdir = self.testdir tmpfile = os.path.join(testdir, 'spew-test.%d' % os.getpid()) results = os.path.join(self.resultsdir, tmpfile) args = '-q -i %d -p random -b 2k -B 2M %s %s' % \ (iterat...
d4afcb58e7d02aa96a378e2c1179b30c9dd2b66c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10349/d4afcb58e7d02aa96a378e2c1179b30c9dd2b66c/spew.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 1842, 1214, 273, 599, 16, 11316, 273, 404, 16, 14104, 2218, 6625, 49, 11, 4672, 1797, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 16, 296, 4816, 19, 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, 1836, 12, 2890, 16, 1842, 1214, 273, 599, 16, 11316, 273, 404, 16, 14104, 2218, 6625, 49, 11, 4672, 1797, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 16, 296, 4816, 19, 8...
r""" Number of groups of order $n$. Note: The database_gap-4.4.9 must be installed for $n > 50$. run \code{sage -i database_gap-4.4.9} or higher first. INPUT: n -- positive integer OUTPUT: integer EXAMPLES: sage: a = sloane.A000001;a Number of groups of order n. sage: a(0) Traceback (most recent call last): ... Va...
def __init__(self): r""" Number of groups of order $n$. Note: The database_gap-4.4.9 must be installed for $n > 50$. run \code{sage -i database_gap-4.4.9} or higher first. INPUT: n -- positive integer OUTPUT: integer EXAMPLES: sage: a = sloane.A000001;a Number of groups of order n. sage: a(0) Traceback (most recen...
def __getitem__(self, n): r"""Return sequence[n].
8b300fed02e947af57b58146f62dccfc715cf0b9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/8b300fed02e947af57b58146f62dccfc715cf0b9/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 290, 4672, 436, 8395, 990, 3102, 63, 82, 8009, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 290, 4672, 436, 8395, 990, 3102, 63, 82, 8009, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pkg_info.write('License: %s\n' % self.get_licence() )
pkg_info.write('License: %s\n' % self.get_license() )
def write_pkg_info (self, base_dir): """Write the PKG-INFO file into the release tree. """
fa7dc57d6c9023a5028aacb802438527ab2cface /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/fa7dc57d6c9023a5028aacb802438527ab2cface/dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 10657, 67, 1376, 261, 2890, 16, 1026, 67, 1214, 4672, 3536, 3067, 326, 11327, 43, 17, 5923, 585, 1368, 326, 3992, 2151, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 10657, 67, 1376, 261, 2890, 16, 1026, 67, 1214, 4672, 3536, 3067, 326, 11327, 43, 17, 5923, 585, 1368, 326, 3992, 2151, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, ...
if not context: context = {}
def __view_look_dom_arch(self, cr, user, node, context=None): if not context: context = {} fields_def = self.__view_look_dom(cr, user, node, context=context)
2baabdff66ec9f17e6b511d493022eb80b0d97f6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/2baabdff66ec9f17e6b511d493022eb80b0d97f6/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1945, 67, 7330, 67, 9859, 67, 991, 12, 2890, 16, 4422, 16, 729, 16, 756, 16, 819, 33, 7036, 4672, 1466, 67, 536, 273, 365, 16186, 1945, 67, 7330, 67, 9859, 12, 3353, 16, 729, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1945, 67, 7330, 67, 9859, 67, 991, 12, 2890, 16, 4422, 16, 729, 16, 756, 16, 819, 33, 7036, 4672, 1466, 67, 536, 273, 365, 16186, 1945, 67, 7330, 67, 9859, 12, 3353, 16, 729, ...
doCopyLog("Tests successful", workingDir, logPath, log)
log.write("Functional tests passed")
def doFunctionalTests(releaseMode, workingDir, log): hardhatlib.setupEnvironment(buildenv) chandlerDir = os.path.join(workingDir, "chandler") if buildenv['os'] == 'win': runChandler = 'RunChandler.bat' else: runChandler = 'RunChandler' if releaseMode == 'debug': runChandler = os.path.join(chandlerDir, 'debug', runCh...
a5fd01f5cacc3afb1280e38a2fca39d3d42b2a3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/a5fd01f5cacc3afb1280e38a2fca39d3d42b2a3b/newchandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 2083, 287, 14650, 12, 9340, 2309, 16, 5960, 1621, 16, 613, 4672, 7877, 11304, 2941, 18, 8401, 5494, 12, 3510, 3074, 13, 225, 462, 464, 749, 1621, 273, 1140, 18, 803, 18, 5701, 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, 741, 2083, 287, 14650, 12, 9340, 2309, 16, 5960, 1621, 16, 613, 4672, 7877, 11304, 2941, 18, 8401, 5494, 12, 3510, 3074, 13, 225, 462, 464, 749, 1621, 273, 1140, 18, 803, 18, 5701, 12,...
adapts(IResource, IDefaultBrowserLayer)
adapts(IResource, IBrowserRequest)
def __call__(self): return str(getMultiAdapter((self, self.request), IAbsoluteURL))
c110f5cb33e29489329a51b63db8124e20d32815 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9523/c110f5cb33e29489329a51b63db8124e20d32815/resource.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 4672, 327, 609, 12, 588, 5002, 4216, 12443, 2890, 16, 365, 18, 2293, 3631, 467, 10368, 1785, 3719, 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, 1001, 1991, 972, 12, 2890, 4672, 327, 609, 12, 588, 5002, 4216, 12443, 2890, 16, 365, 18, 2293, 3631, 467, 10368, 1785, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if digits % 10 == 0: continue
def test_halfway_cases(self): # test halfway cases for the round-half-to-even rule for i in xrange(1000): for j in xrange(TEST_SIZE): # bit pattern for a random finite positive (or +0.0) float bits = random.randrange(2047*2**52)
c1b0942c422961e79bbaf7bcef747dbc8612ef62 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/c1b0942c422961e79bbaf7bcef747dbc8612ef62/test_strtod.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 20222, 1888, 67, 22186, 12, 2890, 4672, 468, 1842, 8816, 1888, 6088, 364, 326, 3643, 17, 20222, 17, 869, 17, 16728, 1720, 364, 277, 316, 12314, 12, 18088, 4672, 364, 525, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 20222, 1888, 67, 22186, 12, 2890, 4672, 468, 1842, 8816, 1888, 6088, 364, 326, 3643, 17, 20222, 17, 869, 17, 16728, 1720, 364, 277, 316, 12314, 12, 18088, 4672, 364, 525, 316, ...
OPENSSL Open Secure Socket Layer
SSL Open Secure Socket Layer
def packageInfo(): print """ See panda3d/doc/INSTALL-PP for more detailed information. 3D modeling an painting packages: MAX5 3D Studio Max version 5 MAX6 3D Studio Max version 6 MAX7 3D Studio Max version 7 "uri?" (for .??? files) MAYA5 Maya version 5 MAYA6 Maya version 6 "uri?" (for .??? file...
aa9700942409f59dfc63d4542d0bad0a01230726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/aa9700942409f59dfc63d4542d0bad0a01230726/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2181, 966, 13332, 1172, 3536, 2164, 293, 464, 69, 23, 72, 19, 2434, 19, 28865, 17, 6584, 364, 1898, 6864, 1779, 18, 225, 890, 40, 938, 310, 392, 12574, 310, 5907, 30, 4552, 25, 1377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2181, 966, 13332, 1172, 3536, 2164, 293, 464, 69, 23, 72, 19, 2434, 19, 28865, 17, 6584, 364, 1898, 6864, 1779, 18, 225, 890, 40, 938, 310, 392, 12574, 310, 5907, 30, 4552, 25, 1377, ...
if m == roothandle: s = " " + str(m) + " " + fsconf
if m == roothandle: s = " " + str(m) + " " + fsconf
def start(): # don't mess with certain classes of nodes if mirror mypvfsnodes = pvfsnodes if options["mirror"] == "remote-mount" or \ options["mirror"] == "meta-mirror": mypvfsnodes = [x for x in mypvfsnodes if x not in ionodes] if options["mirror"] == "remote-mount": mypvfsnodes = [x for x in mypvfsnodes if x not in ...
9ac094c424de1142f8f62377c0610dccd1363cb4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11094/9ac094c424de1142f8f62377c0610dccd1363cb4/perf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 13332, 468, 2727, 1404, 12755, 598, 8626, 3318, 434, 2199, 309, 15593, 312, 879, 90, 2556, 4690, 273, 9770, 2556, 4690, 225, 309, 702, 9614, 27197, 11929, 422, 315, 7222, 17, 4778, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 13332, 468, 2727, 1404, 12755, 598, 8626, 3318, 434, 2199, 309, 15593, 312, 879, 90, 2556, 4690, 273, 9770, 2556, 4690, 225, 309, 702, 9614, 27197, 11929, 422, 315, 7222, 17, 4778, ...
self.singleton.delete(self.singleton.search([], CONTEXT), CONTEXT)
self.singleton.delete(self.singleton.search([], 0, None, None, CONTEXT), CONTEXT)
def test0040default_get(self): ''' Test default_get method. ''' self.singleton.delete(self.singleton.search([], CONTEXT), CONTEXT)
52062c763bf1737b3f2071e48338f60845edc54d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/52062c763bf1737b3f2071e48338f60845edc54d/test_tryton.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 7132, 1886, 67, 588, 12, 2890, 4672, 9163, 7766, 805, 67, 588, 707, 18, 9163, 365, 18, 24487, 18, 3733, 12, 2890, 18, 24487, 18, 3072, 3816, 6487, 13862, 3631, 13862, 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, 1842, 713, 7132, 1886, 67, 588, 12, 2890, 4672, 9163, 7766, 805, 67, 588, 707, 18, 9163, 365, 18, 24487, 18, 3733, 12, 2890, 18, 24487, 18, 3072, 3816, 6487, 13862, 3631, 13862, 13, 2,...
self.server_path = os.path.join(self.srcdir, 'src/netserver')
self.server_path = ('%s &>/dev/null </dev/null' % os.path.join(self.srcdir, 'src/netserver'))
def initialize(self): self.server_path = os.path.join(self.srcdir, 'src/netserver') self.client_path = os.path.join(self.srcdir, 'src/netperf')
470acb3b8efccb514c9e3aecd97542cc733803e0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10349/470acb3b8efccb514c9e3aecd97542cc733803e0/netperf2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 2890, 4672, 377, 365, 18, 3567, 67, 803, 273, 7707, 9, 87, 473, 16893, 5206, 19, 2011, 7765, 5206, 19, 2011, 11, 738, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 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, 4046, 12, 2890, 4672, 377, 365, 18, 3567, 67, 803, 273, 7707, 9, 87, 473, 16893, 5206, 19, 2011, 7765, 5206, 19, 2011, 11, 738, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 16,...
self.debug_trace( "tag not found: %s", tag )
def getTag(self, tag): self.debug_trace("getTag") new_tag = self.next_string() self.debug_trace("getTag: found tag: %s", new_tag) self.debug_trace("getTag: looking for: %s", tag) self.debug_trace("%d", new_tag == tag) if ( new_tag == tag ): self.consume_next_string() self.debug_trace( "found tag: %s %x", tag, pxl_tags_...
ecf78c969222f7513a2f516b0355728295fb546a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/675/ecf78c969222f7513a2f516b0355728295fb546a/pxlasm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11362, 12, 2890, 16, 1047, 4672, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 7923, 394, 67, 2692, 273, 365, 18, 4285, 67, 1080, 1435, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 30, 1392, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11362, 12, 2890, 16, 1047, 4672, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 7923, 394, 67, 2692, 273, 365, 18, 4285, 67, 1080, 1435, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 30, 1392, ...
def CommonScanner(Scanner):
class CommonScanner(Scanner):
def CommonScanner(Scanner): def __init__ (self, includes): Scanner.__init__(self) self.includes = includes def process(self, target, matches, binding): target_path = os.path.normpath(os.path.dirname(binding[0])) bjam.call("mark-included", target, matches) engine.set_target_variable(matches, "SEARCH", [target_path] ...
284a2f0608f4e5ad71cd0b7c110bddde3fcde864 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9981/284a2f0608f4e5ad71cd0b7c110bddde3fcde864/scanner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 667, 5658, 11338, 12, 11338, 4672, 225, 1652, 1001, 2738, 972, 261, 2890, 16, 6104, 4672, 19074, 16186, 2738, 972, 12, 2890, 13, 365, 18, 18499, 273, 6104, 225, 1652, 1207, 12, 2890, 16, 1018,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 667, 5658, 11338, 12, 11338, 4672, 225, 1652, 1001, 2738, 972, 261, 2890, 16, 6104, 4672, 19074, 16186, 2738, 972, 12, 2890, 13, 365, 18, 18499, 273, 6104, 225, 1652, 1207, 12, 2890, 16, 1018,...
bad_props={}
def get_propvalues(self,uri): """ create lists of property values for an URI
12daa144a047cca15cbada4b7b8d29d37976957e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/195/12daa144a047cca15cbada4b7b8d29d37976957e/propfind.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5986, 2372, 12, 2890, 16, 1650, 4672, 3536, 752, 6035, 434, 1272, 924, 364, 392, 3699, 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, 67, 5986, 2372, 12, 2890, 16, 1650, 4672, 3536, 752, 6035, 434, 1272, 924, 364, 392, 3699, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
BUG_REPORT_URL = Pref(key='ReportURL', default=u"https://develop.participatoryculture.org/trac/democracy/newticket",
BUG_REPORT_URL = Pref(key='ReportURL', default=u"http://www.getmiro.com/bug.html",
def __ne__(self, other): return self.key != other.key
da4e838126c3edfe7629dd4fb0d4833f823e96bb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12354/da4e838126c3edfe7629dd4fb0d4833f823e96bb/prefs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 327, 365, 18, 856, 480, 1308, 18, 856, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 327, 365, 18, 856, 480, 1308, 18, 856, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
elif isinstance(x, str) and x in self.variable_names(): return self.gen(list(self.variable_names()).index(x)) elif isinstance(x , str) and self._has_singular: self._singular_().set_ring()
elif isinstance(x, str):
def __call__(self, x, check=True): """ Coerce \code{x} into this multivariate polynomial ring, possibly non-canonically.
833c2b6b1c56039b0eceb23a05e36c6e637566ac /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/833c2b6b1c56039b0eceb23a05e36c6e637566ac/multi_polynomial_ring.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 866, 33, 5510, 4672, 3536, 7695, 2765, 521, 710, 95, 92, 97, 1368, 333, 1778, 27693, 16991, 9221, 16, 10016, 1661, 17, 4169, 265, 6478, 18, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 866, 33, 5510, 4672, 3536, 7695, 2765, 521, 710, 95, 92, 97, 1368, 333, 1778, 27693, 16991, 9221, 16, 10016, 1661, 17, 4169, 265, 6478, 18, 2, ...
grid() title("Histogram of the " + parameter + " value for " + chan + ', Statistics = ' + str(counter))
pylab.grid() pylab.title("Histogram of the " + parameter + " value for " + chan + ', Statistics = ' + str(counter))
def plotHistogram(chan,opts,distribution,histoList,binList,figNumber,percentiles=None,candidate=None,candidateRank=None): parameter = distribution.split('-')[0] step = binList[1] - binList[0] counter = sum(histoList) xlimInf = min(binList) if candidate and not parameter == 'dt': xlimSup = max(max(binList),candidate ...
3a58220c8f9b9cb9764dcae94b5a4569bed72c68 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/3a58220c8f9b9cb9764dcae94b5a4569bed72c68/analyseQscan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 12874, 12, 7472, 16, 4952, 16, 16279, 16, 11488, 83, 682, 16, 4757, 682, 16, 470, 1854, 16, 8849, 1449, 33, 7036, 16, 19188, 33, 7036, 16, 19188, 12925, 33, 7036, 4672, 225, 1569...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 12874, 12, 7472, 16, 4952, 16, 16279, 16, 11488, 83, 682, 16, 4757, 682, 16, 470, 1854, 16, 8849, 1449, 33, 7036, 16, 19188, 33, 7036, 16, 19188, 12925, 33, 7036, 4672, 225, 1569...
self.failUnless(p.password_hash == md5.new('p4ssw0rd').hexdigest().
self.failUnless(p.password_hash == md5.new('p4ssw0rd').hexdigest(),
def test_password_set(self): """Test person password setting works after object creation""" p = Person(handle='testguy', email_address='testguy@example.org') objectstore.flush() d = {'password': 'p4ssw0rd'} p.update(**d) objectstore.flush()
d062565f3d2358055d80f9e6715cce2ce9b8876a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12856/d062565f3d2358055d80f9e6715cce2ce9b8876a/test_person.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3664, 67, 542, 12, 2890, 4672, 3536, 4709, 6175, 2201, 3637, 6330, 1839, 733, 6710, 8395, 293, 273, 11573, 12, 4110, 2218, 3813, 6891, 93, 2187, 2699, 67, 2867, 2218, 3813, 689...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3664, 67, 542, 12, 2890, 4672, 3536, 4709, 6175, 2201, 3637, 6330, 1839, 733, 6710, 8395, 293, 273, 11573, 12, 4110, 2218, 3813, 6891, 93, 2187, 2699, 67, 2867, 2218, 3813, 689...
anm1s[i] += sum([m*Z_Fbasis[i]*adj[i].__int__()//adj[self.d].__int__() for i in range(self.d)])
anm1s[i] += sum([m*Z_Fbasis[ii]*int(adj[ii])//int(adj[self.d]) for ii in range(self.d)])
def __init__(self, F, m, B, a=None): r""" Initialization routine (constructor).
8133d24620d7bdcaf250059d6e3229d0c19940f6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/8133d24620d7bdcaf250059d6e3229d0c19940f6/totallyreal_rel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 478, 16, 312, 16, 605, 16, 279, 33, 7036, 4672, 436, 8395, 26586, 12245, 261, 12316, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 478, 16, 312, 16, 605, 16, 279, 33, 7036, 4672, 436, 8395, 26586, 12245, 261, 12316, 2934, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
('journal', '=', data['form']['journal']), ('period', '=', data['form']['period']),
('journal', '=', journal_id), ('period', '=', period_id),
def _action_open_journal(self, cursor, user, data, context=None): journal_period_obj = self.pool.get('account.journal.period') journal_obj = self.pool.get('account.journal') period_obj = self.pool.get('account.period') if not journal_period_obj.search(cursor, user, [ ('journal', '=', data['form']['journal']), ('period'...
60e0d87eee85daaf85629446d9431c13253c663f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9290/60e0d87eee85daaf85629446d9431c13253c663f/move.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 67, 3190, 67, 22644, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 33, 7036, 4672, 13001, 67, 6908, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 18, 6908...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 67, 3190, 67, 22644, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 33, 7036, 4672, 13001, 67, 6908, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 18, 6908...
except AttributeError, OSError:
except (AttributeError, OSError):
def systemload(): """ Try to get the number of processes in the system run queue, averaged over the last minute. If this info is unavailable, return None. """ try: return max(os.getloadavg()) except AttributeError, OSError: return None
29aa4db4f6c3814884bbd086f13edcbf37e54e88 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10655/29aa4db4f6c3814884bbd086f13edcbf37e54e88/shotfactory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2619, 945, 13332, 3536, 6161, 358, 336, 326, 1300, 434, 8488, 316, 326, 2619, 1086, 2389, 16, 23713, 11349, 1879, 326, 1142, 8044, 18, 971, 333, 1123, 353, 15781, 16, 327, 599, 18, 3536,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2619, 945, 13332, 3536, 6161, 358, 336, 326, 1300, 434, 8488, 316, 326, 2619, 1086, 2389, 16, 23713, 11349, 1879, 326, 1142, 8044, 18, 971, 333, 1123, 353, 15781, 16, 327, 599, 18, 3536,...
while 1:
rv = "(unknown file)", 0, "(unknown function)" while hasattr(f, "f_code"):
def findCaller(self): """ Find the stack frame of the caller so that we can note the source file name, line number and function name. """ f = currentframe().f_back while 1: co = f.f_code filename = os.path.normcase(co.co_filename) if filename == _srcfile: f = f.f_back continue return filename, f.f_lineno, co.co_name
e11453dbfd322e8a78e66aac4809d3dc2aed5100 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e11453dbfd322e8a78e66aac4809d3dc2aed5100/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 11095, 12, 2890, 4672, 3536, 4163, 326, 2110, 2623, 434, 326, 4894, 1427, 716, 732, 848, 4721, 326, 1084, 585, 508, 16, 980, 1300, 471, 445, 508, 18, 3536, 284, 273, 783, 3789, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 11095, 12, 2890, 4672, 3536, 4163, 326, 2110, 2623, 434, 326, 4894, 1427, 716, 732, 848, 4721, 326, 1084, 585, 508, 16, 980, 1300, 471, 445, 508, 18, 3536, 284, 273, 783, 3789, 7...
if fval.find('\n') > -1:
if fval.find('\n') != -1:
def format_props(self): tkt = self.ticket fields = [f for f in tkt.fields if f['type'] != 'textarea' and f['name'] not in ('summary', 'cc')] t = self.modtime or tkt.time_changed width = [0, 0, 0, 0] for i, f in enum([f['name'] for f in fields]): if not tkt.values.has_key(f): continue fval = tkt[f] if fval.find('\n') > ...
f1ab6093ddcbd5043fbfaafca5b5e06bde87313b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/f1ab6093ddcbd5043fbfaafca5b5e06bde87313b/Notify.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, ...
if not m:
if m == (None, None):
def quoteaddr(addr): """Quote a subset of the email addresses defined by RFC 821. Should be able to handle anything rfc822.parseaddr can handle. """ m=None try: m=rfc822.parseaddr(addr)[1] except AttributeError: pass if not m: #something weird here.. punt -ddm return addr else: return "<%s>" % m
1ebbe164a2e18dbca3307aefa87e3b53fe2528d0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/1ebbe164a2e18dbca3307aefa87e3b53fe2528d0/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4914, 684, 3069, 12, 4793, 4672, 3536, 10257, 279, 7931, 434, 326, 2699, 6138, 2553, 635, 8372, 1725, 5340, 18, 225, 9363, 506, 7752, 358, 1640, 6967, 16590, 24532, 18, 2670, 4793, 848, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4914, 684, 3069, 12, 4793, 4672, 3536, 10257, 279, 7931, 434, 326, 2699, 6138, 2553, 635, 8372, 1725, 5340, 18, 225, 9363, 506, 7752, 358, 1640, 6967, 16590, 24532, 18, 2670, 4793, 848, ...
if type == 'traj':
if format == 'traj':
def read(filename, index=-1): p = filename.rfind('@') if p != -1: try: index = string2index(filename[p + 1:]) except ValueError: pass else: filename = filename[:p] type = filetype(filename) if type.startswith('gpw'): from gpaw import Calculator atoms = Calculator(filename, txt=None).get_atoms() atoms.set_calculator(N...
4812740e71165fed2e5653702a0bff58f855d15c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1380/4812740e71165fed2e5653702a0bff58f855d15c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 3459, 16, 770, 29711, 21, 4672, 293, 273, 1544, 18, 86, 4720, 2668, 36, 6134, 309, 293, 480, 300, 21, 30, 775, 30, 770, 273, 533, 22, 1615, 12, 3459, 63, 84, 397, 404, 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, 855, 12, 3459, 16, 770, 29711, 21, 4672, 293, 273, 1544, 18, 86, 4720, 2668, 36, 6134, 309, 293, 480, 300, 21, 30, 775, 30, 770, 273, 533, 22, 1615, 12, 3459, 63, 84, 397, 404, 30,...
return fnum
def AddFileHistoryToProfile(file_history): """Manages work of adding a file from the profile in order to allow the top files from the history to be available the next time the user opens the program. @param file_history: add saved files to history list """ files = list() for fnum in xrange(file_history.GetNoHistoryFil...
6d3d0b360dbaf8ac19c4e8589121a6722288afb2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3530/6d3d0b360dbaf8ac19c4e8589121a6722288afb2/profiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 812, 5623, 774, 4029, 12, 768, 67, 8189, 4672, 3536, 49, 940, 281, 1440, 434, 6534, 279, 585, 628, 326, 3042, 316, 1353, 358, 1699, 326, 1760, 1390, 628, 326, 4927, 358, 506, 231...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 812, 5623, 774, 4029, 12, 768, 67, 8189, 4672, 3536, 49, 940, 281, 1440, 434, 6534, 279, 585, 628, 326, 3042, 316, 1353, 358, 1699, 326, 1760, 1390, 628, 326, 4927, 358, 506, 231...
None, [cty.POINTER(FL_IMAGE)],
None, [cty.POINTER(FL_IMAGE)],
def flimage_free_ci(pImage): """ flimage_free_ci(pImage) """ _flimage_free_ci(pImage)
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, 9156, 67, 8450, 12, 84, 2040, 4672, 3536, 1183, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 3536, 225, 389, 2242, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 282, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1183, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 4672, 3536, 1183, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 3536, 225, 389, 2242, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 282, 2, ...
logging.info("transforming: %s", args)
logging.debug("transforming: %s", args)
def TransformToDir(self): """Transforms the file to the directory format.
e74009b35126b800813cd617aa0788ac8cc6ee03 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3137/e74009b35126b800813cd617aa0788ac8cc6ee03/opencsw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11514, 774, 1621, 12, 2890, 4672, 3536, 15236, 326, 585, 358, 326, 1867, 740, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11514, 774, 1621, 12, 2890, 4672, 3536, 15236, 326, 585, 358, 326, 1867, 740, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 65) else quickfix.StringField.__init__(self, 65, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 15892, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 15892, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
self.unixsocket = 1
def __init__(self, address=('localhost', SYSLOG_UDP_PORT), facility=LOG_USER): """ Initialize a handler.
46cd1a035bc727a373c148f31e243cdc91318ea4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/46cd1a035bc727a373c148f31e243cdc91318ea4/handlers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1758, 33, 2668, 13014, 2187, 7068, 55, 4842, 67, 20352, 67, 6354, 3631, 28164, 33, 4842, 67, 4714, 4672, 3536, 9190, 279, 1838, 18, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1758, 33, 2668, 13014, 2187, 7068, 55, 4842, 67, 20352, 67, 6354, 3631, 28164, 33, 4842, 67, 4714, 4672, 3536, 9190, 279, 1838, 18, 2, -100, -100, -100, ...
convertor = option_spec[name]
convertor = options_spec[name]
def assemble_option_dict(option_list, option_spec): """ Return a mapping of option names to values. :Parameters: - `option_list`: A list of (name, value) pairs (the output of `extract_options()`). - `option_spec`: Dictionary mapping known option names to a conversion function such as `int` or `float`. :Exceptions: - ...
bf3cbe9660ba298bb164c2298c41a65d80bd702a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/bf3cbe9660ba298bb164c2298c41a65d80bd702a/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19540, 67, 3482, 67, 1576, 12, 3482, 67, 1098, 16, 1456, 67, 2793, 4672, 3536, 2000, 279, 2874, 434, 1456, 1257, 358, 924, 18, 225, 294, 2402, 30, 300, 1375, 3482, 67, 1098, 68, 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, 19540, 67, 3482, 67, 1576, 12, 3482, 67, 1098, 16, 1456, 67, 2793, 4672, 3536, 2000, 279, 2874, 434, 1456, 1257, 358, 924, 18, 225, 294, 2402, 30, 300, 1375, 3482, 67, 1098, 68, 30, ...
self.fState.fBlendFlags |= hsGMatState.hsGMatBlendFlags["kBlendAlpha"]
def FromBlenderMTex(self,mtex,obj,mat,stencil=False,hasstencil=False): print " [Layer %s]"%(str(self.Key.name)) #prp is for current prp file... (though that should be obtainable from self.parent.prp) resmanager=self.getResManager() root=self.getRoot()
a15bfd0f3a50e90d4e447a6c23a96f5c32489b80 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12286/a15bfd0f3a50e90d4e447a6c23a96f5c32489b80/alc_MatClasses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6338, 4802, 2345, 6152, 338, 12, 2890, 16, 1010, 338, 16, 2603, 16, 7373, 16, 334, 21620, 33, 8381, 16, 5332, 334, 21620, 33, 8381, 4672, 1172, 315, 282, 306, 4576, 738, 87, 4279, 1710...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6338, 4802, 2345, 6152, 338, 12, 2890, 16, 1010, 338, 16, 2603, 16, 7373, 16, 334, 21620, 33, 8381, 16, 5332, 334, 21620, 33, 8381, 4672, 1172, 315, 282, 306, 4576, 738, 87, 4279, 1710...
if self.angle: m.rotate(angle)
if self.angle: m.rotate(self.angle)
def draw(self): if self.kind: m = getattr(self,'_'+self.kind) if self.angle: _x, _dx, _y, _dy = self.x, self.dx, self.y, self.dy self.x, self.dx, self.y, self.dy = 0,0,0,0 try: m = m() finally: self.x, self.dx, self.y, self.dy = _x, _dx, _y, _dy if not isinstance(m,Group): _m, m = m, Group() m.add(_m) if self.angle: m....
056c274f652ec39e3042a9cd21dffdbc067e5b9e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/056c274f652ec39e3042a9cd21dffdbc067e5b9e/markers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 309, 365, 18, 9224, 30, 312, 273, 3869, 12, 2890, 11189, 4623, 15, 2890, 18, 9224, 13, 309, 365, 18, 4341, 30, 389, 92, 16, 389, 13437, 16, 389, 93, 16, 389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 309, 365, 18, 9224, 30, 312, 273, 3869, 12, 2890, 11189, 4623, 15, 2890, 18, 9224, 13, 309, 365, 18, 4341, 30, 389, 92, 16, 389, 13437, 16, 389, 93, 16, 389, ...
sage.misc.persist.save(v, COMMANDS_CACHE)
if len(v) > 200: sage.misc.persist.save(v, COMMANDS_CACHE)
def trait_names(self, verbose=True, use_disk_cache=True): try: return self.__trait_names except AttributeError: import sage.misc.persist if use_disk_cache: try: self.__trait_names = sage.misc.persist.load(COMMANDS_CACHE) return self.__trait_names except IOError: pass if verbose: print "\nBuilding Maple command completi...
063d5994ea865de92bea73d5b192bbf998d0f7be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/063d5994ea865de92bea73d5b192bbf998d0f7be/maple.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13517, 67, 1973, 12, 2890, 16, 3988, 33, 5510, 16, 999, 67, 10863, 67, 2493, 33, 5510, 4672, 775, 30, 327, 365, 16186, 22513, 67, 1973, 1335, 6394, 30, 1930, 272, 410, 18, 23667, 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, 13517, 67, 1973, 12, 2890, 16, 3988, 33, 5510, 16, 999, 67, 10863, 67, 2493, 33, 5510, 4672, 775, 30, 327, 365, 16186, 22513, 67, 1973, 1335, 6394, 30, 1930, 272, 410, 18, 23667, 18, ...
self.event_cpus = [old_cpu, new_cpu]
if old_rq is not out_rq: self.event_cpus.append(old_cpu) self.event_cpus.append(new_cpu)
def migrate(self, ts_list, new, old_cpu, new_cpu): if old_cpu == new_cpu: return old_rq = self.prev.rqs[old_cpu] out_rq = old_rq.migrate_out(new) self.rqs[old_cpu] = out_rq self.__update_total_load(old_rq, out_rq)
325579d01530cfc556b1dcb794cdf3251d35f675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5327/325579d01530cfc556b1dcb794cdf3251d35f675/sched-migration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13187, 12, 2890, 16, 3742, 67, 1098, 16, 394, 16, 1592, 67, 11447, 16, 394, 67, 11447, 4672, 309, 1592, 67, 11447, 422, 394, 67, 11447, 30, 327, 1592, 67, 86, 85, 273, 365, 18, 10001...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13187, 12, 2890, 16, 3742, 67, 1098, 16, 394, 16, 1592, 67, 11447, 16, 394, 67, 11447, 4672, 309, 1592, 67, 11447, 422, 394, 67, 11447, 30, 327, 1592, 67, 86, 85, 273, 365, 18, 10001...
for event, value in filter_tags(events, ['script', 'style']):
for event, value, line in filter_tags(events, ['script', 'style']):
def get_translatable_blocks(events): from .xml import get_start_tag, get_end_tag message = Message() keep_spaces = False for event, value in filter_tags(events, ['script', 'style']): if event == TEXT: message.append_text(value) elif event == START_ELEMENT: tag_uri, tag_name, attributes = value # Attributes for attr_u...
5d660a7c4599de50199737f97db7f8556bb249be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/5d660a7c4599de50199737f97db7f8556bb249be/i18n.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2338, 27290, 67, 7996, 12, 5989, 4672, 628, 263, 2902, 1930, 336, 67, 1937, 67, 2692, 16, 336, 67, 409, 67, 2692, 225, 883, 273, 2350, 1435, 3455, 67, 9554, 273, 1083, 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, 336, 67, 2338, 27290, 67, 7996, 12, 5989, 4672, 628, 263, 2902, 1930, 336, 67, 1937, 67, 2692, 16, 336, 67, 409, 67, 2692, 225, 883, 273, 2350, 1435, 3455, 67, 9554, 273, 1083, 225, ...
try: os.remove(test_support.TESTFN + "1") except os.error: pass try: os.remove(test_support.TESTFN + "2") except os.error: pass
def test_islink(self): self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False) f = open(test_support.TESTFN + "1", "wb") try: f.write("foo") f.close() self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False) if hasattr(os, "symlink"): os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") s...
3daf60bdfe4bb713399929b64a36849597f2be05 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/3daf60bdfe4bb713399929b64a36849597f2be05/test_posixpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 291, 1232, 12, 2890, 4672, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 6, 3631, 1083, 13, 284, 273, 1696, 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, 1842, 67, 291, 1232, 12, 2890, 4672, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 6, 3631, 1083, 13, 284, 273, 1696, 12, ...
def OnTestsLoad(): old_path = sys.path script_path = os.path.dirname(sys.argv[0]) load_path = None global simplejson
def CheckChangeOnUpload(input_api, output_api): run_tests = False for path in input_api.LocalPaths(): if PERF_EXPECTATIONS == input_api.os_path.basename(path): run_tests = True
def OnTestsLoad(): old_path = sys.path script_path = os.path.dirname(sys.argv[0]) load_path = None global simplejson # This test script should be stored in src/tools/perf_expectations/. That # directory will most commonly live in 2 locations: # # - a regular Chromium checkout, in which case src/third_party # is...
fec974ab6785fd2a4a3c3fcfe3552188fb83e24b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/fec974ab6785fd2a4a3c3fcfe3552188fb83e24b/PRESUBMIT.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 3043, 1398, 4777, 12, 2630, 67, 2425, 16, 876, 67, 2425, 4672, 1086, 67, 16341, 273, 1083, 364, 589, 316, 810, 67, 2425, 18, 2042, 4466, 13332, 309, 10950, 42, 67, 2294, 1423, 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, 2073, 3043, 1398, 4777, 12, 2630, 67, 2425, 16, 876, 67, 2425, 4672, 1086, 67, 16341, 273, 1083, 364, 589, 316, 810, 67, 2425, 18, 2042, 4466, 13332, 309, 10950, 42, 67, 2294, 1423, 12...
source.lmsg(typ, 'added')
def cmd(self, typ, source, cmd): room = source.room if cmd.count(' '): n = cmd.find(' ') c, p = cmd[:n].lower(), cmd[n+1:] else: c, p = cmd.lower(), '' if c == 'del': try: n = int(p) except: source.lmsg(typ, 'invalid_syntax_default') return if len(self.items(room)) < n: source.lmsg(typ, 'number_not_found') else: self.d...
bab40efca50c4e0d03eaefce7b8f5193f06e5b64 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2729/bab40efca50c4e0d03eaefce7b8f5193f06e5b64/alists.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 12, 2890, 16, 3815, 16, 1084, 16, 1797, 4672, 7725, 273, 1084, 18, 13924, 309, 1797, 18, 1883, 2668, 296, 4672, 290, 273, 1797, 18, 4720, 2668, 8624, 276, 16, 293, 273, 1797, 105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 12, 2890, 16, 3815, 16, 1084, 16, 1797, 4672, 7725, 273, 1084, 18, 13924, 309, 1797, 18, 1883, 2668, 296, 4672, 290, 273, 1797, 18, 4720, 2668, 8624, 276, 16, 293, 273, 1797, 105...
s += ' <span class="py-line">'
s += ' <tt class="py-line">'
def handle_line(self, line): """ Render a single logical line from the module, and write the generated HTML to C{self.out}.
cd4d6e5fbca5f698866ebe3598f5c2ca592983e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/cd4d6e5fbca5f698866ebe3598f5c2ca592983e0/html_colorize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 1369, 12, 2890, 16, 980, 4672, 3536, 6987, 279, 2202, 6374, 980, 628, 326, 1605, 16, 471, 1045, 326, 4374, 3982, 358, 385, 95, 2890, 18, 659, 5496, 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, 1640, 67, 1369, 12, 2890, 16, 980, 4672, 3536, 6987, 279, 2202, 6374, 980, 628, 326, 1605, 16, 471, 1045, 326, 4374, 3982, 358, 385, 95, 2890, 18, 659, 5496, 2, -100, -100, -100, -100,...
ir_data = array.array("B")
irData = array.array("B")
def ReceiveThread(self, startupEvent): # This is the code executing in the new thread. try: dll = cdll.LoadLibrary(dllPath) except: self.lastException = self.Exceptions.DriverNotFound startupEvent.set() return if dll.sz_Open() != 1: self.lastException = self.Exceptions.DriverNotOpen startupEvent.set() return dll.sz_F...
5a2107d7555cd3f605f93550144f1b8f5f1ae659 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8076/5a2107d7555cd3f605f93550144f1b8f5f1ae659/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17046, 3830, 12, 2890, 16, 11850, 1133, 4672, 468, 1220, 353, 326, 981, 11274, 316, 326, 394, 2650, 18, 775, 30, 302, 2906, 273, 7976, 2906, 18, 2563, 9313, 12, 27670, 743, 13, 1335, 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, 17046, 3830, 12, 2890, 16, 11850, 1133, 4672, 468, 1220, 353, 326, 981, 11274, 316, 326, 394, 2650, 18, 775, 30, 302, 2906, 273, 7976, 2906, 18, 2563, 9313, 12, 27670, 743, 13, 1335, 3...
if self.debug > 0: print cmd
log.debug(cmd)
def execute_external_dynamics(self, nc=None, txt=None, stoppfile='stop', stopprogram=None): ''' Implementation of the stay alive functionality with socket communication between dacapo and python. Known limitations: It is not possible to start 2 independent Dacapo calculators from the same python process, since the pyt...
97d65b7f6de853ae8bd02694f63966f3dfe9ab9e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1380/97d65b7f6de853ae8bd02694f63966f3dfe9ab9e/jacapo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 67, 9375, 67, 31129, 2102, 12, 2890, 16, 8194, 33, 7036, 16, 6463, 33, 7036, 16, 2132, 84, 768, 2218, 5681, 2187, 2132, 12890, 33, 7036, 4672, 9163, 25379, 434, 326, 23449, 13714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 67, 9375, 67, 31129, 2102, 12, 2890, 16, 8194, 33, 7036, 16, 6463, 33, 7036, 16, 2132, 84, 768, 2218, 5681, 2187, 2132, 12890, 33, 7036, 4672, 9163, 25379, 434, 326, 23449, 13714, ...
self._install(upgpkg, cs, lk, None, pruneweight, depth)
task = self._install(upgpkg, cs, lk, None, pruneweight, depth) for res in task: yield res
def _updown(self, pkg, changeset, locked, pruneweight, depth=0, force=0): depth += 1 trace(1, depth, "_updown(%s, pw=%f, f=%d)", (pkg, pruneweight, force))
0a3ab4bfdab2b5f93bf6292cceb0351050047a0d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8317/0a3ab4bfdab2b5f93bf6292cceb0351050047a0d/transaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 416, 2378, 12, 2890, 16, 3475, 16, 22463, 16, 8586, 16, 846, 318, 359, 1274, 16, 3598, 33, 20, 16, 2944, 33, 20, 4672, 3598, 1011, 404, 2606, 12, 21, 16, 3598, 16, 4192, 416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 416, 2378, 12, 2890, 16, 3475, 16, 22463, 16, 8586, 16, 846, 318, 359, 1274, 16, 3598, 33, 20, 16, 2944, 33, 20, 4672, 3598, 1011, 404, 2606, 12, 21, 16, 3598, 16, 4192, 416, ...
this = apply(_quickfix.new_DistribPercentage, args)
this = _quickfix.new_DistribPercentage(*args)
def __init__(self, *args): this = apply(_quickfix.new_DistribPercentage, 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, 1669, 665, 16397, 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, 1669, 665, 16397, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
self.win.dispbarLabel.setText( "Default Display: " + dispLabel[disp] )
if self.mode.modename == 'COOKIE': self.win.dispbarLabel.setText(" ") else: self.win.dispbarLabel.setText( "Default Display: " + dispLabel[disp] )
def setDisplay(self, disp): if disp == diDEFAULT: disp = default_display_mode #bruce 041129 to fix bug 21 #e someday: if self.display == disp, no actual change needed?? # not sure if that holds for all init code, so being safe for now. self.display = disp self.win.dispbarLabel.setText( "Default Display: " + dispLabel[d...
9d7e6b2e174e2230a8d9b12063b4532b3710ec4d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/9d7e6b2e174e2230a8d9b12063b4532b3710ec4d/GLPane.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23512, 12, 2890, 16, 16232, 4672, 309, 16232, 422, 4314, 5280, 30, 16232, 273, 805, 67, 5417, 67, 3188, 468, 2848, 3965, 374, 9803, 24886, 358, 2917, 7934, 9035, 468, 73, 4737, 329, 528,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23512, 12, 2890, 16, 16232, 4672, 309, 16232, 422, 4314, 5280, 30, 16232, 273, 805, 67, 5417, 67, 3188, 468, 2848, 3965, 374, 9803, 24886, 358, 2917, 7934, 9035, 468, 73, 4737, 329, 528,...
log.info('queueing %r' % args)
log.info('queuing %r' % args)
def no_job_queue(job_type, collection_id, args): """Just spawn a new process for the given job""" if os.name == 'nt': kwargs = {} else: kwargs = {'close_fds': True} try: log.info('queueing %r' % args) subprocess.Popen(args, **kwargs) except OSError, exc: raise RuntimeError('Could not execute command %r: %s' % ( args[0...
adf5ef5c6d552dae88abf1d3f6705909aa4e70b2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/adf5ef5c6d552dae88abf1d3f6705909aa4e70b2/serve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1158, 67, 4688, 67, 4000, 12, 4688, 67, 723, 16, 1849, 67, 350, 16, 833, 4672, 3536, 19642, 12560, 279, 394, 1207, 364, 326, 864, 1719, 8395, 225, 309, 1140, 18, 529, 422, 296, 496, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1158, 67, 4688, 67, 4000, 12, 4688, 67, 723, 16, 1849, 67, 350, 16, 833, 4672, 3536, 19642, 12560, 279, 394, 1207, 364, 326, 864, 1719, 8395, 225, 309, 1140, 18, 529, 422, 296, 496, ...
workspace = Workspace.objects.get(pk = 1)
workspace = DAMWorkspace.objects.get(pk = 1)
def test_search_collections_no_results(self): workspace = Workspace.objects.get(pk = 1) params = self.get_final_parameters({ 'collection': -1, 'media_type': 'image', 'start':0, 'limit':1, 'metadata': 'dc_description' }) response = self.client.post('/api/workspace/%s/search/'%workspace.pk, params) resp_dict = json.load...
774c03fcc85d5555c72b71c04da9a7d1a510e957 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4589/774c03fcc85d5555c72b71c04da9a7d1a510e957/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3072, 67, 19246, 67, 2135, 67, 4717, 12, 2890, 4672, 6003, 273, 463, 2192, 8241, 18, 6911, 18, 588, 12, 5465, 273, 404, 13, 859, 273, 365, 18, 588, 67, 6385, 67, 3977, 1259...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3072, 67, 19246, 67, 2135, 67, 4717, 12, 2890, 4672, 6003, 273, 463, 2192, 8241, 18, 6911, 18, 588, 12, 5465, 273, 404, 13, 859, 273, 365, 18, 588, 67, 6385, 67, 3977, 1259...
for child in node:
for child in node[:]:
def optimize(node): """ Reprocesses JavaScript to remove dead paths """ optimized = False # Process from inside to outside for child in node: # None children are allowed sometimes e.g. during array_init like [1,2,,,7,8] if child != None: if optimize(child): optimized = True # Optimize if cases if node.type == "if": c...
51ae61a45eae9851c4fba9fe407f6f2c2258de5a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/51ae61a45eae9851c4fba9fe407f6f2c2258de5a/DeadCode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2159, 4672, 3536, 868, 18675, 11905, 358, 1206, 8363, 2953, 3536, 15411, 273, 1083, 225, 468, 4389, 628, 4832, 358, 8220, 364, 1151, 316, 756, 10531, 14542, 468, 599, 2325, 854,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2159, 4672, 3536, 868, 18675, 11905, 358, 1206, 8363, 2953, 3536, 15411, 273, 1083, 225, 468, 4389, 628, 4832, 358, 8220, 364, 1151, 316, 756, 10531, 14542, 468, 599, 2325, 854,...
@type docmap: L{Documentation}
@type docmap: L{DocMap}
def _colorize_doctestblock(str): """ Do some colorization for a doctest block (minor for now). @type str: C{string} @param str: The contents of the doctest block to be colorized. @rtype: C{string} @return: The colorized doctest block. """ regexp = re.compile(r'^(\s*)(&gt;&gt;&gt;|\.\.\.)(\s*)(.*)$', re.MULTILINE) retu...
62ff4e473663c51d0a945a451e36120f11d9450a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/62ff4e473663c51d0a945a451e36120f11d9450a/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3266, 554, 67, 2896, 299, 395, 2629, 12, 701, 4672, 3536, 2256, 2690, 2036, 1588, 364, 279, 31263, 395, 1203, 261, 17364, 364, 2037, 2934, 225, 632, 723, 609, 30, 385, 95, 1080, 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, 389, 3266, 554, 67, 2896, 299, 395, 2629, 12, 701, 4672, 3536, 2256, 2690, 2036, 1588, 364, 279, 31263, 395, 1203, 261, 17364, 364, 2037, 2934, 225, 632, 723, 609, 30, 385, 95, 1080, 9...
and self.window.get_actions() & wnck.WINDOW_ACTION_UNMAXIMIZE:
and self.window.get_actions() & action_unminimize:
def show_menu(self, widget, event): #Creates a popup menu menu = gtk.Menu() menu.connect('selection-done', self.menu_closed) #(Un)Lock lock_item = None if self.window.get_actions() & wnck.WINDOW_ACTION_MINIMIZE \ and not self.locked: lock_item = gtk.MenuItem('Lock') elif self.locked: lock_item = gtk.MenuItem('Unlock') ...
990c46c563644e67c24067e5fbfb2d9dadc8e0cc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7075/990c46c563644e67c24067e5fbfb2d9dadc8e0cc/dockbarx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 5414, 12, 2890, 16, 3604, 16, 871, 4672, 468, 2729, 279, 10431, 3824, 3824, 273, 22718, 18, 4599, 1435, 3824, 18, 3612, 2668, 10705, 17, 8734, 2187, 365, 18, 5414, 67, 12204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 5414, 12, 2890, 16, 3604, 16, 871, 4672, 468, 2729, 279, 10431, 3824, 3824, 273, 22718, 18, 4599, 1435, 3824, 18, 3612, 2668, 10705, 17, 8734, 2187, 365, 18, 5414, 67, 12204, ...
elif int(ticket['changetime']) > orig_time:
elif ticket['changetime'] > orig_time:
def template_data(self, req, db, tickets, orig_list=None, orig_time=None): constraints = {} for k, v in self.constraints.items(): constraint = {'values': [], 'mode': ''} for val in v: neg = val.startswith('!') if neg: val = val[1:] mode = '' if val[:1] in ('~', '^', '$'): mode, val = val[:1], val[1:] constraint['mode']...
87f2b587949e267f7ef8012e23eb81ac3d067ed9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/87f2b587949e267f7ef8012e23eb81ac3d067ed9/query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1542, 67, 892, 12, 2890, 16, 1111, 16, 1319, 16, 24475, 16, 1647, 67, 1098, 33, 7036, 16, 1647, 67, 957, 33, 7036, 4672, 6237, 273, 2618, 364, 417, 16, 331, 316, 365, 18, 11967, 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, 1542, 67, 892, 12, 2890, 16, 1111, 16, 1319, 16, 24475, 16, 1647, 67, 1098, 33, 7036, 16, 1647, 67, 957, 33, 7036, 4672, 6237, 273, 2618, 364, 417, 16, 331, 316, 365, 18, 11967, 18, ...
self.child_list=self.child_dict.values() self.child_list.sort(self._sort)
self.child_list.remove(child)
def detach_child(self, id): "Remove a child." child=self.child_dict[id] child.detach_parent() del self.child_dict[id] self.child_list=self.child_dict.values() self.child_list.sort(self._sort)
b1fe143df162ed1eae881611864ffe1ebaac39ac /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7167/b1fe143df162ed1eae881611864ffe1ebaac39ac/Entity.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10199, 67, 3624, 12, 2890, 16, 612, 4672, 315, 3288, 279, 1151, 1199, 1151, 33, 2890, 18, 3624, 67, 1576, 63, 350, 65, 1151, 18, 8238, 497, 67, 2938, 1435, 1464, 365, 18, 3624, 67, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10199, 67, 3624, 12, 2890, 16, 612, 4672, 315, 3288, 279, 1151, 1199, 1151, 33, 2890, 18, 3624, 67, 1576, 63, 350, 65, 1151, 18, 8238, 497, 67, 2938, 1435, 1464, 365, 18, 3624, 67, 1...
for r in ans:
for r in answers:
def extractRecord(resolver, name, answers, level = 10): if not level: return None for r in answers: if r.name == name and r.type == dns.A6: return socket.inet_ntop(socket.AF_INET6, r.payload.address) for r in ans: if r.name == name and r.type == dns.AAAA: return socket.inet_ntop(socket.AF_INET6, r.payload.address) for ...
263d989d776a54b73ce27763717b57e090c61cdc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/263d989d776a54b73ce27763717b57e090c61cdc/common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 2115, 12, 14122, 16, 508, 16, 12415, 16, 1801, 273, 1728, 4672, 309, 486, 1801, 30, 327, 599, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 660...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 2115, 12, 14122, 16, 508, 16, 12415, 16, 1801, 273, 1728, 4672, 309, 486, 1801, 30, 327, 599, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 660...
try: return descriptor.send(data) except socket.error, e: if e[0] == errno.EWOULDBLOCK or e[0] == errno.ENOTCONN: return 0 raise except util.SSL.WantWriteError:
return descriptor.send(data) except socket.error, e: if e[0] == errno.EWOULDBLOCK or e[0] == errno.ENOTCONN:
def socket_send(descriptor, data): timeout = descriptor.gettimeout() if timeout: cancel = exc_after(timeout, TimeoutError) else: cancel = None try: try: return descriptor.send(data) except socket.error, e: if e[0] == errno.EWOULDBLOCK or e[0] == errno.ENOTCONN: return 0 raise except util.SSL.WantWriteError: return 0 ex...
33ccd249ce6338c6350d1a12be9b41ce6591de83 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10078/33ccd249ce6338c6350d1a12be9b41ce6591de83/greenio.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2987, 67, 4661, 12, 12628, 16, 501, 4672, 2021, 273, 4950, 18, 588, 4538, 1435, 309, 2021, 30, 3755, 273, 3533, 67, 5205, 12, 4538, 16, 28758, 13, 469, 30, 3755, 273, 599, 775, 30, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2987, 67, 4661, 12, 12628, 16, 501, 4672, 2021, 273, 4950, 18, 588, 4538, 1435, 309, 2021, 30, 3755, 273, 3533, 67, 5205, 12, 4538, 16, 28758, 13, 469, 30, 3755, 273, 599, 775, 30, 3...
simple.GL_MAX_TEXTURE_SIZE : (1,), simple.GL_MAX_TEXTURE_STACK_DEPTH : (1,), simple.GL_MAX_TEXTURE_UNITS : (1,), simple.GL_MAX_TEXTURE_UNITS_ARB : (1,),
simple.GL_MAX_TEXTURE_SIZE : (1,), simple.GL_MAX_TEXTURE_STACK_DEPTH : (1,), simple.GL_MAX_TEXTURE_UNITS : (1,), simple.GL_MAX_TEXTURE_UNITS_ARB : (1,),
def glGetDoublev( pname ): "Natural writing of glGetDoublev using standard ctypes" output = c_double*sizes.get( pname ) result = output() result = platform.OpenGL.glGetDoublev( pname, byref(result) ) return Numeric.array( result )
779beb78d8242dd156d555119ccab07062fb4bf3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1545/779beb78d8242dd156d555119ccab07062fb4bf3/glget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5118, 967, 5265, 90, 12, 19952, 262, 30, 315, 23779, 3766, 7410, 434, 5118, 967, 5265, 90, 1450, 4529, 6983, 6, 876, 273, 276, 67, 9056, 14, 11914, 18, 588, 12, 19952, 262, 563, 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, 5118, 967, 5265, 90, 12, 19952, 262, 30, 315, 23779, 3766, 7410, 434, 5118, 967, 5265, 90, 1450, 4529, 6983, 6, 876, 273, 276, 67, 9056, 14, 11914, 18, 588, 12, 19952, 262, 563, 273, ...
he = self.HostEntry(host, descriptiveName, mirrors)
he = self.HostEntry(host, downloadUrl = downloadUrl, descriptiveName = descriptiveName, mirrors = mirrors)
def addHost(self, host, descriptiveName = None, mirrors = None): """ Adds a host to the list of known download hosts. This information will be written into any p3d files that reference this host; this can be used to pre-define the possible mirrors for a given host, for instance. Returns the newly-created HostEntry ob...
4545421f6ed37777a844072032efc4e2a1b25448 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/4545421f6ed37777a844072032efc4e2a1b25448/Packager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 2594, 12, 2890, 16, 1479, 16, 302, 31812, 461, 273, 599, 16, 312, 27026, 273, 599, 4672, 3536, 15605, 279, 1479, 358, 326, 666, 434, 4846, 4224, 7206, 18, 225, 1220, 1779, 903, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 2594, 12, 2890, 16, 1479, 16, 302, 31812, 461, 273, 599, 16, 312, 27026, 273, 599, 4672, 3536, 15605, 279, 1479, 358, 326, 666, 434, 4846, 4224, 7206, 18, 225, 1220, 1779, 903, 50...
sent_describe = False sent_parameter = False sent_bandwidth = False
def compute(rc1): """ Translated from MPlayer's source Computes the realchallenge response and checksum """ buf = list() buf.extend( RealChallenge.AV_WB32('a1e9149d') ) buf.extend( RealChallenge.AV_WB32('0e6b3b59') ) rc1 = rc1.strip() if rc1: if len(rc1) == 40: rc1 = rc1[:32] if len(rc1) > 56: rc1 = rc1[:56] buf.exte...
382ee43230b4edd23aa42a717e9fc5a3d328e8bc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7045/382ee43230b4edd23aa42a717e9fc5a3d328e8bc/rtsp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 12, 1310, 21, 4672, 3536, 8193, 690, 628, 490, 12148, 1807, 1084, 14169, 281, 326, 2863, 25092, 766, 471, 6697, 3536, 1681, 273, 666, 1435, 1681, 18, 14313, 12, 15987, 18359, 18, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 12, 1310, 21, 4672, 3536, 8193, 690, 628, 490, 12148, 1807, 1084, 14169, 281, 326, 2863, 25092, 766, 471, 6697, 3536, 1681, 273, 666, 1435, 1681, 18, 14313, 12, 15987, 18359, 18, 5...
qs = qs.annotate(c=Count('tagged_items')).filter(c__gt=0)
untagged_ids = Vote.objects.exclude(tagged_items__isnull=False).values_list('id',flat=True) qs = qs.exclude(id__in=untagged_ids)
def filter_and_order(self, *args, **kwargs): qs = self.all() filter_kwargs = {} if 'type' in kwargs and kwargs['type'] and kwargs['type'] != 'all': filter_kwargs['title__startswith'] = self.VOTE_TYPES[kwargs['type']] if 'since' in kwargs and kwargs['since'] and kwargs['since'] != 'all': filter_kwargs['time__gt'] = date...
fc51956937141ab1502c25b10db2179082a5bd22 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1866/fc51956937141ab1502c25b10db2179082a5bd22/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1034, 67, 464, 67, 1019, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 8719, 273, 365, 18, 454, 1435, 1034, 67, 4333, 273, 2618, 309, 296, 723, 11, 316, 1205, 471, 1205, 3292, 723, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1034, 67, 464, 67, 1019, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 8719, 273, 365, 18, 454, 1435, 1034, 67, 4333, 273, 2618, 309, 296, 723, 11, 316, 1205, 471, 1205, 3292, 723, ...
except NameError, NotImplementedError:
except (NotImplementedError, NameError):
def synchronize_groups_with_login_method(): """For each login_method, if possible, synchronize groups in a bulk fashion (i.e. when fetch_all_users_groups_membership is implemented in the external_authentication class). Otherwise, for each user that belong to at least one external group for a given login_method, ask, if...
297fdee0e10db0d8642c542bf06cc0147a6f9b56 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3933/297fdee0e10db0d8642c542bf06cc0147a6f9b56/webgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16978, 67, 4650, 67, 1918, 67, 5819, 67, 2039, 13332, 3536, 1290, 1517, 3925, 67, 2039, 16, 309, 3323, 16, 16978, 3252, 316, 279, 8280, 30957, 261, 77, 18, 73, 18, 1347, 2158, 67, 454,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16978, 67, 4650, 67, 1918, 67, 5819, 67, 2039, 13332, 3536, 1290, 1517, 3925, 67, 2039, 16, 309, 3323, 16, 16978, 3252, 316, 279, 8280, 30957, 261, 77, 18, 73, 18, 1347, 2158, 67, 454,...
self.__updateJobStatus( job, 'Failed', 'Stalling for more than %d sec' % failedTime )
self.__updateJobStatus( job, 'Failed', 'Stalling for more than %d sec' % failedTime )
def __failStalledJobs( self, failedTime ): """ Changes the Stalled status to Failed for jobs long in the Stalled status """ result = self.jobDB.selectJobs( {'Status':'Stalled'} ) failedCounter = 0 if not result['OK'] or not result['Value']: self.log.warn( result ) return result else: jobs = result['Value'] self.log....
1bc0d189cfa76ea128be98dcb17942841327a3d2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/1bc0d189cfa76ea128be98dcb17942841327a3d2/StalledJobAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6870, 510, 4502, 7276, 12, 365, 16, 2535, 950, 262, 30, 3536, 17776, 326, 934, 4502, 1267, 358, 11175, 364, 6550, 1525, 316, 326, 934, 4502, 1267, 3536, 225, 563, 273, 365, 18, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6870, 510, 4502, 7276, 12, 365, 16, 2535, 950, 262, 30, 3536, 17776, 326, 934, 4502, 1267, 358, 11175, 364, 6550, 1525, 316, 326, 934, 4502, 1267, 3536, 225, 563, 273, 365, 18, 4...
return S_OK(intCPUTimeLeft) def available(self, requirements = {} ):
return S_OK( intCPUTimeLeft ) def available( self, requirements = {} ):
def setCPUTimeLeft(self, cpuTimeLeft = None): """Update the CPUTime parameter of the CE classAd, necessary for running in filling mode """ if not cpuTimeLeft: # do nothing return S_OK() try: intCPUTimeLeft = int( cpuTimeLeft ) except: return S_ERROR('Wrong type for setCPUTimeLeft argument')
3d103a1ec7530dcfac38e6ccc642be862e663b73 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/3d103a1ec7530dcfac38e6ccc642be862e663b73/ComputingElement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 15222, 950, 3910, 12, 2890, 16, 8326, 950, 3910, 273, 599, 4672, 3536, 1891, 326, 12154, 950, 1569, 434, 326, 29538, 667, 1871, 16, 4573, 364, 3549, 316, 25740, 1965, 3536, 309, 486...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 15222, 950, 3910, 12, 2890, 16, 8326, 950, 3910, 273, 599, 4672, 3536, 1891, 326, 12154, 950, 1569, 434, 326, 29538, 667, 1871, 16, 4573, 364, 3549, 316, 25740, 1965, 3536, 309, 486...
LOG('ZODB FS',ERROR,"%s ERROR: %s\n" % (packed_version, (message % data)))
LOG('ZODB FS', ERROR, "%s ERROR: %s\n" % (packed_version, (message % data)))
def error(message, *data): LOG('ZODB FS',ERROR,"%s ERROR: %s\n" % (packed_version, (message % data)))
ad85dfb9cd6957f764453d68c5aa78663f064355 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/ad85dfb9cd6957f764453d68c5aa78663f064355/FileStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 555, 12, 2150, 16, 380, 892, 4672, 2018, 2668, 62, 19786, 9247, 2187, 5475, 16, 2213, 87, 5475, 30, 738, 87, 64, 82, 6, 738, 261, 2920, 329, 67, 1589, 16, 261, 2150, 738, 501, 20349,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 555, 12, 2150, 16, 380, 892, 4672, 2018, 2668, 62, 19786, 9247, 2187, 5475, 16, 2213, 87, 5475, 30, 738, 87, 64, 82, 6, 738, 261, 2920, 329, 67, 1589, 16, 261, 2150, 738, 501, 20349,...
if rel_dir.startswith('/'):
if rel_dir.startswith('/'):
def contentValues(self, spec=None, filter=None, sort_on=None, reverse=0): """ CMFPlone.PloneFolder.PloneFolder.contentValues """ filteredFileList = [] filteredFolderList = [] REQUEST = self.REQUEST
16b617800e575a37b82739b1f1fe95edd774f1d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/16b617800e575a37b82739b1f1fe95edd774f1d7/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 913, 1972, 12, 2890, 16, 857, 33, 7036, 16, 1034, 33, 7036, 16, 1524, 67, 265, 33, 7036, 16, 4219, 33, 20, 4672, 3536, 385, 13542, 1749, 476, 18, 1749, 476, 3899, 18, 1749, 476, 3899...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 913, 1972, 12, 2890, 16, 857, 33, 7036, 16, 1034, 33, 7036, 16, 1524, 67, 265, 33, 7036, 16, 4219, 33, 20, 4672, 3536, 385, 13542, 1749, 476, 18, 1749, 476, 3899, 18, 1749, 476, 3899...
bf, d = getObjectRetreiver()
bf, d = getObjectRetriever()
def getObjectAtSSL(host, port, timeout=None): """Establishes a PB connection over SSL and returns with a RemoteReference. @param host: the host to connect to @param port: the port number to connect to @param timeout: a value in milliseconds to wait before failing by default. (OPTIONAL) @returns: A Deferred which w...
dd545421a2f28d41032ba27dbb4ee2df82bedbf7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/dd545421a2f28d41032ba27dbb4ee2df82bedbf7/pb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6455, 861, 6745, 12, 2564, 16, 1756, 16, 225, 2021, 33, 7036, 4672, 3536, 9122, 23385, 281, 279, 20819, 1459, 1879, 7419, 471, 1135, 598, 279, 6304, 2404, 18, 225, 632, 891, 1479, 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, 6455, 861, 6745, 12, 2564, 16, 1756, 16, 225, 2021, 33, 7036, 4672, 3536, 9122, 23385, 281, 279, 20819, 1459, 1879, 7419, 471, 1135, 598, 279, 6304, 2404, 18, 225, 632, 891, 1479, 30, ...
class DirError(Exception): def __init__(self, name): self.name = name
def MythVideoPopup(width, height, gimpFilename, pngFilename, autosave, interactive): if len(gimpFilename) and gimpFilename[-4:].lower() != ".xcf": gimpFilename += ".xcf"
def GIMPCreateDialog(name, pngName, width, height): try: check_call(["gimp", "--no-interface", "--batch", "(python-fu-mythvideo-popup RUN-NONINTERACTIVE %d %d " "\"%s\" \"%s\" TRUE FALSE) (gimp-quit 1)" % (width, height, name, pngName)]) except CalledProcessError, cpe: print("Error code %d returned when attemptin to cr...
e2c03d1fd04dc50dc4ad9ec4c41799301ff80998 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/e2c03d1fd04dc50dc4ad9ec4c41799301ff80998/mythvideofu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 611, 9883, 1684, 6353, 12, 529, 16, 14476, 461, 16, 1835, 16, 2072, 4672, 775, 30, 866, 67, 1991, 3816, 6, 75, 14532, 3113, 5238, 2135, 17, 5831, 3113, 5238, 5303, 3113, 7751, 8103, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 611, 9883, 1684, 6353, 12, 529, 16, 14476, 461, 16, 1835, 16, 2072, 4672, 775, 30, 866, 67, 1991, 3816, 6, 75, 14532, 3113, 5238, 2135, 17, 5831, 3113, 5238, 5303, 3113, 7751, 8103, 17...
bb.msg.debug(3, bb.msg.domain.TaskData, self.build_names_index)
bb.msg.debug(3, bb.msg.domain.TaskData, ", ".join(self.build_names_index))
def dump_data(self): """ Dump some debug information on the internal data structures """ bb.msg.debug(3, bb.msg.domain.TaskData, "build_names:") bb.msg.debug(3, bb.msg.domain.TaskData, self.build_names_index) bb.msg.debug(3, bb.msg.domain.TaskData, "run_names:") bb.msg.debug(3, bb.msg.domain.TaskData, self.run_names_in...
3155d686fb511879b449df5b83bcad5a3f151628 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2672/3155d686fb511879b449df5b83bcad5a3f151628/taskdata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 892, 12, 2890, 4672, 3536, 18242, 2690, 1198, 1779, 603, 326, 2713, 501, 12597, 3536, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 892, 12, 2890, 4672, 3536, 18242, 2690, 1198, 1779, 603, 326, 2713, 501, 12597, 3536, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, ...
parent.HookNotify(self.OnSavePointReached, SCN_SAVEPOINTREACHED) parent.HookNotify(self.OnSavePointLeft, SCN_SAVEPOINTLEFT) parent.HookNotify(self.OnModifyAttemptRO, SCN_MODIFYATTEMPTRO)
def HookViewNotifications(self, view): parent = view.GetParentFrame() parent.HookNotify(self.OnSavePointReached, SCN_SAVEPOINTREACHED) parent.HookNotify(self.OnSavePointLeft, SCN_SAVEPOINTLEFT) parent.HookNotify(self.OnModifyAttemptRO, SCN_MODIFYATTEMPTRO) parent.HookNotify(ViewNotifyDelegate(self, "OnBraceMatch"), SCN...
7e7033df8065af73e7c44f01629305f72a599b7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/992/7e7033df8065af73e7c44f01629305f72a599b7b/document.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13725, 1767, 14111, 12, 2890, 16, 1476, 4672, 982, 273, 1476, 18, 967, 3054, 3219, 1435, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 21965, 2060, 6, 3631, 8795, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13725, 1767, 14111, 12, 2890, 16, 1476, 4672, 982, 273, 1476, 18, 967, 3054, 3219, 1435, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 21965, 2060, 6, 3631, 8795, ...
self.assertEqual(p.stdout.read(), "end of main\nend of thread\n")
data = p.stdout.read().replace('\r', '') self.assertEqual(data, "end of main\nend of thread\n")
def joiningfunc(mainthread): mainthread.join() print 'end of thread'
f5668f13c8f69490af6bca0bd5221d00cd382342 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/f5668f13c8f69490af6bca0bd5221d00cd382342/test_threading.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21239, 644, 12, 5254, 5930, 4672, 2774, 5930, 18, 5701, 1435, 1172, 296, 409, 434, 2650, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21239, 644, 12, 5254, 5930, 4672, 2774, 5930, 18, 5701, 1435, 1172, 296, 409, 434, 2650, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
f.write(stream)
try: f.write(stream) except IOError, e: if e.errno != 22: raise chunk_size = 4 * 1024 * 1024 for offset in xrange(0, len(stream), chunk_size): f.write(buffer(stream, offset, chunk_size))
def save(self, file_name_or_filelike_obj, stream): # 1. Align stream on 0x1000 boundary (and therefore on sector boundary) padding = '\x00' * (0x1000 - (len(stream) % 0x1000)) self.book_stream_len = len(stream) + len(padding)
d8766b9c511c776fa24700d52e69e94c56a4fe04 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11459/d8766b9c511c776fa24700d52e69e94c56a4fe04/CompoundDoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 585, 67, 529, 67, 280, 67, 7540, 292, 2547, 67, 2603, 16, 1407, 4672, 468, 404, 18, 19317, 1407, 603, 374, 92, 18088, 7679, 261, 464, 13526, 603, 16323, 7679, 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, 1923, 12, 2890, 16, 585, 67, 529, 67, 280, 67, 7540, 292, 2547, 67, 2603, 16, 1407, 4672, 468, 404, 18, 19317, 1407, 603, 374, 92, 18088, 7679, 261, 464, 13526, 603, 16323, 7679, 13, ...
self.good_result_times.sort() total_200 = len(self.good_result_times) total_all = total_200 + self.error_result_count
self.good_search_result_times.sort() self.good_cluster_result_times.sort() self.good_suggest_result_times.sort() total_search_200 = len(self.good_search_result_times) total_cluster_200 = len(self.good_cluster_result_times) total_suggest_200 = len(self.good_suggest_result_times) total_200 = total_search_200 + total_clus...
def Summary(self): """Summarizes the results.
786420d3e794bd6ec1356ae7b9b796ca05e967d6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6393/786420d3e794bd6ec1356ae7b9b796ca05e967d6/load.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17967, 12, 2890, 4672, 3536, 3495, 3684, 3128, 326, 1686, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17967, 12, 2890, 4672, 3536, 3495, 3684, 3128, 326, 1686, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
def quotient(self, sub, check=True):
def quotient(self, sub, check=True, positive_point=None, positive_dual_point=None):
def quotient(self, sub, check=True): """ Return the quotient of ``self`` by the given sublattice ``sub``. INPUT:
eb8c1be62ed520b8675c215dfc299aab1d8d35bd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/eb8c1be62ed520b8675c215dfc299aab1d8d35bd/toric_lattice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26708, 12, 2890, 16, 720, 16, 866, 33, 5510, 16, 6895, 67, 1153, 33, 7036, 16, 6895, 67, 72, 1462, 67, 1153, 33, 7036, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26708, 12, 2890, 16, 720, 16, 866, 33, 5510, 16, 6895, 67, 1153, 33, 7036, 16, 6895, 67, 72, 1462, 67, 1153, 33, 7036, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 326, ...
if (__mode == MODE_SCREENSHOT) {
if (__mode == MODE_SNAPSHOT) {
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
7fe1dc57d2249236b83aa1a78001a9245d6e1681 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12828/7fe1dc57d2249236b83aa1a78001a9245d6e1681/glretrace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 3175, 12, 2890, 16, 445, 16, 1501, 16, 1501, 67, 723, 16, 328, 1132, 16, 436, 1132, 4672, 309, 261, 915, 18, 529, 316, 365, 18, 10437, 67, 915, 67, 1973, 471, 1501, 18, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 3175, 12, 2890, 16, 445, 16, 1501, 16, 1501, 67, 723, 16, 328, 1132, 16, 436, 1132, 4672, 309, 261, 915, 18, 529, 316, 365, 18, 10437, 67, 915, 67, 1973, 471, 1501, 18, 5...
platform + "/" + timestamp)
buildplatform + "/" + timestamp)
def UploadToStaging(nowString, log, rsyncProgram, rsyncServer): timestamp = nowString.replace("-", "") timestamp = timestamp.replace(":", "") timestamp = timestamp.replace(" ", "") if not os.path.isdir(timestamp): print "skipping rsync to staging area, no dir", timestamp log.write("skipping rsync to staging area, no d...
0c118dca192b01e6c6d5025fc108a70a5ee5ddac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/0c118dca192b01e6c6d5025fc108a70a5ee5ddac/tinderbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 774, 510, 5755, 12, 3338, 780, 16, 613, 16, 3597, 1209, 9459, 16, 3597, 1209, 2081, 4672, 2858, 273, 2037, 780, 18, 2079, 2932, 17, 3113, 1408, 13, 2858, 273, 2858, 18, 2079, 293...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 774, 510, 5755, 12, 3338, 780, 16, 613, 16, 3597, 1209, 9459, 16, 3597, 1209, 2081, 4672, 2858, 273, 2037, 780, 18, 2079, 2932, 17, 3113, 1408, 13, 2858, 273, 2858, 18, 2079, 293...
self.work_py = []
self.work_py_module = []
def __init__(self, opts): self.opts = opts self.work_file = [] # list of strings self.work_fd = [] # list of ints self.work_py = [] # list of strings self.work_server_sock = [] self.work_proc_pipe = [] self.work_proc_pipe2 = [] self.work_proc_sock = [] self.worker_prof_cmd = "${GXP_DIR}/gxpbin/worker_pr...
c89dfbb082f3fee0737301e8c81aaa7959b3a032 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/924/c89dfbb082f3fee0737301e8c81aaa7959b3a032/gxp_js.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1500, 4672, 365, 18, 4952, 273, 1500, 365, 18, 1252, 67, 768, 273, 5378, 377, 468, 666, 434, 2064, 365, 18, 1252, 67, 8313, 273, 5378, 4202, 468, 666, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1500, 4672, 365, 18, 4952, 273, 1500, 365, 18, 1252, 67, 768, 273, 5378, 377, 468, 666, 434, 2064, 365, 18, 1252, 67, 8313, 273, 5378, 4202, 468, 666, ...
self.scroll_to_cell (path=path, use_align=FALSE)
self.scroll_to_cell (path=path, use_align=False)
def newDeviceCallback (self, screen, driver, config): device = dri.DeviceConfig (config, screen, driver) self.model.addNode (device) config.modified(config) path = self.model.getPathFromNode (device) self.get_selection().select_path (path) self.scroll_to_cell (path=path, use_align=FALSE)
ab8126074d7036807d1d842171687cc01617a181 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4580/ab8126074d7036807d1d842171687cc01617a181/driconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 3654, 2428, 261, 2890, 16, 5518, 16, 3419, 16, 642, 4672, 2346, 273, 302, 566, 18, 3654, 809, 261, 1425, 16, 5518, 16, 3419, 13, 365, 18, 2284, 18, 1289, 907, 261, 5964, 13, 642...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 3654, 2428, 261, 2890, 16, 5518, 16, 3419, 16, 642, 4672, 2346, 273, 302, 566, 18, 3654, 809, 261, 1425, 16, 5518, 16, 3419, 13, 365, 18, 2284, 18, 1289, 907, 261, 5964, 13, 642...
if self.tileset is None: return
def reposition(self): """internal function: move the board to the correct position. This is also called when the tileset or the light source for this board changes""" if self.tileset is None: return width = self.tileset.faceSize.width() height = self.tileset.faceSize.height() offsets = self.tileset.shadowOffsets(self.l...
32e47232617a39eb0a153b6a21cee083e5f9e036 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1679/32e47232617a39eb0a153b6a21cee083e5f9e036/board.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 3276, 12, 2890, 4672, 3536, 7236, 445, 30, 3635, 326, 11094, 358, 326, 3434, 1754, 18, 1220, 353, 2546, 2566, 1347, 326, 12568, 278, 578, 326, 9052, 1084, 364, 333, 11094, 3478, 839...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 3276, 12, 2890, 4672, 3536, 7236, 445, 30, 3635, 326, 11094, 358, 326, 3434, 1754, 18, 1220, 353, 2546, 2566, 1347, 326, 12568, 278, 578, 326, 9052, 1084, 364, 333, 11094, 3478, 839...
stats = dict(added=0, updated=0)
stats = dict(added=0, updated=0, models=0)
def fetch(sql_factory, infos, worker_count, batch_size): ''' Fetch data from the AppEngine Datastore via remote_api and save it to the database. Synchronization happens differently depending on the properties of the particular Model subclass: * For subclasses with a DateTimeProperty whose auto_now member is True, quer...
c988a7136c588ec46c99f57110ee9bd002f11810 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7737/c988a7136c588ec46c99f57110ee9bd002f11810/dsync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 12, 4669, 67, 6848, 16, 10626, 16, 4322, 67, 1883, 16, 2581, 67, 1467, 4672, 9163, 8065, 501, 628, 326, 4677, 4410, 20326, 3970, 2632, 67, 2425, 471, 1923, 518, 358, 326, 2063, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 12, 4669, 67, 6848, 16, 10626, 16, 4322, 67, 1883, 16, 2581, 67, 1467, 4672, 9163, 8065, 501, 628, 326, 4677, 4410, 20326, 3970, 2632, 67, 2425, 471, 1923, 518, 358, 326, 2063, 1...
show_stdout=False, cwd=dir).strip()
show_stdout=False, cwd=location).strip()
def get_hg_revision(location): current_branch = call_subprocess(['hg', 'branch'], show_stdout=False, cwd=dir).strip() branch_revs = get_hg_branch_revs(location) for branch in branch_revs: if current_branch == branch_revs[branch]: return branch return get_hg_tip_revision(location)
49b518ad103e62e5f4797375d519807b43204bfd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/49b518ad103e62e5f4797375d519807b43204bfd/pip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 26981, 67, 13057, 12, 3562, 4672, 783, 67, 7500, 273, 745, 67, 1717, 2567, 12, 3292, 26981, 2187, 296, 7500, 17337, 2405, 67, 10283, 33, 8381, 16, 7239, 33, 3562, 2934, 6406, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26981, 67, 13057, 12, 3562, 4672, 783, 67, 7500, 273, 745, 67, 1717, 2567, 12, 3292, 26981, 2187, 296, 7500, 17337, 2405, 67, 10283, 33, 8381, 16, 7239, 33, 3562, 2934, 6406, ...
pattern = self.patterns.interpreted_or_phrase_ref
end_pattern = self.patterns.interpreted_or_phrase_ref
def interpreted_or_phrase_ref(self, match, lineno): pattern = self.patterns.interpreted_or_phrase_ref string = match.string matchstart = match.start('backquote') matchend = match.end('backquote') rolestart = match.start('role') role = match.group('role') position = '' if role: role = role[1:-1] position = 'prefix' elif...
816927c350eab6c8d1baf3e3aa09f53b2caab704 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/816927c350eab6c8d1baf3e3aa09f53b2caab704/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19898, 67, 280, 67, 9429, 67, 1734, 12, 2890, 16, 845, 16, 7586, 4672, 679, 67, 4951, 273, 365, 18, 13317, 18, 24713, 329, 67, 280, 67, 9429, 67, 1734, 533, 273, 845, 18, 1080, 845, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19898, 67, 280, 67, 9429, 67, 1734, 12, 2890, 16, 845, 16, 7586, 4672, 679, 67, 4951, 273, 365, 18, 13317, 18, 24713, 329, 67, 280, 67, 9429, 67, 1734, 533, 273, 845, 18, 1080, 845, ...
self.ownerDocument.catcode(key, value)
self.ownerDocument.context.catcode(key, value)
def readArgumentAndSource(self, spec=None, type=None, subtype=None, delim=',', expanded=False, default=None, parentNode=None, name=None, stripLeadingWhitespace=True): """ Get an argument and the TeX source that created it
004df1451775a6dd62b83138bb1b68634bca9b69 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7864/004df1451775a6dd62b83138bb1b68634bca9b69/TeX.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 1379, 1876, 1830, 12, 2890, 16, 857, 33, 7036, 16, 618, 33, 7036, 16, 12308, 33, 7036, 16, 10508, 33, 2187, 2187, 8406, 33, 8381, 16, 805, 33, 7036, 16, 7234, 33, 7036, 16, 508,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1379, 1876, 1830, 12, 2890, 16, 857, 33, 7036, 16, 618, 33, 7036, 16, 12308, 33, 7036, 16, 10508, 33, 2187, 2187, 8406, 33, 8381, 16, 805, 33, 7036, 16, 7234, 33, 7036, 16, 508,...
self.directories[parent] = self.DirStore.append(None, [parent, parent])
self.directories[parent] = self.DirStore.append(None, [self.decode(parent), parent])
def BrowseGetDirs(self): sorted = [] for dirs in self.shares.keys(): sorted.append(dirs) sorted.sort() children = [] directory = "" self.directories = {} if sorted != []: for item in sorted: s = item.split("\\") path = ''
e0fa59031b16058b4c91fb570c5318399637c6e1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8738/e0fa59031b16058b4c91fb570c5318399637c6e1/userbrowse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 605, 12481, 967, 9872, 12, 2890, 4672, 3115, 273, 5378, 364, 7717, 316, 365, 18, 30720, 18, 2452, 13332, 3115, 18, 6923, 12, 8291, 13, 3115, 18, 3804, 1435, 2325, 273, 5378, 1867, 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, 605, 12481, 967, 9872, 12, 2890, 4672, 3115, 273, 5378, 364, 7717, 316, 365, 18, 30720, 18, 2452, 13332, 3115, 18, 6923, 12, 8291, 13, 3115, 18, 3804, 1435, 2325, 273, 5378, 1867, 273, ...
self.logger.log(severity, msg)
def __getitem__(self2, key): if key in brrec: return brrec[key] return dict.__getitem__(self2, key)
4236d93ba505d6771af5373d91ff8d7499622a3c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/4236d93ba505d6771af5373d91ff8d7499622a3c/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 22, 16, 498, 4672, 309, 498, 316, 5186, 3927, 30, 327, 5186, 3927, 63, 856, 65, 327, 2065, 16186, 31571, 972, 12, 2890, 22, 16, 498, 13, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 22, 16, 498, 4672, 309, 498, 316, 5186, 3927, 30, 327, 5186, 3927, 63, 856, 65, 327, 2065, 16186, 31571, 972, 12, 2890, 22, 16, 498, 13, 2, -100, -100, -1...
([zeta6 - 1], [zeta6 - 1], -3*zeta42^7 + 2) ([zeta6 - 1], [-1], 2*zeta42^7 + 1)
([zeta6 - 1], [zeta6 - 1], -3*zeta6 + 2) ([zeta6 - 1], [-1], 2*zeta6 + 1)
def jacobi_sum(self, char, check=True): """ Return the Jacobi sum associated to these Dirichlet characters (i.e., J(self,char)). EXAMPLES:: sage: D = DirichletGroup(13) sage: e = D.0 sage: f = D[-2] sage: e.jacobi_sum(f) 3*zeta156^26 + 2*zeta156^13 - 3 sage: f.jacobi_sum(e) 3*zeta156^26 + 2*zeta156^13 - 3 sage: p = 7...
80bb64cda04307dbe55314d6e4fce85c5aab0086 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/80bb64cda04307dbe55314d6e4fce85c5aab0086/dirichlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20138, 30875, 67, 1364, 12, 2890, 16, 1149, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 804, 1077, 30875, 2142, 3627, 358, 4259, 8446, 1354, 1810, 3949, 261, 77, 18, 73, 12990, 804, 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, 20138, 30875, 67, 1364, 12, 2890, 16, 1149, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 804, 1077, 30875, 2142, 3627, 358, 4259, 8446, 1354, 1810, 3949, 261, 77, 18, 73, 12990, 804, 12, ...
libraries, extradirs, extraexportsymbols)
libraries, extradirs, extraexportsymbols, outputdir)
def genpluginproject(architecture, module, project=None, projectdir=None, sources=[], sourcedirs=[], libraries=[], extradirs=[], extraexportsymbols=[], outputdir=":::Lib:lib-dynload"): if architecture == "all": # For the time being we generate two project files. Not as nice as # a single multitarget project, but easier...
7586b049ba2cfbf6a67b2deaeadb36603a1bb346 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/7586b049ba2cfbf6a67b2deaeadb36603a1bb346/genpluginprojects.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4094, 4406, 12, 991, 18123, 16, 1605, 16, 1984, 33, 7036, 16, 1984, 1214, 33, 7036, 16, 5550, 22850, 6487, 1084, 8291, 22850, 6487, 14732, 22850, 6487, 7582, 361, 10539, 22850, 6487,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4094, 4406, 12, 991, 18123, 16, 1605, 16, 1984, 33, 7036, 16, 1984, 1214, 33, 7036, 16, 5550, 22850, 6487, 1084, 8291, 22850, 6487, 14732, 22850, 6487, 7582, 361, 10539, 22850, 6487,...
if len(self.allResults) > self.resultListLen: self.allResults.remove(self.allResults[-1]) self.resultList.removeItem(self.resultList.count()-1) self.worstVal = self.allResults[-1][0]
def addProjection(self, val, attrList): index = self.findTargetIndex(val, max) if index > self.resultListLen: return self.allResults.insert(index, (val, attrList)) self.resultList.insertItem("%.3f - %s" % (val, str(attrList)), index) if len(self.allResults) > self.resultListLen: self.allResults.remove(self.allResults[-...
cc07563bcc3bbb63e4db6458481816f5ff5f63b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/cc07563bcc3bbb63e4db6458481816f5ff5f63b6/OWParallelCoordinates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 14789, 12, 2890, 16, 1244, 16, 1604, 682, 4672, 770, 273, 365, 18, 4720, 2326, 1016, 12, 1125, 16, 943, 13, 309, 770, 405, 365, 18, 2088, 682, 2891, 30, 327, 365, 18, 454, 3447,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 14789, 12, 2890, 16, 1244, 16, 1604, 682, 4672, 770, 273, 365, 18, 4720, 2326, 1016, 12, 1125, 16, 943, 13, 309, 770, 405, 365, 18, 2088, 682, 2891, 30, 327, 365, 18, 454, 3447,...
elif value < self.min:
elif value < self.min*self.factor:
def get_safe_value(self, value): if value > self.max: value = self.max elif value < self.min: value = self.min return value
3fa5a0e2e21317df8c1c78ccfee063d8675a2fc9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5279/3fa5a0e2e21317df8c1c78ccfee063d8675a2fc9/adjusters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4626, 67, 1132, 12, 2890, 16, 460, 4672, 309, 460, 405, 365, 18, 1896, 30, 460, 273, 365, 18, 1896, 1327, 460, 411, 365, 18, 1154, 14, 2890, 18, 6812, 30, 460, 273, 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, 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, 4626, 67, 1132, 12, 2890, 16, 460, 4672, 309, 460, 405, 365, 18, 1896, 30, 460, 273, 365, 18, 1896, 1327, 460, 411, 365, 18, 1154, 14, 2890, 18, 6812, 30, 460, 273, 365, 1...
c = RHBugzilla
if bzversion.startswith('3.'): c = RHBugzilla3 else: c = RHBugzilla
def getBugzillaClassForURL(url): s = xmlrpclib.ServerProxy(url) rhbz = False bzversion = '' c = None # Check for a RH-only method try: prodinfo = s.bugzilla.getProdInfo() rhbz = True except xmlrpclib.Fault: pass # Try to get the bugzilla version string try: r = s.Bugzilla.version() bzversion = r['version'] except xml...
99ca8c8862575d4311f874d001e3c76ac025c37d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5050/99ca8c8862575d4311f874d001e3c76ac025c37d/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2882, 637, 15990, 797, 1290, 1785, 12, 718, 4672, 272, 273, 2025, 13832, 830, 495, 18, 2081, 3886, 12, 718, 13, 6259, 25292, 273, 1083, 24788, 1589, 273, 875, 276, 273, 599, 225, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2882, 637, 15990, 797, 1290, 1785, 12, 718, 4672, 272, 273, 2025, 13832, 830, 495, 18, 2081, 3886, 12, 718, 13, 6259, 25292, 273, 1083, 24788, 1589, 273, 875, 276, 273, 599, 225, 468, ...
pb = ProgressBar('read input', n)
pb = ProgressBar(maxval=n, widgets=['read-input: ']+default_widgets)
def parse_cooked(filename): f = open(filename) header = f.read(20) if header != 'TraceVis-History0001': print "Invalid header" sys.exit(1) duration = struct.unpack_from('Q', f.read(8))[0] summary = [] state_count = struct.unpack_from('I', f.read(4))[0] for i in range(state_count): summary.append(struct.unpack_from('Q'...
0d6c356a7bb0f0409b4a280dcbf74c273106159f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/0d6c356a7bb0f0409b4a280dcbf74c273106159f/vis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 29854, 329, 12, 3459, 4672, 284, 273, 1696, 12, 3459, 13, 1446, 273, 284, 18, 896, 12, 3462, 13, 309, 1446, 480, 296, 3448, 3282, 17, 5623, 13304, 4278, 1172, 315, 1941, 1446...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 29854, 329, 12, 3459, 4672, 284, 273, 1696, 12, 3459, 13, 1446, 273, 284, 18, 896, 12, 3462, 13, 309, 1446, 480, 296, 3448, 3282, 17, 5623, 13304, 4278, 1172, 315, 1941, 1446...
return nbytes.decode(gtcache.codeset)
try: return nbytes.decode(gtcache.codeset) except LookupError: LOCALE_HAS_UNIT_CONVERSIONS = False return nbytes
def strftime_to_unicode(nbytes): """Convert the value return by strftime() to a unicode string. By default, it's in whatever the default codeset is. """ if gtcache.codeset is None: return nbytes else: return nbytes.decode(gtcache.codeset)
4a57b194f05d23e4045c674acb35882057c6269b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/4a57b194f05d23e4045c674acb35882057c6269b/displaytext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10405, 67, 869, 67, 9124, 12, 82, 3890, 4672, 3536, 2723, 326, 460, 327, 635, 10405, 1435, 358, 279, 5252, 533, 18, 225, 2525, 805, 16, 518, 1807, 316, 15098, 326, 805, 6198, 278, 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, 10405, 67, 869, 67, 9124, 12, 82, 3890, 4672, 3536, 2723, 326, 460, 327, 635, 10405, 1435, 358, 279, 5252, 533, 18, 225, 2525, 805, 16, 518, 1807, 316, 15098, 326, 805, 6198, 278, 353,...