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 |
|---|---|---|---|---|---|---|
if (self.getFile(remoteDir + self.dirSlash + f, os.path.join(localDir, f)) == None): | if (self.getFile(remoteDir + '/' + f, os.path.join(localDir, f)) == None): | def getDirectory(self, remoteDir, localDir): if (self.debug >= 2): print "getting files in '" + remoteDir + "'" filelist = self.listFiles(remoteDir) if (filelist == None): return None if (self.debug >= 3): print filelist if not os.path.exists(localDir): os.makedirs(localDir) #TODO: is this a comprehensive file regex? ... | fd9e385f2805e09156e5ef3c1f5d56e976bc2bf6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12156/fd9e385f2805e09156e5ef3c1f5d56e976bc2bf6/devicemanager.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19831,
12,
2890,
16,
2632,
1621,
16,
1191,
1621,
4672,
309,
261,
2890,
18,
4148,
1545,
576,
4672,
1172,
315,
588,
1787,
1390,
316,
2119,
397,
2632,
1621,
397,
5862,
26204,
273,
365,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19831,
12,
2890,
16,
2632,
1621,
16,
1191,
1621,
4672,
309,
261,
2890,
18,
4148,
1545,
576,
4672,
1172,
315,
588,
1787,
1390,
316,
2119,
397,
2632,
1621,
397,
5862,
26204,
273,
365,
18,
... |
print "AUCTION DATE FIELDS",auc_dates_fields print "AUCTION ID VALUE PRINT",ad_id[0] print 'QUERY :: select * from auction_buyer_taxes_rel abr,auction_dates ad where ad.id=abr.auction_id and ad.id=%d'%(ad_id[0],) | def lines_lots_from_auction(self,objects): | f7fe6d3651bfb6c2fc8e5eb570200e60bc2d7b6d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7339/f7fe6d3651bfb6c2fc8e5eb570200e60bc2d7b6d/buyer_list.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2362,
67,
80,
6968,
67,
2080,
67,
69,
4062,
12,
2890,
16,
6911,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2362,
67,
80,
6968,
67,
2080,
67,
69,
4062,
12,
2890,
16,
6911,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... | |
window.location.replace('/');o | window.location.replace('/'); | def notebook_lib(): s= r""" | d7e50ff263e478bb259fa48e10c164611e3e15dc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/d7e50ff263e478bb259fa48e10c164611e3e15dc/js.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14718,
67,
2941,
13332,
272,
33,
436,
8395,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14718,
67,
2941,
13332,
272,
33,
436,
8395,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
modes.extend(generics) | def scanURL(cls, url, metadata): """Scan for url filename match. Determine if the pathname matches some pattern that can identify the corresponding major mode. | 6e81b1b78258e8557f7823271a093b0b588f3e79 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11522/6e81b1b78258e8557f7823271a093b0b588f3e79/majormodematcher.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4135,
1785,
12,
6429,
16,
880,
16,
1982,
4672,
3536,
7972,
364,
880,
1544,
845,
18,
225,
10229,
309,
326,
9806,
1885,
2690,
1936,
716,
848,
9786,
326,
4656,
7888,
1965,
18,
2,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4135,
1785,
12,
6429,
16,
880,
16,
1982,
4672,
3536,
7972,
364,
880,
1544,
845,
18,
225,
10229,
309,
326,
9806,
1885,
2690,
1936,
716,
848,
9786,
326,
4656,
7888,
1965,
18,
2,
-100,
-1... | |
for fileID in migratedFiles: | for fileID in allMigrated: | def __updateMigrationAccounting(self,se,migratedFiles,migratingFiles,mismatchingFiles,assumedEndTime,previousMonitorTime): """ Create accounting messages for the overall throughput observed and the total migration time for the files """ gMonitor.addMark("MigratedFiles%s" % se,len(migratedFiles)) gMonitor.addMark("Total... | 4f91556b86199dede4b08bee27f08eea5a1de278 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/4f91556b86199dede4b08bee27f08eea5a1de278/MigrationMonitoringAgent.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2725,
10224,
3032,
310,
12,
2890,
16,
307,
16,
81,
2757,
690,
2697,
16,
81,
2757,
1776,
2697,
16,
11173,
16271,
2697,
16,
428,
379,
329,
25255,
16,
11515,
7187,
950,
4672,
3536,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2725,
10224,
3032,
310,
12,
2890,
16,
307,
16,
81,
2757,
690,
2697,
16,
81,
2757,
1776,
2697,
16,
11173,
16271,
2697,
16,
428,
379,
329,
25255,
16,
11515,
7187,
950,
4672,
3536,
... |
def get_memdump(self, address, move_idx): | def _get_memdump(self, address, move_idx): | def get_memdump(self, address, move_idx): linewidth = 16 screenful = self.lines*linewidth # no move, left/right, up/down, page up/down (no overlap) offsets = [0, 2, linewidth, screenful] offset = offsets[abs(move_idx)] if move_idx < 0: address -= offset else: address += offset self.set_clamped(address, address+screenfu... | 0e0984f57cbf375cc2813fe0509dc8425a475afc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2811/0e0984f57cbf375cc2813fe0509dc8425a475afc/debugui.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
3917,
8481,
12,
2890,
16,
1758,
16,
3635,
67,
3465,
4672,
18795,
273,
2872,
5518,
2706,
273,
365,
18,
3548,
14,
7511,
14434,
468,
1158,
3635,
16,
2002,
19,
4083,
16,
731,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
3917,
8481,
12,
2890,
16,
1758,
16,
3635,
67,
3465,
4672,
18795,
273,
2872,
5518,
2706,
273,
365,
18,
3548,
14,
7511,
14434,
468,
1158,
3635,
16,
2002,
19,
4083,
16,
731,... |
for i in range(len(test_records)): for ns in self.nameservers.enabled: (request_type, hostname) = shuffled_records[ns][i] input_queue.put((ns, request_type, hostname)) results_queue = self._LaunchBenchmarkThreads(input_queue) errors = [] while results_queue.qsize(): (ns, request_type, hostname, response, duration, err... | results_queue = self._LaunchBenchmarkThreads(input_queue) errors = [] while results_queue.qsize(): (ns, request_type, hostname, response, duration, error_msg) = results_queue.get() if error_msg: duration = ns.timeout * 1000 errors.append((ns, error_msg)) results.setdefault(ns, []).append((hostname, request_type, durati... | def _SingleTestRun(self, test_records): """Manage and execute a single test-run on all nameservers. | 2c42206e842762b2e00f9dd574e3b673ee0d2469 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4170/2c42206e842762b2e00f9dd574e3b673ee0d2469/benchmark.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5281,
4709,
1997,
12,
2890,
16,
1842,
67,
7094,
4672,
3536,
21258,
471,
1836,
279,
2202,
1842,
17,
2681,
603,
777,
1257,
29638,
18,
2,
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,
389,
5281,
4709,
1997,
12,
2890,
16,
1842,
67,
7094,
4672,
3536,
21258,
471,
1836,
279,
2202,
1842,
17,
2681,
603,
777,
1257,
29638,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
while req.hdf.get('links.%s.%d.href' % (rel, idx)): | while req.hdf.get('chrome.links.%s.%d.href' % (rel, idx)): | def add_link(req, rel, href, title=None, type=None, class_name=None): link = {'href': escape(href)} if title: link['title'] = escape(title) if type: link['type'] = type if class_name: link['class'] = class_name idx = 0 while req.hdf.get('links.%s.%d.href' % (rel, idx)): idx += 1 req.hdf['links.%s.%d' % (rel, idx)] = li... | 957a6635bde1e02889bd20b6bd9831dc7e50b057 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/957a6635bde1e02889bd20b6bd9831dc7e50b057/chrome.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
1232,
12,
3658,
16,
1279,
16,
3897,
16,
2077,
33,
7036,
16,
618,
33,
7036,
16,
667,
67,
529,
33,
7036,
4672,
1692,
273,
13666,
7547,
4278,
4114,
12,
7547,
16869,
309,
2077,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
67,
1232,
12,
3658,
16,
1279,
16,
3897,
16,
2077,
33,
7036,
16,
618,
33,
7036,
16,
667,
67,
529,
33,
7036,
4672,
1692,
273,
13666,
7547,
4278,
4114,
12,
7547,
16869,
309,
2077,
... |
def processComment(self, data): self.parser.document.appendChild(CommentNode(data)) | def processEndTag(self, name): self.insertHtmlElement() self.parser.phase.processEndTag(name) | 22ba9dab3834147341a8aa3162fe6c07a00e7dcb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10463/22ba9dab3834147341a8aa3162fe6c07a00e7dcb/parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
25633,
12,
2890,
16,
508,
4672,
365,
18,
6387,
4353,
1046,
1435,
365,
18,
4288,
18,
13961,
18,
2567,
25633,
12,
529,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
25633,
12,
2890,
16,
508,
4672,
365,
18,
6387,
4353,
1046,
1435,
365,
18,
4288,
18,
13961,
18,
2567,
25633,
12,
529,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... | |
0:"calls", 1:"time", 2: "cumulative" } [ field[0] ] ] | 0: "calls", 1: "time", 2: "cumulative"}[field[0]] ] | def sort_stats(self, *field): if not field: self.fcn_list = 0 return self if len(field) == 1 and type(field[0]) == type(1): # Be compatible with old profiler field = [ {-1: "stdname", 0:"calls", 1:"time", 2: "cumulative" } [ field[0] ] ] | 1076eed9bee3b873e1cb1bcca42f40854ecd9db4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/1076eed9bee3b873e1cb1bcca42f40854ecd9db4/pstats.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1524,
67,
5296,
12,
2890,
16,
380,
1518,
4672,
309,
486,
652,
30,
365,
18,
7142,
82,
67,
1098,
273,
374,
327,
365,
309,
562,
12,
1518,
13,
422,
404,
471,
618,
12,
1518,
63,
20,
571... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1524,
67,
5296,
12,
2890,
16,
380,
1518,
4672,
309,
486,
652,
30,
365,
18,
7142,
82,
67,
1098,
273,
374,
327,
365,
309,
562,
12,
1518,
13,
422,
404,
471,
618,
12,
1518,
63,
20,
571... |
if self.out_buffer.getvalue(): | if self.out_buffer.getvalue() and not self.__write_nf: | def close(self): if self.closed: return self.closed = True if self.out_buffer.getvalue(): # if need no more sending: self.__close() | 76c4d9fa934bbdef143116571773fdae3c8a08c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/76c4d9fa934bbdef143116571773fdae3c8a08c5/fsocket.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1746,
12,
2890,
4672,
309,
365,
18,
12204,
30,
327,
365,
18,
12204,
273,
1053,
309,
365,
18,
659,
67,
4106,
18,
588,
1132,
1435,
471,
486,
365,
16186,
2626,
67,
82,
74,
30,
468,
309,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1746,
12,
2890,
4672,
309,
365,
18,
12204,
30,
327,
365,
18,
12204,
273,
1053,
309,
365,
18,
659,
67,
4106,
18,
588,
1132,
1435,
471,
486,
365,
16186,
2626,
67,
82,
74,
30,
468,
309,... |
self.body.append( '\\includegraphics%s{%s}' % ( options, attrs['uri'] ) ) self.body.extend( post ) | self.body.append('\\includegraphics%s{%s}' % (options, attrs['uri'])) self.body.extend(post) | def visit_image(self, node): self.requirements['graphicx'] = self.graphicx_package attrs = node.attributes # Add image URI to dependency list, assuming that it's # referring to a local file. self.settings.record_dependencies.add(attrs['uri']) pre = [] # in reverse order post = [] include_graphics... | fb3336a6d5cf7ea080d0ead3a5384f168a9030c0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1278/fb3336a6d5cf7ea080d0ead3a5384f168a9030c0/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
2730,
12,
2890,
16,
756,
4672,
365,
18,
16175,
3292,
4660,
335,
92,
3546,
273,
365,
18,
4660,
335,
92,
67,
5610,
3422,
273,
756,
18,
4350,
468,
1436,
1316,
3699,
358,
4904,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
2730,
12,
2890,
16,
756,
4672,
365,
18,
16175,
3292,
4660,
335,
92,
3546,
273,
365,
18,
4660,
335,
92,
67,
5610,
3422,
273,
756,
18,
4350,
468,
1436,
1316,
3699,
358,
4904,
... |
> <doctest foo-bär@baz[1]>(1)<module>()->None | > <doctest foo-bär@baz[2]>(1)<module>()->None | def test_pdb_set_trace(): """Using pdb.set_trace from a doctest. You can use pdb.set_trace from a doctest. To do so, you must retrieve the set_trace function from the pdb module at the time you use it. The doctest module changes sys.stdout so that it can capture program output. It also temporarily replaces pdb.set_... | 35049443dc2c3e51959700aa8c5359c5ce12663e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/35049443dc2c3e51959700aa8c5359c5ce12663e/test_doctest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
17414,
67,
542,
67,
5129,
13332,
3536,
7736,
10892,
18,
542,
67,
5129,
628,
279,
31263,
395,
18,
225,
4554,
848,
999,
10892,
18,
542,
67,
5129,
628,
279,
31263,
395,
18,
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,
1842,
67,
17414,
67,
542,
67,
5129,
13332,
3536,
7736,
10892,
18,
542,
67,
5129,
628,
279,
31263,
395,
18,
225,
4554,
848,
999,
10892,
18,
542,
67,
5129,
628,
279,
31263,
395,
18,
225,... |
if globalvar.force: | if globalvar.force or globalvar.cleanup: | def replaceLinks(self, page, newPages, bot): """ Returns True if saving was successful. """ if globalvar.localonly: # In this case only continue on the Page we started with if page != self.originPage: raise SaveError | 2d64cf4a614d7554015d47d72f408789906c793c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4404/2d64cf4a614d7554015d47d72f408789906c793c/interwiki.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1453,
7100,
12,
2890,
16,
1363,
16,
394,
5716,
16,
2512,
4672,
3536,
2860,
1053,
309,
12392,
1703,
6873,
18,
3536,
309,
2552,
1401,
18,
3729,
3700,
30,
468,
657,
333,
648,
1338,
1324,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1453,
7100,
12,
2890,
16,
1363,
16,
394,
5716,
16,
2512,
4672,
3536,
2860,
1053,
309,
12392,
1703,
6873,
18,
3536,
309,
2552,
1401,
18,
3729,
3700,
30,
468,
657,
333,
648,
1338,
1324,
... |
p = subprocess.Popen (cmdl, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | p = subprocess.Popen (cmdl, close_fds=True, stdin=subprocess.PIPE, \ stdout=subprocess.PIPE, stderr=subprocess.PIPE) | def PlayStart (self, fi): try: cmdl = self.BuildCmdline (fi [2]) if not cmdl: self.ConvertStop (fi, self._Error) return False | e6c1d8b8aa1eeead3142f41f1d3380b7665838c0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2524/e6c1d8b8aa1eeead3142f41f1d3380b7665838c0/gui.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19592,
1685,
261,
2890,
16,
7314,
4672,
775,
30,
1797,
80,
273,
365,
18,
3116,
5931,
1369,
261,
22056,
306,
22,
5717,
309,
486,
1797,
80,
30,
365,
18,
2723,
4947,
261,
22056,
16,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19592,
1685,
261,
2890,
16,
7314,
4672,
775,
30,
1797,
80,
273,
365,
18,
3116,
5931,
1369,
261,
22056,
306,
22,
5717,
309,
486,
1797,
80,
30,
365,
18,
2723,
4947,
261,
22056,
16,
365,
... |
debug("imgNames: %s" % imgNames) | debug("images with same checksum: %s" % imgNames) | def process(userData, kind_id, argv): """ Execute system call then updates the database consequently. exit_code != 0 means problem. """ user_id = userData['UserID'] kind = userData['Kind'] # Log file to store storeLog = '_condor_stderr' success = 0 db = DB(host = DATABASE_HOST, user = DATABASE_USER, passwd = DATABASE... | 4386b3fce41e4f947242a074665b6ad7374046ae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11651/4386b3fce41e4f947242a074665b6ad7374046ae/wrapper_processing.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
12,
1355,
751,
16,
3846,
67,
350,
16,
5261,
4672,
3536,
7903,
2619,
745,
1508,
4533,
326,
2063,
356,
9116,
715,
18,
2427,
67,
710,
480,
374,
4696,
6199,
18,
3536,
225,
729,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
12,
1355,
751,
16,
3846,
67,
350,
16,
5261,
4672,
3536,
7903,
2619,
745,
1508,
4533,
326,
2063,
356,
9116,
715,
18,
2427,
67,
710,
480,
374,
4696,
6199,
18,
3536,
225,
729,
67,
... |
sage: C.riemann_roch_basis(D) [x/(y + x), (z + y)/(y + x)] The answer has dimension 2 (confirmed via Magma). But it varies between 1 and quite large with Singular. | sage: C.riemann_roch_basis(D) [(-2*x + y)/(x + y), (-x + z)/(x + y)] .. NOTE:: Currently this only works over prime field and divisors supported on rational points. | def riemann_roch_basis(self, D): r""" Return a basis for the Riemann-Roch space corresponding to `D`. .. warning:: | 77afcbecaf564fe98fd62507a1eccb878b037e67 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/77afcbecaf564fe98fd62507a1eccb878b037e67/projective_curve.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12347,
351,
1072,
67,
303,
343,
67,
23774,
12,
2890,
16,
463,
4672,
436,
8395,
2000,
279,
10853,
364,
326,
21688,
351,
1072,
17,
54,
9842,
3476,
4656,
358,
1375,
40,
8338,
225,
6116,
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,
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,
12347,
351,
1072,
67,
303,
343,
67,
23774,
12,
2890,
16,
463,
4672,
436,
8395,
2000,
279,
10853,
364,
326,
21688,
351,
1072,
17,
54,
9842,
3476,
4656,
358,
1375,
40,
8338,
225,
6116,
3... |
'Source': Channel, 'Destination': Link, 'CallerID': CallerIDNum, 'CallerIDName': CallerIDName, 'SrcUniqueID': Uniqueid, 'DestUniqueID': UniqueidLink, 'Status': 'Link', 'startTime': time.time() - int(Seconds) | 'Source': Channel, 'Destination': Link, 'SrcUniqueID': Uniqueid, 'DestUniqueID': UniqueidLink, 'Status': 'Link', 'startTime': time.time() - int(Seconds) | def handlerStatus(self, lines): log.info('MonAst.handlerStatus :: Running...') dic = self.list2Dict(lines) Channel = dic['Channel'] CallerIDNum = dic['CallerIDNum'] CallerIDName = dic['CallerIDName'] State = dic.get('ChannelStateDesc', dic.get('State')) Seconds = dic.get('Seconds', 0) Link =... | 813c458b6b9d6ad69d56f03bf10cade3d4e1bc36 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12004/813c458b6b9d6ad69d56f03bf10cade3d4e1bc36/monast.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1838,
1482,
12,
2890,
16,
2362,
4672,
225,
613,
18,
1376,
2668,
11415,
21385,
18,
4176,
1482,
493,
20480,
7821,
13,
11681,
273,
365,
18,
1098,
22,
5014,
12,
3548,
13,
225,
5307,
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,
1838,
1482,
12,
2890,
16,
2362,
4672,
225,
613,
18,
1376,
2668,
11415,
21385,
18,
4176,
1482,
493,
20480,
7821,
13,
11681,
273,
365,
18,
1098,
22,
5014,
12,
3548,
13,
225,
5307,
1377,
... |
/archive/home/channa/public_html/followup/htQscan/H1/999999999.999 | /archive/home/channa/public_html/followup/htQscan/H1/999999999.999 | def setupNodeWeb(self, job, passItAlong=False, content=None, page=None,webOverride=None,cache=None): self.jobName = job.name if passItAlong: self.add_var_opt("output-path",job.outputPath) self.add_var_opt("enable-output","") if cache: cache.appendCache(job.name,job.outputPath) try: if self.outputCache: cache.appendSubC... | cbd6ac162cb6bf2eb4ad5ce9c3d03753b881f67f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/cbd6ac162cb6bf2eb4ad5ce9c3d03753b881f67f/stfu_pipe.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
907,
4079,
12,
2890,
16,
1719,
16,
1342,
7193,
1067,
932,
33,
8381,
16,
913,
33,
7036,
16,
1363,
33,
7036,
16,
4875,
6618,
33,
7036,
16,
2493,
33,
7036,
4672,
365,
18,
4688,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
907,
4079,
12,
2890,
16,
1719,
16,
1342,
7193,
1067,
932,
33,
8381,
16,
913,
33,
7036,
16,
1363,
33,
7036,
16,
4875,
6618,
33,
7036,
16,
2493,
33,
7036,
4672,
365,
18,
4688,
46... |
return user_page(request, request.user.username) else: return public_page(request) | return HttpResponseRedirect('/bookmarks/user/%s/' % request.user.username) else: return HttpResponseRedirect('/bookmarks/public/') | def main_page(request): logging.debug("bookmarks.views.main_page()"); logging.debug("lang_code: %s" % request.LANGUAGE_CODE); if request.user.is_authenticated(): return user_page(request, request.user.username) else: return public_page(request) | 21dc630bb00c51c3e84c9f958c48915afee4d71a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10474/21dc630bb00c51c3e84c9f958c48915afee4d71a/views.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
67,
2433,
12,
2293,
4672,
2907,
18,
4148,
2932,
3618,
17439,
18,
7061,
18,
5254,
67,
2433,
1435,
8863,
2907,
18,
4148,
2932,
4936,
67,
710,
30,
738,
87,
6,
738,
590,
18,
15547,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
67,
2433,
12,
2293,
4672,
2907,
18,
4148,
2932,
3618,
17439,
18,
7061,
18,
5254,
67,
2433,
1435,
8863,
2907,
18,
4148,
2932,
4936,
67,
710,
30,
738,
87,
6,
738,
590,
18,
15547,
... |
self.assertEquals(cmd.library_dirs, ['my_lib_dir']) | self.assert_('my_lib_dir' in cmd.library_dirs) | def test_finalize_options(self): # Make sure Python's include directories (for Python.h, pyconfig.h, # etc.) are in the include search path. modules = [Extension('foo', ['xxx'], optional=False)] dist = Distribution({'name': 'xx', 'ext_modules': modules}) cmd = build_ext(dist) cmd.finalize_options() | 2bb084e643dc423b8f3efb37e0136ae24e530c02 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/2bb084e643dc423b8f3efb37e0136ae24e530c02/test_build_ext.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
30343,
67,
2116,
12,
2890,
4672,
468,
4344,
3071,
6600,
1807,
2341,
6402,
261,
1884,
6600,
18,
76,
16,
2395,
1425,
18,
76,
16,
468,
5527,
12998,
854,
316,
326,
2341,
1623,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
30343,
67,
2116,
12,
2890,
4672,
468,
4344,
3071,
6600,
1807,
2341,
6402,
261,
1884,
6600,
18,
76,
16,
2395,
1425,
18,
76,
16,
468,
5527,
12998,
854,
316,
326,
2341,
1623,
58... |
msg = self.idb.clear_all_file_breaks(filename) if msg: text.bell() return | self.idb.clear_all_file_breaks(filename) | def clear_file_breaks(self, filename): msg = self.idb.clear_all_file_breaks(filename) if msg: text.bell() return | b57b3220632f27ec7ae552e1b48e1b2c8acf1383 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b57b3220632f27ec7ae552e1b48e1b2c8acf1383/Debugger.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2424,
67,
768,
67,
29292,
12,
2890,
16,
1544,
4672,
1234,
273,
365,
18,
350,
70,
18,
8507,
67,
454,
67,
768,
67,
29292,
12,
3459,
13,
309,
1234,
30,
977,
18,
70,
1165,
1435,
327,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2424,
67,
768,
67,
29292,
12,
2890,
16,
1544,
4672,
1234,
273,
365,
18,
350,
70,
18,
8507,
67,
454,
67,
768,
67,
29292,
12,
3459,
13,
309,
1234,
30,
977,
18,
70,
1165,
1435,
327,
2... |
class FedoraPeopleApp(AppFactory) | class FedoraPeopleApp(AppFactory): | def __str__(self): return "<%s %s>" % (self.__class__.__name__, self.id) | 119677750f88be27d1f7df8652e5457e5a424008 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12732/119677750f88be27d1f7df8652e5457e5a424008/widgets.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
701,
972,
12,
2890,
4672,
327,
3532,
9,
87,
738,
87,
2984,
738,
261,
2890,
16186,
1106,
972,
16186,
529,
972,
16,
365,
18,
350,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
701,
972,
12,
2890,
4672,
327,
3532,
9,
87,
738,
87,
2984,
738,
261,
2890,
16186,
1106,
972,
16186,
529,
972,
16,
365,
18,
350,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
else: return w, t | def _listCellGeom(self, V,w,s,W=None,H=None,aH=72000): aW = w-s.leftPadding-s.rightPadding aH = aH - s.topPadding - s.bottomPadding t = 0 w = 0 canv = getattr(self,'canv',None) for v in V: vw, vh = v.wrapOn(canv,aW, aH) if W is not None: W.append(vw) if H is not None: H.append(vh) w = max(w,vw) t = t + vh + v.getSpaceB... | 784c5948085e74f56562a2535d8913c0d6a4fcbf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/784c5948085e74f56562a2535d8913c0d6a4fcbf/tables.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1098,
4020,
16972,
12,
2890,
16,
776,
16,
91,
16,
87,
16,
59,
33,
7036,
16,
44,
33,
7036,
16,
69,
44,
33,
9060,
3784,
4672,
279,
59,
273,
341,
17,
87,
18,
4482,
9485,
17,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1098,
4020,
16972,
12,
2890,
16,
776,
16,
91,
16,
87,
16,
59,
33,
7036,
16,
44,
33,
7036,
16,
69,
44,
33,
9060,
3784,
4672,
279,
59,
273,
341,
17,
87,
18,
4482,
9485,
17,
87... | |
debug(s, _("remote removed, remove")) | debug(s, "remote removed, remove") | def debug(s, msg, r=""): if r: r = "%s:%s" % r repo.ui.debug(_(" subrepo %s: %s %s\n") % (s, msg, r)) | d6aaf60c9841c343758480b8e42079d5f533c0e1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/d6aaf60c9841c343758480b8e42079d5f533c0e1/subrepo.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1198,
12,
87,
16,
1234,
16,
436,
1546,
6,
4672,
309,
436,
30,
436,
273,
2213,
87,
5319,
87,
6,
738,
436,
3538,
18,
4881,
18,
4148,
24899,
2932,
225,
720,
7422,
738,
87,
30,
738,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1198,
12,
87,
16,
1234,
16,
436,
1546,
6,
4672,
309,
436,
30,
436,
273,
2213,
87,
5319,
87,
6,
738,
436,
3538,
18,
4881,
18,
4148,
24899,
2932,
225,
720,
7422,
738,
87,
30,
738,
87... |
elif pattern[index] == 'mM': | elif pattern[index] in 'mM': | def compile(pattern, flags=0): stack = [] index = 0 label = 0 register = 1 groupindex = {} callouts = [] while (index < len(pattern)): char = pattern[index] index = index + 1 if char == '\\': if index < len(pattern): next = pattern[index] index = index + 1 if next == 't': stack.append([Exact(chr(9))]) elif next == 'n'... | b2202eddd973943cab19b3439da4266d52557ad9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b2202eddd973943cab19b3439da4266d52557ad9/re.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4074,
12,
4951,
16,
2943,
33,
20,
4672,
2110,
273,
5378,
770,
273,
374,
1433,
273,
374,
1744,
273,
404,
1041,
1615,
273,
2618,
1443,
383,
12940,
273,
5378,
1323,
261,
1615,
411,
562,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4074,
12,
4951,
16,
2943,
33,
20,
4672,
2110,
273,
5378,
770,
273,
374,
1433,
273,
374,
1744,
273,
404,
1041,
1615,
273,
2618,
1443,
383,
12940,
273,
5378,
1323,
261,
1615,
411,
562,
1... |
if parent is not None: if e_name not in self.parents: self.parents[e_name] = list() self.parents[e_name].append(parent.getName()) | def processLeaf(self, element, parent): """ Process an element (a leaf). """ logging.debug("Processing leaf: (%s) --> (%s)" % (parent, element)) e = element e_name = e.getName() e_type = e.getType() if not e.isExplicitDefine() \ and (e_name not in EXPLICIT_DEFINE_OVERRIDE or not e.topLevel): logging.info("Element %s.%s... | 64ddbb44c48b689f118adfc88062569679b6a7dd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1844/64ddbb44c48b689f118adfc88062569679b6a7dd/fu.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
9858,
12,
2890,
16,
930,
16,
982,
4672,
3536,
4389,
392,
930,
261,
69,
7839,
2934,
3536,
2907,
18,
4148,
2932,
7798,
7839,
30,
6142,
87,
13,
15431,
6142,
87,
2225,
738,
261,
2938... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9858,
12,
2890,
16,
930,
16,
982,
4672,
3536,
4389,
392,
930,
261,
69,
7839,
2934,
3536,
2907,
18,
4148,
2932,
7798,
7839,
30,
6142,
87,
13,
15431,
6142,
87,
2225,
738,
261,
2938... | |
jointsAndWeights = zip(jointList,weightList) | try: actualJointNames = [joints[j] for j in jointList] actualJointsAsSet = set(actualJointNames) if len( actualJointsAsSet ) != len(actualJointNames): actualJointNames,weightList = regatherWeights(actualJointNames,weightList) except KeyError: jointListSet = set(jointList) diff = missingJoints.difference(jointLi... | def loadWeights( geos=None, filepath=DEFAULT_PATH, usePosition=True, tolerance=1e-6 ): '''loads weights back on to a model given a file. NOTE: the tolerance is an axis tolerance NOT a distance tolerance. ie each axis must fall within the value of the given vector to be considered a match - this makes matching a heap ... | 2ade017cab8b7824a24175b7b016a28e5619e2c6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1810/2ade017cab8b7824a24175b7b016a28e5619e2c6/skinWeights.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
16595,
12,
8244,
538,
33,
7036,
16,
3608,
33,
5280,
67,
4211,
16,
999,
2555,
33,
5510,
16,
10673,
33,
21,
73,
17,
26,
262,
30,
9163,
17135,
5376,
1473,
603,
358,
279,
938,
864,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
16595,
12,
8244,
538,
33,
7036,
16,
3608,
33,
5280,
67,
4211,
16,
999,
2555,
33,
5510,
16,
10673,
33,
21,
73,
17,
26,
262,
30,
9163,
17135,
5376,
1473,
603,
358,
279,
938,
864,... |
if isinstance(parent, Function): | if isinstance(parent, Function) and not param.scope: | def _parse_param(self, parent, param, tag): options = getattr(tag, 'options', {}) if isinstance(parent, Function): scope = options.get(OPT_SCOPE) if scope: param.scope = scope.one() param.transfer = PARAM_TRANSFER_NONE destroy = options.get(OPT_DESTROY) if destroy: param.destroy_index = parent.get_parameter_index(destr... | f74823dbcb647dee950c066119876db9f0edc32f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2770/f74823dbcb647dee950c066119876db9f0edc32f/annotationparser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2670,
67,
891,
12,
2890,
16,
982,
16,
579,
16,
1047,
4672,
702,
273,
3869,
12,
2692,
16,
296,
2116,
2187,
2618,
13,
309,
1549,
12,
2938,
16,
4284,
13,
471,
486,
579,
18,
4887,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2670,
67,
891,
12,
2890,
16,
982,
16,
579,
16,
1047,
4672,
702,
273,
3869,
12,
2692,
16,
296,
2116,
2187,
2618,
13,
309,
1549,
12,
2938,
16,
4284,
13,
471,
486,
579,
18,
4887,
... |
'fedoraGroupDesc' : str(fedoraGroupDesc).encode('utf8'), 'fedoraGroupOwner' : str(fedoraGroupOwner).encode('utf8'), | 'fedoraGroupDesc' : fedoraGroupDesc, 'fedoraGroupOwner' : fedoraGroupOwner, | def newGroup(self, cn, fedoraGroupDesc, fedoraGroupOwner, fedoraGroupNeedsSponsor, fedoraGroupUserCanRemove, fedoraGroupRequires, fedoraGroupJoinMsg): ''' Create a new group ''' attributes = { 'cn' : cn, 'objectClass' : ('fedoraGroup'), 'fedoraGroupDesc' : str(fedoraGroupDesc).encode('utf8'), 'fedoraGroupOwner' : str(f... | f0bb66f2bd8aeeeb4e764ba73f43725601c75529 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9952/f0bb66f2bd8aeeeb4e764ba73f43725601c75529/fasLDAP.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
394,
1114,
12,
2890,
16,
6227,
16,
28869,
1114,
4217,
16,
28869,
1114,
5541,
16,
28869,
1114,
26419,
55,
500,
2467,
16,
28869,
1114,
1299,
2568,
3288,
16,
28869,
1114,
21671,
16,
28869,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1114,
12,
2890,
16,
6227,
16,
28869,
1114,
4217,
16,
28869,
1114,
5541,
16,
28869,
1114,
26419,
55,
500,
2467,
16,
28869,
1114,
1299,
2568,
3288,
16,
28869,
1114,
21671,
16,
28869,
... |
def all_deps(self, filename, path=None): | def all_deps(self, filename, ext_module, path=None): | def all_deps(self, filename, path=None): """ Returns all files directly or indirectly referenced by this file. | 031b02486f3aa60bbe6ec46c81307116288d5734 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/031b02486f3aa60bbe6ec46c81307116288d5734/setup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
777,
67,
14877,
12,
2890,
16,
1544,
16,
1110,
67,
2978,
16,
589,
33,
7036,
4672,
3536,
2860,
777,
1390,
5122,
578,
16807,
715,
8042,
635,
333,
585,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
777,
67,
14877,
12,
2890,
16,
1544,
16,
1110,
67,
2978,
16,
589,
33,
7036,
4672,
3536,
2860,
777,
1390,
5122,
578,
16807,
715,
8042,
635,
333,
585,
18,
2,
-100,
-100,
-100,
-100,
-100,... |
args = string.translate(match.group(2), commatospace) args = map(float, split(args)) | args = argsf = string.translate(match.group(2), commatospace) args = map(str, split(args)) | def parse_transform(self, trafo_string): trafo = self.trafo #print trafo trafo_string = as_latin1(trafo_string) while trafo_string: #print trafo_string match = rx_trafo.match(trafo_string) if match: function = match.group(1) args = string.translate(match.group(2), commatospace) args = map(float, split(args)) trafo_stri... | 20f97a1a1862b824365b83f00419d19bd29be2c5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3123/20f97a1a1862b824365b83f00419d19bd29be2c5/svgloader.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
6547,
12,
2890,
16,
1284,
617,
67,
1080,
4672,
1284,
617,
273,
365,
18,
2033,
617,
468,
1188,
1284,
617,
1284,
617,
67,
1080,
273,
487,
67,
26578,
21,
12,
2033,
617,
67,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
6547,
12,
2890,
16,
1284,
617,
67,
1080,
4672,
1284,
617,
273,
365,
18,
2033,
617,
468,
1188,
1284,
617,
1284,
617,
67,
1080,
273,
487,
67,
26578,
21,
12,
2033,
617,
67,
10... |
_StartInstanceDisks(self.cfg, inst, None) | _StartInstanceDisks(self, inst, None) | def Exec(self, feedback_fn): """Reinstall the instance. | b9bddb6bdf7ac5841c732845ce0122c64bb026b1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/b9bddb6bdf7ac5841c732845ce0122c64bb026b1/cmdlib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3889,
12,
2890,
16,
10762,
67,
4293,
4672,
3536,
426,
5425,
326,
791,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3889,
12,
2890,
16,
10762,
67,
4293,
4672,
3536,
426,
5425,
326,
791,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
install_descriptor = env.Install( install_dirs.lib+'/pkgconfig', lib_descriptor ) install_soname = env.SonameLink( install_dirs.lib + '/' + soname, install_lib ) install_linkername = env.LinkerNameLink( install_dirs.lib+'/'+linker_name, install_lib) | env.Depends(install_lib, [linkername_lib, soname_lib] ) install_descriptor = env.Install( install_dirs.pc, pcfile ) install_soname = env.SonameLink( os.path.join( install_dirs.lib, soname), install_lib ) install_linkername = env.LinkerNameLink( os.path.join(install_dirs.lib,linker_name), install_lib) | def posix_lib_rules( name, version, headers, sources, install_dirs, env, moduleDependencies=[]) : #for file in sources : # print "file to compile: " + str(file) lib_descriptor = env.File( 'clam_'+name+'.pc' ) # We expect a version like " X.Y-possibleextrachars " versionnumbers = version.split('.') libversion = "%s%s.... | 4e6fc18a4b043b553e20f344f8b3d30856a2b3be /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1456/4e6fc18a4b043b553e20f344f8b3d30856a2b3be/clam_build_helpers.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16366,
67,
2941,
67,
7482,
12,
508,
16,
1177,
16,
1607,
16,
5550,
16,
3799,
67,
8291,
16,
1550,
16,
1605,
8053,
22850,
5717,
294,
225,
468,
1884,
585,
316,
5550,
294,
468,
202,
1188,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16366,
67,
2941,
67,
7482,
12,
508,
16,
1177,
16,
1607,
16,
5550,
16,
3799,
67,
8291,
16,
1550,
16,
1605,
8053,
22850,
5717,
294,
225,
468,
1884,
585,
316,
5550,
294,
468,
202,
1188,
... |
version = "$Id: delta.py,v 1.6 2005-06-16 19:16:33 eefi Exp $"[1:-1] | version = "$Id: delta.py,v 1.7 2005-06-16 19:47:22 eefi Exp $"[1:-1] | def main(): testFiles = [] diffFiles = [] assumptions = Set() global ploughOn # even if error ploughOn = 0 global verbose global lumped verbose = 0 lumped = 1 try: opts, args = getopt.getopt(sys.argv[1:], "hf:t:m:v:g", ["help", "from=", "to=", "meta=", "verbose=", "granularity="]) except getopt.GetoptError: # print hel... | e0cdb64d330d757535e0c2962e618a137239e623 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/e0cdb64d330d757535e0c2962e618a137239e623/delta.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
1842,
2697,
273,
5378,
3122,
2697,
273,
5378,
6287,
573,
273,
1000,
1435,
2552,
293,
383,
2127,
1398,
468,
5456,
309,
555,
293,
383,
2127,
1398,
273,
374,
2552,
3988,
2552,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
2697,
273,
5378,
3122,
2697,
273,
5378,
6287,
573,
273,
1000,
1435,
2552,
293,
383,
2127,
1398,
468,
5456,
309,
555,
293,
383,
2127,
1398,
273,
374,
2552,
3988,
2552,
... |
sage: user.set_hashed_password(self, 'Crrc!') | sage: user.set_hashed_password('Crrc!') | def set_hashed_password(self, password): """ sage: from sage.server.notebook.user import User sage: user = User('bob', 'Aisfa!!', 'bob@pizzaisyummy.net', 'admin') sage: user.set_hashed_password(self, 'Crrc!') sage: user.password() 'Crrc!' """ self.__password = password | ec61e8f90e0d9ac7561ed74fc06d3a6e3fa01ee4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/ec61e8f90e0d9ac7561ed74fc06d3a6e3fa01ee4/user.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
2816,
329,
67,
3664,
12,
2890,
16,
2201,
4672,
3536,
272,
410,
30,
628,
272,
410,
18,
3567,
18,
24422,
18,
1355,
1930,
2177,
272,
410,
30,
729,
273,
2177,
2668,
70,
947,
218... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
2816,
329,
67,
3664,
12,
2890,
16,
2201,
4672,
3536,
272,
410,
30,
628,
272,
410,
18,
3567,
18,
24422,
18,
1355,
1930,
2177,
272,
410,
30,
729,
273,
2177,
2668,
70,
947,
218... |
def addAnnotation(self, annType, imPos, rad, tags=None, doResize=True, **kargs): | def addAnnotation(self, annType, imPos, rad, tags=None, isImSize=True, **kargs): | def addAnnotation(self, annType, imPos, rad, tags=None, doResize=True, **kargs): """Add an annotation. | 862ddc6db44e0f15ce4be898eafea39343ed98b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6236/862ddc6db44e0f15ce4be898eafea39343ed98b7/GrayImageDispWdg.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24145,
12,
2890,
16,
8226,
559,
16,
709,
1616,
16,
6719,
16,
2342,
33,
7036,
16,
353,
1170,
1225,
33,
5510,
16,
2826,
79,
1968,
4672,
3536,
986,
392,
3204,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24145,
12,
2890,
16,
8226,
559,
16,
709,
1616,
16,
6719,
16,
2342,
33,
7036,
16,
353,
1170,
1225,
33,
5510,
16,
2826,
79,
1968,
4672,
3536,
986,
392,
3204,
18,
2,
-100,
-100,
-100,
-... |
self._CollectModuleMapBuffer(MapBuffer, ModuleList) | if self.LoadFixAddress != 0: self._CollectModuleMapBuffer(MapBuffer, ModuleList) | def _BuildPlatform(self): for BuildTarget in self.BuildTargetList: for ToolChain in self.ToolChainList: Wa = WorkspaceAutoGen( self.WorkspaceDir, self.Platform, BuildTarget, ToolChain, self.ArchList, self.BuildDatabase, self.TargetTxt, self.ToolDef, self.Fdf, self.FdList, self.FvList, self.SkuId ) self.BuildReport.AddP... | 9ff69f35c75043c955fc92ca465db39f6bf1ead5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/914/9ff69f35c75043c955fc92ca465db39f6bf1ead5/build.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3116,
8201,
12,
2890,
4672,
364,
3998,
2326,
316,
365,
18,
3116,
2326,
682,
30,
364,
13288,
3893,
316,
365,
18,
6364,
3893,
682,
30,
678,
69,
273,
14396,
4965,
7642,
12,
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,
389,
3116,
8201,
12,
2890,
4672,
364,
3998,
2326,
316,
365,
18,
3116,
2326,
682,
30,
364,
13288,
3893,
316,
365,
18,
6364,
3893,
682,
30,
678,
69,
273,
14396,
4965,
7642,
12,
365,
18,
... |
pass def check_log_neg(self): """ Later have log(-1) raise warning, not error """ try: val = logn(3,-1) assert(0) except ValueError: | def check_log_0(self): """ Later have log(0) raise warning, not error """ try: val = logn(3,0) assert(0) except OverflowError: pass | c9316d1d2ba5e114019481f968becf25226dff17 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/c9316d1d2ba5e114019481f968becf25226dff17/test_misc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
1330,
67,
20,
12,
2890,
4672,
3536,
511,
2045,
1240,
613,
12,
20,
13,
1002,
3436,
16,
486,
555,
3536,
775,
30,
1244,
273,
613,
82,
12,
23,
16,
20,
13,
1815,
12,
20,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
1330,
67,
20,
12,
2890,
4672,
3536,
511,
2045,
1240,
613,
12,
20,
13,
1002,
3436,
16,
486,
555,
3536,
775,
30,
1244,
273,
613,
82,
12,
23,
16,
20,
13,
1815,
12,
20,
13,
... | |
<<<<<<< HEAD:pylal/bin/makeCheckList.py | def getFileMatchingTrigger(jobname,string_id,file_list=False): if os.access(jobname,os.F_OK): filesInDir = os.listdir(jobname) fileList = [] for paramFile in filesInDir: if fnmatch.fnmatch(paramFile, "*"+string_id+"*.html"): if file_list: fileList.append("../"+jobname+"/"+paramFile) else: return "../"+jobname+"/"+param... | 5817daa1a441fb0b130af380bec1b5875307e6e4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/5817daa1a441fb0b130af380bec1b5875307e6e4/makeCheckList.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6034,
9517,
6518,
12,
4688,
529,
16,
1080,
67,
350,
16,
768,
67,
1098,
33,
8381,
4672,
309,
1140,
18,
3860,
12,
4688,
529,
16,
538,
18,
42,
67,
3141,
4672,
1390,
382,
1621,
273,
1140... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6034,
9517,
6518,
12,
4688,
529,
16,
1080,
67,
350,
16,
768,
67,
1098,
33,
8381,
4672,
309,
1140,
18,
3860,
12,
4688,
529,
16,
538,
18,
42,
67,
3141,
4672,
1390,
382,
1621,
273,
1140... | |
for GL_CLIP_PLANEi in self.clip_planes: glDisable(GL_CLIP_PLANEi) | for plane_i in self.clip_planes: glDisable(clip_constants[plane_i]) | def draw(self, selection_box=None): # gl_context sensitive method # This function is called when the color and depth buffers have to be # refreshed, or when the user points to an object and you want to # identify it. viewport = glGetIntegerv(GL_VIEWPORT) width = viewport[2] height = viewport[3] universe = context.appli... | e938fe9cb31891551a5add5eda4566b18297a74a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11052/e938fe9cb31891551a5add5eda4566b18297a74a/scene.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
12,
2890,
16,
4421,
67,
2147,
33,
7036,
4672,
468,
5118,
67,
2472,
16692,
707,
468,
1220,
445,
353,
2566,
1347,
326,
2036,
471,
3598,
9664,
1240,
358,
506,
468,
27880,
16,
578,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16,
4421,
67,
2147,
33,
7036,
4672,
468,
5118,
67,
2472,
16692,
707,
468,
1220,
445,
353,
2566,
1347,
326,
2036,
471,
3598,
9664,
1240,
358,
506,
468,
27880,
16,
578,
1... |
self.assert_(isinstance(vi, tuple)) | self.assert_(isinstance(vi[:], tuple)) | def test_attributes(self): self.assert_(isinstance(sys.api_version, int)) self.assert_(isinstance(sys.argv, list)) self.assert_(sys.byteorder in ("little", "big")) self.assert_(isinstance(sys.builtin_module_names, tuple)) self.assert_(isinstance(sys.copyright, basestring)) self.assert_(isinstance(sys.exec_prefix, bases... | 4521252960c005c0f149a67b90cc0baf46a54471 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/4521252960c005c0f149a67b90cc0baf46a54471/test_sys.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
4350,
12,
2890,
4672,
365,
18,
11231,
67,
12,
291,
1336,
12,
9499,
18,
2425,
67,
1589,
16,
509,
3719,
365,
18,
11231,
67,
12,
291,
1336,
12,
9499,
18,
19485,
16,
666,
3719,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4350,
12,
2890,
4672,
365,
18,
11231,
67,
12,
291,
1336,
12,
9499,
18,
2425,
67,
1589,
16,
509,
3719,
365,
18,
11231,
67,
12,
291,
1336,
12,
9499,
18,
19485,
16,
666,
3719,... |
msgName = operation.getOutputMessage().name | msgName = operation.output.name if not msgName: msgName = operation.name + 'Response' | def GetWSAActionOutput(operation): """Find wsa:Action attribute, and return value or the default.""" attr = operation.output.action if attr is not None: return attr.value targetNamespace = operation.getPortType().getWSDL().targetNamespace ptName = operation.getPortType().name msgName = operation.getOutputMessage().name... | 717c9537839cf2655e5eb151c8cd820c699ea538 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13054/717c9537839cf2655e5eb151c8cd820c699ea538/WSDLTools.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
2651,
37,
1803,
1447,
12,
7624,
4672,
3536,
3125,
4945,
69,
30,
1803,
1566,
16,
471,
327,
460,
578,
326,
805,
12123,
1604,
273,
1674,
18,
2844,
18,
1128,
309,
1604,
353,
486,
599,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
2651,
37,
1803,
1447,
12,
7624,
4672,
3536,
3125,
4945,
69,
30,
1803,
1566,
16,
471,
327,
460,
578,
326,
805,
12123,
1604,
273,
1674,
18,
2844,
18,
1128,
309,
1604,
353,
486,
599,... |
if self.closed: raise ValueError, "I/O operation on closed file" | _complain_ifclosed(self.closed) | def flush(self): if self.closed: raise ValueError, "I/O operation on closed file" | 5166db7c9a6294c039dc958e33d19139c1282f92 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/5166db7c9a6294c039dc958e33d19139c1282f92/StringIO.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3663,
12,
2890,
4672,
309,
365,
18,
12204,
30,
1002,
2068,
16,
315,
45,
19,
51,
1674,
603,
4375,
585,
6,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3663,
12,
2890,
4672,
309,
365,
18,
12204,
30,
1002,
2068,
16,
315,
45,
19,
51,
1674,
603,
4375,
585,
6,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
candidates.sort(cmp=lambda x,y: cmp(len(x), len(y)), reverse=True) return candidates[0] | return ': '.join(candidates) | def get_title(self, entry): candidates = [x.text for x in title(entry)] candidates.sort(cmp=lambda x,y: cmp(len(x), len(y)), reverse=True) return candidates[0] | 209980eb0442a0c254100c4415b63a9b46c01e83 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/209980eb0442a0c254100c4415b63a9b46c01e83/google_books.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2649,
12,
2890,
16,
1241,
4672,
7965,
273,
306,
92,
18,
955,
364,
619,
316,
2077,
12,
4099,
25887,
7965,
18,
3804,
12,
9625,
33,
14661,
619,
16,
93,
30,
9411,
12,
1897,
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,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2649,
12,
2890,
16,
1241,
4672,
7965,
273,
306,
92,
18,
955,
364,
619,
316,
2077,
12,
4099,
25887,
7965,
18,
3804,
12,
9625,
33,
14661,
619,
16,
93,
30,
9411,
12,
1897,
12,
... |
@param str: a string as a user enters it for Search Text in Core | @param searchstr: a string as a user enters it for Search Text in Core | def FindBinary(ea, flag, str, radix=16): """ @param ea: start address @param flag: combination of SEARCH_* flags @param str: a string as a user enters it for Search Text in Core @param radix: radix of the numbers (default=16) @return: ea of result or BADADDR if not found @note: Example: "41 42" - find 2 bytes 41h,42h... | 76aa24fecdace41c9fc827e500b95cfdf5053272 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4773/76aa24fecdace41c9fc827e500b95cfdf5053272/idc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4163,
5905,
12,
24852,
16,
2982,
16,
609,
16,
19015,
33,
2313,
4672,
3536,
632,
891,
24164,
30,
787,
1758,
632,
891,
2982,
30,
10702,
434,
24053,
67,
14,
2943,
632,
891,
1623,
701,
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,
4163,
5905,
12,
24852,
16,
2982,
16,
609,
16,
19015,
33,
2313,
4672,
3536,
632,
891,
24164,
30,
787,
1758,
632,
891,
2982,
30,
10702,
434,
24053,
67,
14,
2943,
632,
891,
1623,
701,
30,... |
params['quality_log'] = '\n'.join(data['quality_log']) | params['quality_log'] = base64.encodestring('\n'.join(data['quality_log'])) | def create_test_step_log(step_object = None, step_name = ''): source = step_object.build.builder.test_ids properties = step_object.build.builder.openerp_properties openerp_host = properties.get('openerp_host', 'localhost') openerp_port = properties.get('openerp_port',8069) openerp_dbname = properties.get('openerp_dbnam... | 6d6c07318e72f2cfd641fd0e817cf381725a024d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12355/6d6c07318e72f2cfd641fd0e817cf381725a024d/buildstep.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
3813,
67,
4119,
67,
1330,
12,
4119,
67,
1612,
273,
599,
16,
2235,
67,
529,
273,
875,
4672,
1084,
273,
2235,
67,
1612,
18,
3510,
18,
9574,
18,
3813,
67,
2232,
1790,
273,
2235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
3813,
67,
4119,
67,
1330,
12,
4119,
67,
1612,
273,
599,
16,
2235,
67,
529,
273,
875,
4672,
1084,
273,
2235,
67,
1612,
18,
3510,
18,
9574,
18,
3813,
67,
2232,
1790,
273,
2235... |
self.out.append( '\\end{verbatim}\n' ) self.verbatim = False | self.depart_literal_block(node) | def depart_doctest_block(self, node): self.out.append( '\\end{verbatim}\n' ) self.verbatim = False | 076d00bd0605d15972b6cbdbbe03a606124d2cc8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8194/076d00bd0605d15972b6cbdbbe03a606124d2cc8/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
26000,
67,
2896,
299,
395,
67,
2629,
12,
2890,
16,
756,
4672,
365,
18,
659,
18,
6923,
12,
3718,
409,
95,
16629,
22204,
6280,
82,
11,
262,
365,
18,
16629,
22204,
273,
1083,
2,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
26000,
67,
2896,
299,
395,
67,
2629,
12,
2890,
16,
756,
4672,
365,
18,
659,
18,
6923,
12,
3718,
409,
95,
16629,
22204,
6280,
82,
11,
262,
365,
18,
16629,
22204,
273,
1083,
2,
-100,
-... |
out, errs = self.runcmd("gdb --batch " + "-ex 'break main' -ex 'run' -ex 'step' link/testtmp </dev/null") self.assert_equal(errs, '') | f = open('gdb_commands', 'w') f.write('break main\nrun\nstep\n') f.close() out, errs = self.runcmd("gdb --batch --command=gdb_commands " "link/testtmp </dev/null") error_message = 'Failed to read a valid object file image from memory.\n' if errs: self.assert_equal(errs, error_message) | def checkBuiltProgram(self): # Run gdb and verify that it is able to correctly locate the # testtmp.c source file. out, errs = self.runcmd("gdb --batch " + "-ex 'break main' -ex 'run' -ex 'step' link/testtmp </dev/null") self.assert_equal(errs, '') self.assert_re_search('puts\\(HELLO_WORLD\\);', out) self.assert_re_sea... | fdaf4c739372bb2a573823fa0779dc82dc60ac67 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7392/fdaf4c739372bb2a573823fa0779dc82dc60ac67/testdistcc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
16409,
9459,
12,
2890,
4672,
468,
1939,
314,
1966,
471,
3929,
716,
518,
353,
7752,
358,
8783,
10627,
326,
468,
1842,
5645,
18,
71,
1084,
585,
18,
565,
284,
273,
1696,
2668,
75,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
16409,
9459,
12,
2890,
4672,
468,
1939,
314,
1966,
471,
3929,
716,
518,
353,
7752,
358,
8783,
10627,
326,
468,
1842,
5645,
18,
71,
1084,
585,
18,
565,
284,
273,
1696,
2668,
75,
19... |
res[-1]['tax_code_id'] = tax['base_code_id'] res[-1]['tax_amount'] = tax['price_unit'] * line['quantity'] * tax['base_sign'] | tax_code_id = tax['base_code_id'] tax_amount = tax['price_unit'] * \ line['quantity'] * tax['base_sign'] | def move_line_get(self, cr, uid, invoice_id, context={}): res = [] tax_grouped = {} tax_obj = self.pool.get('account.tax') cur_obj = self.pool.get('res.currency') ait_obj = self.pool.get('account.invoice.tax') inv = self.pool.get('account.invoice').browse(cr, uid, invoice_id) cur = inv.currency_id | 2dc533b969687458f10362d76b0d0320bfe478db /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/2dc533b969687458f10362d76b0d0320bfe478db/invoice.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
67,
1369,
67,
588,
12,
2890,
16,
4422,
16,
4555,
16,
9179,
67,
350,
16,
819,
12938,
4672,
400,
273,
5378,
5320,
67,
25472,
273,
2618,
5320,
67,
2603,
273,
365,
18,
6011,
18,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
67,
1369,
67,
588,
12,
2890,
16,
4422,
16,
4555,
16,
9179,
67,
350,
16,
819,
12938,
4672,
400,
273,
5378,
5320,
67,
25472,
273,
2618,
5320,
67,
2603,
273,
365,
18,
6011,
18,
58... |
"Retrieve saved game." | "Retrieve saved game." | def thaw(): "Retrieve saved game." game.passwd[0] = '\0' key = scanner.next() if key == "IHEOL": proutn(_("File name: ")) key = scanner.next() if key != "IHALPHA": huh() return True scanner.chew() if '.' not in scanner.token: scanner.token += ".trk" try: fp = open(scanner.token, "rb") except IOError: prout(_("Can't tha... | eafdd35f1af1e4e93d3609a0adbe768b562907e0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3176/eafdd35f1af1e4e93d3609a0adbe768b562907e0/sst.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
286,
2219,
13332,
315,
5767,
5198,
7920,
1199,
7920,
18,
24002,
63,
20,
65,
273,
2337,
20,
11,
498,
273,
7683,
18,
4285,
1435,
309,
498,
422,
315,
45,
3900,
1741,
6877,
450,
322,
82,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
286,
2219,
13332,
315,
5767,
5198,
7920,
1199,
7920,
18,
24002,
63,
20,
65,
273,
2337,
20,
11,
498,
273,
7683,
18,
4285,
1435,
309,
498,
422,
315,
45,
3900,
1741,
6877,
450,
322,
82,
... |
TabPageLayout_6.addItem(spacer47,0,1) | TabPageLayout_7.addItem(spacer47,0,1) | def __init__(self,parent = None,name = None,modal = 0,fl = 0): QDialog.__init__(self,parent,name,modal,fl) | 7cc18611a6df93ebc9707a8878e31fb8451f8ff6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/7cc18611a6df93ebc9707a8878e31fb8451f8ff6/UserPrefsDialog.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
273,
599,
16,
529,
273,
599,
16,
17638,
273,
374,
16,
2242,
273,
374,
4672,
2238,
6353,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
17638,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
273,
599,
16,
529,
273,
599,
16,
17638,
273,
374,
16,
2242,
273,
374,
4672,
2238,
6353,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
17638,
... |
move = False; | no_move = True | def Parse(self, name, oname=None): self.files_open(name,oname) #self.begin_ncblock() #self.begin_path(None) #self.add_line(z=500) #self.end_path() #self.end_ncblock() path_col = None f = None arc = 0 | 9819f19aa4c4ab39b057b35d4cd7e3ad69069bae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12576/9819f19aa4c4ab39b057b35d4cd7e3ad69069bae/iso_read.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2884,
12,
2890,
16,
508,
16,
603,
339,
33,
7036,
4672,
365,
18,
2354,
67,
3190,
12,
529,
16,
265,
339,
13,
225,
468,
2890,
18,
10086,
67,
14202,
2629,
1435,
468,
2890,
18,
10086,
67,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2884,
12,
2890,
16,
508,
16,
603,
339,
33,
7036,
4672,
365,
18,
2354,
67,
3190,
12,
529,
16,
265,
339,
13,
225,
468,
2890,
18,
10086,
67,
14202,
2629,
1435,
468,
2890,
18,
10086,
67,... |
oldnode = self.node_filters(oldnode) if hasattr(oldnode, 'gwikiremove'): continue | if oldnode: oldnode = self.node_filters(oldnode) if hasattr(oldnode, 'gwikiremove'): continue | def traverse(self, outgraph, nodes): newnodes = nodes | 9d182c77eb012f5a1c544a716c4514e94e52fd76 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/9d182c77eb012f5a1c544a716c4514e94e52fd76/ShowGraph.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10080,
12,
2890,
16,
596,
4660,
16,
2199,
4672,
394,
4690,
273,
2199,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10080,
12,
2890,
16,
596,
4660,
16,
2199,
4672,
394,
4690,
273,
2199,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
def fl_set_browser_dblclick_callback(ob, pycb, a): """ fl_set_browser_dblclick_callback(ob, pycb, a) """ | def fl_set_browser_dblclick_callback(pObject, pycb, a): """ fl_set_browser_dblclick_callback(pObject, pycb, a) """ | def fl_set_browser_dblclick_callback(ob, pycb, a): """ fl_set_browser_dblclick_callback(ob, pycb, a) """ c_cb = FL_CALLBACKPTR(pycb) _cfunc_refs[get_rand_dictkey()] = c_cb _fl_set_browser_dblclick_callback(ob, c_cb, a) | 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,
67,
542,
67,
11213,
67,
1966,
80,
7475,
67,
3394,
12,
84,
921,
16,
2395,
7358,
16,
279,
4672,
3536,
1183,
67,
542,
67,
11213,
67,
1966,
80,
7475,
67,
3394,
12,
84,
921,
16,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
542,
67,
11213,
67,
1966,
80,
7475,
67,
3394,
12,
84,
921,
16,
2395,
7358,
16,
279,
4672,
3536,
1183,
67,
542,
67,
11213,
67,
1966,
80,
7475,
67,
3394,
12,
84,
921,
16,
2... |
"redhat-config-securitylevel", "rhn-applet", "rhnlib", "rhpl", | "redhat-config-securitylevel", "redhat-logos", "redhat-release", "rhn-applet", "rhnlib", "rhpl", | def extractSrpm(pkg, pkgdir, filecache, repodir, oldpkg): files = pkg.getFilenames() i = pkg.getSpecfile(files) specfile = files[i] if os.path.exists("%s/%s" % (pkgdir, specfile)): checksum = getChecksum("%s/%s" % (pkgdir, specfile)) # same spec file in repo and in rpm: nothing to do if checksum == pkg["filemd5s"][i]:... | d4a3970fa3f1947aabfdd4eca421bbf58568d6ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/d4a3970fa3f1947aabfdd4eca421bbf58568d6ba/oldpyrpm.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
55,
86,
7755,
12,
10657,
16,
3475,
1214,
16,
585,
2493,
16,
2071,
369,
481,
16,
1592,
10657,
4672,
1390,
273,
3475,
18,
588,
25579,
6809,
1435,
277,
273,
3475,
18,
588,
1990,
768... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
55,
86,
7755,
12,
10657,
16,
3475,
1214,
16,
585,
2493,
16,
2071,
369,
481,
16,
1592,
10657,
4672,
1390,
273,
3475,
18,
588,
25579,
6809,
1435,
277,
273,
3475,
18,
588,
1990,
768... |
if event == PLAY_END and event.arg: self.player.stop() if self.try_next_player(): return True if event in ( STOP, PLAY_END, USER_END ): | if event == STOP: | def eventhandler(self, event): """ React on some events or send them to the real player or the item belongig to the player """ if event == PLAY_END and event.arg: self.player.stop() if self.try_next_player(): return True if event in ( STOP, PLAY_END, USER_END ): self.stop() return self.item.eventhandler(event) | c625fd022e9c07023fcf392ffa3303e8d2b32768 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/c625fd022e9c07023fcf392ffa3303e8d2b32768/player.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
4176,
12,
2890,
16,
871,
4672,
3536,
13732,
603,
2690,
2641,
578,
1366,
2182,
358,
326,
2863,
7291,
578,
326,
761,
10957,
360,
358,
326,
7291,
3536,
282,
309,
871,
422,
17815,
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,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
4176,
12,
2890,
16,
871,
4672,
3536,
13732,
603,
2690,
2641,
578,
1366,
2182,
358,
326,
2863,
7291,
578,
326,
761,
10957,
360,
358,
326,
7291,
3536,
282,
309,
871,
422,
17815,
30,
... |
break return off_source_segment, list(ifo_combo) | if off_source_segment.duration()==(1+max_trials)*on_source.duration()+2*padding_time: return off_source_segment, list(ifo_combo) return None, [] | def multi_ifo_compute_offsource_segment(analyzable_dict, on_source, **kwargs): """ Return the off-source segment determined for multiple IFO times along with the IFO combo that determined that segment. Calls compute_offsource_segment as necessary, passing all kwargs as necessary. """ # sieve down to relevant segments ... | 56d34618858cf3a95544bac51ec0c731ae71be5e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/56d34618858cf3a95544bac51ec0c731ae71be5e/grbsummary.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3309,
67,
20299,
67,
9200,
67,
26600,
552,
67,
9273,
12,
304,
4647,
429,
67,
1576,
16,
603,
67,
3168,
16,
2826,
4333,
4672,
3536,
2000,
326,
3397,
17,
3168,
3267,
11383,
364,
3229,
467... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3309,
67,
20299,
67,
9200,
67,
26600,
552,
67,
9273,
12,
304,
4647,
429,
67,
1576,
16,
603,
67,
3168,
16,
2826,
4333,
4672,
3536,
2000,
326,
3397,
17,
3168,
3267,
11383,
364,
3229,
467... |
if callable(default): default = default() if isinstance(default, basestring): default = "'%s'" % default.replace("'", "''") elif isinstance(default, datetime.date): default = "'%s'" % default sql += " DEFAULT %s" sqlparams = (default) | if default is not None: if callable(default): default = default() if isinstance(default, basestring): default = "'%s'" % default.replace("'", "''") elif isinstance(default, datetime.date): default = "'%s'" % default sql += " DEFAULT %s" sqlparams = (default) | def column_sql(self, table_name, field_name, field, tablespace=''): """ Creates the SQL snippet for a column. Used by add_column and add_table. """ qn = connection.ops.quote_name | 228cb922ff8e03548162d5b541caeaa9bcab42ad /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13142/228cb922ff8e03548162d5b541caeaa9bcab42ad/generic.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1057,
67,
4669,
12,
2890,
16,
1014,
67,
529,
16,
652,
67,
529,
16,
652,
16,
4606,
909,
2218,
11,
4672,
3536,
10210,
326,
3063,
13016,
364,
279,
1057,
18,
10286,
635,
527,
67,
2827,
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,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1057,
67,
4669,
12,
2890,
16,
1014,
67,
529,
16,
652,
67,
529,
16,
652,
16,
4606,
909,
2218,
11,
4672,
3536,
10210,
326,
3063,
13016,
364,
279,
1057,
18,
10286,
635,
527,
67,
2827,
4... |
return pygments.highlight(data, lexer, HtmlFormatter()).splitlines() | return pygments.highlight(data, lexer, NoWrapperHtmlFormatter()).splitlines() | def apply_pygments(data, filename): # XXX Guessing is preferable but really slow, especially on XML # files. #if filename.endswith(".xml"): lexer = get_lexer_for_filename(filename, stripnl=False, encoding='utf-8') #else: # lexer = guess_lexer_for_filename(filename, data, stripnl=False) | 15860e8ec75844bb97196c1eb75fabe7d38c3b93 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1600/15860e8ec75844bb97196c1eb75fabe7d38c3b93/diffutils.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2230,
67,
2074,
75,
1346,
12,
892,
16,
1544,
4672,
468,
11329,
30282,
310,
353,
13256,
429,
1496,
8654,
11816,
16,
29440,
603,
3167,
468,
377,
1390,
18,
468,
430,
1544,
18,
5839,
1918,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2230,
67,
2074,
75,
1346,
12,
892,
16,
1544,
4672,
468,
11329,
30282,
310,
353,
13256,
429,
1496,
8654,
11816,
16,
29440,
603,
3167,
468,
377,
1390,
18,
468,
430,
1544,
18,
5839,
1918,
... |
(instance.name, result.stdout, result.stderr, result.fail_reason)) | (command, instance_name, result.stdout, result.stderr, result.fail_reason)) | def _CallMonitorCommand(self, instance_name, command): """Invoke a command on the instance monitor. | 9798fcae7b05028177f442c90d432c2e298a4c48 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/9798fcae7b05028177f442c90d432c2e298a4c48/hv_kvm.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1477,
7187,
2189,
12,
2890,
16,
791,
67,
529,
16,
1296,
4672,
3536,
10969,
279,
1296,
603,
326,
791,
6438,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1477,
7187,
2189,
12,
2890,
16,
791,
67,
529,
16,
1296,
4672,
3536,
10969,
279,
1296,
603,
326,
791,
6438,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
def dispatch_depart(self, node, method_name): | def dispatch_departure(self, node, method_name): | def dispatch_depart(self, node, method_name): method = getattr(self, 'depart_' + method_name, self.unknown_departure) return method(node) | d8675c9c45c0a12e21b9b26f33f8ec324d406168 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/d8675c9c45c0a12e21b9b26f33f8ec324d406168/nodes.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3435,
67,
323,
2680,
594,
12,
2890,
16,
756,
16,
707,
67,
529,
4672,
707,
273,
3869,
12,
2890,
16,
296,
323,
2680,
4623,
397,
707,
67,
529,
16,
365,
18,
8172,
67,
323,
2680,
594,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3435,
67,
323,
2680,
594,
12,
2890,
16,
756,
16,
707,
67,
529,
4672,
707,
273,
3869,
12,
2890,
16,
296,
323,
2680,
4623,
397,
707,
67,
529,
16,
365,
18,
8172,
67,
323,
2680,
594,
1... |
convert_unicode = True | conn_params['engine_kwargs']['convert_unicode'] = True conn_params['engine_kwargs']['pool_recycle'] = int(config.get('pool_recycle', 3600, section='database')) | def __init__(self, config, griffith_dir, fallback=True): #mapper = Session.mapper self.config = config self.data_dir = griffith_dir | 99f25dfdd3c0a9ef6970a2f3a8bb4c4ac4090c3d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2687/99f25dfdd3c0a9ef6970a2f3a8bb4c4ac4090c3d/sql.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
642,
16,
3821,
3048,
483,
67,
1214,
16,
5922,
33,
5510,
4672,
468,
13919,
273,
3877,
18,
13919,
365,
18,
1425,
273,
642,
365,
18,
892,
67,
1214,
273,
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,
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,
642,
16,
3821,
3048,
483,
67,
1214,
16,
5922,
33,
5510,
4672,
468,
13919,
273,
3877,
18,
13919,
365,
18,
1425,
273,
642,
365,
18,
892,
67,
1214,
273,
3... |
if (not os.path.exists(f)) and '_' in iso_lang: | if (not f) and '_' in iso_lang: | def update_translations(self, cr, uid, ids, filter_lang=None, context={}): logger = logging.getLogger('i18n') if not filter_lang: pool = pooler.get_pool(cr.dbname) lang_obj = pool.get('res.lang') lang_ids = lang_obj.search(cr, uid, [('translatable', '=', True)]) filter_lang = [lang.code for lang in lang_obj.browse(cr, ... | ad7090c219b5bf48019e18685e544b5d84865c13 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/ad7090c219b5bf48019e18685e544b5d84865c13/module.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
67,
13457,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
1034,
67,
4936,
33,
7036,
16,
819,
12938,
4672,
1194,
273,
2907,
18,
588,
3328,
2668,
77,
2643,
82,
6134,
309,
486,
1034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
67,
13457,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
1034,
67,
4936,
33,
7036,
16,
819,
12938,
4672,
1194,
273,
2907,
18,
588,
3328,
2668,
77,
2643,
82,
6134,
309,
486,
1034,
... |
for a in r.get_iterator(): | for a in r: | def _handle_PDB_exception(self, message, line_counter): """ This method catches an exception that occurs in the StructureBuilder object (if PERMISSIVE==1), or raises it again, this time adding the PDB line number to the error message. """ message="%s at line %i." % (message, line_counter) if self.PERMISSIVE: # just pri... | 45139bc26c13b1367f13203d5d2562c75233b508 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/45139bc26c13b1367f13203d5d2562c75233b508/PDBParser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4110,
67,
52,
2290,
67,
4064,
12,
2890,
16,
883,
16,
980,
67,
7476,
4672,
3536,
1220,
707,
1044,
281,
392,
1520,
716,
9938,
316,
326,
13348,
1263,
733,
261,
430,
10950,
7492,
1260... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4110,
67,
52,
2290,
67,
4064,
12,
2890,
16,
883,
16,
980,
67,
7476,
4672,
3536,
1220,
707,
1044,
281,
392,
1520,
716,
9938,
316,
326,
13348,
1263,
733,
261,
430,
10950,
7492,
1260... |
self._set_rect(maparea.rect) | if maparea is not None: self._set_rect(maparea.rect) | def from_maparea(cls, maparea, owner): self = super(XywhMapArea, cls).from_maparea(maparea, owner) self._set_rect(maparea.rect) return self | 81de20deaac2b084507ef02f4d0c7d8cef8d3dcf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3683/81de20deaac2b084507ef02f4d0c7d8cef8d3dcf/annotations.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
628,
67,
1458,
5036,
12,
6429,
16,
852,
5036,
16,
3410,
4672,
365,
273,
2240,
12,
60,
93,
3350,
863,
5484,
16,
2028,
2934,
2080,
67,
1458,
5036,
12,
1458,
5036,
16,
3410,
13,
309,
85... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
628,
67,
1458,
5036,
12,
6429,
16,
852,
5036,
16,
3410,
4672,
365,
273,
2240,
12,
60,
93,
3350,
863,
5484,
16,
2028,
2934,
2080,
67,
1458,
5036,
12,
1458,
5036,
16,
3410,
13,
309,
85... |
if crls: rpki.log.warn("CMS CRL support disabled due to an OpenSSL bug I haven't tracked down yet, ignoring CRL") crls = () | def sign(self, keypair, certs, crls = None, no_certs = False): """Sign and wrap inner content.""" | 7c36a0a73c06aeec425ce270b79c516bc1a8534c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/119/7c36a0a73c06aeec425ce270b79c516bc1a8534c/x509.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1573,
12,
2890,
16,
25298,
16,
13870,
16,
18789,
87,
273,
599,
16,
1158,
67,
24596,
273,
1083,
4672,
3536,
2766,
471,
2193,
3443,
913,
12123,
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,
1573,
12,
2890,
16,
25298,
16,
13870,
16,
18789,
87,
273,
599,
16,
1158,
67,
24596,
273,
1083,
4672,
3536,
2766,
471,
2193,
3443,
913,
12123,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... | |
op.add_option("-g", "--group-address", dest="groupAddrs", type="string", action="append", help="print only this group address(es) (can be repeated)", metavar="<GROUP ADDR>") op.add_option("-t", "--type", dest="types", action="append", choices=["%", "time", "temp"], help="convert value to specified type", metavar="<TYP... | op.add_option("-g", "--group-address", action="callback", callback=groupAddr_callback, help="Specify which group address(es) to print, and optionally " "what type to convert the value to") | def readParseAndPrint(devicesfilename, groupaddrfilename, infilenames, dumpGAtable, groupAddrs, types, flanksOnly, tail, plot): # # Read in all the files... # lines = [] for infilename in infilenames: try: inf = open(infilename, "r") except IOError: print "%s: Unable to open file: %s" %(sys.argv[0], infilename) sys.ex... | ed330f6b89df5e36da27e444855e0b166dc9eda1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10061/ed330f6b89df5e36da27e444855e0b166dc9eda1/knxmonitor_decoder.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
3201,
1876,
5108,
12,
12506,
3459,
16,
1041,
4793,
3459,
16,
316,
19875,
16,
4657,
43,
861,
429,
16,
1041,
13811,
16,
1953,
16,
1183,
19965,
3386,
16,
5798,
16,
3207,
4672,
225,
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,
855,
3201,
1876,
5108,
12,
12506,
3459,
16,
1041,
4793,
3459,
16,
316,
19875,
16,
4657,
43,
861,
429,
16,
1041,
13811,
16,
1953,
16,
1183,
19965,
3386,
16,
5798,
16,
3207,
4672,
225,
4... |
gdal2tiles.process() | gdal2tiles.process() | def generate_openlayers( self ): """ Template for openlayers.html implementing overlay of available Spherical Mercator layers. | c3d8df74eef052268add49773dc5efec101e76b2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10290/c3d8df74eef052268add49773dc5efec101e76b2/gdal2tiles.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
67,
3190,
10396,
12,
365,
262,
30,
3536,
5035,
364,
1696,
10396,
18,
2620,
19981,
9218,
434,
2319,
348,
21570,
490,
12610,
639,
6623,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
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,
2103,
67,
3190,
10396,
12,
365,
262,
30,
3536,
5035,
364,
1696,
10396,
18,
2620,
19981,
9218,
434,
2319,
348,
21570,
490,
12610,
639,
6623,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
3*zeta156^26 + 2*zeta156^13 - 3 | 3*zeta12^2 + 2*zeta12 - 3 | def jacobi_sum(self, char, check=True): """ Return the Jacobi sum associated to these Dirichlet characters (i.e., J(self,char)). | 9c9051916e82d8e6549f10cbafc69b92d5f2a89f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/9c9051916e82d8e6549f10cbafc69b92d5f2a89f/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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
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,
... |
return SearchResults(catalog, Query(Query.OP_AND, [self._xquery, xquery])) | return SearchResults(catalog, Query(OP_AND, [self._xquery, xquery])) | def search(self, query=None, **kw): catalog = self._catalog | 85023dcdde8b7afb3f3ab2553b9e226ae1122e12 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/85023dcdde8b7afb3f3ab2553b9e226ae1122e12/catalog.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1623,
12,
2890,
16,
843,
33,
7036,
16,
2826,
9987,
4672,
6222,
273,
365,
6315,
7199,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1623,
12,
2890,
16,
843,
33,
7036,
16,
2826,
9987,
4672,
6222,
273,
365,
6315,
7199,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
root = RO.Wdg.PythonTk() parentTL = root parentMenu = Tkinter.Menu(parentTL) parentTL["menu"] = parentMenu scriptMenu = getScriptMenu(parentMenu) parentMenu.add_cascade(label="Scripts", menu=scriptMenu) | root = Tkinter.Tk() newTl = RO.Wdg.Toplevel(root, title="Other") menuBar = Tkinter.Menu(root) root["menu"] = menuBar scriptMenu = getScriptMenu(menuBar) menuBar.add_cascade(label="Scripts", menu=scriptMenu) | def makeWdg(self, master): | f7f984453fea5c8a275532ae423e62bc0cf51828 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6236/f7f984453fea5c8a275532ae423e62bc0cf51828/ScriptMenu.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
59,
72,
75,
12,
2890,
16,
4171,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
59,
72,
75,
12,
2890,
16,
4171,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
return ('_'+name+'()'+\ | fname = name.replace('-', '_') return ('_'+fname+'()'+\ | def opts_and_words(name, op, words): opts = '|'.join(options(op)) words = '|'.join([w.replace("'", "\\'") for w in words]) return ('_'+name+'()'+\ | 1b828d5f33700d4755b26a80e5d9dcfd0cdd1830 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/1b828d5f33700d4755b26a80e5d9dcfd0cdd1830/linux.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1500,
67,
464,
67,
3753,
12,
529,
16,
1061,
16,
4511,
4672,
1500,
225,
273,
8030,
18,
5701,
12,
2116,
12,
556,
3719,
4511,
273,
8030,
18,
5701,
3816,
91,
18,
2079,
29823,
3113,
1548,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1500,
67,
464,
67,
3753,
12,
529,
16,
1061,
16,
4511,
4672,
1500,
225,
273,
8030,
18,
5701,
12,
2116,
12,
556,
3719,
4511,
273,
8030,
18,
5701,
3816,
91,
18,
2079,
29823,
3113,
1548,
... |
self.sliceplot.setData(self.getSlice(), norm=self.norm) | cset = self.sliceplot.setData(self.getSlice(), norm=self.norm) | def updateSlice(self): self.setNorm() self.sliceplot.setData(self.getSlice(), norm=self.norm) self.rowplot.setData(self.getRow()) self.colplot.setData(self.getCol()) self.status.cbar.setRange(self.sliceDataRange(), norm=self.norm) | 12103a63872d82631066300b2fbb6fbbaf4d63ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7241/12103a63872d82631066300b2fbb6fbbaf4d63ee/new_sliceview.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
5959,
12,
2890,
4672,
365,
18,
542,
14624,
1435,
276,
542,
273,
365,
18,
6665,
4032,
18,
542,
751,
12,
2890,
18,
588,
5959,
9334,
4651,
33,
2890,
18,
7959,
13,
365,
18,
492,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
5959,
12,
2890,
4672,
365,
18,
542,
14624,
1435,
276,
542,
273,
365,
18,
6665,
4032,
18,
542,
751,
12,
2890,
18,
588,
5959,
9334,
4651,
33,
2890,
18,
7959,
13,
365,
18,
492,
40... |
bb.methodpool.insert_method(funcname, text, fn) | bb.methodpool.insert_method(funcname, text, self.fn) | text = "def %s(d):\n" % (funcname) + '\n'.join(self.body) | 7cfe3a5e1548c97de8842cfffa8cecc0c6b01690 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8123/7cfe3a5e1548c97de8842cfffa8cecc0c6b01690/ast.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
977,
273,
315,
536,
738,
87,
12,
72,
4672,
64,
82,
6,
738,
261,
644,
529,
13,
397,
2337,
82,
10332,
5701,
12,
2890,
18,
3432,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
977,
273,
315,
536,
738,
87,
12,
72,
4672,
64,
82,
6,
738,
261,
644,
529,
13,
397,
2337,
82,
10332,
5701,
12,
2890,
18,
3432,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if not resultDict.has_key(siteFullName): | if not resultDict.has_key( siteFullName ): | def getSiteSummaryWeb(self,selectDict, sortList, startItem, maxItems): """ Get the summary of jobs in a given status on all the sites in the standard Web form """ | 99c1bc850ba087890925b3180df206f65bb1d4b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/99c1bc850ba087890925b3180df206f65bb1d4b3/JobDB.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11021,
4733,
4079,
12,
2890,
16,
4025,
5014,
16,
1524,
682,
16,
787,
1180,
16,
943,
3126,
4672,
3536,
968,
326,
4916,
434,
6550,
316,
279,
864,
1267,
603,
777,
326,
9180,
316,
326,
452... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11021,
4733,
4079,
12,
2890,
16,
4025,
5014,
16,
1524,
682,
16,
787,
1180,
16,
943,
3126,
4672,
3536,
968,
326,
4916,
434,
6550,
316,
279,
864,
1267,
603,
777,
326,
9180,
316,
326,
452... |
break except socket.error, EOFError: self.cleanupAfterError() print "Socket exception in the controller daemon" traceback.print_exc() | def controllerLoop(self): try: while True: self.connectToDownloader() try: self.listenLoop() print "Controller listen loop completed" break except socket.error, EOFError: # On socket errors, the downloader dies, but the # controller stays alive and restarts the downloader self.cleanupAfterError() print "Socket exceptio... | 931d41513640f9d30968362491535372d393afc4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/931d41513640f9d30968362491535372d393afc4/daemon.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2596,
6452,
12,
2890,
4672,
775,
30,
1323,
1053,
30,
365,
18,
3612,
774,
4164,
6714,
1435,
775,
30,
365,
18,
18085,
6452,
1435,
1172,
315,
2933,
6514,
2798,
5951,
6,
898,
1335,
2987,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2596,
6452,
12,
2890,
4672,
775,
30,
1323,
1053,
30,
365,
18,
3612,
774,
4164,
6714,
1435,
775,
30,
365,
18,
18085,
6452,
1435,
1172,
315,
2933,
6514,
2798,
5951,
6,
898,
1335,
2987,
1... | |
"list-saved", "purged-saved", "purge-failed", "comment-config"]) | "list-saved", "purge-saved", "purge-failed", "comment-config"]) | def _main(arglist): try: (argp, rest) = getopt.gnu_getopt(arglist[1:], "sdfrokc:h", longopts=["state", "daemon", "full-help", "run", "runonce", "kill", "config=", "set-default-config=", "help", "list-failed", "list-saved", "purged-saved", "purge-failed", "comment-config"]) except getopt.GetoptError: print >> sys.stde... | e0c39b87367080658afd1c2cb6444ebd5e10c5e0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1664/e0c39b87367080658afd1c2cb6444ebd5e10c5e0/rssdler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5254,
12,
3175,
1098,
4672,
775,
30,
261,
3175,
84,
16,
3127,
13,
273,
225,
336,
3838,
18,
1600,
89,
67,
588,
3838,
12,
3175,
1098,
63,
21,
30,
6487,
315,
87,
2180,
3250,
71,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5254,
12,
3175,
1098,
4672,
775,
30,
261,
3175,
84,
16,
3127,
13,
273,
225,
336,
3838,
18,
1600,
89,
67,
588,
3838,
12,
3175,
1098,
63,
21,
30,
6487,
315,
87,
2180,
3250,
71,
... |
data = sys.stdin.read(16) | data = sys.stdin.read(16).encode() | def MDFilter(): mdContext = md5() while 1: data = sys.stdin.read(16) if not data: break mdContext.update(data) MDPrint(mdContext.digest()) print() | fdbdd7a797e9b10cbe724bed4f700a7995695ac5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/fdbdd7a797e9b10cbe724bed4f700a7995695ac5/md5driver.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10852,
1586,
13332,
3481,
1042,
273,
3481,
25,
1435,
225,
1323,
404,
30,
501,
273,
2589,
18,
21772,
18,
896,
12,
2313,
2934,
3015,
1435,
309,
486,
501,
30,
898,
3481,
1042,
18,
2725,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10852,
1586,
13332,
3481,
1042,
273,
3481,
25,
1435,
225,
1323,
404,
30,
501,
273,
2589,
18,
21772,
18,
896,
12,
2313,
2934,
3015,
1435,
309,
486,
501,
30,
898,
3481,
1042,
18,
2725,
1... |
cwd = cwd or os.path.join(self._root_dir, self.relpath) | cwd = cwd or self.checkout_path | def _RunAndGetFileList(self, args, options, file_list, cwd=None): """Runs a commands that goes to stdout and grabs the file listed.""" cwd = cwd or os.path.join(self._root_dir, self.relpath) scm.SVN.RunAndGetFileList(options.verbose, args, cwd=cwd, file_list=file_list, stdout=options.stdout) | 338ead09dbd34566cb60d324c2eb7366229ad94e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/338ead09dbd34566cb60d324c2eb7366229ad94e/gclient_scm.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1997,
14042,
26098,
12,
2890,
16,
833,
16,
702,
16,
585,
67,
1098,
16,
7239,
33,
7036,
4672,
3536,
9361,
279,
4364,
716,
13998,
358,
3909,
471,
3087,
2038,
326,
585,
12889,
12123,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1997,
14042,
26098,
12,
2890,
16,
833,
16,
702,
16,
585,
67,
1098,
16,
7239,
33,
7036,
4672,
3536,
9361,
279,
4364,
716,
13998,
358,
3909,
471,
3087,
2038,
326,
585,
12889,
12123,
... |
if not hasattr(errno, 'EOPNOTSUPP') or why.errno != errno.EOPNOTSUPP: | if (not hasattr(errno, 'EOPNOTSUPP') or why.errno != errno.EOPNOTSUPP): | def copystat(src, dst): """Copy all stat info (mode bits, atime, mtime, flags) from src to dst""" st = os.stat(src) mode = stat.S_IMODE(st.st_mode) if hasattr(os, 'utime'): os.utime(dst, (st.st_atime, st.st_mtime)) if hasattr(os, 'chmod'): os.chmod(dst, mode) if hasattr(os, 'chflags') and hasattr(st, 'st_flags'): try: ... | 86e74e375fd447f428a802074cd795415a51f923 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/86e74e375fd447f428a802074cd795415a51f923/shutil.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6529,
1094,
270,
12,
4816,
16,
3046,
4672,
3536,
2951,
777,
610,
1123,
261,
3188,
4125,
16,
622,
494,
16,
13158,
16,
2943,
13,
628,
1705,
358,
3046,
8395,
384,
273,
1140,
18,
5642,
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,
6529,
1094,
270,
12,
4816,
16,
3046,
4672,
3536,
2951,
777,
610,
1123,
261,
3188,
4125,
16,
622,
494,
16,
13158,
16,
2943,
13,
628,
1705,
358,
3046,
8395,
384,
273,
1140,
18,
5642,
12,... |
difference = psutil_avail_phymem - sysctl_avail_phymem | difference = abs(psutil_avail_phymem - sysctl_avail_phymem) | def test_avail_phymem(self): # This test is not particularly accurate and may fail if the OS is # consuming memory for other applications. # We just want to test that the difference between psutil result # and sysctl's is not too high. _sum = sum((sysctl("sysctl vm.stats.vm.v_inactive_count"), sysctl("sysctl vm.stats.v... | 9ae9420bcb2fa72be3a928b4e9f0478207431c1c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7296/9ae9420bcb2fa72be3a928b4e9f0478207431c1c/_bsd.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
842,
671,
67,
844,
2942,
351,
12,
2890,
4672,
468,
1220,
1842,
353,
486,
6826,
715,
22380,
471,
2026,
2321,
309,
326,
5932,
353,
468,
27815,
3778,
364,
1308,
12165,
18,
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,
1842,
67,
842,
671,
67,
844,
2942,
351,
12,
2890,
4672,
468,
1220,
1842,
353,
486,
6826,
715,
22380,
471,
2026,
2321,
309,
326,
5932,
353,
468,
27815,
3778,
364,
1308,
12165,
18,
468,
... |
self._nframes == self._nframeswritten: | self._nframes == self._nframeswritten and \ self._marklength == 0: | def _patchheader(self): curpos = self._file.tell() if self._datawritten & 1: datalength = self._datawritten + 1 self._file.write(chr(0)) else: datalength = self._datawritten if datalength == self._datalength and \ self._nframes == self._nframeswritten: self._file.seek(curpos, 0) return self._file.seek(self._form_length... | 7564a641e50de5f4aa569e1413269d71701dee5b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/7564a641e50de5f4aa569e1413269d71701dee5b/aifc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2272,
3374,
12,
2890,
4672,
662,
917,
273,
365,
6315,
768,
18,
88,
1165,
1435,
309,
365,
6315,
892,
9748,
473,
404,
30,
18462,
1288,
273,
365,
6315,
892,
9748,
397,
404,
365,
6315... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2272,
3374,
12,
2890,
4672,
662,
917,
273,
365,
6315,
768,
18,
88,
1165,
1435,
309,
365,
6315,
892,
9748,
473,
404,
30,
18462,
1288,
273,
365,
6315,
892,
9748,
397,
404,
365,
6315... |
Compute the matrix of the Hecke operator T_n acting on self. | Compute the matrix of the Hecke operator `T_n` acting on self. | def _compute_hecke_matrix(self, n): r""" Compute the matrix of the Hecke operator T_n acting on self. | 626e7a3867af44ed7e2e05c2445f512cf64bcc9b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/626e7a3867af44ed7e2e05c2445f512cf64bcc9b/module.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9200,
67,
1129,
73,
67,
5667,
12,
2890,
16,
290,
4672,
436,
8395,
8155,
326,
3148,
434,
326,
670,
762,
73,
3726,
399,
67,
82,
1328,
310,
603,
365,
18,
2,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9200,
67,
1129,
73,
67,
5667,
12,
2890,
16,
290,
4672,
436,
8395,
8155,
326,
3148,
434,
326,
670,
762,
73,
3726,
399,
67,
82,
1328,
310,
603,
365,
18,
2,
-100,
-100,
-100,
-100,... |
if field_name == 'bug_severity': field_name = 'severity' elif field_name == 'assigned_to': field_name = 'owner' elif field_name == 'bug_status': field_name = 'status' | if field_name == "bug_severity": field_name = "severity" elif field_name == "assigned_to": field_name = "owner" elif field_name == "bug_status": field_name = "status" | def convert(_db, _host, _user, _password, _env, _force): activityFields = FieldTranslator() # account for older versions of bugzilla if BZ_VERSION == '2.11': print 'Using Buzvilla v%s schema.' % BZ_VERSION activityFields['removed'] = 'oldvalue' activityFields['added'] = 'newvalue' # init Bugzilla environment print "B... | d0a718cdc641402f4871e728629c7ce1e81b3158 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/d0a718cdc641402f4871e728629c7ce1e81b3158/bugzilla2trac.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
24899,
1966,
16,
389,
2564,
16,
389,
1355,
16,
389,
3664,
16,
389,
3074,
16,
389,
5734,
4672,
5728,
2314,
273,
2286,
12233,
1435,
225,
468,
2236,
364,
12156,
5244,
434,
7934,
15990... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
24899,
1966,
16,
389,
2564,
16,
389,
1355,
16,
389,
3664,
16,
389,
3074,
16,
389,
5734,
4672,
5728,
2314,
273,
2286,
12233,
1435,
225,
468,
2236,
364,
12156,
5244,
434,
7934,
15990... |
if depth > maxDepth: maxDepth = depth | def findDepth(self, insts): depth = 0 maxDepth = 0 for i in insts: opname = i[0] delta = self.effect.get(opname, 0) if delta > 1: depth = depth + delta elif delta < 0: if depth > maxDepth: maxDepth = depth depth = depth + delta else: if depth > maxDepth: maxDepth = depth # now check patterns for pat, pat_delta in self.... | 138d90eb73415e48a0e7f09a7c9603b1164bcaed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/138d90eb73415e48a0e7f09a7c9603b1164bcaed/pyassem.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
6148,
12,
2890,
16,
1804,
87,
4672,
3598,
273,
374,
22074,
273,
374,
364,
277,
316,
1804,
87,
30,
30273,
273,
277,
63,
20,
65,
3622,
273,
365,
18,
13867,
18,
588,
12,
556,
529,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6148,
12,
2890,
16,
1804,
87,
4672,
3598,
273,
374,
22074,
273,
374,
364,
277,
316,
1804,
87,
30,
30273,
273,
277,
63,
20,
65,
3622,
273,
365,
18,
13867,
18,
588,
12,
556,
529,... | |
labeltabColsTitle=Label(frameIndentSize,justify=LEFT, text='when tab key inserts tabs,\ncolumns per tab') self.scaleTabCols=Scale(frameIndentSize,variable=self.tabCols, orient='horizontal',tickinterval=2,from_=2,to=8) | def CreatePageFontTab(self): #tkVars self.fontSize=StringVar(self) self.fontBold=BooleanVar(self) self.fontName=StringVar(self) self.spaceNum=IntVar(self) self.tabCols=IntVar(self) self.indentBySpaces=BooleanVar(self) self.editFont=tkFont.Font(self,('courier',12,'normal')) ##widget creation #body frame frame=self.tabPa... | 22cc40d7b201cf9033ebbca4fe11980daac2a344 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/22cc40d7b201cf9033ebbca4fe11980daac2a344/configDialog.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
1964,
5711,
5661,
12,
2890,
4672,
468,
16099,
5555,
365,
18,
5776,
1225,
33,
780,
1537,
12,
2890,
13,
365,
18,
5776,
38,
1673,
33,
5507,
1537,
12,
2890,
13,
365,
18,
5776,
461,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
1964,
5711,
5661,
12,
2890,
4672,
468,
16099,
5555,
365,
18,
5776,
1225,
33,
780,
1537,
12,
2890,
13,
365,
18,
5776,
38,
1673,
33,
5507,
1537,
12,
2890,
13,
365,
18,
5776,
461,
... | |
notification_center = NotificationCenter() | if self.state == 'terminated': return | def _NH_SIPInvitationChangedState(self, notification): notification_center = NotificationCenter() if self.greenlet is not None: if notification.data.state == 'disconnected' and notification.data.prev_state != 'disconnecting': self._channel.send_exception(InvitationDidFailError(notification.sender, notification.data)) e... | f3f2db7ba56f28d231295d924c2ea5f9f5e4a8af /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3449/f3f2db7ba56f28d231295d924c2ea5f9f5e4a8af/session.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
50,
44,
67,
17739,
19896,
5033,
1119,
12,
2890,
16,
3851,
4672,
309,
365,
18,
2019,
422,
296,
29133,
4278,
327,
309,
365,
18,
11571,
1810,
353,
486,
599,
30,
309,
3851,
18,
892,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
50,
44,
67,
17739,
19896,
5033,
1119,
12,
2890,
16,
3851,
4672,
309,
365,
18,
2019,
422,
296,
29133,
4278,
327,
309,
365,
18,
11571,
1810,
353,
486,
599,
30,
309,
3851,
18,
892,
... |
if len( channel) > 0: if libgpodder.isDebugging(): print "(getmodel) " + channel.title new_iter = new_model.append() new_model.set( new_iter, 0, channel.url) new_model.set( new_iter, 1, channel.title) | if libgpodder.isDebugging(): print "(getmodel) " + channel.title new_iter = new_model.append() new_model.set( new_iter, 0, channel.url) new_model.set( new_iter, 1, channel.title) | def getDownloadedChannelsModel( self): new_model = gtk.ListStore( gobject.TYPE_STRING, gobject.TYPE_STRING) for channel in self.getDownloadedChannelsList(): if len( channel) > 0: if libgpodder.isDebugging(): print "(getmodel) " + channel.title new_iter = new_model.append() new_model.set( new_iter, 0, channel.url) new_... | 08bf010f31ee8ebfbbb3f5aff5ad63f5dceaa904 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12778/08bf010f31ee8ebfbbb3f5aff5ad63f5dceaa904/liblocaldb.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2343,
995,
4230,
10585,
1488,
12,
365,
4672,
394,
67,
2284,
273,
22718,
18,
682,
2257,
12,
314,
1612,
18,
2399,
67,
5804,
16,
314,
1612,
18,
2399,
67,
5804,
13,
225,
364,
1904,
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,
2343,
995,
4230,
10585,
1488,
12,
365,
4672,
394,
67,
2284,
273,
22718,
18,
682,
2257,
12,
314,
1612,
18,
2399,
67,
5804,
16,
314,
1612,
18,
2399,
67,
5804,
13,
225,
364,
1904,
316,
... |
cprop = inst.properties[pname] cprop.value = pywbem.tocimobj(cprop.type, pval) | try: cprop = inst.properties[pname] cprop.value = tocimobj(cprop.type, pval) except KeyError: ce = CIMError(CIM_ERR_INVALID_PARAMETER, 'Invalid property: %s' % pname) ce.file_line = (p.parser.file, p.lexer.lineno) raise ce except ValueError, ve: ce = CIMError(CIM_ERR_INVALID_PARAMETER, 'Invalid value for property: %s: ... | def p_instanceDeclaration(p): """instanceDeclaration : INSTANCE OF className '{' valueInitializerList '}' ';' | INSTANCE OF className alias '{' valueInitializerList '}' ';' | qualifierList INSTANCE OF className '{' valueInitializerList '}' ';' | qualifierList INSTANCE OF className alias '{' valueInitializerList '}' ';'... | d1a547f385819908b15c26774bc5fc75671b5883 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10648/d1a547f385819908b15c26774bc5fc75671b5883/mof_compiler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
293,
67,
1336,
6094,
12,
84,
4672,
3536,
1336,
6094,
294,
6937,
15932,
2658,
9790,
460,
14729,
682,
9571,
7554,
571,
6937,
15932,
2658,
2308,
9790,
460,
14729,
682,
9571,
7554,
571,
12327,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
293,
67,
1336,
6094,
12,
84,
4672,
3536,
1336,
6094,
294,
6937,
15932,
2658,
9790,
460,
14729,
682,
9571,
7554,
571,
6937,
15932,
2658,
2308,
9790,
460,
14729,
682,
9571,
7554,
571,
12327,... |
namestr = "%s %s"%(child.node().getType(), child.node().getName()) newItem = self.tree.AppendItem(item, namestr) | namestr = "%s.%s"%(child.node().getType(), child.node().getName()) newItem = self.tree.PrependItem(parent, namestr) | def traversePandaObjects(self, item, objNodePath): itemId = self.tree.GetItemPyData(item) i = 0 # import pdb;pdb.set_trace() for child in objNodePath.getChildren(): namestr = "%s %s"%(child.node().getType(), child.node().getName()) newItem = self.tree.AppendItem(item, namestr) newItemId = "%s.%s"%(itemId, i) self.tree.... | bc84a2c412b80a4333c92706942270a55cc827a4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/bc84a2c412b80a4333c92706942270a55cc827a4/SceneGraphUI.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10080,
52,
464,
69,
4710,
12,
2890,
16,
761,
16,
1081,
907,
743,
4672,
18424,
273,
365,
18,
3413,
18,
967,
1180,
9413,
751,
12,
1726,
13,
277,
273,
374,
468,
1930,
10892,
31,
17414,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10080,
52,
464,
69,
4710,
12,
2890,
16,
761,
16,
1081,
907,
743,
4672,
18424,
273,
365,
18,
3413,
18,
967,
1180,
9413,
751,
12,
1726,
13,
277,
273,
374,
468,
1930,
10892,
31,
17414,
... |
factor = 1 if callers is not None: if len(callers) == 1: factor = 0.3 | def inlining_heuristic(graph, callers=None, callees=None): # XXX ponderation factors? factor = 1 if callers is not None: if len(callers) == 1: factor = 0.3 return (0.9999 * measure_median_execution_cost(graph) + static_instruction_count(graph)) * factor | 12c6db7a72dbf64b0f584fab03d72f06265d2a20 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/12c6db7a72dbf64b0f584fab03d72f06265d2a20/inline.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
316,
7511,
310,
67,
580,
18219,
12,
4660,
16,
19932,
33,
7036,
16,
1443,
298,
281,
33,
7036,
4672,
468,
11329,
293,
265,
765,
367,
14490,
35,
327,
261,
20,
18,
7991,
380,
6649,
67,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
316,
7511,
310,
67,
580,
18219,
12,
4660,
16,
19932,
33,
7036,
16,
1443,
298,
281,
33,
7036,
4672,
468,
11329,
293,
265,
765,
367,
14490,
35,
327,
261,
20,
18,
7991,
380,
6649,
67,
2... | |
check_mk [-c] -I {tcp|snmp} [HOST1 ...] inventory - find new services check_mk -c, --cleanup-autochecks reorder autochecks files | check_mk [-u] -I {tcp|snmp} [HOST1 ...] inventory - find new services check_mk -u, --cleanup-autochecks reorder autochecks files | def usage(): print """WAYS TO CALL: check_mk [-n] [-v] [-p] HOST [IPADDRESS] check all services on HOST check_mk [-c] -I {tcp|snmp} [HOST1 ...] inventory - find new services check_mk -c, --cleanup-autochecks reorder autochecks files check_mk -S|-H|--timeperiods output Nagios configuration files ... | 8c58579f1bb6e16ea9366736e6a6e120bdad071f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5589/8c58579f1bb6e16ea9366736e6a6e120bdad071f/check_mk.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
1172,
3536,
29295,
8493,
22753,
30,
866,
67,
24816,
23059,
82,
65,
23059,
90,
65,
23059,
84,
65,
21425,
306,
2579,
15140,
65,
225,
866,
777,
4028,
603,
21425,
866,
67,
24816... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
1172,
3536,
29295,
8493,
22753,
30,
866,
67,
24816,
23059,
82,
65,
23059,
90,
65,
23059,
84,
65,
21425,
306,
2579,
15140,
65,
225,
866,
777,
4028,
603,
21425,
866,
67,
24816... |
def pickline(self, ptlist, point, logic, **xx): | def pickline(self, ptlist, origin, logic, **xx): | def pickline(self, ptlist, point, logic, **xx): """Add a new curve to the shape. Args define the curve (see curve) and the logic operator for the curve telling whether it adds or removes material. """ self.havelist = 0 c = curve(self, ptlist, point, logic, **xx) self.bbox.merge(c.bbox) self.curves += [c] | e55864700cb47a43fd0848009d3f1957e082ccc8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/e55864700cb47a43fd0848009d3f1957e082ccc8/shape.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6002,
1369,
12,
2890,
16,
5818,
1098,
16,
4026,
16,
4058,
16,
2826,
5279,
4672,
3536,
986,
279,
394,
8882,
358,
326,
2179,
18,
6634,
4426,
326,
8882,
261,
5946,
8882,
13,
471,
326,
405... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6002,
1369,
12,
2890,
16,
5818,
1098,
16,
4026,
16,
4058,
16,
2826,
5279,
4672,
3536,
986,
279,
394,
8882,
358,
326,
2179,
18,
6634,
4426,
326,
8882,
261,
5946,
8882,
13,
471,
326,
405... |
for data in row: tblstr += '<td class="admintd">%s</td>\n' % (data,) | for i in range(len(row)): tblstr += '<td class="%s">%s</td>\n' % (align[i], row[i]) | def tupletotable(header=[], tuple=[], start='', end='', extracolumn=''): """create html table for a tuple. header - optional header for the columns tuple - create table of this start - text to be added in the beginning, most likely beginning of a form end - text to be added in the end, mot likely end of a form. ex... | d5c421bd0fb517578e6a485b6cc1f60455de2c85 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/d5c421bd0fb517578e6a485b6cc1f60455de2c85/webaccessadmin_lib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
28325,
1469,
352,
429,
12,
3374,
22850,
6487,
3193,
22850,
6487,
787,
2218,
2187,
679,
2218,
2187,
7582,
1077,
355,
755,
2218,
11,
4672,
3536,
2640,
1729,
1014,
364,
279,
3193,
18,
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,
28325,
1469,
352,
429,
12,
3374,
22850,
6487,
3193,
22850,
6487,
787,
2218,
2187,
679,
2218,
2187,
7582,
1077,
355,
755,
2218,
11,
4672,
3536,
2640,
1729,
1014,
364,
279,
3193,
18,
225,
... |
self.assertEqual(self.event.getCustomDescription(), "every 2 weeks until 8/1/05") | self.assertEqual(self.event.getCustomDescription(), "every 3 weeks until 8/15/05") | def testRuleChange(self): self.event.rruleset = self._createRuleSetItem('weekly') # self and an automatically generated backup occurrence should exist self.assertEqual(len(self.event.occurrences), 2) | ebd062a8c7f04ba8a4db5b3d794548e09ca279cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/ebd062a8c7f04ba8a4db5b3d794548e09ca279cf/TestRecurringEvent.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
2175,
3043,
12,
2890,
4672,
365,
18,
2575,
18,
523,
1513,
278,
273,
365,
6315,
2640,
21474,
1180,
2668,
10741,
715,
6134,
468,
365,
471,
392,
6635,
4374,
5114,
13083,
1410,
1005,
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,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
2175,
3043,
12,
2890,
4672,
365,
18,
2575,
18,
523,
1513,
278,
273,
365,
6315,
2640,
21474,
1180,
2668,
10741,
715,
6134,
468,
365,
471,
392,
6635,
4374,
5114,
13083,
1410,
1005,
3... |
compareToWiki = not False | compareToWiki = False | def pluginsTreeToString(): global firstNode firstNode = True return treeToString(allElements.get('')) | 3e42ae7e1143a162719514526cd43fdd11ef5616 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12827/3e42ae7e1143a162719514526cd43fdd11ef5616/plugin-list-parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4799,
2471,
5808,
13332,
2552,
1122,
907,
1122,
907,
273,
1053,
327,
2151,
5808,
12,
454,
3471,
18,
588,
2668,
26112,
565,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4799,
2471,
5808,
13332,
2552,
1122,
907,
1122,
907,
273,
1053,
327,
2151,
5808,
12,
454,
3471,
18,
588,
2668,
26112,
565,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
self.app = wx.App(True, "mlox.err") | self.app = wx.App(True, None) | def __init__(self): wx.Locale(wx.LOCALE_LOAD_DEFAULT) self.app = wx.App(True, "mlox.err") sys.excepthook = lambda typ, val, tb: self.error_handler(typ, val, tb) self.can_update = True self.dir = os.getcwd() # setup widgets default_font = wx.Font(-1, family=wx.FONTFAMILY_DEFAULT, style=wx.FONTSTYLE_NORMAL, weight=wx.FON... | f19ebb230afa23151a4d59c8472125be9ec6d093 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2827/f19ebb230afa23151a4d59c8472125be9ec6d093/mlox.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
7075,
18,
3916,
12,
27226,
18,
25368,
67,
7783,
67,
5280,
13,
365,
18,
2910,
273,
7075,
18,
3371,
12,
5510,
16,
599,
13,
2589,
18,
14137,
4476,
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,
1001,
2738,
972,
12,
2890,
4672,
7075,
18,
3916,
12,
27226,
18,
25368,
67,
7783,
67,
5280,
13,
365,
18,
2910,
273,
7075,
18,
3371,
12,
5510,
16,
599,
13,
2589,
18,
14137,
4476,
273,
... |
""" Generate Changeset belonging to the given time period (start, stop). | """Generate Changeset belonging to the given time period (start, stop). | def get_changesets(self, start, stop): """ Generate Changeset belonging to the given time period (start, stop). """ rev = self.youngest_rev while rev: if self.authz.has_permission_for_changeset(rev): chgset = self.get_changeset(rev) if chgset.date < start: return if chgset.date < stop: yield chgset rev = self.previous_... | 3d49bda6767e9de61cc951b87411bf3eea2b250a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/3d49bda6767e9de61cc951b87411bf3eea2b250a/api.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
6329,
2413,
12,
2890,
16,
787,
16,
2132,
4672,
3536,
4625,
17776,
278,
17622,
358,
326,
864,
813,
3879,
261,
1937,
16,
2132,
2934,
3536,
5588,
273,
365,
18,
93,
465,
17592,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
6329,
2413,
12,
2890,
16,
787,
16,
2132,
4672,
3536,
4625,
17776,
278,
17622,
358,
326,
864,
813,
3879,
261,
1937,
16,
2132,
2934,
3536,
5588,
273,
365,
18,
93,
465,
17592,
67... |
')' | '))' | def products_by_location(self, cursor, user, location_ids, product_ids=None, with_childs=False, skip_zero=True, context=None): """ Compute for each location and product the stock quantity in the default uom of the product. | 62dd82a73f81c502cd51a77e9014499bded294a6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9298/62dd82a73f81c502cd51a77e9014499bded294a6/product.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10406,
67,
1637,
67,
3562,
12,
2890,
16,
3347,
16,
729,
16,
2117,
67,
2232,
16,
3017,
67,
2232,
33,
7036,
16,
598,
67,
3624,
87,
33,
8381,
16,
2488,
67,
7124,
33,
5510,
16,
819,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10406,
67,
1637,
67,
3562,
12,
2890,
16,
3347,
16,
729,
16,
2117,
67,
2232,
16,
3017,
67,
2232,
33,
7036,
16,
598,
67,
3624,
87,
33,
8381,
16,
2488,
67,
7124,
33,
5510,
16,
819,
33... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.