rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
time.sleep(1); debug_log = os.path.normpath(_build_dir + "/" + "debug.log");
time.sleep(1) debug_log = os.path.normpath(_build_dir + "/" + "debug.log")
def main(): # Prevent windows from using cygwin python. if (sys.platform == "cygwin"): raise Exception("Building docs not supported for cygwin python.\n" "Please run the build.bat script."); parser = OptionParser() parser.add_option("--test-shell-path", dest="test_shell_path") (options, args) = parser.parse_args() if (options.test_shell_path and os.path.isfile(options.test_shell_path)): test_shell = options.test_shell_path else: test_shell = FindTestShell() # Read static file names static_names = GetStaticFileNames() # Read module names module_names = GetAPIModuleNames() # All pages to generate page_names = static_names | module_names modified_files = [] for page in page_names: modified_file = RenderPage(page, test_shell) if (modified_file): modified_files.append(modified_file) if (len(modified_files) == 0): print "Output files match existing files. No changes made." else: print ("ATTENTION: EXTENSION DOCS HAVE CHANGED\n" + "The following files have been modified and should be checked\n" + "into source control (ideally in the same changelist as the\n" + "underlying files that resulting in their changing).") for f in modified_files: print f; # Hack. Sleep here, otherwise windows doesn't properly close the debug.log # and the os.remove will fail with a "Permission denied". time.sleep(1); debug_log = os.path.normpath(_build_dir + "/" + "debug.log"); if (os.path.isfile(debug_log)): os.remove(debug_log) return 0;
c7df381fcaea795f78863f5c1cc1b335fabcae48 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/c7df381fcaea795f78863f5c1cc1b335fabcae48/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 19412, 9965, 628, 1450, 276, 4338, 8082, 5790, 18, 309, 261, 9499, 18, 9898, 422, 315, 2431, 75, 8082, 6, 4672, 1002, 1185, 2932, 16713, 3270, 486, 3260, 364, 276, 4338, 8082, 5790, 8403, 82, 6, 315, 8496, 1086, 326, 1361, 18, 28260, 2728, 1199, 1769, 225, 2082, 273, 18862, 1435, 2082, 18, 1289, 67, 3482, 2932, 413, 3813, 17, 10304, 17, 803, 3113, 1570, 1546, 3813, 67, 10304, 67, 803, 7923, 261, 2116, 16, 833, 13, 273, 2082, 18, 2670, 67, 1968, 1435, 225, 309, 261, 2116, 18, 3813, 67, 10304, 67, 803, 471, 1140, 18, 803, 18, 291, 768, 12, 2116, 18, 3813, 67, 10304, 67, 803, 3719, 30, 1842, 67, 10304, 273, 702, 18, 3813, 67, 10304, 67, 803, 469, 30, 1842, 67, 10304, 273, 4163, 4709, 13220, 1435, 225, 468, 2720, 760, 585, 1257, 760, 67, 1973, 273, 968, 5788, 812, 1557, 1435, 225, 468, 2720, 1605, 1257, 1605, 67, 1973, 273, 968, 2557, 3120, 1557, 1435, 225, 468, 4826, 4689, 358, 2103, 1363, 67, 1973, 273, 760, 67, 1973, 571, 1605, 67, 1973, 225, 4358, 67, 2354, 273, 5378, 364, 1363, 316, 1363, 67, 1973, 30, 4358, 67, 768, 273, 6987, 1964, 12, 2433, 16, 1842, 67, 10304, 13, 309, 261, 7342, 67, 768, 4672, 4358, 67, 2354, 18, 6923, 12, 7342, 67, 768, 13, 225, 309, 261, 1897, 12, 7342, 67, 2354, 13, 422, 374, 4672, 1172, 315, 1447, 1390, 845, 2062, 1390, 18, 2631, 3478, 7165, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 19412, 9965, 628, 1450, 276, 4338, 8082, 5790, 18, 309, 261, 9499, 18, 9898, 422, 315, 2431, 75, 8082, 6, 4672, 1002, 1185, 2932, 16713, 3270, 486, 3260, 364, 276, 4338, 8082, 5790, 8403, 82, 6, 315, 8496, 1086, 326, 1361, 18, 28260, 2728, 1199, 1769, 225, 2082, 273, 18862, 1435, 2082, 18, 1289, 67, 3482, 2932, 413, 3813, 17, 10304, 17, 803, 3113, 1570, 1546, 3813, 67, 10304, 67, 803, 7923, 261, 2116, 16, 833, 13, 273, 2082, 18, 2670, 67, 1968, 1435, 225, 309, 261, 2116, 18, 3813, 67, 10304, 67, 803, 471, 1140, 18, 803, 18, 291, 768, 12, 2116, 18, 3813, 67, 10304, 67, 803, 3719, 30, 1842, 67, 10304, 273, 2 ]
if message.startswith("DISABLESTOPBUTTON: "):
if message.startswith(u"DISABLESTOPBUTTON: "):
def processSocketMsg(self, message): if message.startswith("ACTIVATE: "): NSApp.activateIgnoringOtherApps_(True) return "" if message.startswith("HIDE: "): self.window.orderOut_(self) return "" if message.startswith("SHOW: "): self.window.orderFront_(self) return "" if message.startswith("TITLE: "): self.window.setTitle_(message[7:]) return "" if message.startswith("MESSAGE: "): self.messageFld.setStringValue_(message[9:]) return "" if message.startswith("DETAIL: "): self.detailFld.setStringValue_(message[8:]) return "" if message.startswith("PERCENT: "): self.setPercentageDone(message[9:]) return "" if message.startswith("GETSTOPBUTTONSTATE: "): return "%s\n" % self.stopBtnState if message.startswith("HIDESTOPBUTTON: "): self.stopBtn.setHidden_(True) return "" if message.startswith("SHOWSTOPBUTTON: "): self.stopBtn.setHidden_(False) return "" if message.startswith("ENABLESTOPBUTTON: "): self.stopBtn.setEnabled_(True) return "" if message.startswith("DISABLESTOPBUTTON: "): self.stopBtn.setEnabled_(False) return "" if message.startswith("RESTARTALERT: "): self.doRestartAlert() while 1: if self.restartAlertDismissed: break return "1\n"
54e92711e9eb2572d70240c4a8cff7dd10c36120 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6241/54e92711e9eb2572d70240c4a8cff7dd10c36120/MSController.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 4534, 3332, 12, 2890, 16, 883, 4672, 309, 883, 18, 17514, 1918, 2932, 22271, 1777, 30, 315, 4672, 11472, 3371, 18, 10014, 21702, 8290, 16339, 67, 12, 5510, 13, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 44, 10385, 30, 315, 4672, 365, 18, 5668, 18, 1019, 1182, 67, 12, 2890, 13, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 16677, 30, 315, 4672, 365, 18, 5668, 18, 1019, 9580, 67, 12, 2890, 13, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 14123, 30, 315, 4672, 365, 18, 5668, 18, 542, 4247, 67, 12, 2150, 63, 27, 30, 5717, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 8723, 30, 315, 4672, 365, 18, 2150, 7667, 18, 542, 19733, 67, 12, 2150, 63, 29, 30, 5717, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 40, 19810, 30, 315, 4672, 365, 18, 8992, 7667, 18, 542, 19733, 67, 12, 2150, 63, 28, 30, 5717, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 3194, 19666, 30, 315, 4672, 365, 18, 542, 16397, 7387, 12, 2150, 63, 29, 30, 5717, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 3264, 17513, 20068, 7998, 30, 315, 4672, 327, 2213, 87, 64, 82, 6, 738, 365, 18, 5681, 20541, 1119, 309, 883, 18, 17514, 1918, 2932, 44, 10385, 17513, 20068, 30, 315, 4672, 365, 18, 5681, 20541, 18, 542, 9345, 67, 12, 5510, 13, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 16677, 17513, 20068, 30, 315, 4672, 365, 18, 5681, 20541, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 4534, 3332, 12, 2890, 16, 883, 4672, 309, 883, 18, 17514, 1918, 2932, 22271, 1777, 30, 315, 4672, 11472, 3371, 18, 10014, 21702, 8290, 16339, 67, 12, 5510, 13, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 44, 10385, 30, 315, 4672, 365, 18, 5668, 18, 1019, 1182, 67, 12, 2890, 13, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 16677, 30, 315, 4672, 365, 18, 5668, 18, 1019, 9580, 67, 12, 2890, 13, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 14123, 30, 315, 4672, 365, 18, 5668, 18, 542, 4247, 67, 12, 2150, 63, 27, 30, 5717, 327, 1408, 309, 883, 18, 17514, 1918, 2932, 8723, 30, 315, 4672, 365, 18, 2150, 7667, 18, 542, 2 ]
res = '''<a href="%s"''' % quoted_url
res = '''<a href="%s"''' % htmlquote(url)
def handler2(m): whole_match = m.group(1) link_text = m.group(2) url = m.group(3) title = m.group(6)
10d6a0e5e98a74ede944771156e43ce18cf853d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6723/10d6a0e5e98a74ede944771156e43ce18cf853d3/markdown.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 22, 12, 81, 4672, 7339, 67, 1916, 273, 312, 18, 1655, 12, 21, 13, 1692, 67, 955, 273, 312, 18, 1655, 12, 22, 13, 880, 273, 312, 18, 1655, 12, 23, 13, 2077, 273, 312, 18, 1655, 12, 26, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1838, 22, 12, 81, 4672, 7339, 67, 1916, 273, 312, 18, 1655, 12, 21, 13, 1692, 67, 955, 273, 312, 18, 1655, 12, 22, 13, 880, 273, 312, 18, 1655, 12, 23, 13, 2077, 273, 312, 18, 1655, 12, 26, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.job_options = '/bin/echo %IN | sed \'s/,/\\\\n/g\' > input.txt; root -b -q ' + self.job_options
self.job_options = '/bin/echo %IN | sed \'s/,/\\\\\\n/g\' > input.txt; root -b -q ' + self.job_options
def master_prepare(self,app,appconfig): '''Prepare the master job'''
d92da77313779dfff8c45c8631fdea7037943bba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/d92da77313779dfff8c45c8631fdea7037943bba/AthenaPandaRTHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4171, 67, 9366, 12, 2890, 16, 2910, 16, 2910, 1425, 4672, 9163, 7543, 326, 4171, 1719, 26418, 2, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4171, 67, 9366, 12, 2890, 16, 2910, 16, 2910, 1425, 4672, 9163, 7543, 326, 4171, 1719, 26418, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else
else:
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 161) else quickfix.StringField.__init__(self, 161, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 2872, 21, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 2872, 21, 16, 501, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.size = size
self.size = insize
def __init__(self, network, nid, size, label, dtype ): self.network = network self.nodeid = nid self.size = size self.label = label self.dtype = dtype self.data = [] self.slotlabels = []
1cac18f12b1b91166cc9cec5d8fe119bffa40e08 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10633/1cac18f12b1b91166cc9cec5d8fe119bffa40e08/pydon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2483, 16, 19416, 16, 963, 16, 1433, 16, 3182, 262, 30, 365, 18, 5185, 273, 2483, 365, 18, 2159, 350, 273, 19416, 365, 18, 1467, 273, 316, 1467, 365, 18, 1925, 273, 1433, 365, 18, 8972, 273, 3182, 365, 18, 892, 273, 5378, 365, 18, 14194, 5336, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2483, 16, 19416, 16, 963, 16, 1433, 16, 3182, 262, 30, 365, 18, 5185, 273, 2483, 365, 18, 2159, 350, 273, 19416, 365, 18, 1467, 273, 316, 1467, 365, 18, 1925, 273, 1433, 365, 18, 8972, 273, 3182, 365, 18, 892, 273, 5378, 365, 18, 14194, 5336, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
[(1.0, 0.0), (1.0, 0.0), (1.0, 0.0), (1.0, 0.0), (1.0, 0.0)]
Indexed sequence: [1.00000000000000, 1.00000000000000, 1.00000000000000, 1.00000000000000, 1.00000000000000] indexed by [0, 1, 2, 3, 4]
def ifft(self): """ Implements the gsl FastFourierTransform.inverse in fft.pyx. If the number of sample points in the input is a power of 2 then the wrapper for the GSL function gsl_fft_complex_radix2_inverse is automatically called. Otherwise, gsl_fft_complex_inverse is used. EXAMPLES: sage: J = range(5) sage: A = [RR(1) for i in J] sage: s = IndexedSequence(A,J) sage: t = s.fft(); t Indexed sequence of elements [5.0000000000000000, 0, 0, 0, 0] indexed by [0, 1, 2, 3, 4] sage: t.ifft() [(1.0, 0.0), (1.0, 0.0), (1.0, 0.0), (1.0, 0.0), (1.0, 0.0)] sage: t.ifft() == s 1
837c0b7c218776beb9f35f10fe4f0b231105b3a3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/837c0b7c218776beb9f35f10fe4f0b231105b3a3/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 309, 1222, 12, 2890, 4672, 3536, 29704, 326, 314, 2069, 9545, 42, 24775, 4059, 18, 22552, 316, 15741, 18, 2074, 92, 18, 971, 326, 1300, 434, 3296, 3143, 316, 326, 810, 353, 279, 7212, 434, 576, 1508, 326, 4053, 364, 326, 611, 4559, 445, 314, 2069, 67, 25174, 67, 14259, 67, 6012, 697, 22, 67, 22552, 353, 6635, 2566, 18, 5272, 16, 314, 2069, 67, 25174, 67, 14259, 67, 22552, 353, 1399, 18, 225, 5675, 8900, 11386, 30, 272, 410, 30, 804, 273, 1048, 12, 25, 13, 272, 410, 30, 432, 273, 306, 17950, 12, 21, 13, 364, 277, 316, 804, 65, 272, 410, 30, 272, 273, 22524, 4021, 12, 37, 16, 46, 13, 272, 410, 30, 268, 273, 272, 18, 25174, 5621, 268, 22524, 3102, 434, 2186, 306, 25, 18, 12648, 12648, 16, 374, 16, 374, 16, 374, 16, 374, 65, 8808, 635, 306, 20, 16, 404, 16, 576, 16, 890, 16, 1059, 65, 272, 410, 30, 268, 18, 430, 1222, 1435, 22524, 3102, 30, 306, 21, 18, 12648, 9449, 16, 404, 18, 12648, 9449, 16, 404, 18, 12648, 9449, 16, 404, 18, 12648, 9449, 16, 404, 18, 12648, 9449, 65, 8808, 635, 306, 20, 16, 404, 16, 576, 16, 890, 16, 1059, 65, 272, 410, 30, 268, 18, 430, 1222, 1435, 422, 272, 404, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 309, 1222, 12, 2890, 4672, 3536, 29704, 326, 314, 2069, 9545, 42, 24775, 4059, 18, 22552, 316, 15741, 18, 2074, 92, 18, 971, 326, 1300, 434, 3296, 3143, 316, 326, 810, 353, 279, 7212, 434, 576, 1508, 326, 4053, 364, 326, 611, 4559, 445, 314, 2069, 67, 25174, 67, 14259, 67, 6012, 697, 22, 67, 22552, 353, 6635, 2566, 18, 5272, 16, 314, 2069, 67, 25174, 67, 14259, 67, 22552, 353, 1399, 18, 225, 5675, 8900, 11386, 30, 272, 410, 30, 804, 273, 1048, 12, 25, 13, 272, 410, 30, 432, 273, 306, 17950, 12, 21, 13, 364, 277, 316, 804, 65, 272, 410, 30, 272, 273, 22524, 4021, 12, 37, 16, 46, 13, 272, 410, 30, 268, 2 ]
info = _('Sheild (%d/%d) was damaged by %+d last turn.') % (
info = _('Shield (%d/%d) was damaged by %+d last turn.') % (
def showPlanet(self): self.win.setTagAttr('pl', 'visible', 1) self.win.setTagAttr('sys', 'visible', 0) self.win.setTagAttr('hidden', 'visible', 0) planet = client.get(self.planetID, noUpdate = 1) player = client.getPlayer() if hasattr(planet, 'revoltLen') and planet.revoltLen > 0: self.win.vPName.text = _('Planet %s: POPULATION IS REVOLTING') % \ getattr(planet, 'name', res.getUnknownName()) elif hasattr(planet, 'morale') and hasattr(planet, "morale"): prodState = gdata.moraleStates[Rules.moraleProdBonus[int(planet.morale / Rules.moraleProdStep)]] self.win.vPName.text = _('Planet %s: %s') % \ (getattr(planet, 'name', res.getUnknownName()), _(prodState)) else: self.win.vPName.text = _('Planet %s') % \ getattr(planet, 'name', res.getUnknownName()) self.win.vPName.foreground = None # structures items = [] if hasattr(planet, 'slots'): index = 0 for struct in planet.slots: tech = client.getTechInfo(struct[STRUCT_IDX_TECHID]) icons = [(res.getTechImg(struct[STRUCT_IDX_TECHID]), ui.ALIGN_NONE)] if not struct[STRUCT_IDX_STATUS] & STRUCT_STATUS_ON: icons.append((res.structOffImg, ui.ALIGN_NE)) elif struct[STRUCT_IDX_STATUS] & ~STRUCT_STATUS_ON & ~STRUCT_STATUS_REPAIRING: icons.append((res.structProblemImg, ui.ALIGN_NE)) item = ui.Item(None, icons = icons, tooltip = tech.name, statustip = tech.name, index = index, align = ui.ALIGN_W, techID = struct[STRUCT_IDX_TECHID]) items.append(item) index += 1
3a4bf6526ff2dec1cf5ac6b1e5176521be55eb55 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/503/3a4bf6526ff2dec1cf5ac6b1e5176521be55eb55/StarSystemDlg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 5365, 278, 12, 2890, 4672, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 412, 2187, 296, 8613, 2187, 404, 13, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 9499, 2187, 296, 8613, 2187, 374, 13, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 6345, 2187, 296, 8613, 2187, 374, 13, 4995, 278, 273, 1004, 18, 588, 12, 2890, 18, 7088, 278, 734, 16, 1158, 1891, 273, 404, 13, 7291, 273, 1004, 18, 588, 12148, 1435, 309, 3859, 12, 7088, 278, 16, 296, 9083, 4397, 2891, 6134, 471, 4995, 278, 18, 9083, 4397, 2891, 405, 374, 30, 365, 18, 8082, 18, 90, 52, 461, 18, 955, 273, 389, 2668, 5365, 278, 738, 87, 30, 26839, 1506, 2689, 4437, 2438, 19971, 56, 1360, 6134, 738, 521, 3869, 12, 7088, 278, 16, 296, 529, 2187, 400, 18, 588, 4874, 461, 10756, 1327, 3859, 12, 7088, 278, 16, 296, 81, 280, 5349, 6134, 471, 3859, 12, 7088, 278, 16, 315, 81, 280, 5349, 6, 4672, 10791, 1119, 273, 314, 892, 18, 81, 280, 5349, 7629, 63, 4478, 18, 81, 280, 5349, 30683, 38, 22889, 63, 474, 12, 7088, 278, 18, 81, 280, 5349, 342, 15718, 18, 81, 280, 5349, 30683, 4160, 13, 13563, 365, 18, 8082, 18, 90, 52, 461, 18, 955, 273, 389, 2668, 5365, 278, 738, 87, 30, 738, 87, 6134, 738, 521, 261, 588, 1747, 12, 7088, 278, 16, 296, 529, 2187, 400, 18, 588, 4874, 461, 1435, 3631, 389, 12, 17672, 1119, 3719, 469, 30, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 5365, 278, 12, 2890, 4672, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 412, 2187, 296, 8613, 2187, 404, 13, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 9499, 2187, 296, 8613, 2187, 374, 13, 365, 18, 8082, 18, 542, 1805, 3843, 2668, 6345, 2187, 296, 8613, 2187, 374, 13, 4995, 278, 273, 1004, 18, 588, 12, 2890, 18, 7088, 278, 734, 16, 1158, 1891, 273, 404, 13, 7291, 273, 1004, 18, 588, 12148, 1435, 309, 3859, 12, 7088, 278, 16, 296, 9083, 4397, 2891, 6134, 471, 4995, 278, 18, 9083, 4397, 2891, 405, 374, 30, 365, 18, 8082, 18, 90, 52, 461, 18, 955, 273, 389, 2668, 5365, 278, 738, 87, 30, 26839, 1506, 2689, 4437, 2 ]
if move.state != 'draft':
if move.state not in ('draft', 'cancel'):
def unlink(self, cursor, user, ids, context=None): for move in self.browse(cursor, user, ids, context=context): if move.state != 'draft': raise ExceptORM('UserError', 'You can only delete draft moves!') return super(Move, self).unlink(cursor, user, ids, context=context)
63558aa4ab56d35d24ed79d36cb4400492515f1b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9298/63558aa4ab56d35d24ed79d36cb4400492515f1b/move.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8255, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 364, 3635, 316, 365, 18, 25731, 12, 9216, 16, 729, 16, 3258, 16, 819, 33, 2472, 4672, 309, 3635, 18, 2019, 486, 316, 225, 7707, 17153, 2187, 296, 10996, 11, 4672, 1002, 25209, 3466, 2668, 1299, 668, 2187, 296, 6225, 848, 1338, 1430, 12246, 13934, 5124, 13, 327, 2240, 12, 7607, 16, 365, 2934, 318, 1232, 12, 9216, 16, 729, 16, 3258, 16, 819, 33, 2472, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8255, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 364, 3635, 316, 365, 18, 25731, 12, 9216, 16, 729, 16, 3258, 16, 819, 33, 2472, 4672, 309, 3635, 18, 2019, 486, 316, 225, 7707, 17153, 2187, 296, 10996, 11, 4672, 1002, 25209, 3466, 2668, 1299, 668, 2187, 296, 6225, 848, 1338, 1430, 12246, 13934, 5124, 13, 327, 2240, 12, 7607, 16, 365, 2934, 318, 1232, 12, 9216, 16, 729, 16, 3258, 16, 819, 33, 2472, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Return the intersection of self and X.
Return the xor of self and X.
def __xor__(self, X): """ Return the intersection of self and X. """ return self.intersection(X)
8302b5dd338b1fa23aacbd98ccd7fca76400a089 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/8302b5dd338b1fa23aacbd98ccd7fca76400a089/set.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31346, 972, 12, 2890, 16, 1139, 4672, 3536, 2000, 326, 17586, 434, 365, 471, 1139, 18, 3536, 327, 365, 18, 30231, 12, 60, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31346, 972, 12, 2890, 16, 1139, 4672, 3536, 2000, 326, 17586, 434, 365, 471, 1139, 18, 3536, 327, 365, 18, 30231, 12, 60, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else
else:
def __init__(data = None) if data == None: quickfix.DoubleField.__init__(self, 631) else quickfix.DoubleField.__init__(self, 631, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 6938, 13, 469, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 6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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 6938, 13, 469, 30, 9549, 904, 18, 5265, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 6938, 16, 501, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def execute(self, testdir = None, iterations = 1, filesize='200G'): cmd = os.path.join(self.srcdir + 'src/spew')
def execute(self, testdir = None, iterations = 1, filesize='100M'): cmd = os.path.join(self.srcdir, 'src/spew')
def execute(self, testdir = None, iterations = 1, filesize='200G'): cmd = os.path.join(self.srcdir + 'src/spew') if not testdir: testdir = self.testdir tmpfile = os.path.join(testdir, 'spew-test.%d' % os.getpid()) results = os.path.join(self.resultsdir, tmpfile) args = '-q -i %d -p random -b 2k -B 2M %s %s' % \ (iterations, filesize, tmpfile)
d4afcb58e7d02aa96a378e2c1179b30c9dd2b66c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10349/d4afcb58e7d02aa96a378e2c1179b30c9dd2b66c/spew.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 1842, 1214, 273, 599, 16, 11316, 273, 404, 16, 14104, 2218, 6625, 49, 11, 4672, 1797, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 16, 296, 4816, 19, 87, 347, 91, 6134, 309, 486, 1842, 1214, 30, 1842, 1214, 273, 365, 18, 3813, 1214, 25613, 273, 1140, 18, 803, 18, 5701, 12, 3813, 1214, 16, 296, 87, 347, 91, 17, 3813, 7866, 72, 11, 738, 1140, 18, 588, 6610, 10756, 1686, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4717, 1214, 16, 25613, 13, 833, 273, 2400, 85, 300, 77, 738, 72, 300, 84, 2744, 300, 70, 576, 79, 300, 38, 576, 49, 738, 87, 738, 87, 11, 738, 521, 261, 19330, 16, 14104, 16, 25613, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1836, 12, 2890, 16, 1842, 1214, 273, 599, 16, 11316, 273, 404, 16, 14104, 2218, 6625, 49, 11, 4672, 1797, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 16, 296, 4816, 19, 87, 347, 91, 6134, 309, 486, 1842, 1214, 30, 1842, 1214, 273, 365, 18, 3813, 1214, 25613, 273, 1140, 18, 803, 18, 5701, 12, 3813, 1214, 16, 296, 87, 347, 91, 17, 3813, 7866, 72, 11, 738, 1140, 18, 588, 6610, 10756, 1686, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4717, 1214, 16, 25613, 13, 833, 273, 2400, 85, 300, 77, 738, 72, 300, 84, 2744, 300, 70, 576, 79, 300, 38, 576, 49, 738, 87, 738, 87, 11, 738, 521, 2 ]
r""" Number of groups of order $n$. Note: The database_gap-4.4.9 must be installed for $n > 50$. run \code{sage -i database_gap-4.4.9} or higher first. INPUT: n -- positive integer OUTPUT: integer EXAMPLES: sage: a = sloane.A000001;a Number of groups of order n. sage: a(0) Traceback (most recent call last): ... ValueError: input n (=0) must be a positive integer sage: a(1) 1 sage: a(2) 1 sage: a(9) 2 sage: a.list(16) [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14] sage: a(60) 13 AUTHOR: -- Jaap Spies (2007-02-04) """ def __init__(self):
def __init__(self): r""" Number of groups of order $n$. Note: The database_gap-4.4.9 must be installed for $n > 50$. run \code{sage -i database_gap-4.4.9} or higher first. INPUT: n -- positive integer OUTPUT: integer EXAMPLES: sage: a = sloane.A000001;a Number of groups of order n. sage: a(0) Traceback (most recent call last): ... ValueError: input n (=0) must be a positive integer sage: a(1) 1 sage: a(2) 1 sage: a(9) 2 sage: a.list(16) [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14] sage: a(60) 13 AUTHOR: -- Jaap Spies (2007-02-04) """
def __getitem__(self, n): r"""Return sequence[n].
8b300fed02e947af57b58146f62dccfc715cf0b9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/8b300fed02e947af57b58146f62dccfc715cf0b9/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 290, 4672, 436, 8395, 990, 3102, 63, 82, 8009, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 290, 4672, 436, 8395, 990, 3102, 63, 82, 8009, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pkg_info.write('License: %s\n' % self.get_licence() )
pkg_info.write('License: %s\n' % self.get_license() )
def write_pkg_info (self, base_dir): """Write the PKG-INFO file into the release tree. """
fa7dc57d6c9023a5028aacb802438527ab2cface /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/fa7dc57d6c9023a5028aacb802438527ab2cface/dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 10657, 67, 1376, 261, 2890, 16, 1026, 67, 1214, 4672, 3536, 3067, 326, 11327, 43, 17, 5923, 585, 1368, 326, 3992, 2151, 18, 3536, 2, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 10657, 67, 1376, 261, 2890, 16, 1026, 67, 1214, 4672, 3536, 3067, 326, 11327, 43, 17, 5923, 585, 1368, 326, 3992, 2151, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if not context: context = {}
def __view_look_dom_arch(self, cr, user, node, context=None): if not context: context = {} fields_def = self.__view_look_dom(cr, user, node, context=context)
2baabdff66ec9f17e6b511d493022eb80b0d97f6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/2baabdff66ec9f17e6b511d493022eb80b0d97f6/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1945, 67, 7330, 67, 9859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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1945, 67, 7330, 67, 9859, 67, 991, 12, 2890, 16, 4422, 16, 729, 16, 756, 16, 819, 33, 7036, 4672, 1466, 67, 536, 273, 365, 16186, 1945, 67, 7330, 67, 9859, 12, 3353, 16, 729, 16, 756, 16, 819, 33, 2472, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
doCopyLog("Tests successful", workingDir, logPath, log)
log.write("Functional tests passed")
def doFunctionalTests(releaseMode, workingDir, log): hardhatlib.setupEnvironment(buildenv) chandlerDir = os.path.join(workingDir, "chandler") if buildenv['os'] == 'win': runChandler = 'RunChandler.bat' else: runChandler = 'RunChandler' if releaseMode == 'debug': runChandler = os.path.join(chandlerDir, 'debug', runChandler) elif releaseMode == 'release': runChandler = os.path.join(chandlerDir, 'release', runChandler) os.chdir(chandlerDir) try: print "Running Functional Tests" log.write(separator) log.write("Running Functional Tests ...\n") args = [runChandler, '--create', '--stderr', '--nocatch', '--profileDir=.', '--parcelPath=tools/QATestScripts/DataFiles', '--scriptTimeout=600', '--scriptFile=tools/QATestScripts/Functional/FunctionalTestSuite.py'] outputList = hardhatutil.executeCommandReturnOutput(args) hardhatutil.dumpOutputList(outputList, log) except Exception, e: print "functional tests failed", e doCopyLog("***Error during tests***", workingDir, logPath, log) forceBuildNextCycle(log, workingDir) return "test_failed" else: doCopyLog("Tests successful", workingDir, logPath, log) return "success"
a5fd01f5cacc3afb1280e38a2fca39d3d42b2a3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/a5fd01f5cacc3afb1280e38a2fca39d3d42b2a3b/newchandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 2083, 287, 14650, 12, 9340, 2309, 16, 5960, 1621, 16, 613, 4672, 7877, 11304, 2941, 18, 8401, 5494, 12, 3510, 3074, 13, 225, 462, 464, 749, 1621, 273, 1140, 18, 803, 18, 5701, 12, 20478, 1621, 16, 315, 343, 464, 749, 7923, 225, 309, 1361, 3074, 3292, 538, 3546, 422, 296, 8082, 4278, 1086, 782, 464, 749, 273, 296, 1997, 782, 464, 749, 18, 28260, 11, 469, 30, 1086, 782, 464, 749, 273, 296, 1997, 782, 464, 749, 11, 225, 309, 3992, 2309, 422, 296, 4148, 4278, 1086, 782, 464, 749, 273, 1140, 18, 803, 18, 5701, 12, 343, 464, 749, 1621, 16, 296, 4148, 2187, 1086, 782, 464, 749, 13, 1327, 3992, 2309, 422, 296, 9340, 4278, 1086, 782, 464, 749, 273, 1140, 18, 803, 18, 5701, 12, 343, 464, 749, 1621, 16, 296, 9340, 2187, 1086, 782, 464, 749, 13, 225, 1140, 18, 343, 1214, 12, 343, 464, 749, 1621, 13, 225, 775, 30, 1172, 315, 7051, 4284, 287, 7766, 87, 6, 613, 18, 2626, 12, 11287, 13, 613, 18, 2626, 2932, 7051, 4284, 287, 7766, 87, 1372, 64, 82, 7923, 225, 833, 273, 306, 2681, 782, 464, 749, 16, 3534, 2640, 2187, 3534, 11241, 2187, 3534, 31470, 505, 2187, 3534, 5040, 1621, 33, 1093, 16, 3534, 1065, 2183, 743, 33, 6642, 19, 53, 789, 395, 15041, 19, 751, 2697, 2187, 3534, 4263, 2694, 33, 28133, 2187, 3534, 4263, 812, 33, 6642, 19, 53, 789, 395, 15041, 19, 2083, 287, 19, 2083, 287, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 2083, 287, 14650, 12, 9340, 2309, 16, 5960, 1621, 16, 613, 4672, 7877, 11304, 2941, 18, 8401, 5494, 12, 3510, 3074, 13, 225, 462, 464, 749, 1621, 273, 1140, 18, 803, 18, 5701, 12, 20478, 1621, 16, 315, 343, 464, 749, 7923, 225, 309, 1361, 3074, 3292, 538, 3546, 422, 296, 8082, 4278, 1086, 782, 464, 749, 273, 296, 1997, 782, 464, 749, 18, 28260, 11, 469, 30, 1086, 782, 464, 749, 273, 296, 1997, 782, 464, 749, 11, 225, 309, 3992, 2309, 422, 296, 4148, 4278, 1086, 782, 464, 749, 273, 1140, 18, 803, 18, 5701, 12, 343, 464, 749, 1621, 16, 296, 4148, 2187, 1086, 782, 464, 749, 13, 1327, 3992, 2309, 422, 296, 9340, 2 ]
adapts(IResource, IDefaultBrowserLayer)
adapts(IResource, IBrowserRequest)
def __call__(self): return str(getMultiAdapter((self, self.request), IAbsoluteURL))
c110f5cb33e29489329a51b63db8124e20d32815 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9523/c110f5cb33e29489329a51b63db8124e20d32815/resource.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 4672, 327, 609, 12, 588, 5002, 4216, 12443, 2890, 16, 365, 18, 2293, 3631, 467, 10368, 1785, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 4672, 327, 609, 12, 588, 5002, 4216, 12443, 2890, 16, 365, 18, 2293, 3631, 467, 10368, 1785, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if digits % 10 == 0: continue
def test_halfway_cases(self): # test halfway cases for the round-half-to-even rule for i in xrange(1000): for j in xrange(TEST_SIZE): # bit pattern for a random finite positive (or +0.0) float bits = random.randrange(2047*2**52)
c1b0942c422961e79bbaf7bcef747dbc8612ef62 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/c1b0942c422961e79bbaf7bcef747dbc8612ef62/test_strtod.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 20222, 1888, 67, 22186, 12, 2890, 4672, 468, 1842, 8816, 1888, 6088, 364, 326, 3643, 17, 20222, 17, 869, 17, 16728, 1720, 364, 277, 316, 12314, 12, 18088, 4672, 364, 525, 316, 12314, 12, 16961, 67, 4574, 4672, 468, 2831, 1936, 364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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 20222, 1888, 67, 22186, 12, 2890, 4672, 468, 1842, 8816, 1888, 6088, 364, 326, 3643, 17, 20222, 17, 869, 17, 16728, 1720, 364, 277, 316, 12314, 12, 18088, 4672, 364, 525, 316, 12314, 12, 16961, 67, 4574, 4672, 468, 2831, 1936, 364, 279, 2744, 25922, 6895, 261, 280, 397, 20, 18, 20, 13, 1431, 4125, 273, 2744, 18, 7884, 3676, 12, 21573, 27, 14, 22, 636, 9401, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
OPENSSL Open Secure Socket Layer
SSL Open Secure Socket Layer
def packageInfo(): print """ See panda3d/doc/INSTALL-PP for more detailed information. 3D modeling an painting packages: MAX5 3D Studio Max version 5 MAX6 3D Studio Max version 6 MAX7 3D Studio Max version 7 "uri?" (for .??? files) MAYA5 Maya version 5 MAYA6 Maya version 6 "uri?" (for .??? files) Audio playback: FMOD f mod "http://www.fmod.org/" A music and sound effects library (including playback). (for .wav, .mp3 and other files) MILES Miles Sound System from RAD Game Tools "http://www.radgametools.com/default.htm" A proprietary (non-opensource) audio library. (for .wav, .mp3, and other files). Compression/decompression: ZLIB z lib "http://www.gzip.org/zlib" A commression/decomression library. (for .zip and similar files and data) Font manipulation: FREETYPE free type "http://www.freetype.org/" A font manipulation library. (for .ttf files). Image support libraries: JPEG Join Photographic Experts Group "http://www.ijg.org" An image library. (.jpg and .jpeg files) PNG Portable Network Graphics "http://www.libpng.org" An image library. (.png files) TIFF Tagged Image File Format "ftp://ftp.sgi.com/graphics/tiff" An image library. (.tiff files) Misc libraries: HELIX "uri?" (for .??? files) A ??? library. FFTW Fast Fourier Transform (in the West) "http://www.fftw.org/" A library for computing DFT in one or more dimensions. NVIDIACG nVidia cg "http://developer.nvidia.com/page/cg_main.html" (for .??? files) A library for gpu programming (shaders and such). Network communication: OPENSSL Open Secure Socket Layer "http://www.openssl.org/" A network encryption library. NSPR Netscape Portable Runtime "http://www.mozilla.org/projects/nspr/" Used for network sockets and threading. User input: VRPN Virtual Reality Peripheral Network "http://www.cs.unc.edu/Research/vrpn/" A controller/peripheral input library. """ sys.exit(1)
aa9700942409f59dfc63d4542d0bad0a01230726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/aa9700942409f59dfc63d4542d0bad0a01230726/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2181, 966, 13332, 1172, 3536, 2164, 293, 464, 69, 23, 72, 19, 2434, 19, 28865, 17, 6584, 364, 1898, 6864, 1779, 18, 225, 890, 40, 938, 310, 392, 12574, 310, 5907, 30, 4552, 25, 1377, 890, 40, 934, 4484, 4238, 1177, 1381, 4552, 26, 1377, 890, 40, 934, 4484, 4238, 1177, 1666, 4552, 27, 1377, 890, 40, 934, 4484, 4238, 1177, 2371, 315, 1650, 7225, 261, 1884, 263, 14646, 35, 1390, 13, 225, 490, 5255, 37, 25, 377, 16734, 69, 1177, 1381, 490, 5255, 37, 26, 377, 16734, 69, 1177, 1666, 315, 1650, 7225, 261, 1884, 263, 14646, 35, 1390, 13, 15045, 26335, 30, 478, 6720, 1377, 284, 681, 315, 2505, 2207, 5591, 18, 74, 1711, 18, 3341, 4898, 432, 26225, 471, 14190, 16605, 5313, 261, 31348, 26335, 2934, 261, 1884, 263, 24801, 16, 263, 1291, 23, 471, 1308, 1390, 13, 225, 20806, 11386, 377, 490, 1449, 348, 772, 2332, 628, 534, 1880, 14121, 19089, 315, 2505, 2207, 5591, 18, 6012, 75, 301, 278, 8192, 18, 832, 19, 1886, 18, 31180, 6, 432, 2270, 566, 14911, 261, 5836, 17, 20346, 552, 13, 7447, 5313, 18, 261, 1884, 263, 24801, 16, 263, 1291, 23, 16, 471, 1308, 1390, 2934, 225, 21139, 19, 323, 23766, 30, 2285, 14484, 1377, 998, 2561, 315, 2505, 2207, 5591, 18, 17380, 18, 3341, 19, 94, 2941, 6, 432, 1543, 16345, 19, 323, 832, 16345, 5313, 18, 261, 1884, 263, 4450, 471, 7281, 1390, 471, 501, 13, 225, 10063, 27029, 30, 478, 862, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2181, 966, 13332, 1172, 3536, 2164, 293, 464, 69, 23, 72, 19, 2434, 19, 28865, 17, 6584, 364, 1898, 6864, 1779, 18, 225, 890, 40, 938, 310, 392, 12574, 310, 5907, 30, 4552, 25, 1377, 890, 40, 934, 4484, 4238, 1177, 1381, 4552, 26, 1377, 890, 40, 934, 4484, 4238, 1177, 1666, 4552, 27, 1377, 890, 40, 934, 4484, 4238, 1177, 2371, 315, 1650, 7225, 261, 1884, 263, 14646, 35, 1390, 13, 225, 490, 5255, 37, 25, 377, 16734, 69, 1177, 1381, 490, 5255, 37, 26, 377, 16734, 69, 1177, 1666, 315, 1650, 7225, 261, 1884, 263, 14646, 35, 1390, 13, 15045, 26335, 30, 478, 6720, 1377, 284, 681, 315, 2505, 2207, 5591, 18, 74, 1711, 18, 3341, 2 ]
if m == roothandle: s = " " + str(m) + " " + fsconf
if m == roothandle: s = " " + str(m) + " " + fsconf
def start(): # don't mess with certain classes of nodes if mirror mypvfsnodes = pvfsnodes if options["mirror"] == "remote-mount" or \ options["mirror"] == "meta-mirror": mypvfsnodes = [x for x in mypvfsnodes if x not in ionodes] if options["mirror"] == "remote-mount": mypvfsnodes = [x for x in mypvfsnodes if x not in metanodes] # sync files to pvfs nodes for n in mypvfsnodes: if options["one_config_file"] == "yes": os.system("rcp " + testdir + "/fs.conf " + n + ":" + testdir) else: os.system("rcp " + testdir + "/{fs.conf,server.conf-" + n + "} " + n + ":" + testdir) # start osd targets if len(osdnodes) > 0: if options["storage"] == "tmpfs": mountup = "sudo mount -t tmpfs -o size=1800m none /tmp/tgt-" + id + " \; " else: mountup = "" os.system("all -p " + allify(osdnodes) + " " + "cd " + testdir + " \; " + "rm -rf /tmp/tgt-" + id + " \; " + "mkdir /tmp/tgt-" + id + " \; " + mountup + tgtd + " -d 9 \< /dev/null \&\> tgtd.log") if len(mypvfsnodes) > 0: if options["storage"] == "tmpfs": mountup = "sudo mount -t tmpfs -o size=1800m none " + testdir + "/storage \;" else: mountup = "" if options["one_config_file"] == "yes": os.system("all -p " + allify(mypvfsnodes) + " " + "cd " + testdir + " \; " + "rm -rf " + testdir + "/storage \; " + "mkdir " + testdir + "/storage \; " + mountup + "rm -f pvfs2.log \;" + "pvfs2-server --mkfs fs.conf \;" + "TZ=EST5EDT pvfs2-server fs.conf") else: os.system("all -p " + allify(mypvfsnodes) + " " + "cd " + testdir + " \; " + "rm -rf " + testdir + "/storage \; " + "mkdir " + testdir + "/storage \; " + mountup + "ln -fs server.conf-\$\(hostname\) server.conf \; " + "rm -f pvfs2.log \;" + "pvfs2-server --mkfs fs.conf server.conf \;" + "TZ=EST5EDT pvfs2-server fs.conf server.conf") # compnodes myosdnodes = osdnodes if options["pvfs_osd_integrated"] == "yes": myosdnodes = osdnodes + mypvfsnodes # append "-ib" to the osdnodes if using rdma if options["rdma"] == "yes": startcmd = "start --rdma" if host.rfind("opt") == -1: myibosdnodes = [ n + "-ib" for n in myosdnodes ] else: myibosdnodes = [ n.replace('opt', 'opt-ib-') for n in myosdnodes ] else: myibosdnodes = myosdnodes startcmd = "start" if len(myibosdnodes) > 0: os.system("all " + allify(compnodes) + " " + "echo " + tabfile_contents + " \> " + tabfile + " \; " + "sudo " + initiator + " " + startcmd + " " + " ".join(myibosdnodes)) elif len(compnodes) > 0: os.system("all -p " + allify(compnodes) + " " + "echo " + tabfile_contents + " \> " + tabfile) else: # leave it on this starting machine at least os.system("echo " + tabfile_contents + " > " + tabfile) # format and initial pvfs layout on osd nodes. The machine where # this script runs must be one of the compnodes so it can talk to # all the OSDs with iscsi. (Or could rsh to one.) for n in osdnodes: if datahandles.has_key(n): d = datahandles[n][0] else: d = 0 if metahandles.has_key(n): m = metahandles[n][0] else: m = 0 if m == roothandle: s = " " + str(m) + " " + fsconf else: s = " " #print pvfs_init + " " + n + " " + str(d) + " " + str(m) + s ret = os.system(pvfs_init + " " + n + " " + str(d) + " " + str(m) + s) if ret: print >>sys.stderr, pvfs_init + " failed" # just format and create the partition on these if options["pvfs_osd_integrated"] == "yes": for n in mypvfsnodes: ret = os.system(pvfs_osd_integrated_init + " " + n + " " + str(pid)) if ret: print >>sys.stderr, pvfs_osd_integrated_init + " failed"
9ac094c424de1142f8f62377c0610dccd1363cb4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11094/9ac094c424de1142f8f62377c0610dccd1363cb4/perf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 13332, 468, 2727, 1404, 12755, 598, 8626, 3318, 434, 2199, 309, 15593, 312, 879, 90, 2556, 4690, 273, 9770, 2556, 4690, 225, 309, 702, 9614, 27197, 11929, 422, 315, 7222, 17, 4778, 6, 578, 521, 702, 9614, 27197, 11929, 422, 315, 3901, 17, 27197, 6877, 312, 879, 90, 2556, 4690, 273, 306, 92, 364, 619, 316, 312, 879, 90, 2556, 4690, 309, 619, 486, 316, 28419, 1145, 65, 309, 702, 9614, 27197, 11929, 422, 315, 7222, 17, 4778, 6877, 312, 879, 90, 2556, 4690, 273, 306, 92, 364, 619, 316, 312, 879, 90, 2556, 4690, 309, 619, 486, 316, 5100, 304, 1145, 65, 225, 468, 3792, 1390, 358, 9770, 2556, 2199, 364, 290, 316, 312, 879, 90, 2556, 4690, 30, 309, 702, 9614, 476, 67, 1425, 67, 768, 11929, 422, 315, 9707, 6877, 1140, 18, 4299, 2932, 1310, 84, 315, 397, 1842, 1214, 397, 2206, 2556, 18, 3923, 315, 397, 290, 397, 6153, 397, 1842, 1214, 13, 469, 30, 1140, 18, 4299, 2932, 1310, 84, 315, 397, 1842, 1214, 397, 2206, 95, 2556, 18, 3923, 16, 3567, 18, 3923, 10951, 397, 290, 397, 27342, 315, 397, 290, 397, 6153, 397, 1842, 1214, 13, 225, 468, 787, 1140, 72, 5774, 309, 562, 12, 538, 72, 4690, 13, 405, 374, 30, 309, 702, 9614, 5697, 11929, 422, 315, 5645, 2556, 6877, 5344, 416, 273, 315, 20566, 5344, 300, 88, 1853, 2556, 300, 83, 963, 33, 2643, 713, 81, 6555, 342, 5645, 19, 29672, 10951, 397, 612, 397, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 13332, 468, 2727, 1404, 12755, 598, 8626, 3318, 434, 2199, 309, 15593, 312, 879, 90, 2556, 4690, 273, 9770, 2556, 4690, 225, 309, 702, 9614, 27197, 11929, 422, 315, 7222, 17, 4778, 6, 578, 521, 702, 9614, 27197, 11929, 422, 315, 3901, 17, 27197, 6877, 312, 879, 90, 2556, 4690, 273, 306, 92, 364, 619, 316, 312, 879, 90, 2556, 4690, 309, 619, 486, 316, 28419, 1145, 65, 309, 702, 9614, 27197, 11929, 422, 315, 7222, 17, 4778, 6877, 312, 879, 90, 2556, 4690, 273, 306, 92, 364, 619, 316, 312, 879, 90, 2556, 4690, 309, 619, 486, 316, 5100, 304, 1145, 65, 225, 468, 3792, 1390, 358, 9770, 2556, 2199, 364, 290, 316, 312, 879, 90, 2 ]
self.singleton.delete(self.singleton.search([], CONTEXT), CONTEXT)
self.singleton.delete(self.singleton.search([], 0, None, None, CONTEXT), CONTEXT)
def test0040default_get(self): ''' Test default_get method. ''' self.singleton.delete(self.singleton.search([], CONTEXT), CONTEXT)
52062c763bf1737b3f2071e48338f60845edc54d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/52062c763bf1737b3f2071e48338f60845edc54d/test_tryton.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 7132, 1886, 67, 588, 12, 2890, 4672, 9163, 7766, 805, 67, 588, 707, 18, 9163, 365, 18, 24487, 18, 3733, 12, 2890, 18, 24487, 18, 3072, 3816, 6487, 13862, 3631, 13862, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 7132, 1886, 67, 588, 12, 2890, 4672, 9163, 7766, 805, 67, 588, 707, 18, 9163, 365, 18, 24487, 18, 3733, 12, 2890, 18, 24487, 18, 3072, 3816, 6487, 13862, 3631, 13862, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.server_path = os.path.join(self.srcdir, 'src/netserver')
self.server_path = ('%s &>/dev/null </dev/null' % os.path.join(self.srcdir, 'src/netserver'))
def initialize(self): self.server_path = os.path.join(self.srcdir, 'src/netserver') self.client_path = os.path.join(self.srcdir, 'src/netperf')
470acb3b8efccb514c9e3aecd97542cc733803e0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10349/470acb3b8efccb514c9e3aecd97542cc733803e0/netperf2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 2890, 4672, 377, 365, 18, 3567, 67, 803, 273, 7707, 9, 87, 473, 16893, 5206, 19, 2011, 7765,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4046, 12, 2890, 4672, 377, 365, 18, 3567, 67, 803, 273, 7707, 9, 87, 473, 16893, 5206, 19, 2011, 7765, 5206, 19, 2011, 11, 738, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 16, 296, 4816, 19, 2758, 3567, 26112, 365, 18, 2625, 67, 803, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 4816, 1214, 16, 296, 4816, 19, 2758, 19825, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.debug_trace( "tag not found: %s", tag )
def getTag(self, tag): self.debug_trace("getTag") new_tag = self.next_string() self.debug_trace("getTag: found tag: %s", new_tag) self.debug_trace("getTag: looking for: %s", tag) self.debug_trace("%d", new_tag == tag) if ( new_tag == tag ): self.consume_next_string() self.debug_trace( "found tag: %s %x", tag, pxl_tags_dict[tag] ) self.pack( "B", pxl_tags_dict[tag] ) return 1 self.debug_trace( "tag not found: %s", tag ) return 0
ecf78c969222f7513a2f516b0355728295fb546a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/675/ecf78c969222f7513a2f516b0355728295fb546a/pxlasm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11362, 12, 2890, 16, 1047, 4672, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 7923, 394, 67, 2692, 273, 365, 18, 4285, 67, 1080, 1435, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 30, 1392, 1047, 30, 738, 87, 3113, 394, 67, 2692, 13, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 30, 7849, 364, 30, 738, 87, 3113, 1047, 13, 365, 18, 4148, 67, 5129, 27188, 72, 3113, 394, 67, 2692, 422, 1047, 13, 309, 261, 394, 67, 2692, 422, 1047, 262, 30, 365, 18, 21224, 67, 4285, 67, 1080, 1435, 365, 18, 4148, 67, 5129, 12, 315, 7015, 1047, 30, 738, 87, 738, 92, 3113, 1047, 16, 10318, 80, 67, 4156, 67, 1576, 63, 2692, 65, 262, 365, 18, 2920, 12, 315, 38, 3113, 10318, 80, 67, 4156, 67, 1576, 63, 2692, 65, 262, 327, 404, 225, 327, 374, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11362, 12, 2890, 16, 1047, 4672, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 7923, 394, 67, 2692, 273, 365, 18, 4285, 67, 1080, 1435, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 30, 1392, 1047, 30, 738, 87, 3113, 394, 67, 2692, 13, 365, 18, 4148, 67, 5129, 2932, 588, 1805, 30, 7849, 364, 30, 738, 87, 3113, 1047, 13, 365, 18, 4148, 67, 5129, 27188, 72, 3113, 394, 67, 2692, 422, 1047, 13, 309, 261, 394, 67, 2692, 422, 1047, 262, 30, 365, 18, 21224, 67, 4285, 67, 1080, 1435, 365, 18, 4148, 67, 5129, 12, 315, 7015, 1047, 30, 738, 87, 738, 92, 3113, 1047, 16, 10318, 80, 67, 4156, 67, 1576, 63, 2692, 65, 2 ]
def CommonScanner(Scanner):
class CommonScanner(Scanner):
def CommonScanner(Scanner): def __init__ (self, includes): Scanner.__init__(self) self.includes = includes def process(self, target, matches, binding): target_path = os.path.normpath(os.path.dirname(binding[0])) bjam.call("mark-included", target, matches) engine.set_target_variable(matches, "SEARCH", [target_path] + self.includes_) get_manager().scanners().propagate(self, matches)
284a2f0608f4e5ad71cd0b7c110bddde3fcde864 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9981/284a2f0608f4e5ad71cd0b7c110bddde3fcde864/scanner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 667, 5658, 11338, 12, 11338, 4672, 225, 1652, 1001, 2738, 972, 261, 2890, 16, 6104, 4672, 19074, 16186, 2738, 972, 12, 2890, 13, 365, 18, 18499, 273, 6104, 225, 1652, 1207, 12, 2890, 16, 1018, 16, 1885, 16, 5085, 4672, 225, 1018, 67, 803, 273, 1140, 18, 803, 18, 7959, 803, 12, 538, 18, 803, 18, 12287, 12, 7374, 63, 20, 22643, 324, 78, 301, 18, 1991, 2932, 3355, 17, 20405, 3113, 1018, 16, 1885, 13, 225, 4073, 18, 542, 67, 3299, 67, 6105, 12, 8436, 16, 315, 17251, 3113, 306, 3299, 67, 803, 65, 397, 365, 18, 18499, 67, 13, 336, 67, 4181, 7675, 1017, 19637, 7675, 5986, 346, 340, 12, 2890, 16, 1885, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 8585, 326, 22398, 316, 326, 981, 30, 667, 5658, 11338, 12, 11338, 4672, 225, 1652, 1001, 2738, 972, 261, 2890, 16, 6104, 4672, 19074, 16186, 2738, 972, 12, 2890, 13, 365, 18, 18499, 273, 6104, 225, 1652, 1207, 12, 2890, 16, 1018, 16, 1885, 16, 5085, 4672, 225, 1018, 67, 803, 273, 1140, 18, 803, 18, 7959, 803, 12, 538, 18, 803, 18, 12287, 12, 7374, 63, 20, 22643, 324, 78, 301, 18, 1991, 2932, 3355, 17, 20405, 3113, 1018, 16, 1885, 13, 225, 4073, 18, 542, 67, 3299, 67, 6105, 12, 8436, 16, 315, 17251, 3113, 306, 3299, 67, 803, 65, 397, 365, 18, 18499, 67, 13, 336, 67, 4181, 7675, 1017, 19637, 7675, 5986, 346, 340, 12, 2890, 16, 1885, 13, 225, 2, -100, -100 ]
bad_props={}
def get_propvalues(self,uri): """ create lists of property values for an URI
12daa144a047cca15cbada4b7b8d29d37976957e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/195/12daa144a047cca15cbada4b7b8d29d37976957e/propfind.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5986, 2372, 12, 2890, 16, 1650, 4672, 3536, 752, 6035, 434, 1272, 924, 364, 392, 3699, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5986, 2372, 12, 2890, 16, 1650, 4672, 3536, 752, 6035, 434, 1272, 924, 364, 392, 3699, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
BUG_REPORT_URL = Pref(key='ReportURL', default=u"https://develop.participatoryculture.org/trac/democracy/newticket",
BUG_REPORT_URL = Pref(key='ReportURL', default=u"http://www.getmiro.com/bug.html",
def __ne__(self, other): return self.key != other.key
da4e838126c3edfe7629dd4fb0d4833f823e96bb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12354/da4e838126c3edfe7629dd4fb0d4833f823e96bb/prefs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 327, 365, 18, 856, 480, 1308, 18, 856, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 327, 365, 18, 856, 480, 1308, 18, 856, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
elif isinstance(x, str) and x in self.variable_names(): return self.gen(list(self.variable_names()).index(x)) elif isinstance(x , str) and self._has_singular: self._singular_().set_ring()
elif isinstance(x, str):
def __call__(self, x, check=True): """ Coerce \code{x} into this multivariate polynomial ring, possibly non-canonically.
833c2b6b1c56039b0eceb23a05e36c6e637566ac /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/833c2b6b1c56039b0eceb23a05e36c6e637566ac/multi_polynomial_ring.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 866, 33, 5510, 4672, 3536, 7695, 2765, 521, 710, 95, 92, 97, 1368, 333, 1778, 27693, 16991, 9221, 16, 10016, 1661, 17, 4169, 265, 6478, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 16, 866, 33, 5510, 4672, 3536, 7695, 2765, 521, 710, 95, 92, 97, 1368, 333, 1778, 27693, 16991, 9221, 16, 10016, 1661, 17, 4169, 265, 6478, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
grid() title("Histogram of the " + parameter + " value for " + chan + ', Statistics = ' + str(counter))
pylab.grid() pylab.title("Histogram of the " + parameter + " value for " + chan + ', Statistics = ' + str(counter))
def plotHistogram(chan,opts,distribution,histoList,binList,figNumber,percentiles=None,candidate=None,candidateRank=None): parameter = distribution.split('-')[0] step = binList[1] - binList[0] counter = sum(histoList) xlimInf = min(binList) if candidate and not parameter == 'dt': xlimSup = max(max(binList),candidate + 2.0) else: xlimSup = max(binList) figure(figNumber) # semilogy(bins + step/2., z_dist+0.0001, 'r^',markerfacecolor="b",markersize=12) # plot(bins + step/2., z_dist) bar(binList, histoList, width=step, bottom=0) if percentiles: line1 = axvline(x=percentiles[0], ymin=0, ymax=max(histoList), color='g', label='50th percentile', linewidth=2, linestyle='--') line2 = axvline(x=percentiles[1], ymin=0, ymax=max(histoList), color='m', label='95th percentile', linewidth=2, linestyle='--') line3 = axvline(x=percentiles[2], ymin=0, ymax=max(histoList), color='r', label='99th percentile', linewidth=2, linestyle='--') if parameter == 'dt': axvline(x=-percentiles[0], ymin=0, ymax=max(histoList), color='g', label='50th percentile', linewidth=2, linestyle='--') axvline(x=-percentiles[1], ymin=0, ymax=max(histoList), color='m', label='95th percentile', linewidth=2, linestyle='--') axvline(x=-percentiles[2], ymin=0, ymax=max(histoList), color='r', label='99th percentile', linewidth=2, linestyle='--') if candidate: line0 = axvline(x=candidate, ymin=0, ymax=max(histoList), color='k', label='candidate value (%s percentile)' % (candidateRank), linewidth=2, linestyle='-') if percentiles and candidate: legend((line0,line1,line2,line3),('candidate','50%','95%','99%'),loc = 'upper right') if percentiles and not candidate: legend((line1,line2,line3),('50%','95%','99%'),loc = 'upper right') xlim(xlimInf,xlimSup) xlabel(parameter + ' value',size='large') # ylabel(r'#',size='x-large') grid() title("Histogram of the " + parameter + " value for " + chan + ', Statistics = ' + str(counter)) figText = chan.split(':')[0] + '_' + chan.split(':')[1] + '_' + parameter + '_dist' figFileName = InspiralUtils.set_figure_name(opts,figText) InspiralUtils.savefig_pylal(figFileName) close(figNumber) return figFileName
3a58220c8f9b9cb9764dcae94b5a4569bed72c68 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/3a58220c8f9b9cb9764dcae94b5a4569bed72c68/analyseQscan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 12874, 12, 7472, 16, 4952, 16, 16279, 16, 11488, 83, 682, 16, 4757, 682, 16, 470, 1854, 16, 8849, 1449, 33, 7036, 16, 19188, 33, 7036, 16, 19188, 12925, 33, 7036, 4672, 225, 1569, 273, 7006, 18, 4939, 2668, 17, 6134, 63, 20, 65, 225, 2235, 273, 4158, 682, 63, 21, 65, 300, 4158, 682, 63, 20, 65, 3895, 273, 2142, 12, 11488, 83, 682, 13, 225, 19744, 13149, 273, 1131, 12, 4757, 682, 13, 309, 5500, 471, 486, 1569, 422, 296, 7510, 4278, 19744, 3088, 273, 943, 12, 1896, 12, 4757, 682, 3631, 19188, 397, 576, 18, 20, 13, 469, 30, 19744, 3088, 273, 943, 12, 4757, 682, 13, 225, 7837, 12, 470, 1854, 13, 468, 6111, 330, 19556, 12, 11862, 397, 2235, 19, 22, 12990, 998, 67, 4413, 15, 20, 18, 13304, 16, 296, 86, 66, 2187, 11145, 865, 3266, 1546, 70, 3113, 22807, 554, 33, 2138, 13, 468, 3207, 12, 11862, 397, 2235, 19, 22, 12990, 998, 67, 4413, 13, 4653, 12, 4757, 682, 16, 5356, 83, 682, 16, 1835, 33, 4119, 16, 5469, 33, 20, 13, 225, 309, 5551, 1449, 30, 980, 21, 273, 1740, 90, 1369, 12, 92, 33, 8849, 1449, 63, 20, 6487, 15763, 33, 20, 16, 15275, 33, 1896, 12, 11488, 83, 682, 3631, 2036, 2218, 75, 2187, 1433, 2218, 3361, 451, 17279, 2187, 18795, 33, 22, 16, 26388, 2218, 413, 6134, 980, 22, 273, 1740, 90, 1369, 12, 92, 33, 8849, 1449, 63, 21, 6487, 15763, 33, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 12874, 12, 7472, 16, 4952, 16, 16279, 16, 11488, 83, 682, 16, 4757, 682, 16, 470, 1854, 16, 8849, 1449, 33, 7036, 16, 19188, 33, 7036, 16, 19188, 12925, 33, 7036, 4672, 225, 1569, 273, 7006, 18, 4939, 2668, 17, 6134, 63, 20, 65, 225, 2235, 273, 4158, 682, 63, 21, 65, 300, 4158, 682, 63, 20, 65, 3895, 273, 2142, 12, 11488, 83, 682, 13, 225, 19744, 13149, 273, 1131, 12, 4757, 682, 13, 309, 5500, 471, 486, 1569, 422, 296, 7510, 4278, 19744, 3088, 273, 943, 12, 1896, 12, 4757, 682, 3631, 19188, 397, 576, 18, 20, 13, 469, 30, 19744, 3088, 273, 943, 12, 4757, 682, 13, 225, 7837, 12, 470, 1854, 13, 468, 2 ]
self.failUnless(p.password_hash == md5.new('p4ssw0rd').hexdigest().
self.failUnless(p.password_hash == md5.new('p4ssw0rd').hexdigest(),
def test_password_set(self): """Test person password setting works after object creation""" p = Person(handle='testguy', email_address='testguy@example.org') objectstore.flush() d = {'password': 'p4ssw0rd'} p.update(**d) objectstore.flush()
d062565f3d2358055d80f9e6715cce2ce9b8876a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12856/d062565f3d2358055d80f9e6715cce2ce9b8876a/test_person.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3664, 67, 542, 12, 2890, 4672, 3536, 4709, 6175, 2201, 3637, 6330, 1839, 733, 6710, 8395, 293, 273, 11573, 12, 4110, 2218, 3813, 6891, 93, 2187, 2699, 67, 2867, 2218, 3813, 6891, 93, 36, 8236, 18, 3341, 6134, 733, 2233, 18, 11330, 1435, 225, 302, 273, 13666, 3664, 4278, 296, 84, 24, 1049, 91, 20, 13623, 11, 97, 293, 18, 2725, 12, 636, 72, 13, 733, 2233, 18, 11330, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3664, 67, 542, 12, 2890, 4672, 3536, 4709, 6175, 2201, 3637, 6330, 1839, 733, 6710, 8395, 293, 273, 11573, 12, 4110, 2218, 3813, 6891, 93, 2187, 2699, 67, 2867, 2218, 3813, 6891, 93, 36, 8236, 18, 3341, 6134, 733, 2233, 18, 11330, 1435, 225, 302, 273, 13666, 3664, 4278, 296, 84, 24, 1049, 91, 20, 13623, 11, 97, 293, 18, 2725, 12, 636, 72, 13, 733, 2233, 18, 11330, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
anm1s[i] += sum([m*Z_Fbasis[i]*adj[i].__int__()//adj[self.d].__int__() for i in range(self.d)])
anm1s[i] += sum([m*Z_Fbasis[ii]*int(adj[ii])//int(adj[self.d]) for ii in range(self.d)])
def __init__(self, F, m, B, a=None): r""" Initialization routine (constructor).
8133d24620d7bdcaf250059d6e3229d0c19940f6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/8133d24620d7bdcaf250059d6e3229d0c19940f6/totallyreal_rel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 478, 16, 312, 16, 605, 16, 279, 33, 7036, 4672, 436, 8395, 26586, 12245, 261, 12316, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
('journal', '=', data['form']['journal']), ('period', '=', data['form']['period']),
('journal', '=', journal_id), ('period', '=', period_id),
def _action_open_journal(self, cursor, user, data, context=None): journal_period_obj = self.pool.get('account.journal.period') journal_obj = self.pool.get('account.journal') period_obj = self.pool.get('account.period') if not journal_period_obj.search(cursor, user, [ ('journal', '=', data['form']['journal']), ('period', '=', data['form']['period']), ], context=context): journal = journal_obj.browse(cursor, user, data['form']['journal'], context=context) period = period_obj.browse(cursor, user, data['form']['period'], context=context) journal_period_obj.create(cursor, user, { 'name': journal.name + ' - ' + period.name, 'journal': journal.id, 'period': period.id, }, context=context) return { 'domain': str([ ('journal', '=', data['form']['journal']), ('period', '=', data['form']['period']), ]), 'view_type': 'form', 'view_mode': 'tree,form', 'res_model': 'account.move.line', 'type': 'ir.action.act_window', 'context': str({ 'journal': data['form']['journal'], 'period': data['form']['period'], }), }
60e0d87eee85daaf85629446d9431c13253c663f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9290/60e0d87eee85daaf85629446d9431c13253c663f/move.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 67, 3190, 67, 22644, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 33, 7036, 4672, 13001, 67, 6908, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 18, 6908, 6134, 13001, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 6134, 3879, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 6908, 6134, 309, 486, 13001, 67, 6908, 67, 2603, 18, 3072, 12, 9216, 16, 729, 16, 306, 7707, 22644, 2187, 15196, 2187, 13001, 67, 350, 3631, 7707, 6908, 2187, 15196, 2187, 3879, 67, 350, 3631, 308, 16, 819, 33, 2472, 4672, 13001, 273, 13001, 67, 2603, 18, 25731, 12, 9216, 16, 729, 16, 501, 3292, 687, 21712, 22644, 17337, 819, 33, 2472, 13, 3879, 273, 3879, 67, 2603, 18, 25731, 12, 9216, 16, 729, 16, 501, 3292, 687, 21712, 6908, 17337, 819, 33, 2472, 13, 13001, 67, 6908, 67, 2603, 18, 2640, 12, 9216, 16, 729, 16, 288, 296, 529, 4278, 13001, 18, 529, 397, 296, 300, 296, 397, 3879, 18, 529, 16, 296, 22644, 4278, 13001, 18, 350, 16, 296, 6908, 4278, 3879, 18, 350, 16, 19879, 819, 33, 2472, 13, 327, 288, 296, 4308, 4278, 609, 3816, 7707, 22644, 2187, 15196, 2187, 13001, 67, 350, 3631, 7707, 6908, 2187, 15196, 2187, 3879, 67, 350, 3631, 308, 3631, 296, 1945, 67, 723, 4278, 296, 687, 2187, 296, 1945, 67, 3188, 4278, 296, 3413, 16, 687, 2187, 296, 455, 67, 2284, 4278, 296, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 67, 3190, 67, 22644, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 33, 7036, 4672, 13001, 67, 6908, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 18, 6908, 6134, 13001, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 22644, 6134, 3879, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 6908, 6134, 309, 486, 13001, 67, 6908, 67, 2603, 18, 3072, 12, 9216, 16, 729, 16, 306, 7707, 22644, 2187, 15196, 2187, 13001, 67, 350, 3631, 7707, 6908, 2187, 15196, 2187, 3879, 67, 350, 3631, 308, 16, 819, 33, 2472, 4672, 13001, 273, 13001, 67, 2603, 18, 25731, 12, 9216, 16, 729, 16, 501, 3292, 2 ]
except AttributeError, OSError:
except (AttributeError, OSError):
def systemload(): """ Try to get the number of processes in the system run queue, averaged over the last minute. If this info is unavailable, return None. """ try: return max(os.getloadavg()) except AttributeError, OSError: return None
29aa4db4f6c3814884bbd086f13edcbf37e54e88 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10655/29aa4db4f6c3814884bbd086f13edcbf37e54e88/shotfactory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2619, 945, 13332, 3536, 6161, 358, 336, 326, 1300, 434, 8488, 316, 326, 2619, 1086, 2389, 16, 23713, 11349, 1879, 326, 1142, 8044, 18, 971, 333, 1123, 353, 15781, 16, 327, 599, 18, 3536, 775, 30, 327, 943, 12, 538, 18, 588, 945, 14141, 10756, 1335, 261, 1499, 668, 16, 10002, 4672, 327, 599, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2619, 945, 13332, 3536, 6161, 358, 336, 326, 1300, 434, 8488, 316, 326, 2619, 1086, 2389, 16, 23713, 11349, 1879, 326, 1142, 8044, 18, 971, 333, 1123, 353, 15781, 16, 327, 599, 18, 3536, 775, 30, 327, 943, 12, 538, 18, 588, 945, 14141, 10756, 1335, 261, 1499, 668, 16, 10002, 4672, 327, 599, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
while 1:
rv = "(unknown file)", 0, "(unknown function)" while hasattr(f, "f_code"):
def findCaller(self): """ Find the stack frame of the caller so that we can note the source file name, line number and function name. """ f = currentframe().f_back while 1: co = f.f_code filename = os.path.normcase(co.co_filename) if filename == _srcfile: f = f.f_back continue return filename, f.f_lineno, co.co_name
e11453dbfd322e8a78e66aac4809d3dc2aed5100 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e11453dbfd322e8a78e66aac4809d3dc2aed5100/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 11095, 12, 2890, 4672, 3536, 4163, 326, 2110, 2623, 434, 326, 4894, 1427, 716, 732, 848, 4721, 326, 1084, 585, 508, 16, 980, 1300, 471, 445, 508, 18, 3536, 284, 273, 783, 3789, 7675, 74, 67, 823, 5633, 273, 7751, 8172, 585, 2225, 16, 374, 16, 7751, 8172, 445, 2225, 1323, 3859, 12, 74, 16, 315, 74, 67, 710, 6, 4672, 1825, 273, 284, 18, 74, 67, 710, 1544, 273, 1140, 18, 803, 18, 7959, 3593, 12, 2894, 18, 2894, 67, 3459, 13, 309, 1544, 422, 389, 4816, 768, 30, 284, 273, 284, 18, 74, 67, 823, 1324, 327, 1544, 16, 284, 18, 74, 67, 17782, 16, 1825, 18, 2894, 67, 529, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1104, 11095, 12, 2890, 4672, 3536, 4163, 326, 2110, 2623, 434, 326, 4894, 1427, 716, 732, 848, 4721, 326, 1084, 585, 508, 16, 980, 1300, 471, 445, 508, 18, 3536, 284, 273, 783, 3789, 7675, 74, 67, 823, 5633, 273, 7751, 8172, 585, 2225, 16, 374, 16, 7751, 8172, 445, 2225, 1323, 3859, 12, 74, 16, 315, 74, 67, 710, 6, 4672, 1825, 273, 284, 18, 74, 67, 710, 1544, 273, 1140, 18, 803, 18, 7959, 3593, 12, 2894, 18, 2894, 67, 3459, 13, 309, 1544, 422, 389, 4816, 768, 30, 284, 273, 284, 18, 74, 67, 823, 1324, 327, 1544, 16, 284, 18, 74, 67, 17782, 16, 1825, 18, 2894, 67, 529, 2, -100, -100, -100, -100, -100 ]
if fval.find('\n') > -1:
if fval.find('\n') != -1:
def format_props(self): tkt = self.ticket fields = [f for f in tkt.fields if f['type'] != 'textarea' and f['name'] not in ('summary', 'cc')] t = self.modtime or tkt.time_changed width = [0, 0, 0, 0] for i, f in enum([f['name'] for f in fields]): if not tkt.values.has_key(f): continue fval = tkt[f] if fval.find('\n') > -1: continue idx = 2 * (i % 2) if len(f) > width[idx]: width[idx] = len(f) if len(fval) > width[idx + 1]: width[idx + 1] = len(fval) format = ('%%%is: %%-%is | ' % (width[0], width[1]), ' %%%is: %%-%is%s' % (width[2], width[3], CRLF)) l = (width[0] + width[1] + 5) sep = l * '-' + '+' + (self.COLS - l) * '-' txt = sep + CRLF big = [f for f in tkt.fields if f['type'] == 'textarea' and f['name'] != 'description'] i = 0 for f in [f['name'] for f in fields]: if not tkt.values.has_key(f): continue fval = tkt[f] if '\n' in str(fval): big.append((f.capitalize(), CRLF.join(fval.splitlines()))) else: txt += format[i % 2] % (f.capitalize(), fval) i += 1 if not i % 2: txt += CRLF if big: txt += sep for name, value in big: txt += CRLF.join(['', name + ':', value, '', '']) txt += sep return txt
f1ab6093ddcbd5043fbfaafca5b5e06bde87313b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/f1ab6093ddcbd5043fbfaafca5b5e06bde87313b/Notify.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, 529, 3546, 486, 316, 7707, 7687, 2187, 296, 952, 6134, 65, 268, 273, 365, 18, 1711, 957, 578, 268, 8629, 18, 957, 67, 6703, 1835, 273, 306, 20, 16, 374, 16, 374, 16, 374, 65, 364, 277, 16, 284, 316, 2792, 3816, 74, 3292, 529, 3546, 364, 284, 316, 1466, 65, 4672, 309, 486, 268, 8629, 18, 2372, 18, 5332, 67, 856, 12, 74, 4672, 1324, 284, 1125, 273, 268, 8629, 63, 74, 65, 309, 284, 1125, 18, 4720, 2668, 64, 82, 6134, 480, 300, 21, 30, 1324, 2067, 273, 576, 380, 261, 77, 738, 576, 13, 309, 562, 12, 74, 13, 405, 1835, 63, 3465, 14542, 1835, 63, 3465, 65, 273, 562, 12, 74, 13, 309, 562, 12, 74, 1125, 13, 405, 1835, 63, 3465, 397, 404, 14542, 1835, 63, 3465, 397, 404, 65, 273, 562, 12, 74, 1125, 13, 740, 273, 7707, 11438, 9, 291, 30, 225, 26510, 6456, 291, 225, 571, 225, 296, 738, 261, 2819, 63, 20, 6487, 1835, 63, 21, 65, 3631, 296, 738, 11438, 291, 30, 225, 26510, 6456, 291, 9, 87, 11, 738, 261, 2819, 63, 22, 6487, 1835, 63, 23, 6487, 21791, 3719, 328, 273, 261, 2819, 63, 20, 65, 397, 1835, 63, 21, 65, 397, 1381, 13, 5478, 273, 328, 380, 4014, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, 529, 3546, 486, 316, 7707, 7687, 2187, 296, 952, 6134, 65, 268, 273, 365, 18, 1711, 957, 578, 268, 8629, 18, 957, 67, 6703, 1835, 273, 306, 20, 16, 374, 16, 374, 16, 374, 65, 364, 277, 16, 284, 316, 2792, 3816, 74, 3292, 529, 3546, 364, 284, 316, 1466, 65, 4672, 309, 486, 268, 8629, 18, 2372, 18, 5332, 67, 856, 12, 74, 4672, 1324, 284, 1125, 273, 268, 8629, 63, 74, 65, 309, 284, 1125, 18, 4720, 2668, 64, 82, 6134, 2 ]
if not m:
if m == (None, None):
def quoteaddr(addr): """Quote a subset of the email addresses defined by RFC 821. Should be able to handle anything rfc822.parseaddr can handle. """ m=None try: m=rfc822.parseaddr(addr)[1] except AttributeError: pass if not m: #something weird here.. punt -ddm return addr else: return "<%s>" % m
1ebbe164a2e18dbca3307aefa87e3b53fe2528d0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/1ebbe164a2e18dbca3307aefa87e3b53fe2528d0/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4914, 684, 3069, 12, 4793, 4672, 3536, 10257, 279, 7931, 434, 326, 2699, 6138, 2553, 635, 8372, 1725, 5340, 18, 225, 9363, 506, 7752, 358, 1640, 6967, 16590, 24532, 18, 2670, 4793, 848, 1640, 18, 3536, 312, 33, 7036, 775, 30, 312, 33, 16784, 24532, 18, 2670, 4793, 12, 4793, 25146, 21, 65, 1335, 6394, 30, 1342, 309, 312, 422, 261, 7036, 16, 599, 4672, 468, 30289, 20843, 2674, 838, 293, 10032, 300, 449, 81, 327, 3091, 469, 30, 327, 3532, 9, 87, 2984, 738, 312, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4914, 684, 3069, 12, 4793, 4672, 3536, 10257, 279, 7931, 434, 326, 2699, 6138, 2553, 635, 8372, 1725, 5340, 18, 225, 9363, 506, 7752, 358, 1640, 6967, 16590, 24532, 18, 2670, 4793, 848, 1640, 18, 3536, 312, 33, 7036, 775, 30, 312, 33, 16784, 24532, 18, 2670, 4793, 12, 4793, 25146, 21, 65, 1335, 6394, 30, 1342, 309, 312, 422, 261, 7036, 16, 599, 4672, 468, 30289, 20843, 2674, 838, 293, 10032, 300, 449, 81, 327, 3091, 469, 30, 327, 3532, 9, 87, 2984, 738, 312, 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, -100, -100, -100, -100, -100, -100, -100, -100 ]
if type == 'traj':
if format == 'traj':
def read(filename, index=-1): p = filename.rfind('@') if p != -1: try: index = string2index(filename[p + 1:]) except ValueError: pass else: filename = filename[:p] type = filetype(filename) if type.startswith('gpw'): from gpaw import Calculator atoms = Calculator(filename, txt=None).get_atoms() atoms.set_calculator(None) return atoms if type == 'xyz': from ase.io.xyz import read_xyz return read_xyz(filename, index) if type == 'traj': from ase.io.trajectory import read_trajectory return read_trajectory(filename, index) if type == 'cube': from ase.io.cube import read_cube return read_cube(filename, index) if type == 'nc': from ase.io.netcdf import read_netcdf return read_netcdf(filename, index) if type == 'gpaw-text': from ase.io.gpawtext import read_gpaw_text return read_gpaw_text(filename, index) if type == 'dacapo-text': from ase.io.dacapo import read_dacapo_text return read_dacapo_text(filename) if type == 'dacapo': from ase.io.dacapo import read_dacapo return read_dacapo(filename) raise RuntimeError('That can *not* happen!')
4812740e71165fed2e5653702a0bff58f855d15c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1380/4812740e71165fed2e5653702a0bff58f855d15c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 3459, 16, 770, 29711, 21, 4672, 293, 273, 1544, 18, 86, 4720, 2668, 36, 6134, 309, 293, 480, 300, 21, 30, 775, 30, 770, 273, 533, 22, 1615, 12, 3459, 63, 84, 397, 404, 30, 5717, 1335, 2068, 30, 1342, 469, 30, 1544, 273, 1544, 10531, 84, 65, 225, 618, 273, 18902, 12, 3459, 13, 225, 309, 618, 18, 17514, 1918, 2668, 6403, 91, 11, 4672, 628, 4178, 2219, 1930, 15994, 639, 9006, 273, 15994, 639, 12, 3459, 16, 6463, 33, 7036, 2934, 588, 67, 14937, 1435, 9006, 18, 542, 67, 12780, 639, 12, 7036, 13, 327, 9006, 225, 309, 618, 422, 296, 17177, 4278, 628, 26561, 18, 1594, 18, 17177, 1930, 855, 67, 17177, 327, 855, 67, 17177, 12, 3459, 16, 770, 13, 225, 309, 740, 422, 296, 30514, 4278, 628, 26561, 18, 1594, 18, 2033, 19528, 1930, 855, 67, 2033, 19528, 327, 855, 67, 2033, 19528, 12, 3459, 16, 770, 13, 225, 309, 618, 422, 296, 21186, 4278, 628, 26561, 18, 1594, 18, 21186, 1930, 855, 67, 21186, 327, 855, 67, 21186, 12, 3459, 16, 770, 13, 225, 309, 618, 422, 296, 14202, 4278, 628, 26561, 18, 1594, 18, 2758, 24799, 1930, 855, 67, 2758, 24799, 327, 855, 67, 2758, 24799, 12, 3459, 16, 770, 13, 225, 309, 618, 422, 296, 6403, 2219, 17, 955, 4278, 628, 26561, 18, 1594, 18, 6403, 2219, 955, 1930, 855, 67, 6403, 2219, 67, 955, 327, 855, 67, 6403, 2219, 67, 955, 12, 3459, 16, 770, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 3459, 16, 770, 29711, 21, 4672, 293, 273, 1544, 18, 86, 4720, 2668, 36, 6134, 309, 293, 480, 300, 21, 30, 775, 30, 770, 273, 533, 22, 1615, 12, 3459, 63, 84, 397, 404, 30, 5717, 1335, 2068, 30, 1342, 469, 30, 1544, 273, 1544, 10531, 84, 65, 225, 618, 273, 18902, 12, 3459, 13, 225, 309, 618, 18, 17514, 1918, 2668, 6403, 91, 11, 4672, 628, 4178, 2219, 1930, 15994, 639, 9006, 273, 15994, 639, 12, 3459, 16, 6463, 33, 7036, 2934, 588, 67, 14937, 1435, 9006, 18, 542, 67, 12780, 639, 12, 7036, 13, 327, 9006, 225, 309, 618, 422, 296, 17177, 4278, 628, 26561, 18, 1594, 18, 17177, 1930, 855, 67, 17177, 327, 2 ]
return fnum
def AddFileHistoryToProfile(file_history): """Manages work of adding a file from the profile in order to allow the top files from the history to be available the next time the user opens the program. @param file_history: add saved files to history list """ files = list() for fnum in xrange(file_history.GetNoHistoryFiles()): files.append(file_history.GetHistoryFile(fnum)) Profile_Set('FHIST', files) return fnum
6d3d0b360dbaf8ac19c4e8589121a6722288afb2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3530/6d3d0b360dbaf8ac19c4e8589121a6722288afb2/profiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 812, 5623, 774, 4029, 12, 768, 67, 8189, 4672, 3536, 49, 940, 281, 1440, 434, 6534, 279, 585, 628, 326, 3042, 316, 1353, 358, 1699, 326, 1760, 1390, 628, 326, 4927, 358, 506, 2319, 326, 1024, 813, 326, 729, 10400, 326, 5402, 18, 632, 891, 585, 67, 8189, 30, 527, 5198, 1390, 358, 4927, 666, 225, 3536, 1390, 273, 666, 1435, 364, 284, 2107, 316, 12314, 12, 768, 67, 8189, 18, 967, 2279, 5623, 2697, 1435, 4672, 1390, 18, 6923, 12, 768, 67, 8189, 18, 967, 5623, 812, 12, 74, 2107, 3719, 11357, 67, 694, 2668, 42, 44, 5511, 2187, 1390, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1436, 812, 5623, 774, 4029, 12, 768, 67, 8189, 4672, 3536, 49, 940, 281, 1440, 434, 6534, 279, 585, 628, 326, 3042, 316, 1353, 358, 1699, 326, 1760, 1390, 628, 326, 4927, 358, 506, 2319, 326, 1024, 813, 326, 729, 10400, 326, 5402, 18, 632, 891, 585, 67, 8189, 30, 527, 5198, 1390, 358, 4927, 666, 225, 3536, 1390, 273, 666, 1435, 364, 284, 2107, 316, 12314, 12, 768, 67, 8189, 18, 967, 2279, 5623, 2697, 1435, 4672, 1390, 18, 6923, 12, 768, 67, 8189, 18, 967, 5623, 812, 12, 74, 2107, 3719, 11357, 67, 694, 2668, 42, 44, 5511, 2187, 1390, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
None, [cty.POINTER(FL_IMAGE)],
None, [cty.POINTER(FL_IMAGE)],
def flimage_free_ci(pImage): """ flimage_free_ci(pImage) """ _flimage_free_ci(pImage)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 4672, 3536, 1183, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 3536, 225, 389, 2242, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1183, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 4672, 3536, 1183, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 3536, 225, 389, 2242, 2730, 67, 9156, 67, 8450, 12, 84, 2040, 13, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logging.info("transforming: %s", args)
logging.debug("transforming: %s", args)
def TransformToDir(self): """Transforms the file to the directory format.
e74009b35126b800813cd617aa0788ac8cc6ee03 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3137/e74009b35126b800813cd617aa0788ac8cc6ee03/opencsw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11514, 774, 1621, 12, 2890, 4672, 3536, 15236, 326, 585, 358, 326, 1867, 740, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11514, 774, 1621, 12, 2890, 4672, 3536, 15236, 326, 585, 358, 326, 1867, 740, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 65) else quickfix.StringField.__init__(self, 65, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 15892, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 15892, 16, 501, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 15892, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 15892, 16, 501, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.unixsocket = 1
def __init__(self, address=('localhost', SYSLOG_UDP_PORT), facility=LOG_USER): """ Initialize a handler.
46cd1a035bc727a373c148f31e243cdc91318ea4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/46cd1a035bc727a373c148f31e243cdc91318ea4/handlers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1758, 33, 2668, 13014, 2187, 7068, 55, 4842, 67, 20352, 67, 6354, 3631, 28164, 33, 4842, 67, 4714, 4672, 3536, 9190, 279, 1838, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
convertor = option_spec[name]
convertor = options_spec[name]
def assemble_option_dict(option_list, option_spec): """ Return a mapping of option names to values. :Parameters: - `option_list`: A list of (name, value) pairs (the output of `extract_options()`). - `option_spec`: Dictionary mapping known option names to a conversion function such as `int` or `float`. :Exceptions: - `KeyError` for unknown option names. - `DuplicateOptionError` for duplicate options. - `ValueError` for invalid option values (raised by conversion function). """ options = {} for name, value in option_list: convertor = option_spec[name] # raises KeyError if unknown if options.has_key(name): raise DuplicateOptionError('duplicate option "%s"' % name) try: options[name] = convertor(value) except (ValueError, TypeError), detail: raise detail.__class__('(option: "%s"; value: %r)\n%s' % (name, value, detail)) return options
bf3cbe9660ba298bb164c2298c41a65d80bd702a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/bf3cbe9660ba298bb164c2298c41a65d80bd702a/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19540, 67, 3482, 67, 1576, 12, 3482, 67, 1098, 16, 1456, 67, 2793, 4672, 3536, 2000, 279, 2874, 434, 1456, 1257, 358, 924, 18, 225, 294, 2402, 30, 300, 1375, 3482, 67, 1098, 68, 30, 432, 666, 434, 261, 529, 16, 460, 13, 5574, 261, 5787, 876, 434, 1375, 8004, 67, 2116, 20338, 2934, 300, 1375, 3482, 67, 2793, 68, 30, 16447, 2874, 4846, 1456, 1257, 358, 279, 4105, 445, 4123, 487, 1375, 474, 68, 578, 1375, 5659, 8338, 225, 294, 11416, 30, 300, 1375, 653, 668, 68, 364, 5917, 1456, 1257, 18, 300, 1375, 11826, 1895, 668, 68, 364, 6751, 702, 18, 300, 1375, 23610, 68, 364, 2057, 1456, 924, 261, 354, 5918, 635, 4105, 445, 2934, 3536, 702, 273, 2618, 364, 508, 16, 460, 316, 1456, 67, 1098, 30, 1765, 280, 273, 702, 67, 2793, 63, 529, 65, 4202, 468, 14183, 4999, 309, 5917, 309, 702, 18, 5332, 67, 856, 12, 529, 4672, 1002, 19072, 1895, 668, 2668, 17342, 1456, 2213, 87, 5187, 738, 508, 13, 775, 30, 702, 63, 529, 65, 273, 1765, 280, 12, 1132, 13, 1335, 261, 23610, 16, 3580, 3631, 7664, 30, 1002, 7664, 16186, 1106, 972, 2668, 12, 3482, 30, 2213, 87, 14432, 460, 30, 738, 86, 5153, 82, 9, 87, 11, 738, 261, 529, 16, 460, 16, 7664, 3719, 327, 702, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19540, 67, 3482, 67, 1576, 12, 3482, 67, 1098, 16, 1456, 67, 2793, 4672, 3536, 2000, 279, 2874, 434, 1456, 1257, 358, 924, 18, 225, 294, 2402, 30, 300, 1375, 3482, 67, 1098, 68, 30, 432, 666, 434, 261, 529, 16, 460, 13, 5574, 261, 5787, 876, 434, 1375, 8004, 67, 2116, 20338, 2934, 300, 1375, 3482, 67, 2793, 68, 30, 16447, 2874, 4846, 1456, 1257, 358, 279, 4105, 445, 4123, 487, 1375, 474, 68, 578, 1375, 5659, 8338, 225, 294, 11416, 30, 300, 1375, 653, 668, 68, 364, 5917, 1456, 1257, 18, 300, 1375, 11826, 1895, 668, 68, 364, 6751, 702, 18, 300, 1375, 23610, 68, 364, 2057, 1456, 924, 261, 354, 5918, 635, 4105, 445, 2934, 2 ]
self.fState.fBlendFlags |= hsGMatState.hsGMatBlendFlags["kBlendAlpha"]
def FromBlenderMTex(self,mtex,obj,mat,stencil=False,hasstencil=False): print " [Layer %s]"%(str(self.Key.name)) #prp is for current prp file... (though that should be obtainable from self.parent.prp) resmanager=self.getResManager() root=self.getRoot()
a15bfd0f3a50e90d4e447a6c23a96f5c32489b80 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12286/a15bfd0f3a50e90d4e447a6c23a96f5c32489b80/alc_MatClasses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6338, 4802, 2345, 6152, 338, 12, 2890, 16, 1010, 338, 16, 2603, 16, 7373, 16, 334, 21620, 33, 8381, 16, 5332, 334, 21620, 33, 8381, 4672, 1172, 315, 282, 306, 4576, 738, 87, 4279, 17105, 701, 12, 2890, 18, 653, 18, 529, 3719, 468, 683, 84, 353, 364, 783, 846, 84, 585, 2777, 261, 18897, 716, 1410, 506, 7161, 429, 628, 365, 18, 2938, 18, 683, 84, 13, 400, 4181, 33, 2890, 18, 588, 607, 1318, 1435, 1365, 33, 2890, 18, 588, 2375, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6338, 4802, 2345, 6152, 338, 12, 2890, 16, 1010, 338, 16, 2603, 16, 7373, 16, 334, 21620, 33, 8381, 16, 5332, 334, 21620, 33, 8381, 4672, 1172, 315, 282, 306, 4576, 738, 87, 4279, 17105, 701, 12, 2890, 18, 653, 18, 529, 3719, 468, 683, 84, 353, 364, 783, 846, 84, 585, 2777, 261, 18897, 716, 1410, 506, 7161, 429, 628, 365, 18, 2938, 18, 683, 84, 13, 400, 4181, 33, 2890, 18, 588, 607, 1318, 1435, 1365, 33, 2890, 18, 588, 2375, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if self.angle: m.rotate(angle)
if self.angle: m.rotate(self.angle)
def draw(self): if self.kind: m = getattr(self,'_'+self.kind) if self.angle: _x, _dx, _y, _dy = self.x, self.dx, self.y, self.dy self.x, self.dx, self.y, self.dy = 0,0,0,0 try: m = m() finally: self.x, self.dx, self.y, self.dy = _x, _dx, _y, _dy if not isinstance(m,Group): _m, m = m, Group() m.add(_m) if self.angle: m.rotate(angle) x, y = _x+_dx, _y+_dy if x or y: m.shift(x,y) else: m = m() else: m = Group() return m
056c274f652ec39e3042a9cd21dffdbc067e5b9e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/056c274f652ec39e3042a9cd21dffdbc067e5b9e/markers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 309, 365, 18, 9224, 30, 312, 273, 3869, 12, 2890, 11189, 4623, 15, 2890, 18, 9224, 13, 309, 365, 18, 4341, 30, 389, 92, 16, 389, 13437, 16, 389, 93, 16, 389, 15680, 273, 365, 18, 92, 16, 365, 18, 13437, 16, 365, 18, 93, 16, 365, 18, 15680, 365, 18, 92, 16, 365, 18, 13437, 16, 365, 18, 93, 16, 365, 18, 15680, 273, 374, 16, 20, 16, 20, 16, 20, 775, 30, 312, 273, 312, 1435, 3095, 30, 365, 18, 92, 16, 365, 18, 13437, 16, 365, 18, 93, 16, 365, 18, 15680, 273, 389, 92, 16, 389, 13437, 16, 389, 93, 16, 389, 15680, 309, 486, 1549, 12, 81, 16, 1114, 4672, 389, 81, 16, 312, 273, 312, 16, 3756, 1435, 312, 18, 1289, 24899, 81, 13, 309, 365, 18, 4341, 30, 312, 18, 20342, 12, 2890, 18, 4341, 13, 619, 16, 677, 273, 389, 92, 15, 67, 13437, 16, 389, 93, 15, 67, 15680, 309, 619, 578, 677, 30, 312, 18, 4012, 12, 92, 16, 93, 13, 469, 30, 312, 273, 312, 1435, 469, 30, 312, 273, 3756, 1435, 327, 312, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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, 3724, 12, 2890, 4672, 309, 365, 18, 9224, 30, 312, 273, 3869, 12, 2890, 11189, 4623, 15, 2890, 18, 9224, 13, 309, 365, 18, 4341, 30, 389, 92, 16, 389, 13437, 16, 389, 93, 16, 389, 15680, 273, 365, 18, 92, 16, 365, 18, 13437, 16, 365, 18, 93, 16, 365, 18, 15680, 365, 18, 92, 16, 365, 18, 13437, 16, 365, 18, 93, 16, 365, 18, 15680, 273, 374, 16, 20, 16, 20, 16, 20, 775, 30, 312, 273, 312, 1435, 3095, 30, 365, 18, 92, 16, 365, 18, 13437, 16, 365, 18, 93, 16, 365, 18, 15680, 273, 389, 92, 16, 389, 13437, 16, 389, 93, 16, 389, 15680, 309, 486, 1549, 12, 81, 16, 1114, 2 ]
sage.misc.persist.save(v, COMMANDS_CACHE)
if len(v) > 200: sage.misc.persist.save(v, COMMANDS_CACHE)
def trait_names(self, verbose=True, use_disk_cache=True): try: return self.__trait_names except AttributeError: import sage.misc.persist if use_disk_cache: try: self.__trait_names = sage.misc.persist.load(COMMANDS_CACHE) return self.__trait_names except IOError: pass if verbose: print "\nBuilding Maple command completion list (this takes" print "a few seconds only the first time you do it)." print "To force rebuild later, delete %s."%COMMANDS_CACHE v = self._commands() self.__trait_names = v sage.misc.persist.save(v, COMMANDS_CACHE) return v
063d5994ea865de92bea73d5b192bbf998d0f7be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/063d5994ea865de92bea73d5b192bbf998d0f7be/maple.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13517, 67, 1973, 12, 2890, 16, 3988, 33, 5510, 16, 999, 67, 10863, 67, 2493, 33, 5510, 4672, 775, 30, 327, 365, 16186, 22513, 67, 1973, 1335, 6394, 30, 1930, 272, 410, 18, 23667, 18, 19251, 309, 999, 67, 10863, 67, 2493, 30, 775, 30, 365, 16186, 22513, 67, 1973, 273, 272, 410, 18, 23667, 18, 19251, 18, 945, 12, 4208, 9560, 3948, 67, 8495, 13, 327, 365, 16186, 22513, 67, 1973, 1335, 8340, 30, 1342, 309, 3988, 30, 1172, 1548, 82, 16713, 1635, 298, 1296, 8364, 666, 261, 2211, 5530, 6, 1172, 315, 69, 11315, 3974, 1338, 326, 1122, 813, 1846, 741, 518, 14944, 1172, 315, 774, 2944, 13419, 5137, 16, 1430, 738, 87, 1199, 9, 4208, 9560, 3948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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13517, 67, 1973, 12, 2890, 16, 3988, 33, 5510, 16, 999, 67, 10863, 67, 2493, 33, 5510, 4672, 775, 30, 327, 365, 16186, 22513, 67, 1973, 1335, 6394, 30, 1930, 272, 410, 18, 23667, 18, 19251, 309, 999, 67, 10863, 67, 2493, 30, 775, 30, 365, 16186, 22513, 67, 1973, 273, 272, 410, 18, 23667, 18, 19251, 18, 945, 12, 4208, 9560, 3948, 67, 8495, 13, 327, 365, 16186, 22513, 67, 1973, 1335, 8340, 30, 1342, 309, 3988, 30, 1172, 1548, 82, 16713, 1635, 298, 1296, 8364, 666, 261, 2211, 5530, 6, 1172, 315, 69, 11315, 3974, 1338, 326, 1122, 813, 1846, 741, 518, 14944, 1172, 315, 774, 2944, 13419, 5137, 16, 1430, 738, 87, 1199, 9, 4208, 2 ]
self.event_cpus = [old_cpu, new_cpu]
if old_rq is not out_rq: self.event_cpus.append(old_cpu) self.event_cpus.append(new_cpu)
def migrate(self, ts_list, new, old_cpu, new_cpu): if old_cpu == new_cpu: return old_rq = self.prev.rqs[old_cpu] out_rq = old_rq.migrate_out(new) self.rqs[old_cpu] = out_rq self.__update_total_load(old_rq, out_rq)
325579d01530cfc556b1dcb794cdf3251d35f675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5327/325579d01530cfc556b1dcb794cdf3251d35f675/sched-migration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13187, 12, 2890, 16, 3742, 67, 1098, 16, 394, 16, 1592, 67, 11447, 16, 394, 67, 11447, 4672, 309, 1592, 67, 11447, 422, 394, 67, 11447, 30, 327, 1592, 67, 86, 85, 273, 365, 18, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13187, 12, 2890, 16, 3742, 67, 1098, 16, 394, 16, 1592, 67, 11447, 16, 394, 67, 11447, 4672, 309, 1592, 67, 11447, 422, 394, 67, 11447, 30, 327, 1592, 67, 86, 85, 273, 365, 18, 10001, 18, 86, 12926, 63, 1673, 67, 11447, 65, 596, 67, 86, 85, 273, 1592, 67, 86, 85, 18, 22083, 67, 659, 12, 2704, 13, 365, 18, 86, 12926, 63, 1673, 67, 11447, 65, 273, 596, 67, 86, 85, 365, 16186, 2725, 67, 4963, 67, 945, 12, 1673, 67, 86, 85, 16, 596, 67, 86, 85, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for event, value in filter_tags(events, ['script', 'style']):
for event, value, line in filter_tags(events, ['script', 'style']):
def get_translatable_blocks(events): from .xml import get_start_tag, get_end_tag message = Message() keep_spaces = False for event, value in filter_tags(events, ['script', 'style']): if event == TEXT: message.append_text(value) elif event == START_ELEMENT: tag_uri, tag_name, attributes = value # Attributes for attr_uri, attr_name in attributes: value = attributes[(attr_uri, attr_name)] is_translatable = get_namespace(attr_uri).is_translatable if is_translatable(tag_uri, tag_name, attributes, attr_name): if value.strip(): aux = Message() aux.append_text(value) yield aux, True # Inline or Block schema = get_element_schema(tag_uri, tag_name) if schema.get('is_inline', False): value = get_start_tag(tag_uri, tag_name, attributes) message.append_format(value) else: yield message, keep_spaces message = Message() # Presarve spaces if <pre> if tag_name == 'pre': keep_spaces = True elif event == END_ELEMENT: tag_uri, tag_name = value schema = get_element_schema(tag_uri, tag_name) if schema.get('is_inline', False): value = get_end_tag(tag_uri, tag_name) message.append_format(value) else: yield message, keep_spaces message = Message() # </pre> don't preserve spaces any more if tag_name == 'pre': keep_spaces = False
5d660a7c4599de50199737f97db7f8556bb249be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/5d660a7c4599de50199737f97db7f8556bb249be/i18n.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2338, 27290, 67, 7996, 12, 5989, 4672, 628, 263, 2902, 1930, 336, 67, 1937, 67, 2692, 16, 336, 67, 409, 67, 2692, 225, 883, 273, 2350, 1435, 3455, 67, 9554, 273, 1083, 225, 364, 871, 16, 460, 16, 980, 316, 1034, 67, 4156, 12, 5989, 16, 10228, 4263, 2187, 296, 4060, 3546, 4672, 309, 871, 422, 9204, 30, 883, 18, 6923, 67, 955, 12, 1132, 13, 1327, 871, 422, 10485, 67, 10976, 30, 1047, 67, 1650, 16, 1047, 67, 529, 16, 1677, 273, 460, 468, 9055, 364, 1604, 67, 1650, 16, 1604, 67, 529, 316, 1677, 30, 460, 273, 1677, 63, 12, 1747, 67, 1650, 16, 1604, 67, 529, 25887, 353, 67, 2338, 27290, 273, 336, 67, 4937, 12, 1747, 67, 1650, 2934, 291, 67, 2338, 27290, 309, 353, 67, 2338, 27290, 12, 2692, 67, 1650, 16, 1047, 67, 529, 16, 1677, 16, 1604, 67, 529, 4672, 309, 460, 18, 6406, 13332, 9397, 273, 2350, 1435, 9397, 18, 6923, 67, 955, 12, 1132, 13, 2824, 9397, 16, 1053, 468, 16355, 578, 3914, 1963, 273, 336, 67, 2956, 67, 4821, 12, 2692, 67, 1650, 16, 1047, 67, 529, 13, 309, 1963, 18, 588, 2668, 291, 67, 10047, 2187, 1083, 4672, 460, 273, 336, 67, 1937, 67, 2692, 12, 2692, 67, 1650, 16, 1047, 67, 529, 16, 1677, 13, 883, 18, 6923, 67, 2139, 12, 1132, 13, 469, 30, 2824, 883, 16, 3455, 67, 9554, 883, 273, 2350, 1435, 468, 18346, 297, 537, 7292, 309, 411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2338, 27290, 67, 7996, 12, 5989, 4672, 628, 263, 2902, 1930, 336, 67, 1937, 67, 2692, 16, 336, 67, 409, 67, 2692, 225, 883, 273, 2350, 1435, 3455, 67, 9554, 273, 1083, 225, 364, 871, 16, 460, 16, 980, 316, 1034, 67, 4156, 12, 5989, 16, 10228, 4263, 2187, 296, 4060, 3546, 4672, 309, 871, 422, 9204, 30, 883, 18, 6923, 67, 955, 12, 1132, 13, 1327, 871, 422, 10485, 67, 10976, 30, 1047, 67, 1650, 16, 1047, 67, 529, 16, 1677, 273, 460, 468, 9055, 364, 1604, 67, 1650, 16, 1604, 67, 529, 316, 1677, 30, 460, 273, 1677, 63, 12, 1747, 67, 1650, 16, 1604, 67, 529, 25887, 353, 67, 2338, 27290, 273, 336, 2 ]
try: os.remove(test_support.TESTFN + "1") except os.error: pass try: os.remove(test_support.TESTFN + "2") except os.error: pass
def test_islink(self): self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False) f = open(test_support.TESTFN + "1", "wb") try: f.write("foo") f.close() self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False) if hasattr(os, "symlink"): os.symlink(test_support.TESTFN + "1", test_support.TESTFN + "2") self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True) os.remove(test_support.TESTFN + "1") self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True) self.assertIs(posixpath.exists(test_support.TESTFN + "2"), False) self.assertIs(posixpath.lexists(test_support.TESTFN + "2"), True) finally: if not f.close(): f.close() try: os.remove(test_support.TESTFN + "1") except os.error: pass try: os.remove(test_support.TESTFN + "2") except os.error: pass
3daf60bdfe4bb713399929b64a36849597f2be05 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/3daf60bdfe4bb713399929b64a36849597f2be05/test_posixpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 291, 1232, 12, 2890, 4672, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 6, 3631, 1083, 13, 284, 273, 1696, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 3113, 315, 9464, 7923, 775, 30, 284, 18, 2626, 2932, 11351, 7923, 284, 18, 4412, 1435, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 6, 3631, 1083, 13, 309, 3859, 12, 538, 16, 315, 21278, 6, 4672, 1140, 18, 21278, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 3113, 1842, 67, 13261, 18, 16961, 19793, 397, 315, 22, 7923, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 22, 6, 3631, 1053, 13, 1140, 18, 4479, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 7923, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 22, 6, 3631, 1053, 13, 365, 18, 11231, 2520, 12, 24463, 803, 18, 1808, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 22, 6, 3631, 1083, 13, 365, 18, 11231, 2520, 12, 24463, 803, 18, 4149, 1486, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 22, 6, 3631, 1053, 13, 3095, 30, 309, 486, 284, 18, 4412, 13332, 284, 18, 4412, 1435, 775, 30, 1140, 18, 4479, 12, 3813, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 291, 1232, 12, 2890, 4672, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 6, 3631, 1083, 13, 284, 273, 1696, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 3113, 315, 9464, 7923, 775, 30, 284, 18, 2626, 2932, 11351, 7923, 284, 18, 4412, 1435, 365, 18, 11231, 2520, 12, 24463, 803, 18, 291, 1232, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 6, 3631, 1083, 13, 309, 3859, 12, 538, 16, 315, 21278, 6, 4672, 1140, 18, 21278, 12, 3813, 67, 13261, 18, 16961, 19793, 397, 315, 21, 3113, 1842, 67, 13261, 18, 16961, 19793, 397, 315, 22, 7923, 365, 2 ]
def OnTestsLoad(): old_path = sys.path script_path = os.path.dirname(sys.argv[0]) load_path = None global simplejson
def CheckChangeOnUpload(input_api, output_api): run_tests = False for path in input_api.LocalPaths(): if PERF_EXPECTATIONS == input_api.os_path.basename(path): run_tests = True
def OnTestsLoad(): old_path = sys.path script_path = os.path.dirname(sys.argv[0]) load_path = None global simplejson # This test script should be stored in src/tools/perf_expectations/. That # directory will most commonly live in 2 locations: # # - a regular Chromium checkout, in which case src/third_party # is where to look for simplejson # # - a buildbot checkout, in which case .../pylibs is where # to look for simplejson # # Locate and install the correct path based on what we can find. # for path in ('../../../third_party', '../../../../../pylibs'): path = os.path.join(script_path, path) if os.path.exists(path) and os.path.isdir(path): load_path = os.path.abspath(path) break if load_path is None: msg = "%s expects to live within a Chromium checkout" % sys.argv[0] raise Exception, "Error locating simplejson load path (%s)" % msg # Try importing simplejson once. If this succeeds, we found it and will # load it again later properly. Fail if we cannot load it. sys.path.append(load_path) try: import simplejson as Simplejson simplejson = Simplejson except ImportError, e: msg = "%s expects to live within a Chromium checkout" % sys.argv[0] raise Exception, "Error trying to import simplejson from %s (%s)" % \ (load_path, msg) finally: sys.path = old_path return True
fec974ab6785fd2a4a3c3fcfe3552188fb83e24b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/fec974ab6785fd2a4a3c3fcfe3552188fb83e24b/PRESUBMIT.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 3043, 1398, 4777, 12, 2630, 67, 2425, 16, 876, 67, 2425, 4672, 1086, 67, 16341, 273, 1083, 364, 589, 316, 810, 67, 2425, 18, 2042, 4466, 13332, 309, 10950, 42, 67, 2294, 1423, 1268, 15297, 422, 810, 67, 2425, 18, 538, 67, 803, 18, 13909, 12, 803, 4672, 1086, 67, 16341, 273, 1053, 225, 468, 1220, 1842, 2728, 1410, 506, 4041, 316, 1705, 19, 6642, 19, 19825, 67, 12339, 1012, 15865, 225, 12466, 468, 1867, 903, 4486, 2975, 715, 8429, 316, 576, 7838, 30, 468, 468, 282, 300, 279, 6736, 1680, 520, 5077, 13926, 16, 316, 1492, 648, 1705, 19, 451, 6909, 67, 21214, 468, 377, 353, 1625, 358, 2324, 364, 4143, 1977, 468, 468, 282, 300, 279, 1361, 4819, 13926, 16, 316, 1492, 648, 1372, 19, 2074, 21571, 353, 1625, 468, 377, 358, 2324, 364, 4143, 1977, 468, 468, 2851, 340, 471, 3799, 326, 3434, 589, 2511, 603, 4121, 732, 848, 1104, 18, 468, 364, 589, 316, 7707, 16644, 6216, 451, 6909, 67, 21214, 2187, 296, 16644, 16644, 6216, 2074, 21571, 11, 4672, 589, 273, 1140, 18, 803, 18, 5701, 12, 4263, 67, 803, 16, 589, 13, 309, 1140, 18, 803, 18, 1808, 12, 803, 13, 471, 1140, 18, 803, 18, 291, 1214, 12, 803, 4672, 1262, 67, 803, 273, 1140, 18, 803, 18, 5113, 803, 12, 803, 13, 898, 225, 309, 1262, 67, 803, 353, 599, 30, 1234, 273, 2213, 87, 10999, 358, 8429, 3470, 279, 1680, 520, 5077, 13926, 6, 738, 2589, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 3043, 1398, 4777, 12, 2630, 67, 2425, 16, 876, 67, 2425, 4672, 1086, 67, 16341, 273, 1083, 364, 589, 316, 810, 67, 2425, 18, 2042, 4466, 13332, 309, 10950, 42, 67, 2294, 1423, 1268, 15297, 422, 810, 67, 2425, 18, 538, 67, 803, 18, 13909, 12, 803, 4672, 1086, 67, 16341, 273, 1053, 225, 468, 1220, 1842, 2728, 1410, 506, 4041, 316, 1705, 19, 6642, 19, 19825, 67, 12339, 1012, 15865, 225, 12466, 468, 1867, 903, 4486, 2975, 715, 8429, 316, 576, 7838, 30, 468, 468, 282, 300, 279, 6736, 1680, 520, 5077, 13926, 16, 316, 1492, 648, 1705, 19, 451, 6909, 67, 21214, 468, 377, 353, 1625, 358, 2324, 364, 4143, 1977, 468, 468, 282, 300, 2 ]
source.lmsg(typ, 'added')
def cmd(self, typ, source, cmd): room = source.room if cmd.count(' '): n = cmd.find(' ') c, p = cmd[:n].lower(), cmd[n+1:] else: c, p = cmd.lower(), '' if c == 'del': try: n = int(p) except: source.lmsg(typ, 'invalid_syntax_default') return if len(self.items(room)) < n: source.lmsg(typ, 'number_not_found') else: self.delete(room, n) source.lmsg(typ, 'deleted') elif c in ['list', 'show']: q = [i.text(True) for i in self.items(room)] if q: source.msg(typ, show_list(q, p, source.get_msg('not_found'))) else: source.lmsg(typ, 'list_empty') elif c == 'clear': self.clear(room) source.lmsg(typ, 'cleared') else: try: self.append(room, cmd[:80]) except NickNotFound: source.lmsg(typ, 'nick_not_found') except NoJID: source.lmsg(typ, 'alist_add_nojid') except MyRegexpError: source.lmsg(typ, 'invalid_regexp') except ValueError: source.lmsg(typ, 'invalid_syntax_default') source.lmsg(typ, 'added')
bab40efca50c4e0d03eaefce7b8f5193f06e5b64 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2729/bab40efca50c4e0d03eaefce7b8f5193f06e5b64/alists.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 12, 2890, 16, 3815, 16, 1084, 16, 1797, 4672, 7725, 273, 1084, 18, 13924, 309, 1797, 18, 1883, 2668, 296, 4672, 290, 273, 1797, 18, 4720, 2668, 8624, 276, 16, 293, 273, 1797, 10531, 82, 8009, 8167, 9334, 1797, 63, 82, 15, 21, 26894, 469, 30, 276, 16, 293, 273, 1797, 18, 8167, 9334, 875, 309, 276, 422, 296, 3771, 4278, 775, 30, 290, 273, 509, 12, 84, 13, 1335, 30, 1084, 18, 80, 3576, 12, 12846, 16, 296, 5387, 67, 14308, 67, 1886, 6134, 327, 309, 562, 12, 2890, 18, 3319, 12, 13924, 3719, 411, 290, 30, 1084, 18, 80, 3576, 12, 12846, 16, 296, 2696, 67, 902, 67, 7015, 6134, 469, 30, 365, 18, 3733, 12, 13924, 16, 290, 13, 1084, 18, 80, 3576, 12, 12846, 16, 296, 8600, 6134, 1327, 276, 316, 10228, 1098, 2187, 296, 4500, 3546, 30, 1043, 273, 306, 77, 18, 955, 12, 5510, 13, 364, 277, 316, 365, 18, 3319, 12, 13924, 25887, 309, 1043, 30, 1084, 18, 3576, 12, 12846, 16, 2405, 67, 1098, 12, 85, 16, 293, 16, 1084, 18, 588, 67, 3576, 2668, 902, 67, 7015, 11, 20349, 469, 30, 1084, 18, 80, 3576, 12, 12846, 16, 296, 1098, 67, 5531, 6134, 1327, 276, 422, 296, 8507, 4278, 365, 18, 8507, 12, 13924, 13, 1084, 18, 80, 3576, 12, 12846, 16, 296, 2131, 2258, 6134, 469, 30, 775, 30, 365, 18, 6923, 12, 13924, 16, 1797, 10531, 3672, 5717, 1335, 423, 1200, 2768, 30, 1084, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 12, 2890, 16, 3815, 16, 1084, 16, 1797, 4672, 7725, 273, 1084, 18, 13924, 309, 1797, 18, 1883, 2668, 296, 4672, 290, 273, 1797, 18, 4720, 2668, 8624, 276, 16, 293, 273, 1797, 10531, 82, 8009, 8167, 9334, 1797, 63, 82, 15, 21, 26894, 469, 30, 276, 16, 293, 273, 1797, 18, 8167, 9334, 875, 309, 276, 422, 296, 3771, 4278, 775, 30, 290, 273, 509, 12, 84, 13, 1335, 30, 1084, 18, 80, 3576, 12, 12846, 16, 296, 5387, 67, 14308, 67, 1886, 6134, 327, 309, 562, 12, 2890, 18, 3319, 12, 13924, 3719, 411, 290, 30, 1084, 18, 80, 3576, 12, 12846, 16, 296, 2696, 67, 902, 67, 7015, 6134, 469, 30, 365, 18, 3733, 2 ]
s += ' <span class="py-line">'
s += ' <tt class="py-line">'
def handle_line(self, line): """ Render a single logical line from the module, and write the generated HTML to C{self.out}.
cd4d6e5fbca5f698866ebe3598f5c2ca592983e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/cd4d6e5fbca5f698866ebe3598f5c2ca592983e0/html_colorize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 1369, 12, 2890, 16, 980, 4672, 3536, 6987, 279, 2202, 6374, 980, 628, 326, 1605, 16, 471, 1045, 326, 4374, 3982, 358, 385, 95, 2890, 18, 659, 5496, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 1369, 12, 2890, 16, 980, 4672, 3536, 6987, 279, 2202, 6374, 980, 628, 326, 1605, 16, 471, 1045, 326, 4374, 3982, 358, 385, 95, 2890, 18, 659, 5496, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ir_data = array.array("B")
irData = array.array("B")
def ReceiveThread(self, startupEvent): # This is the code executing in the new thread. try: dll = cdll.LoadLibrary(dllPath) except: self.lastException = self.Exceptions.DriverNotFound startupEvent.set() return if dll.sz_Open() != 1: self.lastException = self.Exceptions.DriverNotOpen startupEvent.set() return dll.sz_Flush() dwNumBytesRead = DWORD() byteIRdata = c_ubyte() ir_data = array.array("B") for i in range(0, 512): ir_data.append(0) i = 0 startupEvent.set() while not self.abortThread: dll.sz_ReadFile(byref(byteIRdata), byref(dwNumBytesRead)) val = byteIRdata.value
5a2107d7555cd3f605f93550144f1b8f5f1ae659 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8076/5a2107d7555cd3f605f93550144f1b8f5f1ae659/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17046, 3830, 12, 2890, 16, 11850, 1133, 4672, 468, 1220, 353, 326, 981, 11274, 316, 326, 394, 2650, 18, 775, 30, 302, 2906, 273, 7976, 2906, 18, 2563, 9313, 12, 27670, 743, 13, 1335, 30, 365, 18, 2722, 503, 273, 365, 18, 11416, 18, 4668, 2768, 11850, 1133, 18, 542, 1435, 327, 225, 309, 302, 2906, 18, 24575, 67, 3678, 1435, 480, 404, 30, 365, 18, 2722, 503, 273, 365, 18, 11416, 18, 4668, 1248, 3678, 11850, 1133, 18, 542, 1435, 327, 225, 302, 2906, 18, 24575, 67, 8207, 1435, 225, 12394, 2578, 2160, 1994, 273, 463, 7952, 1435, 1160, 7937, 892, 273, 276, 67, 10340, 736, 1435, 9482, 751, 273, 526, 18, 1126, 2932, 38, 7923, 364, 277, 316, 1048, 12, 20, 16, 13908, 4672, 9482, 67, 892, 18, 6923, 12, 20, 13, 277, 273, 374, 225, 11850, 1133, 18, 542, 1435, 1323, 486, 365, 18, 18623, 3830, 30, 302, 2906, 18, 24575, 67, 1994, 812, 12, 1637, 1734, 12, 7229, 7937, 892, 3631, 12725, 12, 22512, 2578, 2160, 1994, 3719, 1244, 273, 1160, 7937, 892, 18, 1132, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 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, 17046, 3830, 12, 2890, 16, 11850, 1133, 4672, 468, 1220, 353, 326, 981, 11274, 316, 326, 394, 2650, 18, 775, 30, 302, 2906, 273, 7976, 2906, 18, 2563, 9313, 12, 27670, 743, 13, 1335, 30, 365, 18, 2722, 503, 273, 365, 18, 11416, 18, 4668, 2768, 11850, 1133, 18, 542, 1435, 327, 225, 309, 302, 2906, 18, 24575, 67, 3678, 1435, 480, 404, 30, 365, 18, 2722, 503, 273, 365, 18, 11416, 18, 4668, 1248, 3678, 11850, 1133, 18, 542, 1435, 327, 225, 302, 2906, 18, 24575, 67, 8207, 1435, 225, 12394, 2578, 2160, 1994, 273, 463, 7952, 1435, 1160, 7937, 892, 273, 276, 67, 10340, 736, 1435, 9482, 751, 273, 526, 18, 1126, 2932, 38, 7923, 364, 2 ]
if self.debug > 0: print cmd
log.debug(cmd)
def execute_external_dynamics(self, nc=None, txt=None, stoppfile='stop', stopprogram=None): ''' Implementation of the stay alive functionality with socket communication between dacapo and python. Known limitations: It is not possible to start 2 independent Dacapo calculators from the same python process, since the python PID is used as identifier for the script[PID].py file. ''' from socket import socket,AF_INET,SOCK_STREAM,timeout import tempfile import os
97d65b7f6de853ae8bd02694f63966f3dfe9ab9e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1380/97d65b7f6de853ae8bd02694f63966f3dfe9ab9e/jacapo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 67, 9375, 67, 31129, 2102, 12, 2890, 16, 8194, 33, 7036, 16, 6463, 33, 7036, 16, 2132, 84, 768, 2218, 5681, 2187, 2132, 12890, 33, 7036, 4672, 9163, 25379, 434, 326, 23449, 13714, 14176, 598, 2987, 18279, 3086, 302, 1077, 438, 83, 471, 5790, 18, 225, 30036, 31810, 30, 2597, 353, 486, 3323, 358, 787, 576, 14807, 463, 1077, 438, 83, 3026, 3062, 628, 326, 1967, 5790, 1207, 16, 3241, 326, 5790, 14788, 353, 1399, 487, 2756, 364, 326, 2728, 63, 16522, 8009, 2074, 585, 18, 9163, 628, 2987, 1930, 2987, 16, 6799, 67, 18819, 16, 3584, 3507, 67, 13693, 16, 4538, 1930, 13275, 1930, 1140, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1836, 67, 9375, 67, 31129, 2102, 12, 2890, 16, 8194, 33, 7036, 16, 6463, 33, 7036, 16, 2132, 84, 768, 2218, 5681, 2187, 2132, 12890, 33, 7036, 4672, 9163, 25379, 434, 326, 23449, 13714, 14176, 598, 2987, 18279, 3086, 302, 1077, 438, 83, 471, 5790, 18, 225, 30036, 31810, 30, 2597, 353, 486, 3323, 358, 787, 576, 14807, 463, 1077, 438, 83, 3026, 3062, 628, 326, 1967, 5790, 1207, 16, 3241, 326, 5790, 14788, 353, 1399, 487, 2756, 364, 326, 2728, 63, 16522, 8009, 2074, 585, 18, 9163, 628, 2987, 1930, 2987, 16, 6799, 67, 18819, 16, 3584, 3507, 67, 13693, 16, 4538, 1930, 13275, 1930, 1140, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._install(upgpkg, cs, lk, None, pruneweight, depth)
task = self._install(upgpkg, cs, lk, None, pruneweight, depth) for res in task: yield res
def _updown(self, pkg, changeset, locked, pruneweight, depth=0, force=0): depth += 1 trace(1, depth, "_updown(%s, pw=%f, f=%d)", (pkg, pruneweight, force))
0a3ab4bfdab2b5f93bf6292cceb0351050047a0d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8317/0a3ab4bfdab2b5f93bf6292cceb0351050047a0d/transaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 416, 2378, 12, 2890, 16, 3475, 16, 22463, 16, 8586, 16, 846, 318, 359, 1274, 16, 3598, 33, 20, 16, 2944, 33, 20, 4672, 3598, 1011, 404, 2606, 12, 21, 16, 3598, 16, 4192, 416, 2378, 9275, 87, 16, 8772, 5095, 74, 16, 284, 5095, 72, 2225, 16, 261, 10657, 16, 846, 318, 359, 1274, 16, 2944, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20, 4672, 3598, 1011, 404, 2606, 12, 21, 16, 3598, 16, 4192, 416, 2378, 9275, 87, 16, 8772, 5095, 74, 16, 284, 5095, 72, 2225, 16, 261, 10657, 16, 846, 318, 359, 1274, 16, 2944, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this = apply(_quickfix.new_DistribPercentage, args)
this = _quickfix.new_DistribPercentage(*args)
def __init__(self, *args): this = apply(_quickfix.new_DistribPercentage, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1669, 665, 16397, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 2211, 273, 333, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1669, 665, 16397, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 2211, 273, 333, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.win.dispbarLabel.setText( "Default Display: " + dispLabel[disp] )
if self.mode.modename == 'COOKIE': self.win.dispbarLabel.setText(" ") else: self.win.dispbarLabel.setText( "Default Display: " + dispLabel[disp] )
def setDisplay(self, disp): if disp == diDEFAULT: disp = default_display_mode #bruce 041129 to fix bug 21 #e someday: if self.display == disp, no actual change needed?? # not sure if that holds for all init code, so being safe for now. self.display = disp self.win.dispbarLabel.setText( "Default Display: " + dispLabel[disp] ) for mol in self.assy.molecules: if mol.display == diDEFAULT: mol.changeapp(1)
9d7e6b2e174e2230a8d9b12063b4532b3710ec4d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/9d7e6b2e174e2230a8d9b12063b4532b3710ec4d/GLPane.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23512, 12, 2890, 16, 16232, 4672, 309, 16232, 422, 4314, 5280, 30, 16232, 273, 805, 67, 5417, 67, 3188, 468, 2848, 3965, 374, 9803, 24886, 358, 2917, 7934, 9035, 468, 73, 4737, 329, 528, 30, 309, 365, 18, 5417, 422, 16232, 16, 1158, 3214, 2549, 3577, 14646, 468, 486, 3071, 309, 716, 14798, 364, 777, 1208, 981, 16, 1427, 3832, 4183, 364, 2037, 18, 365, 18, 5417, 273, 16232, 225, 309, 365, 18, 3188, 18, 1711, 1069, 422, 296, 13584, 4278, 365, 18, 8082, 18, 25453, 3215, 2224, 18, 542, 1528, 2932, 565, 9369, 469, 30, 365, 18, 8082, 18, 25453, 3215, 2224, 18, 542, 1528, 12, 315, 1868, 9311, 30, 315, 397, 16232, 2224, 63, 25453, 65, 262, 364, 12629, 316, 365, 18, 428, 93, 18, 81, 29466, 30, 309, 12629, 18, 5417, 422, 4314, 5280, 30, 12629, 18, 3427, 2910, 12, 21, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 23512, 12, 2890, 16, 16232, 4672, 309, 16232, 422, 4314, 5280, 30, 16232, 273, 805, 67, 5417, 67, 3188, 468, 2848, 3965, 374, 9803, 24886, 358, 2917, 7934, 9035, 468, 73, 4737, 329, 528, 30, 309, 365, 18, 5417, 422, 16232, 16, 1158, 3214, 2549, 3577, 14646, 468, 486, 3071, 309, 716, 14798, 364, 777, 1208, 981, 16, 1427, 3832, 4183, 364, 2037, 18, 365, 18, 5417, 273, 16232, 225, 309, 365, 18, 3188, 18, 1711, 1069, 422, 296, 13584, 4278, 365, 18, 8082, 18, 25453, 3215, 2224, 18, 542, 1528, 2932, 565, 9369, 469, 30, 365, 18, 8082, 18, 25453, 3215, 2224, 18, 542, 1528, 12, 315, 1868, 9311, 30, 315, 397, 16232, 2224, 63, 25453, 65, 2 ]
log.info('queueing %r' % args)
log.info('queuing %r' % args)
def no_job_queue(job_type, collection_id, args): """Just spawn a new process for the given job""" if os.name == 'nt': kwargs = {} else: kwargs = {'close_fds': True} try: log.info('queueing %r' % args) subprocess.Popen(args, **kwargs) except OSError, exc: raise RuntimeError('Could not execute command %r: %s' % ( args[0], exc, ))
adf5ef5c6d552dae88abf1d3f6705909aa4e70b2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/adf5ef5c6d552dae88abf1d3f6705909aa4e70b2/serve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1158, 67, 4688, 67, 4000, 12, 4688, 67, 723, 16, 1849, 67, 350, 16, 833, 4672, 3536, 19642, 12560, 279, 394, 1207, 364, 326, 864, 1719, 8395, 225, 309, 1140, 18, 529, 422, 296, 496, 4278, 1205, 273, 2618, 469, 30, 1205, 273, 13666, 4412, 67, 74, 2377, 4278, 1053, 97, 775, 30, 613, 18, 1376, 2668, 1857, 22370, 738, 86, 11, 738, 833, 13, 6652, 18, 52, 3190, 12, 1968, 16, 2826, 4333, 13, 1335, 10002, 16, 3533, 30, 1002, 7265, 2668, 4445, 486, 1836, 1296, 738, 86, 30, 738, 87, 11, 738, 261, 833, 63, 20, 6487, 3533, 16, 8623, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1158, 67, 4688, 67, 4000, 12, 4688, 67, 723, 16, 1849, 67, 350, 16, 833, 4672, 3536, 19642, 12560, 279, 394, 1207, 364, 326, 864, 1719, 8395, 225, 309, 1140, 18, 529, 422, 296, 496, 4278, 1205, 273, 2618, 469, 30, 1205, 273, 13666, 4412, 67, 74, 2377, 4278, 1053, 97, 775, 30, 613, 18, 1376, 2668, 1857, 22370, 738, 86, 11, 738, 833, 13, 6652, 18, 52, 3190, 12, 1968, 16, 2826, 4333, 13, 1335, 10002, 16, 3533, 30, 1002, 7265, 2668, 4445, 486, 1836, 1296, 738, 86, 30, 738, 87, 11, 738, 261, 833, 63, 20, 6487, 3533, 16, 8623, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
workspace = Workspace.objects.get(pk = 1)
workspace = DAMWorkspace.objects.get(pk = 1)
def test_search_collections_no_results(self): workspace = Workspace.objects.get(pk = 1) params = self.get_final_parameters({ 'collection': -1, 'media_type': 'image', 'start':0, 'limit':1, 'metadata': 'dc_description' }) response = self.client.post('/api/workspace/%s/search/'%workspace.pk, params) resp_dict = json.loads(response.content) print resp_dict self.assertTrue(len(resp_dict['items']) == 0) self.assertTrue(resp_dict['totalCount'] == 0)
774c03fcc85d5555c72b71c04da9a7d1a510e957 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4589/774c03fcc85d5555c72b71c04da9a7d1a510e957/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3072, 67, 19246, 67, 2135, 67, 4717, 12, 2890, 4672, 6003, 273, 463, 2192, 8241, 18, 6911, 18, 588, 12, 5465, 273, 404, 13, 859, 273, 365, 18, 588, 67, 6385, 67, 3977, 12590, 296, 5548, 4278, 300, 21, 16, 296, 5829, 67, 723, 4278, 296, 2730, 2187, 296, 1937, 4278, 20, 16, 296, 3595, 4278, 21, 16, 296, 4165, 4278, 296, 7201, 67, 3384, 11, 225, 289, 13, 766, 273, 365, 18, 2625, 18, 2767, 2668, 19, 2425, 19, 14915, 5258, 87, 19, 3072, 2473, 9, 14915, 18, 5465, 16, 859, 13, 1718, 67, 1576, 273, 1163, 18, 17135, 12, 2740, 18, 1745, 13, 225, 1172, 1718, 67, 1576, 365, 18, 11231, 5510, 12, 1897, 12, 12243, 67, 1576, 3292, 3319, 19486, 422, 374, 13, 365, 18, 11231, 5510, 12, 12243, 67, 1576, 3292, 4963, 1380, 3546, 422, 374, 13, 1377, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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4717, 12, 2890, 4672, 6003, 273, 463, 2192, 8241, 18, 6911, 18, 588, 12, 5465, 273, 404, 13, 859, 273, 365, 18, 588, 67, 6385, 67, 3977, 12590, 296, 5548, 4278, 300, 21, 16, 296, 5829, 67, 723, 4278, 296, 2730, 2187, 296, 1937, 4278, 20, 16, 296, 3595, 4278, 21, 16, 296, 4165, 4278, 296, 7201, 67, 3384, 11, 225, 289, 13, 766, 273, 365, 18, 2625, 18, 2767, 2668, 19, 2425, 19, 14915, 5258, 87, 19, 3072, 2473, 9, 14915, 18, 5465, 16, 859, 13, 1718, 67, 1576, 273, 1163, 18, 17135, 12, 2740, 18, 1745, 13, 225, 1172, 1718, 67, 1576, 365, 18, 11231, 5510, 12, 1897, 2 ]
for child in node:
for child in node[:]:
def optimize(node): """ Reprocesses JavaScript to remove dead paths """ optimized = False # Process from inside to outside for child in node: # None children are allowed sometimes e.g. during array_init like [1,2,,,7,8] if child != None: if optimize(child): optimized = True # Optimize if cases if node.type == "if": check = __checkCondition(node.condition) if check is not None: optimized = True if check is True: node.parent.replace(node, node.thenPart) elif check is False: if hasattr(node, "elsePart"): node.parent.replace(node, node.elsePart) else: node.parent.remove(node) # Optimize hook statement if node.type == "hook": check = __checkCondition(node[0]) if check is not None: optimized = True if check is True: node.parent.replace(node, node[1]) elif check is False: node.parent.replace(node, node[2]) # Optimize switch statement if node.type == "switch" and node.discriminant.type in ("string", "number"): discriminant = node.discriminant.value fallback = None matcher = None allowed = ["default", "case"] for child in node: # Require that every case block ends with a break (no fall-throughs) if child.type == "case": block = child[len(child)-1] if len(block) == 0 or block[len(block)-1].type != "break": logging.warn("Could not optimize switch statement (at line %s) because of fallthrough break statement." % node.line) return False if child.type == "default": fallback = child.statements elif child.type == "case" and child.label.value == discriminant: matcher = child.statements # Remove break statement matcher.pop() if matcher or fallback: if not matcher: matcher = fallback node.parent.replace(node, matcher) optimized = True return optimized
51ae61a45eae9851c4fba9fe407f6f2c2258de5a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/51ae61a45eae9851c4fba9fe407f6f2c2258de5a/DeadCode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2159, 4672, 3536, 868, 18675, 11905, 358, 1206, 8363, 2953, 3536, 15411, 273, 1083, 225, 468, 4389, 628, 4832, 358, 8220, 364, 1151, 316, 756, 10531, 14542, 468, 599, 2325, 854, 2935, 16594, 425, 18, 75, 18, 4982, 526, 67, 2738, 3007, 306, 21, 16, 22, 16408, 16, 27, 16, 28, 65, 309, 1151, 480, 599, 30, 309, 10979, 12, 3624, 4672, 15411, 273, 1053, 225, 468, 12056, 10153, 309, 6088, 309, 756, 18, 723, 422, 315, 430, 6877, 866, 273, 1001, 1893, 3418, 12, 2159, 18, 4175, 13, 309, 866, 353, 486, 599, 30, 15411, 273, 1053, 225, 309, 866, 353, 1053, 30, 756, 18, 2938, 18, 2079, 12, 2159, 16, 756, 18, 15991, 1988, 13, 225, 1327, 866, 353, 1083, 30, 309, 3859, 12, 2159, 16, 315, 12107, 1988, 6, 4672, 756, 18, 2938, 18, 2079, 12, 2159, 16, 756, 18, 12107, 1988, 13, 469, 30, 756, 18, 2938, 18, 4479, 12, 2159, 13, 225, 468, 12056, 10153, 3953, 3021, 309, 756, 18, 723, 422, 315, 4476, 6877, 866, 273, 1001, 1893, 3418, 12, 2159, 63, 20, 5717, 309, 866, 353, 486, 599, 30, 15411, 273, 1053, 225, 309, 866, 353, 1053, 30, 756, 18, 2938, 18, 2079, 12, 2159, 16, 756, 63, 21, 5717, 1327, 866, 353, 1083, 30, 756, 18, 2938, 18, 2079, 12, 2159, 16, 756, 63, 22, 5717, 225, 468, 12056, 10153, 1620, 3021, 309, 756, 18, 723, 422, 315, 9610, 6, 471, 756, 18, 2251, 9496, 20030, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2159, 4672, 3536, 868, 18675, 11905, 358, 1206, 8363, 2953, 3536, 15411, 273, 1083, 225, 468, 4389, 628, 4832, 358, 8220, 364, 1151, 316, 756, 10531, 14542, 468, 599, 2325, 854, 2935, 16594, 425, 18, 75, 18, 4982, 526, 67, 2738, 3007, 306, 21, 16, 22, 16408, 16, 27, 16, 28, 65, 309, 1151, 480, 599, 30, 309, 10979, 12, 3624, 4672, 15411, 273, 1053, 225, 468, 12056, 10153, 309, 6088, 309, 756, 18, 723, 422, 315, 430, 6877, 866, 273, 1001, 1893, 3418, 12, 2159, 18, 4175, 13, 309, 866, 353, 486, 599, 30, 15411, 273, 1053, 225, 309, 866, 353, 1053, 30, 756, 18, 2938, 18, 2079, 12, 2159, 16, 756, 18, 15991, 1988, 2 ]
@type docmap: L{Documentation}
@type docmap: L{DocMap}
def _colorize_doctestblock(str): """ Do some colorization for a doctest block (minor for now). @type str: C{string} @param str: The contents of the doctest block to be colorized. @rtype: C{string} @return: The colorized doctest block. """ regexp = re.compile(r'^(\s*)(&gt;&gt;&gt;|\.\.\.)(\s*)(.*)$', re.MULTILINE) return regexp.sub(r'\1<span class="pyprompt">\2</span>\3'+ r'<span class="pycode">\4</span>', str)
62ff4e473663c51d0a945a451e36120f11d9450a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/62ff4e473663c51d0a945a451e36120f11d9450a/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3266, 554, 67, 2896, 299, 395, 2629, 12, 701, 4672, 3536, 2256, 2690, 2036, 1588, 364, 279, 31263, 395, 1203, 261, 17364, 364, 2037, 2934, 225, 632, 723, 609, 30, 385, 95, 1080, 97, 632, 891, 609, 30, 1021, 2939, 434, 326, 31263, 395, 1203, 358, 506, 2036, 1235, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 632, 2463, 30, 1021, 2036, 1235, 31263, 395, 1203, 18, 3536, 7195, 273, 283, 18, 11100, 12, 86, 19856, 4713, 87, 12437, 12, 10, 4521, 23480, 4521, 23480, 4521, 31, 96, 5834, 5834, 5834, 13, 4713, 87, 12437, 14361, 8, 2187, 283, 18, 12845, 30690, 13, 327, 7195, 18, 1717, 12, 86, 8314, 21, 32, 3969, 667, 1546, 22680, 8645, 6, 5333, 22, 1757, 3969, 5333, 23, 11, 15, 436, 11, 32, 3969, 667, 1546, 2074, 710, 6, 5333, 24, 1757, 3969, 1870, 16, 609, 13, 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,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 3266, 554, 67, 2896, 299, 395, 2629, 12, 701, 4672, 3536, 2256, 2690, 2036, 1588, 364, 279, 31263, 395, 1203, 261, 17364, 364, 2037, 2934, 225, 632, 723, 609, 30, 385, 95, 1080, 97, 632, 891, 609, 30, 1021, 2939, 434, 326, 31263, 395, 1203, 358, 506, 2036, 1235, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 632, 2463, 30, 1021, 2036, 1235, 31263, 395, 1203, 18, 3536, 7195, 273, 283, 18, 11100, 12, 86, 19856, 4713, 87, 12437, 12, 10, 4521, 23480, 4521, 23480, 4521, 31, 96, 5834, 5834, 5834, 13, 4713, 87, 12437, 14361, 8, 2187, 283, 18, 12845, 30690, 13, 327, 7195, 18, 1717, 12, 86, 8314, 21, 32, 3969, 667, 1546, 22680, 2 ]
and self.window.get_actions() & wnck.WINDOW_ACTION_UNMAXIMIZE:
and self.window.get_actions() & action_unminimize:
def show_menu(self, widget, event): #Creates a popup menu menu = gtk.Menu() menu.connect('selection-done', self.menu_closed) #(Un)Lock lock_item = None if self.window.get_actions() & wnck.WINDOW_ACTION_MINIMIZE \ and not self.locked: lock_item = gtk.MenuItem('Lock') elif self.locked: lock_item = gtk.MenuItem('Unlock') if lock_item: menu.append(lock_item) lock_item.connect("activate", self.lock_or_unlock_window) lock_item.show() #(Un)Minimize minimize_item = None if self.window.get_actions() & wnck.WINDOW_ACTION_MINIMIZE \ and not self.window.is_minimized(): minimize_item = gtk.MenuItem('Minimize') elif self.window.get_actions() & wnck.WINDOW_ACTION_UNMINIMIZE \ and self.window.is_minimized(): minimize_item = gtk.MenuItem('Unminimize') if minimize_item: menu.append(minimize_item) minimize_item.connect("activate", self.minimize_window) minimize_item.show() # (Un)Maximize maximize_item = None if not self.window.is_maximized() \ and self.window.get_actions() & wnck.WINDOW_ACTION_MAXIMIZE: maximize_item = gtk.MenuItem('Maximize') elif self.window.is_maximized() \ and self.window.get_actions() & wnck.WINDOW_ACTION_UNMAXIMIZE: maximize_item = gtk.MenuItem('Unmaximize') if maximize_item: menu.append(maximize_item) maximize_item.connect("activate", self.maximize_window) maximize_item.show() # Close close_item = gtk.MenuItem('Close') menu.append(close_item) close_item.connect("activate", self.close_window) close_item.show() menu.popup(None, None, None, event.button, event.time) self.dockbar.right_menu_showing = True
990c46c563644e67c24067e5fbfb2d9dadc8e0cc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7075/990c46c563644e67c24067e5fbfb2d9dadc8e0cc/dockbarx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 5414, 12, 2890, 16, 3604, 16, 871, 4672, 468, 2729, 279, 10431, 3824, 3824, 273, 22718, 18, 4599, 1435, 3824, 18, 3612, 2668, 10705, 17, 8734, 2187, 365, 18, 5414, 67, 12204, 13, 468, 12, 984, 13, 2531, 2176, 67, 1726, 273, 599, 309, 365, 18, 5668, 18, 588, 67, 4905, 1435, 473, 341, 82, 363, 18, 23407, 67, 12249, 67, 6236, 3445, 15641, 521, 471, 486, 365, 18, 15091, 30, 2176, 67, 1726, 273, 22718, 18, 12958, 2668, 2531, 6134, 1327, 365, 18, 15091, 30, 2176, 67, 1726, 273, 22718, 18, 12958, 2668, 7087, 6134, 309, 2176, 67, 1726, 30, 3824, 18, 6923, 12, 739, 67, 1726, 13, 2176, 67, 1726, 18, 3612, 2932, 10014, 3113, 365, 18, 739, 67, 280, 67, 26226, 67, 5668, 13, 2176, 67, 1726, 18, 4500, 1435, 468, 12, 984, 13, 2930, 10153, 18935, 67, 1726, 273, 599, 309, 365, 18, 5668, 18, 588, 67, 4905, 1435, 473, 341, 82, 363, 18, 23407, 67, 12249, 67, 6236, 3445, 15641, 521, 471, 486, 365, 18, 5668, 18, 291, 67, 1154, 381, 1235, 13332, 18935, 67, 1726, 273, 22718, 18, 12958, 2668, 2930, 10153, 6134, 1327, 365, 18, 5668, 18, 588, 67, 4905, 1435, 473, 341, 82, 363, 18, 23407, 67, 12249, 67, 2124, 6236, 3445, 15641, 521, 471, 365, 18, 5668, 18, 291, 67, 1154, 381, 1235, 13332, 18935, 67, 1726, 273, 22718, 18, 12958, 2668, 984, 1154, 10153, 6134, 309, 18935, 67, 1726, 30, 3824, 18, 6923, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 5414, 12, 2890, 16, 3604, 16, 871, 4672, 468, 2729, 279, 10431, 3824, 3824, 273, 22718, 18, 4599, 1435, 3824, 18, 3612, 2668, 10705, 17, 8734, 2187, 365, 18, 5414, 67, 12204, 13, 468, 12, 984, 13, 2531, 2176, 67, 1726, 273, 599, 309, 365, 18, 5668, 18, 588, 67, 4905, 1435, 473, 341, 82, 363, 18, 23407, 67, 12249, 67, 6236, 3445, 15641, 521, 471, 486, 365, 18, 15091, 30, 2176, 67, 1726, 273, 22718, 18, 12958, 2668, 2531, 6134, 1327, 365, 18, 15091, 30, 2176, 67, 1726, 273, 22718, 18, 12958, 2668, 7087, 6134, 309, 2176, 67, 1726, 30, 3824, 18, 6923, 12, 739, 67, 1726, 13, 2176, 67, 1726, 18, 3612, 2932, 10014, 2 ]
elif int(ticket['changetime']) > orig_time:
elif ticket['changetime'] > orig_time:
def template_data(self, req, db, tickets, orig_list=None, orig_time=None): constraints = {} for k, v in self.constraints.items(): constraint = {'values': [], 'mode': ''} for val in v: neg = val.startswith('!') if neg: val = val[1:] mode = '' if val[:1] in ('~', '^', '$'): mode, val = val[:1], val[1:] constraint['mode'] = (neg and '!' or '') + mode constraint['values'].append(val) constraints[k] = constraint
87f2b587949e267f7ef8012e23eb81ac3d067ed9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/87f2b587949e267f7ef8012e23eb81ac3d067ed9/query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1542, 67, 892, 12, 2890, 16, 1111, 16, 1319, 16, 24475, 16, 1647, 67, 1098, 33, 7036, 16, 1647, 67, 957, 33, 7036, 4672, 6237, 273, 2618, 364, 417, 16, 331, 316, 365, 18, 11967, 18, 3319, 13332, 4954, 273, 13666, 2372, 4278, 5378, 16, 296, 3188, 4278, 875, 97, 364, 1244, 316, 331, 30, 4251, 273, 1244, 18, 17514, 1918, 2668, 5124, 13, 309, 4251, 30, 1244, 273, 1244, 63, 21, 26894, 1965, 273, 875, 309, 1244, 10531, 21, 65, 316, 7707, 98, 2187, 10731, 2187, 11874, 4672, 1965, 16, 1244, 273, 1244, 10531, 21, 6487, 1244, 63, 21, 26894, 4954, 3292, 3188, 3546, 273, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1542, 67, 892, 12, 2890, 16, 1111, 16, 1319, 16, 24475, 16, 1647, 67, 1098, 33, 7036, 16, 1647, 67, 957, 33, 7036, 4672, 6237, 273, 2618, 364, 417, 16, 331, 316, 365, 18, 11967, 18, 3319, 13332, 4954, 273, 13666, 2372, 4278, 5378, 16, 296, 3188, 4278, 875, 97, 364, 1244, 316, 331, 30, 4251, 273, 1244, 18, 17514, 1918, 2668, 5124, 13, 309, 4251, 30, 1244, 273, 1244, 63, 21, 26894, 1965, 273, 875, 309, 1244, 10531, 21, 65, 316, 7707, 98, 2187, 10731, 2187, 11874, 4672, 1965, 16, 1244, 273, 1244, 10531, 21, 6487, 1244, 63, 21, 26894, 4954, 3292, 3188, 3546, 273, 261, 14518, 471, 15502, 578, 28707, 397, 1965, 4954, 3292, 2372, 29489, 2 ]
self.child_list=self.child_dict.values() self.child_list.sort(self._sort)
self.child_list.remove(child)
def detach_child(self, id): "Remove a child." child=self.child_dict[id] child.detach_parent() del self.child_dict[id] self.child_list=self.child_dict.values() self.child_list.sort(self._sort)
b1fe143df162ed1eae881611864ffe1ebaac39ac /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7167/b1fe143df162ed1eae881611864ffe1ebaac39ac/Entity.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10199, 67, 3624, 12, 2890, 16, 612, 4672, 315, 3288, 279, 1151, 1199, 1151, 33, 2890, 18, 3624, 67, 1576, 63, 350, 65, 1151, 18, 8238, 497, 67, 2938, 1435, 1464, 365, 18, 3624, 67, 1576, 63, 350, 65, 365, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10199, 67, 3624, 12, 2890, 16, 612, 4672, 315, 3288, 279, 1151, 1199, 1151, 33, 2890, 18, 3624, 67, 1576, 63, 350, 65, 1151, 18, 8238, 497, 67, 2938, 1435, 1464, 365, 18, 3624, 67, 1576, 63, 350, 65, 365, 18, 3624, 67, 1098, 33, 2890, 18, 3624, 67, 1576, 18, 2372, 1435, 365, 18, 3624, 67, 1098, 18, 3804, 12, 2890, 6315, 3804, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for r in ans:
for r in answers:
def extractRecord(resolver, name, answers, level = 10): if not level: return None for r in answers: if r.name == name and r.type == dns.A6: return socket.inet_ntop(socket.AF_INET6, r.payload.address) for r in ans: if r.name == name and r.type == dns.AAAA: return socket.inet_ntop(socket.AF_INET6, r.payload.address) for r in ans: if r.name == name and r.type == dns.A: return socket.inet_ntop(socket.AF_INET, r.payload.address) for r in ans: if r.name == name and r.type == dns.CNAME: result = extractRecord(resolver, r.payload.name, answers, level - 1) if not result: return resolver.getHostByName(str(r.payload.name), effort=level-1) return result
263d989d776a54b73ce27763717b57e090c61cdc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/263d989d776a54b73ce27763717b57e090c61cdc/common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 2115, 12, 14122, 16, 508, 16, 12415, 16, 1801, 273, 1728, 4672, 309, 486, 1801, 30, 327, 599, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 6605, 18, 37, 26, 30, 327, 2987, 18, 23864, 67, 496, 556, 12, 7814, 18, 6799, 67, 18819, 26, 16, 436, 18, 7648, 18, 2867, 13, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 6605, 18, 11909, 30, 327, 2987, 18, 23864, 67, 496, 556, 12, 7814, 18, 6799, 67, 18819, 26, 16, 436, 18, 7648, 18, 2867, 13, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 6605, 18, 37, 30, 327, 2987, 18, 23864, 67, 496, 556, 12, 7814, 18, 6799, 67, 18819, 16, 436, 18, 7648, 18, 2867, 13, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 6605, 18, 39, 1985, 30, 563, 273, 2608, 2115, 12, 14122, 16, 436, 18, 7648, 18, 529, 16, 12415, 16, 1801, 300, 404, 13, 309, 486, 563, 30, 327, 5039, 18, 588, 2594, 5911, 12, 701, 12, 86, 18, 7648, 18, 529, 3631, 23445, 33, 2815, 17, 21, 13, 327, 563, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 2115, 12, 14122, 16, 508, 16, 12415, 16, 1801, 273, 1728, 4672, 309, 486, 1801, 30, 327, 599, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 6605, 18, 37, 26, 30, 327, 2987, 18, 23864, 67, 496, 556, 12, 7814, 18, 6799, 67, 18819, 26, 16, 436, 18, 7648, 18, 2867, 13, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 6605, 18, 11909, 30, 327, 2987, 18, 23864, 67, 496, 556, 12, 7814, 18, 6799, 67, 18819, 26, 16, 436, 18, 7648, 18, 2867, 13, 364, 436, 316, 12415, 30, 309, 436, 18, 529, 422, 508, 471, 436, 18, 723, 422, 2 ]
try: return descriptor.send(data) except socket.error, e: if e[0] == errno.EWOULDBLOCK or e[0] == errno.ENOTCONN: return 0 raise except util.SSL.WantWriteError:
return descriptor.send(data) except socket.error, e: if e[0] == errno.EWOULDBLOCK or e[0] == errno.ENOTCONN:
def socket_send(descriptor, data): timeout = descriptor.gettimeout() if timeout: cancel = exc_after(timeout, TimeoutError) else: cancel = None try: try: return descriptor.send(data) except socket.error, e: if e[0] == errno.EWOULDBLOCK or e[0] == errno.ENOTCONN: return 0 raise except util.SSL.WantWriteError: return 0 except util.SSL.WantReadError: return 0 finally: if cancel: cancel.cancel()
33ccd249ce6338c6350d1a12be9b41ce6591de83 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10078/33ccd249ce6338c6350d1a12be9b41ce6591de83/greenio.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2987, 67, 4661, 12, 12628, 16, 501, 4672, 2021, 273, 4950, 18, 588, 4538, 1435, 309, 2021, 30, 3755, 273, 3533, 67, 5205, 12, 4538, 16, 28758, 13, 469, 30, 3755, 273, 599, 775, 30, 327, 4950, 18, 4661, 12, 892, 13, 1335, 2987, 18, 1636, 16, 425, 30, 309, 425, 63, 20, 65, 422, 8402, 18, 7245, 51, 1506, 2290, 6589, 578, 425, 63, 20, 65, 422, 8402, 18, 1157, 1974, 27733, 30, 327, 374, 1335, 1709, 18, 6745, 18, 59, 970, 1994, 668, 30, 327, 374, 3095, 30, 309, 3755, 30, 3755, 18, 10996, 1435, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 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, 2987, 67, 4661, 12, 12628, 16, 501, 4672, 2021, 273, 4950, 18, 588, 4538, 1435, 309, 2021, 30, 3755, 273, 3533, 67, 5205, 12, 4538, 16, 28758, 13, 469, 30, 3755, 273, 599, 775, 30, 327, 4950, 18, 4661, 12, 892, 13, 1335, 2987, 18, 1636, 16, 425, 30, 309, 425, 63, 20, 65, 422, 8402, 18, 7245, 51, 1506, 2290, 6589, 578, 425, 63, 20, 65, 422, 8402, 18, 1157, 1974, 27733, 30, 327, 374, 1335, 1709, 18, 6745, 18, 59, 970, 1994, 668, 30, 327, 374, 3095, 30, 309, 3755, 30, 3755, 18, 10996, 1435, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
simple.GL_MAX_TEXTURE_SIZE : (1,), simple.GL_MAX_TEXTURE_STACK_DEPTH : (1,), simple.GL_MAX_TEXTURE_UNITS : (1,), simple.GL_MAX_TEXTURE_UNITS_ARB : (1,),
simple.GL_MAX_TEXTURE_SIZE : (1,), simple.GL_MAX_TEXTURE_STACK_DEPTH : (1,), simple.GL_MAX_TEXTURE_UNITS : (1,), simple.GL_MAX_TEXTURE_UNITS_ARB : (1,),
def glGetDoublev( pname ): "Natural writing of glGetDoublev using standard ctypes" output = c_double*sizes.get( pname ) result = output() result = platform.OpenGL.glGetDoublev( pname, byref(result) ) return Numeric.array( result )
779beb78d8242dd156d555119ccab07062fb4bf3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1545/779beb78d8242dd156d555119ccab07062fb4bf3/glget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5118, 967, 5265, 90, 12, 19952, 262, 30, 315, 23779, 3766, 7410, 434, 5118, 967, 5265, 90, 1450, 4529, 6983, 6, 876, 273, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5118, 967, 5265, 90, 12, 19952, 262, 30, 315, 23779, 3766, 7410, 434, 5118, 967, 5265, 90, 1450, 4529, 6983, 6, 876, 273, 276, 67, 9056, 14, 11914, 18, 588, 12, 19952, 262, 563, 273, 876, 1435, 563, 273, 4072, 18, 3678, 11261, 18, 7043, 967, 5265, 90, 12, 19952, 16, 12725, 12, 2088, 13, 262, 327, 16980, 18, 1126, 12, 563, 262, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
he = self.HostEntry(host, descriptiveName, mirrors)
he = self.HostEntry(host, downloadUrl = downloadUrl, descriptiveName = descriptiveName, mirrors = mirrors)
def addHost(self, host, descriptiveName = None, mirrors = None): """ Adds a host to the list of known download hosts. This information will be written into any p3d files that reference this host; this can be used to pre-define the possible mirrors for a given host, for instance. Returns the newly-created HostEntry object."""
4545421f6ed37777a844072032efc4e2a1b25448 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/4545421f6ed37777a844072032efc4e2a1b25448/Packager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 2594, 12, 2890, 16, 1479, 16, 302, 31812, 461, 273, 599, 16, 312, 27026, 273, 599, 4672, 3536, 15605, 279, 1479, 358, 326, 666, 434, 4846, 4224, 7206, 18, 225, 1220, 1779, 903, 506, 5941, 1368, 1281, 293, 23, 72, 1390, 716, 2114, 333, 1479, 31, 333, 848, 506, 1399, 358, 675, 17, 11255, 326, 3323, 312, 27026, 364, 279, 864, 1479, 16, 364, 791, 18, 225, 2860, 326, 10894, 17, 4824, 4893, 1622, 733, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 2594, 12, 2890, 16, 1479, 16, 302, 31812, 461, 273, 599, 16, 312, 27026, 273, 599, 4672, 3536, 15605, 279, 1479, 358, 326, 666, 434, 4846, 4224, 7206, 18, 225, 1220, 1779, 903, 506, 5941, 1368, 1281, 293, 23, 72, 1390, 716, 2114, 333, 1479, 31, 333, 848, 506, 1399, 358, 675, 17, 11255, 326, 3323, 312, 27026, 364, 279, 864, 1479, 16, 364, 791, 18, 225, 2860, 326, 10894, 17, 4824, 4893, 1622, 733, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sent_describe = False sent_parameter = False sent_bandwidth = False
def compute(rc1): """ Translated from MPlayer's source Computes the realchallenge response and checksum """ buf = list() buf.extend( RealChallenge.AV_WB32('a1e9149d') ) buf.extend( RealChallenge.AV_WB32('0e6b3b59') ) rc1 = rc1.strip() if rc1: if len(rc1) == 40: rc1 = rc1[:32] if len(rc1) > 56: rc1 = rc1[:56] buf.extend( [ ord(i) for i in rc1 ] ) buf.extend( [ 0 for i in range(0, 56 - len(rc1)) ] ) # xor challenge bytewise with xor_table for i in range(0, len(RealChallenge.XOR_TABLE)): buf[8 + i] ^= RealChallenge.XOR_TABLE[i]; sum = md5( ''.join([ chr(i) for i in buf ]) ) response = sum.hexdigest() + '01d0a8e3' chksum = list() for i in range(0, 8): chksum.append(response[i * 4]) chksum = ''.join(chksum) return (response, chksum)
382ee43230b4edd23aa42a717e9fc5a3d328e8bc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7045/382ee43230b4edd23aa42a717e9fc5a3d328e8bc/rtsp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 12, 1310, 21, 4672, 3536, 8193, 690, 628, 490, 12148, 1807, 1084, 14169, 281, 326, 2863, 25092, 766, 471, 6697, 3536, 1681, 273, 666, 1435, 1681, 18, 14313, 12, 15987, 18359, 18, 5856, 67, 59, 38, 1578, 2668, 69, 21, 73, 29, 26262, 72, 6134, 262, 1681, 18, 14313, 12, 15987, 18359, 18, 5856, 67, 59, 38, 1578, 2668, 20, 73, 26, 70, 23, 70, 6162, 6134, 262, 225, 4519, 21, 273, 4519, 21, 18, 6406, 1435, 225, 309, 4519, 21, 30, 309, 562, 12, 1310, 21, 13, 422, 8063, 30, 4519, 21, 273, 4519, 21, 10531, 1578, 65, 309, 562, 12, 1310, 21, 13, 405, 13850, 30, 4519, 21, 273, 4519, 21, 10531, 4313, 65, 1681, 18, 14313, 12, 306, 4642, 12, 77, 13, 364, 277, 316, 4519, 21, 308, 262, 1681, 18, 14313, 12, 306, 374, 364, 277, 316, 1048, 12, 20, 16, 13850, 300, 562, 12, 1310, 21, 3719, 308, 262, 225, 468, 17586, 12948, 635, 88, 359, 784, 598, 17586, 67, 2121, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 6955, 18359, 18, 60, 916, 67, 7775, 3719, 30, 1681, 63, 28, 397, 277, 65, 10352, 15987, 18359, 18, 60, 916, 67, 7775, 63, 77, 15533, 225, 2142, 273, 3481, 25, 12, 875, 18, 5701, 3816, 4513, 12, 77, 13, 364, 277, 316, 1681, 308, 13, 262, 225, 766, 273, 2142, 18, 7118, 10171, 1435, 397, 296, 1611, 72, 20, 69, 28, 73, 23, 11, 225, 15000, 1364, 273, 666, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 12, 1310, 21, 4672, 3536, 8193, 690, 628, 490, 12148, 1807, 1084, 14169, 281, 326, 2863, 25092, 766, 471, 6697, 3536, 1681, 273, 666, 1435, 1681, 18, 14313, 12, 15987, 18359, 18, 5856, 67, 59, 38, 1578, 2668, 69, 21, 73, 29, 26262, 72, 6134, 262, 1681, 18, 14313, 12, 15987, 18359, 18, 5856, 67, 59, 38, 1578, 2668, 20, 73, 26, 70, 23, 70, 6162, 6134, 262, 225, 4519, 21, 273, 4519, 21, 18, 6406, 1435, 225, 309, 4519, 21, 30, 309, 562, 12, 1310, 21, 13, 422, 8063, 30, 4519, 21, 273, 4519, 21, 10531, 1578, 65, 309, 562, 12, 1310, 21, 13, 405, 13850, 30, 4519, 21, 273, 4519, 21, 10531, 4313, 65, 1681, 2 ]
qs = qs.annotate(c=Count('tagged_items')).filter(c__gt=0)
untagged_ids = Vote.objects.exclude(tagged_items__isnull=False).values_list('id',flat=True) qs = qs.exclude(id__in=untagged_ids)
def filter_and_order(self, *args, **kwargs): qs = self.all() filter_kwargs = {} if 'type' in kwargs and kwargs['type'] and kwargs['type'] != 'all': filter_kwargs['title__startswith'] = self.VOTE_TYPES[kwargs['type']] if 'since' in kwargs and kwargs['since'] and kwargs['since'] != 'all': filter_kwargs['time__gt'] = date.today()-timedelta(int(kwargs['since']))
fc51956937141ab1502c25b10db2179082a5bd22 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1866/fc51956937141ab1502c25b10db2179082a5bd22/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1034, 67, 464, 67, 1019, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 8719, 273, 365, 18, 454, 1435, 1034, 67, 4333, 273, 2618, 309, 296, 723, 11, 316, 1205, 471, 1205, 3292, 723, 3546, 471, 1205, 3292, 723, 3546, 480, 296, 454, 4278, 1034, 67, 4333, 3292, 2649, 972, 17514, 1918, 3546, 273, 365, 18, 16169, 1448, 67, 10564, 63, 4333, 3292, 723, 3546, 65, 309, 296, 9256, 11, 316, 1205, 471, 1205, 3292, 9256, 3546, 471, 1205, 3292, 9256, 3546, 480, 296, 454, 4278, 1034, 67, 4333, 3292, 957, 972, 4521, 3546, 273, 1509, 18, 30064, 1435, 17, 31295, 12, 474, 12, 4333, 3292, 9256, 3546, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1034, 67, 464, 67, 1019, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 8719, 273, 365, 18, 454, 1435, 1034, 67, 4333, 273, 2618, 309, 296, 723, 11, 316, 1205, 471, 1205, 3292, 723, 3546, 471, 1205, 3292, 723, 3546, 480, 296, 454, 4278, 1034, 67, 4333, 3292, 2649, 972, 17514, 1918, 3546, 273, 365, 18, 16169, 1448, 67, 10564, 63, 4333, 3292, 723, 3546, 65, 309, 296, 9256, 11, 316, 1205, 471, 1205, 3292, 9256, 3546, 471, 1205, 3292, 9256, 3546, 480, 296, 454, 4278, 1034, 67, 4333, 3292, 957, 972, 4521, 3546, 273, 1509, 18, 30064, 1435, 17, 31295, 12, 474, 12, 4333, 3292, 9256, 3546, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
except NameError, NotImplementedError:
except (NotImplementedError, NameError):
def synchronize_groups_with_login_method(): """For each login_method, if possible, synchronize groups in a bulk fashion (i.e. when fetch_all_users_groups_membership is implemented in the external_authentication class). Otherwise, for each user that belong to at least one external group for a given login_method, ask, if possible, for his group memberships and merge them. """ from invenio.access_control_config import CFG_EXTERNAL_AUTHENTICATION for login_method, authorizer in CFG_EXTERNAL_AUTHENTICATION.items(): if authorizer[0]: try: usersgroups = authorizer[0].fetch_all_users_groups_membership() synchronize_all_external_groups(usersgroups, login_method) except NameError, NotImplementedError: users = db.get_all_users_with_groups_with_login_method(login_method) for email, uid in users.items(): try: groups = authorizer[0].fetch_user_groups_membership(email) synchronize_external_groups(uid, groups, login_method) except NameError, NotImplementedError: pass
297fdee0e10db0d8642c542bf06cc0147a6f9b56 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3933/297fdee0e10db0d8642c542bf06cc0147a6f9b56/webgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16978, 67, 4650, 67, 1918, 67, 5819, 67, 2039, 13332, 3536, 1290, 1517, 3925, 67, 2039, 16, 309, 3323, 16, 16978, 3252, 316, 279, 8280, 30957, 261, 77, 18, 73, 18, 1347, 2158, 67, 454, 67, 5577, 67, 4650, 67, 19679, 353, 8249, 316, 326, 3903, 67, 12293, 667, 2934, 5272, 16, 364, 1517, 729, 716, 10957, 358, 622, 4520, 1245, 3903, 1041, 364, 279, 864, 3925, 67, 2039, 16, 6827, 16, 309, 3323, 16, 364, 18423, 1041, 12459, 87, 471, 2691, 2182, 18, 3536, 628, 2198, 275, 1594, 18, 3860, 67, 7098, 67, 1425, 1930, 7577, 67, 2294, 11702, 67, 25114, 2689, 364, 3925, 67, 2039, 16, 16761, 316, 7577, 67, 2294, 11702, 67, 25114, 2689, 18, 3319, 13332, 309, 16761, 63, 20, 14542, 775, 30, 3677, 4650, 273, 16761, 63, 20, 8009, 5754, 67, 454, 67, 5577, 67, 4650, 67, 19679, 1435, 16978, 67, 454, 67, 9375, 67, 4650, 12, 5577, 4650, 16, 3925, 67, 2039, 13, 1335, 261, 1248, 8644, 668, 16, 25473, 4672, 3677, 273, 1319, 18, 588, 67, 454, 67, 5577, 67, 1918, 67, 4650, 67, 1918, 67, 5819, 67, 2039, 12, 5819, 67, 2039, 13, 364, 2699, 16, 4555, 316, 3677, 18, 3319, 13332, 775, 30, 3252, 273, 16761, 63, 20, 8009, 5754, 67, 1355, 67, 4650, 67, 19679, 12, 3652, 13, 16978, 67, 9375, 67, 4650, 12, 1911, 16, 3252, 16, 3925, 67, 2039, 13, 1335, 261, 1248, 8644, 668, 16, 25473, 4672, 1342, 282, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16978, 67, 4650, 67, 1918, 67, 5819, 67, 2039, 13332, 3536, 1290, 1517, 3925, 67, 2039, 16, 309, 3323, 16, 16978, 3252, 316, 279, 8280, 30957, 261, 77, 18, 73, 18, 1347, 2158, 67, 454, 67, 5577, 67, 4650, 67, 19679, 353, 8249, 316, 326, 3903, 67, 12293, 667, 2934, 5272, 16, 364, 1517, 729, 716, 10957, 358, 622, 4520, 1245, 3903, 1041, 364, 279, 864, 3925, 67, 2039, 16, 6827, 16, 309, 3323, 16, 364, 18423, 1041, 12459, 87, 471, 2691, 2182, 18, 3536, 628, 2198, 275, 1594, 18, 3860, 67, 7098, 67, 1425, 1930, 7577, 67, 2294, 11702, 67, 25114, 2689, 364, 3925, 67, 2039, 16, 16761, 316, 7577, 67, 2294, 11702, 67, 25114, 2689, 18, 2 ]
self.__updateJobStatus( job, 'Failed', 'Stalling for more than %d sec' % failedTime )
self.__updateJobStatus( job, 'Failed', 'Stalling for more than %d sec' % failedTime )
def __failStalledJobs( self, failedTime ): """ Changes the Stalled status to Failed for jobs long in the Stalled status """ result = self.jobDB.selectJobs( {'Status':'Stalled'} ) failedCounter = 0 if not result['OK'] or not result['Value']: self.log.warn( result ) return result else: jobs = result['Value'] self.log.info( '%s Stalled jobs will be checked for failure' % ( len( jobs ) ) ) for job in jobs: # Check if the job pilot is lost result = self.__getJobPilotStatus(job) if result['OK']: pilotStatus = result['Value'] if pilotStatus != "Running": result = self.__updateJobStatus( job, 'Failed', "Job stalled: pilot not running" ) failedCounter += 1 result = self.sendAccounting(job) continue result = self.__getLatestUpdateTime( job ) if not result['OK']: return result currentTime = time.mktime( time.gmtime() ) lastUpdate = result['Value'] elapsedTime = currentTime - lastUpdate if elapsedTime > failedTime: self.__updateJobStatus( job, 'Failed', 'Stalling for more than %d sec' % failedTime ) failedCounter += 1 result = self.sendAccounting(job) self.log.info('%d jobs set to Failed' % failedCounter) return S_OK(failedCounter)
1bc0d189cfa76ea128be98dcb17942841327a3d2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/1bc0d189cfa76ea128be98dcb17942841327a3d2/StalledJobAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6870, 510, 4502, 7276, 12, 365, 16, 2535, 950, 262, 30, 3536, 17776, 326, 934, 4502, 1267, 358, 11175, 364, 6550, 1525, 316, 326, 934, 4502, 1267, 3536, 225, 563, 273, 365, 18, 4688, 2290, 18, 4025, 7276, 12, 13666, 1482, 11, 2497, 510, 4502, 11, 97, 262, 225, 2535, 4789, 273, 374, 225, 309, 486, 563, 3292, 3141, 3546, 578, 486, 563, 3292, 620, 3546, 30, 365, 18, 1330, 18, 8935, 12, 563, 262, 327, 563, 469, 30, 6550, 273, 563, 3292, 620, 3546, 365, 18, 1330, 18, 1376, 12, 1995, 87, 934, 4502, 6550, 903, 506, 5950, 364, 5166, 11, 738, 261, 562, 12, 6550, 262, 262, 262, 225, 364, 1719, 316, 6550, 30, 225, 468, 2073, 309, 326, 1719, 293, 22797, 353, 13557, 563, 273, 365, 16186, 588, 2278, 52, 22797, 1482, 12, 4688, 13, 309, 563, 3292, 3141, 3546, 30, 293, 22797, 1482, 273, 563, 3292, 620, 3546, 309, 293, 22797, 1482, 480, 315, 7051, 6877, 563, 273, 365, 16186, 2725, 23422, 12, 1719, 16, 296, 2925, 2187, 315, 2278, 384, 4502, 30, 293, 22797, 486, 3549, 6, 262, 2535, 4789, 1011, 404, 563, 273, 365, 18, 4661, 3032, 310, 12, 4688, 13, 1324, 225, 563, 273, 365, 16186, 588, 18650, 1891, 950, 12, 1719, 262, 309, 486, 563, 3292, 3141, 3546, 30, 327, 563, 6680, 273, 813, 18, 24816, 957, 12, 813, 18, 75, 10838, 1435, 262, 1142, 1891, 273, 563, 3292, 620, 3546, 9613, 950, 273, 6680, 300, 1142, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6870, 510, 4502, 7276, 12, 365, 16, 2535, 950, 262, 30, 3536, 17776, 326, 934, 4502, 1267, 358, 11175, 364, 6550, 1525, 316, 326, 934, 4502, 1267, 3536, 225, 563, 273, 365, 18, 4688, 2290, 18, 4025, 7276, 12, 13666, 1482, 11, 2497, 510, 4502, 11, 97, 262, 225, 2535, 4789, 273, 374, 225, 309, 486, 563, 3292, 3141, 3546, 578, 486, 563, 3292, 620, 3546, 30, 365, 18, 1330, 18, 8935, 12, 563, 262, 327, 563, 469, 30, 6550, 273, 563, 3292, 620, 3546, 365, 18, 1330, 18, 1376, 12, 1995, 87, 934, 4502, 6550, 903, 506, 5950, 364, 5166, 11, 738, 261, 562, 12, 6550, 262, 262, 262, 225, 364, 1719, 316, 6550, 30, 225, 2 ]
return S_OK(intCPUTimeLeft) def available(self, requirements = {} ):
return S_OK( intCPUTimeLeft ) def available( self, requirements = {} ):
def setCPUTimeLeft(self, cpuTimeLeft = None): """Update the CPUTime parameter of the CE classAd, necessary for running in filling mode """ if not cpuTimeLeft: # do nothing return S_OK() try: intCPUTimeLeft = int( cpuTimeLeft ) except: return S_ERROR('Wrong type for setCPUTimeLeft argument')
3d103a1ec7530dcfac38e6ccc642be862e663b73 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/3d103a1ec7530dcfac38e6ccc642be862e663b73/ComputingElement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 15222, 950, 3910, 12, 2890, 16, 8326, 950, 3910, 273, 599, 4672, 3536, 1891, 326, 12154, 950, 1569, 434, 326, 29538, 667, 1871, 16, 4573, 364, 3549, 316, 25740, 1965, 3536, 309, 486, 8326, 950, 3910, 30, 468, 741, 5083, 327, 348, 67, 3141, 1435, 775, 30, 509, 15222, 950, 3910, 273, 509, 12, 8326, 950, 3910, 262, 1335, 30, 327, 348, 67, 3589, 2668, 13634, 618, 364, 444, 15222, 950, 3910, 1237, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 15222, 950, 3910, 12, 2890, 16, 8326, 950, 3910, 273, 599, 4672, 3536, 1891, 326, 12154, 950, 1569, 434, 326, 29538, 667, 1871, 16, 4573, 364, 3549, 316, 25740, 1965, 3536, 309, 486, 8326, 950, 3910, 30, 468, 741, 5083, 327, 348, 67, 3141, 1435, 775, 30, 509, 15222, 950, 3910, 273, 509, 12, 8326, 950, 3910, 262, 1335, 30, 327, 348, 67, 3589, 2668, 13634, 618, 364, 444, 15222, 950, 3910, 1237, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
LOG('ZODB FS',ERROR,"%s ERROR: %s\n" % (packed_version, (message % data)))
LOG('ZODB FS', ERROR, "%s ERROR: %s\n" % (packed_version, (message % data)))
def error(message, *data): LOG('ZODB FS',ERROR,"%s ERROR: %s\n" % (packed_version, (message % data)))
ad85dfb9cd6957f764453d68c5aa78663f064355 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/ad85dfb9cd6957f764453d68c5aa78663f064355/FileStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 555, 12, 2150, 16, 380, 892, 4672, 2018, 2668, 62, 19786, 9247, 2187, 5475, 16, 2213, 87, 5475, 30, 738, 87, 64, 82, 6, 738, 261, 2920, 329, 67, 1589, 16, 261, 2150, 738, 501, 20349, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 555, 12, 2150, 16, 380, 892, 4672, 2018, 2668, 62, 19786, 9247, 2187, 5475, 16, 2213, 87, 5475, 30, 738, 87, 64, 82, 6, 738, 261, 2920, 329, 67, 1589, 16, 261, 2150, 738, 501, 20349, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if rel_dir.startswith('/'):
if rel_dir.startswith('/'):
def contentValues(self, spec=None, filter=None, sort_on=None, reverse=0): """ CMFPlone.PloneFolder.PloneFolder.contentValues """ filteredFileList = [] filteredFolderList = [] REQUEST = self.REQUEST
16b617800e575a37b82739b1f1fe95edd774f1d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/16b617800e575a37b82739b1f1fe95edd774f1d7/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 913, 1972, 12, 2890, 16, 857, 33, 7036, 16, 1034, 33, 7036, 16, 1524, 67, 265, 33, 7036, 16, 4219, 33, 20, 4672, 3536, 385, 13542, 1749, 476, 18, 1749, 476, 3899, 18, 1749, 476, 3899, 18, 1745, 1972, 3536, 5105, 26098, 273, 5378, 5105, 3899, 682, 273, 5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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 913, 1972, 12, 2890, 16, 857, 33, 7036, 16, 1034, 33, 7036, 16, 1524, 67, 265, 33, 7036, 16, 4219, 33, 20, 4672, 3536, 385, 13542, 1749, 476, 18, 1749, 476, 3899, 18, 1749, 476, 3899, 18, 1745, 1972, 3536, 5105, 26098, 273, 5378, 5105, 3899, 682, 273, 5378, 12492, 273, 365, 18, 5519, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bf, d = getObjectRetreiver()
bf, d = getObjectRetriever()
def getObjectAtSSL(host, port, timeout=None): """Establishes a PB connection over SSL and returns with a RemoteReference. @param host: the host to connect to @param port: the port number to connect to @param timeout: a value in milliseconds to wait before failing by default. (OPTIONAL) @returns: A Deferred which will be passed a remote reference to the root object of a PB server.x """ bf, d = getObjectRetreiver() reactor.connectSSL(host, port, bf, timeout) return d
dd545421a2f28d41032ba27dbb4ee2df82bedbf7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/dd545421a2f28d41032ba27dbb4ee2df82bedbf7/pb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6455, 861, 6745, 12, 2564, 16, 1756, 16, 225, 2021, 33, 7036, 4672, 3536, 9122, 23385, 281, 279, 20819, 1459, 1879, 7419, 471, 1135, 598, 279, 6304, 2404, 18, 225, 632, 891, 1479, 30, 326, 1479, 358, 3077, 358, 225, 632, 891, 1756, 30, 326, 1756, 1300, 358, 3077, 358, 225, 632, 891, 2021, 30, 279, 460, 316, 10993, 358, 2529, 1865, 21311, 635, 805, 18, 261, 14165, 13, 225, 632, 6154, 30, 432, 12816, 1492, 903, 506, 2275, 279, 2632, 2114, 358, 326, 1365, 733, 434, 279, 20819, 1438, 18, 92, 3536, 16222, 16, 302, 273, 6455, 30801, 1435, 19178, 18, 3612, 6745, 12, 2564, 16, 1756, 16, 16222, 16, 2021, 13, 327, 302, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6455, 861, 6745, 12, 2564, 16, 1756, 16, 225, 2021, 33, 7036, 4672, 3536, 9122, 23385, 281, 279, 20819, 1459, 1879, 7419, 471, 1135, 598, 279, 6304, 2404, 18, 225, 632, 891, 1479, 30, 326, 1479, 358, 3077, 358, 225, 632, 891, 1756, 30, 326, 1756, 1300, 358, 3077, 358, 225, 632, 891, 2021, 30, 279, 460, 316, 10993, 358, 2529, 1865, 21311, 635, 805, 18, 261, 14165, 13, 225, 632, 6154, 30, 432, 12816, 1492, 903, 506, 2275, 279, 2632, 2114, 358, 326, 1365, 733, 434, 279, 20819, 1438, 18, 92, 3536, 16222, 16, 302, 273, 6455, 30801, 1435, 19178, 18, 3612, 6745, 12, 2564, 16, 1756, 16, 16222, 16, 2021, 13, 327, 302, 225, 2, -100, -100 ]
class DirError(Exception): def __init__(self, name): self.name = name
def MythVideoPopup(width, height, gimpFilename, pngFilename, autosave, interactive): if len(gimpFilename) and gimpFilename[-4:].lower() != ".xcf": gimpFilename += ".xcf"
def GIMPCreateDialog(name, pngName, width, height): try: check_call(["gimp", "--no-interface", "--batch", "(python-fu-mythvideo-popup RUN-NONINTERACTIVE %d %d " "\"%s\" \"%s\" TRUE FALSE) (gimp-quit 1)" % (width, height, name, pngName)]) except CalledProcessError, cpe: print("Error code %d returned when attemptin to create %s" % (cpe.returncode, name))
e2c03d1fd04dc50dc4ad9ec4c41799301ff80998 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/e2c03d1fd04dc50dc4ad9ec4c41799301ff80998/mythvideofu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 611, 9883, 1684, 6353, 12, 529, 16, 14476, 461, 16, 1835, 16, 2072, 4672, 775, 30, 866, 67, 1991, 3816, 6, 75, 14532, 3113, 5238, 2135, 17, 5831, 3113, 5238, 5303, 3113, 7751, 8103, 17, 27074, 17, 4811, 451, 9115, 17, 16086, 15484, 17, 3993, 9125, 13301, 738, 72, 738, 72, 315, 7023, 9, 87, 2412, 22049, 87, 2412, 5383, 4934, 13, 261, 75, 14532, 17, 27176, 404, 2225, 738, 261, 2819, 16, 2072, 16, 508, 16, 14476, 461, 13, 5717, 1335, 25460, 16, 276, 347, 30, 1172, 2932, 668, 981, 738, 72, 2106, 1347, 4395, 267, 358, 752, 738, 87, 6, 738, 261, 71, 347, 18, 2463, 710, 16, 508, 3719, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1652, 611, 9883, 1684, 6353, 12, 529, 16, 14476, 461, 16, 1835, 16, 2072, 4672, 775, 30, 866, 67, 1991, 3816, 6, 75, 14532, 3113, 5238, 2135, 17, 5831, 3113, 5238, 5303, 3113, 7751, 8103, 17, 27074, 17, 4811, 451, 9115, 17, 16086, 15484, 17, 3993, 9125, 13301, 738, 72, 738, 72, 315, 7023, 9, 87, 2412, 22049, 87, 2412, 5383, 4934, 13, 261, 75, 14532, 17, 27176, 404, 2225, 738, 261, 2819, 16, 2072, 16, 508, 16, 14476, 461, 13, 5717, 1335, 25460, 16, 276, 347, 30, 1172, 2932, 668, 981, 738, 72, 2106, 1347, 4395, 267, 358, 752, 738, 87, 6, 738, 261, 71, 347, 18, 2463, 710, 16, 508, 3719, 225, 2, -100, -100, -100, -100, -100 ]
bb.msg.debug(3, bb.msg.domain.TaskData, self.build_names_index)
bb.msg.debug(3, bb.msg.domain.TaskData, ", ".join(self.build_names_index))
def dump_data(self): """ Dump some debug information on the internal data structures """ bb.msg.debug(3, bb.msg.domain.TaskData, "build_names:") bb.msg.debug(3, bb.msg.domain.TaskData, self.build_names_index) bb.msg.debug(3, bb.msg.domain.TaskData, "run_names:") bb.msg.debug(3, bb.msg.domain.TaskData, self.run_names_index) bb.msg.debug(3, bb.msg.domain.TaskData, "build_targets:") for target in self.build_targets.keys(): bb.msg.debug(3, bb.msg.domain.TaskData, " %s: %s" % (self.build_names_index[target], self.build_targets[target])) bb.msg.debug(3, bb.msg.domain.TaskData, "run_targets:") for target in self.run_targets.keys(): bb.msg.debug(3, bb.msg.domain.TaskData, " %s: %s" % (self.run_names_index[target], self.run_targets[target])) bb.msg.debug(3, bb.msg.domain.TaskData, "tasks:") for task in range(len(self.tasks_name)): bb.msg.debug(3, bb.msg.domain.TaskData, " (%s)%s - %s: %s" % ( task, self.fn_index[self.tasks_fnid[task]], self.tasks_name[task], self.tasks_tdepends[task]))
3155d686fb511879b449df5b83bcad5a3f151628 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2672/3155d686fb511879b449df5b83bcad5a3f151628/taskdata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 892, 12, 2890, 4672, 3536, 18242, 2690, 1198, 1779, 603, 326, 2713, 501, 12597, 3536, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, 3510, 67, 1973, 2773, 13, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 3104, 3552, 5701, 12, 2890, 18, 3510, 67, 1973, 67, 1615, 3719, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, 2681, 67, 1973, 2773, 13, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 365, 18, 2681, 67, 1973, 67, 1615, 13, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, 3510, 67, 11358, 2773, 13, 364, 1018, 316, 365, 18, 3510, 67, 11358, 18, 2452, 13332, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, 738, 87, 30, 738, 87, 6, 738, 261, 2890, 18, 3510, 67, 1973, 67, 1615, 63, 3299, 6487, 365, 18, 3510, 67, 11358, 63, 3299, 22643, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, 2681, 67, 11358, 2773, 13, 364, 1018, 316, 365, 18, 2681, 67, 11358, 18, 2452, 13332, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 892, 12, 2890, 4672, 3536, 18242, 2690, 1198, 1779, 603, 326, 2713, 501, 12597, 3536, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, 3510, 67, 1973, 2773, 13, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 3104, 3552, 5701, 12, 2890, 18, 3510, 67, 1973, 67, 1615, 3719, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 315, 2681, 67, 1973, 2773, 13, 7129, 18, 3576, 18, 4148, 12, 23, 16, 7129, 18, 3576, 18, 4308, 18, 2174, 751, 16, 365, 18, 2681, 67, 1973, 67, 1615, 13, 7129, 2 ]
parent.HookNotify(self.OnSavePointReached, SCN_SAVEPOINTREACHED) parent.HookNotify(self.OnSavePointLeft, SCN_SAVEPOINTLEFT) parent.HookNotify(self.OnModifyAttemptRO, SCN_MODIFYATTEMPTRO)
def HookViewNotifications(self, view): parent = view.GetParentFrame() parent.HookNotify(self.OnSavePointReached, SCN_SAVEPOINTREACHED) parent.HookNotify(self.OnSavePointLeft, SCN_SAVEPOINTLEFT) parent.HookNotify(self.OnModifyAttemptRO, SCN_MODIFYATTEMPTRO) parent.HookNotify(ViewNotifyDelegate(self, "OnBraceMatch"), SCN_CHECKBRACE) parent.HookNotify(ViewNotifyDelegate(self, "OnMarginClick"), SCN_MARGINCLICK) parent.HookNotify(ViewNotifyDelegate(self, "OnNeedShown"), SCN_NEEDSHOWN)
7e7033df8065af73e7c44f01629305f72a599b7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/992/7e7033df8065af73e7c44f01629305f72a599b7b/document.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13725, 1767, 14111, 12, 2890, 16, 1476, 4672, 982, 273, 1476, 18, 967, 3054, 3219, 1435, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 21965, 2060, 6, 3631, 8795, 50, 67, 10687, 26980, 13, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 9524, 6563, 6, 3631, 8795, 50, 67, 19772, 7702, 7697, 3507, 13, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 14112, 27042, 6, 3631, 8795, 50, 67, 5407, 2056, 2664, 51, 5665, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13725, 1767, 14111, 12, 2890, 16, 1476, 4672, 982, 273, 1476, 18, 967, 3054, 3219, 1435, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 21965, 2060, 6, 3631, 8795, 50, 67, 10687, 26980, 13, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 9524, 6563, 6, 3631, 8795, 50, 67, 19772, 7702, 7697, 3507, 13, 982, 18, 5394, 9168, 12, 1767, 9168, 9586, 12, 2890, 16, 315, 1398, 14112, 27042, 6, 3631, 8795, 50, 67, 5407, 2056, 2664, 51, 5665, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.assertEqual(p.stdout.read(), "end of main\nend of thread\n")
data = p.stdout.read().replace('\r', '') self.assertEqual(data, "end of main\nend of thread\n")
def joiningfunc(mainthread): mainthread.join() print 'end of thread'
f5668f13c8f69490af6bca0bd5221d00cd382342 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/f5668f13c8f69490af6bca0bd5221d00cd382342/test_threading.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21239, 644, 12, 5254, 5930, 4672, 2774, 5930, 18, 5701, 1435, 1172, 296, 409, 434, 2650, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21239, 644, 12, 5254, 5930, 4672, 2774, 5930, 18, 5701, 1435, 1172, 296, 409, 434, 2650, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
f.write(stream)
try: f.write(stream) except IOError, e: if e.errno != 22: raise chunk_size = 4 * 1024 * 1024 for offset in xrange(0, len(stream), chunk_size): f.write(buffer(stream, offset, chunk_size))
def save(self, file_name_or_filelike_obj, stream): # 1. Align stream on 0x1000 boundary (and therefore on sector boundary) padding = '\x00' * (0x1000 - (len(stream) % 0x1000)) self.book_stream_len = len(stream) + len(padding)
d8766b9c511c776fa24700d52e69e94c56a4fe04 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11459/d8766b9c511c776fa24700d52e69e94c56a4fe04/CompoundDoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 585, 67, 529, 67, 280, 67, 7540, 292, 2547, 67, 2603, 16, 1407, 4672, 468, 404, 18, 19317, 1407, 603, 374, 92, 18088, 7679, 261, 464, 13526, 603, 16323, 7679, 13, 4992, 273, 2337, 92, 713, 11, 380, 261, 20, 92, 18088, 300, 261, 1897, 12, 3256, 13, 738, 374, 92, 18088, 3719, 365, 18, 3618, 67, 3256, 67, 1897, 273, 562, 12, 3256, 13, 397, 562, 12, 9598, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1923, 12, 2890, 16, 585, 67, 529, 67, 280, 67, 7540, 292, 2547, 67, 2603, 16, 1407, 4672, 468, 404, 18, 19317, 1407, 603, 374, 92, 18088, 7679, 261, 464, 13526, 603, 16323, 7679, 13, 4992, 273, 2337, 92, 713, 11, 380, 261, 20, 92, 18088, 300, 261, 1897, 12, 3256, 13, 738, 374, 92, 18088, 3719, 365, 18, 3618, 67, 3256, 67, 1897, 273, 562, 12, 3256, 13, 397, 562, 12, 9598, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.good_result_times.sort() total_200 = len(self.good_result_times) total_all = total_200 + self.error_result_count
self.good_search_result_times.sort() self.good_cluster_result_times.sort() self.good_suggest_result_times.sort() total_search_200 = len(self.good_search_result_times) total_cluster_200 = len(self.good_cluster_result_times) total_suggest_200 = len(self.good_suggest_result_times) total_200 = total_search_200 + total_cluster_200 + total_suggest_200 error_result_count = self.error_search_result_count + self.error_cluster_result_count + self.error_suggest_result_count total_all = total_200 + error_result_count
def Summary(self): """Summarizes the results.
786420d3e794bd6ec1356ae7b9b796ca05e967d6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6393/786420d3e794bd6ec1356ae7b9b796ca05e967d6/load.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17967, 12, 2890, 4672, 3536, 3495, 3684, 3128, 326, 1686, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17967, 12, 2890, 4672, 3536, 3495, 3684, 3128, 326, 1686, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def quotient(self, sub, check=True):
def quotient(self, sub, check=True, positive_point=None, positive_dual_point=None):
def quotient(self, sub, check=True): """ Return the quotient of ``self`` by the given sublattice ``sub``. INPUT:
eb8c1be62ed520b8675c215dfc299aab1d8d35bd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/eb8c1be62ed520b8675c215dfc299aab1d8d35bd/toric_lattice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26708, 12, 2890, 16, 720, 16, 866, 33, 5510, 16, 6895, 67, 1153, 33, 7036, 16, 6895, 67, 72, 1462, 67, 1153, 33, 7036, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 326, 864, 17809, 24966, 12176, 1717, 68, 8338, 225, 12943, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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67, 1153, 33, 7036, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 326, 864, 17809, 24966, 12176, 1717, 68, 8338, 225, 12943, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (__mode == MODE_SCREENSHOT) {
if (__mode == MODE_SNAPSHOT) {
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) print ' } else {' print ' %s = (%s)(uintptr_t)(%s);' % (lvalue, arg_type, rvalue) print ' }' return
7fe1dc57d2249236b83aa1a78001a9245d6e1681 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12828/7fe1dc57d2249236b83aa1a78001a9245d6e1681/glretrace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 3175, 12, 2890, 16, 445, 16, 1501, 16, 1501, 67, 723, 16, 328, 1132, 16, 436, 1132, 4672, 309, 261, 915, 18, 529, 316, 365, 18, 10437, 67, 915, 67, 1973, 471, 1501, 18, 529, 422, 296, 10437, 11, 578, 445, 18, 529, 316, 365, 18, 9446, 67, 6274, 67, 915, 67, 1973, 471, 1501, 18, 529, 422, 296, 6836, 11, 4672, 1172, 296, 565, 309, 261, 14507, 67, 4155, 32, 3448, 2866, 2041, 380, 34, 12, 10, 9, 87, 3719, 13666, 738, 436, 1132, 1172, 296, 3639, 738, 87, 273, 374, 4359, 738, 261, 80, 1132, 13, 1172, 296, 565, 289, 469, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2608, 67, 3175, 12, 2890, 16, 445, 16, 1501, 16, 1501, 67, 723, 16, 328, 1132, 16, 436, 1132, 4672, 309, 261, 915, 18, 529, 316, 365, 18, 10437, 67, 915, 67, 1973, 471, 1501, 18, 529, 422, 296, 10437, 11, 578, 445, 18, 529, 316, 365, 18, 9446, 67, 6274, 67, 915, 67, 1973, 471, 1501, 18, 529, 422, 296, 6836, 11, 4672, 1172, 296, 565, 309, 261, 14507, 67, 4155, 32, 3448, 2866, 2041, 380, 34, 12, 10, 9, 87, 3719, 13666, 738, 436, 1132, 1172, 296, 3639, 738, 87, 273, 374, 4359, 738, 261, 80, 1132, 13, 1172, 296, 565, 289, 469, 13666, 1172, 296, 3639, 738, 87, 273, 6142, 87, 21433, 11890, 6723, 67, 2 ]
platform + "/" + timestamp)
buildplatform + "/" + timestamp)
def UploadToStaging(nowString, log, rsyncProgram, rsyncServer): timestamp = nowString.replace("-", "") timestamp = timestamp.replace(":", "") timestamp = timestamp.replace(" ", "") if not os.path.isdir(timestamp): print "skipping rsync to staging area, no dir", timestamp log.write("skipping rsync to staging area, no dir\n") else: if os.name == 'nt' or sys.platform == 'cygwin': platform = 'windows' elif sys.platform == 'darwin': if platform.processor() == 'i386': platform = 'maciosx' else: platform = 'macosx' else: platform = 'linux' print "Rsyncing to staging area..." log.write('rsync -e ssh -avzp ' + timestamp + ' ' + rsyncServer + ':staging/' + platform) outputList = hardhatutil.executeCommandReturnOutputRetry( [rsyncProgram, "-e", "ssh", "-avzp", timestamp, rsyncServer + ":staging/" + platform]) hardhatutil.dumpOutputList(outputList, log) completedFile = timestamp + os.sep + "completed" open(completedFile, "w").close() log.write('rsync -e ssh -avzp ' + completedFile + ' ' + rsyncServer + ':staging/' + platform + "/" + timestamp) outputList = hardhatutil.executeCommandReturnOutputRetry( [rsyncProgram, "-e", "ssh", "-avzp", completedFile, rsyncServer + ":staging/" + platform + "/" + timestamp]) hardhatutil.dumpOutputList(outputList, log) hardhatutil.rmdirRecursive(timestamp)
0c118dca192b01e6c6d5025fc108a70a5ee5ddac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/0c118dca192b01e6c6d5025fc108a70a5ee5ddac/tinderbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 774, 510, 5755, 12, 3338, 780, 16, 613, 16, 3597, 1209, 9459, 16, 3597, 1209, 2081, 4672, 2858, 273, 2037, 780, 18, 2079, 2932, 17, 3113, 1408, 13, 2858, 273, 2858, 18, 2079, 2932, 2773, 16, 1408, 13, 2858, 273, 2858, 18, 2079, 2932, 3104, 1408, 13, 225, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 5508, 4672, 1172, 315, 7457, 1382, 3597, 1209, 358, 22207, 5091, 16, 1158, 1577, 3113, 2858, 613, 18, 2626, 2932, 7457, 1382, 3597, 1209, 358, 22207, 5091, 16, 1158, 1577, 64, 82, 7923, 469, 30, 309, 1140, 18, 529, 422, 296, 496, 11, 578, 2589, 18, 9898, 422, 296, 2431, 75, 8082, 4278, 4072, 273, 296, 13226, 11, 1327, 2589, 18, 9898, 422, 296, 28076, 4278, 309, 4072, 18, 8700, 1435, 422, 296, 77, 23, 5292, 4278, 4072, 273, 296, 5821, 7441, 92, 11, 469, 30, 4072, 273, 296, 5821, 538, 92, 11, 469, 30, 4072, 273, 296, 20132, 11, 225, 1172, 315, 54, 8389, 310, 358, 22207, 5091, 7070, 613, 18, 2626, 2668, 5453, 1209, 300, 73, 7056, 300, 842, 94, 84, 296, 397, 2858, 397, 296, 296, 397, 3597, 1209, 2081, 397, 4290, 334, 5755, 2473, 397, 4072, 13, 876, 682, 273, 7877, 11304, 1367, 18, 8837, 2189, 990, 1447, 7539, 12, 306, 5453, 1209, 9459, 16, 3701, 73, 3113, 315, 10975, 3113, 3701, 842, 94, 84, 3113, 2858, 16, 3597, 1209, 2081, 397, 6398, 334, 5755, 4898, 397, 4072, 5717, 7877, 11304, 1367, 18, 8481, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 774, 510, 5755, 12, 3338, 780, 16, 613, 16, 3597, 1209, 9459, 16, 3597, 1209, 2081, 4672, 2858, 273, 2037, 780, 18, 2079, 2932, 17, 3113, 1408, 13, 2858, 273, 2858, 18, 2079, 2932, 2773, 16, 1408, 13, 2858, 273, 2858, 18, 2079, 2932, 3104, 1408, 13, 225, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 5508, 4672, 1172, 315, 7457, 1382, 3597, 1209, 358, 22207, 5091, 16, 1158, 1577, 3113, 2858, 613, 18, 2626, 2932, 7457, 1382, 3597, 1209, 358, 22207, 5091, 16, 1158, 1577, 64, 82, 7923, 469, 30, 309, 1140, 18, 529, 422, 296, 496, 11, 578, 2589, 18, 9898, 422, 296, 2431, 75, 8082, 4278, 4072, 273, 296, 13226, 11, 1327, 2589, 2 ]
self.work_py = []
self.work_py_module = []
def __init__(self, opts): self.opts = opts self.work_file = [] # list of strings self.work_fd = [] # list of ints self.work_py = [] # list of strings self.work_server_sock = [] self.work_proc_pipe = [] self.work_proc_pipe2 = [] self.work_proc_sock = [] self.worker_prof_cmd = "${GXP_DIR}/gxpbin/worker_prof"
c89dfbb082f3fee0737301e8c81aaa7959b3a032 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/924/c89dfbb082f3fee0737301e8c81aaa7959b3a032/gxp_js.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1500, 4672, 365, 18, 4952, 273, 1500, 365, 18, 1252, 67, 768, 273, 5378, 377, 468, 666, 434, 2064, 365, 18, 1252, 67, 8313, 273, 5378, 4202, 468, 666, 434, 15542, 365, 18, 1252, 67, 2074, 67, 2978, 273, 5378, 4202, 468, 666, 434, 2064, 365, 18, 1252, 67, 3567, 67, 15031, 273, 5378, 365, 18, 1252, 67, 9381, 67, 14772, 273, 5378, 365, 18, 1252, 67, 9381, 67, 14772, 22, 273, 5378, 365, 18, 1252, 67, 9381, 67, 15031, 273, 5378, 365, 18, 10124, 67, 16121, 67, 4172,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1500, 4672, 365, 18, 4952, 273, 1500, 365, 18, 1252, 67, 768, 273, 5378, 377, 468, 666, 434, 2064, 365, 18, 1252, 67, 8313, 273, 5378, 4202, 468, 666, 434, 15542, 365, 18, 1252, 67, 2074, 67, 2978, 273, 5378, 4202, 468, 666, 434, 2064, 365, 18, 1252, 67, 3567, 67, 15031, 273, 5378, 365, 18, 1252, 67, 9381, 67, 14772, 273, 5378, 365, 18, 1252, 67, 9381, 67, 14772, 22, 273, 5378, 365, 18, 1252, 67, 9381, 67, 15031, 273, 5378, 365, 18, 10124, 67, 16121, 67, 4172, 273, 27214, 43, 60, 52, 67, 4537, 4004, 75, 23829, 4757, 19, 10124, 67, 16121, 6, 2, -100, -100, -100, -100, -100, -100, -100 ]
self.scroll_to_cell (path=path, use_align=FALSE)
self.scroll_to_cell (path=path, use_align=False)
def newDeviceCallback (self, screen, driver, config): device = dri.DeviceConfig (config, screen, driver) self.model.addNode (device) config.modified(config) path = self.model.getPathFromNode (device) self.get_selection().select_path (path) self.scroll_to_cell (path=path, use_align=FALSE)
ab8126074d7036807d1d842171687cc01617a181 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4580/ab8126074d7036807d1d842171687cc01617a181/driconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 3654, 2428, 261, 2890, 16, 5518, 16, 3419, 16, 642, 4672, 2346, 273, 302, 566, 18, 3654, 809, 261, 1425, 16, 5518, 16, 3419, 13, 365, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 3654, 2428, 261, 2890, 16, 5518, 16, 3419, 16, 642, 4672, 2346, 273, 302, 566, 18, 3654, 809, 261, 1425, 16, 5518, 16, 3419, 13, 365, 18, 2284, 18, 1289, 907, 261, 5964, 13, 642, 18, 7342, 12, 1425, 13, 589, 273, 365, 18, 2284, 18, 588, 743, 28570, 261, 5964, 13, 365, 18, 588, 67, 10705, 7675, 4025, 67, 803, 261, 803, 13, 365, 18, 12033, 67, 869, 67, 3855, 261, 803, 33, 803, 16, 999, 67, 7989, 33, 21053, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if self.tileset is None: return
def reposition(self): """internal function: move the board to the correct position. This is also called when the tileset or the light source for this board changes""" if self.tileset is None: return width = self.tileset.faceSize.width() height = self.tileset.faceSize.height() offsets = self.tileset.shadowOffsets(self.lightSource, self.rotation) newX = self.xWidth*width+self.xHeight*height + offsets[0] newY = self.yWidth*width+self.yHeight*height + offsets[1] QGraphicsRectItem.setPos(self, newX, newY)
32e47232617a39eb0a153b6a21cee083e5f9e036 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1679/32e47232617a39eb0a153b6a21cee083e5f9e036/board.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 3276, 12, 2890, 4672, 3536, 7236, 445, 30, 3635, 326, 11094, 358, 326, 3434, 1754, 18, 1220, 353, 2546, 2566, 1347, 326, 12568, 278, 578, 326, 9052, 1084, 364, 333, 11094, 3478, 8395, 1835, 273, 365, 18, 28366, 278, 18, 865, 1225, 18, 2819, 1435, 2072, 273, 365, 18, 28366, 278, 18, 865, 1225, 18, 4210, 1435, 8738, 273, 365, 18, 28366, 278, 18, 19119, 13830, 12, 2890, 18, 5099, 1830, 16, 365, 18, 18807, 13, 394, 60, 273, 365, 18, 92, 2384, 14, 2819, 15, 2890, 18, 92, 2686, 14, 4210, 397, 8738, 63, 20, 65, 394, 61, 273, 365, 18, 93, 2384, 14, 2819, 15, 2890, 18, 93, 2686, 14, 4210, 397, 8738, 63, 21, 65, 2238, 17558, 6120, 1180, 18, 542, 1616, 12, 2890, 16, 394, 60, 16, 394, 61, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 283, 3276, 12, 2890, 4672, 3536, 7236, 445, 30, 3635, 326, 11094, 358, 326, 3434, 1754, 18, 1220, 353, 2546, 2566, 1347, 326, 12568, 278, 578, 326, 9052, 1084, 364, 333, 11094, 3478, 8395, 1835, 273, 365, 18, 28366, 278, 18, 865, 1225, 18, 2819, 1435, 2072, 273, 365, 18, 28366, 278, 18, 865, 1225, 18, 4210, 1435, 8738, 273, 365, 18, 28366, 278, 18, 19119, 13830, 12, 2890, 18, 5099, 1830, 16, 365, 18, 18807, 13, 394, 60, 273, 365, 18, 92, 2384, 14, 2819, 15, 2890, 18, 92, 2686, 14, 4210, 397, 8738, 63, 20, 65, 394, 61, 273, 365, 18, 93, 2384, 14, 2819, 15, 2890, 18, 93, 2686, 14, 4210, 397, 8738, 63, 21, 2 ]
stats = dict(added=0, updated=0)
stats = dict(added=0, updated=0, models=0)
def fetch(sql_factory, infos, worker_count, batch_size): ''' Fetch data from the AppEngine Datastore via remote_api and save it to the database. Synchronization happens differently depending on the properties of the particular Model subclass: * For subclasses with a DateTimeProperty whose auto_now member is True, query the database for the maximum value of that property, then iteratively fetch updated entities using an index query. * For other subclasses, query the database for the highest __key__ value, then iteratively fetch entities with a higher __key__ value using an index query. @param[in] sql_factory DBAPI connection factory. @param[in] infos Output of get_model_map(). @param[in] worker_count Number of worker threads to use. @param[in] batch_size Number entities to fetch per request. ''' sql = sql_factory() sync_model(sql, infos) lock = threading.Lock() to_check = infos[:] end_event = threading.Event() end_count = [0] stats = dict(added=0, updated=0) logging.debug('got %d tables to check.', len(to_check)) def get_next(last_info, added, updated): with lock: stats['added'] += added stats['updated'] += updated if added or updated: logging.info('%s done. Overall status: %s added, %s updated.', last_info.name, stats['added'], stats['updated']) if to_check: return to_check.pop(-1) def safe_fetch_thread(*args): try: fetch_thread(*args) except: traceback.print_exc() with lock: end_count[0] += 1 if end_count[0] == worker_count: end_event.set() for i in range(worker_count): thread = threading.Thread(target=safe_fetch_thread, args=(sql_factory, get_next, batch_size)) thread.start() end_event.wait() logging.info('grand total: %s added, %s updated.', stats['added'], stats['updated']) logging.debug('all fetch threads done; finished.')
c988a7136c588ec46c99f57110ee9bd002f11810 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7737/c988a7136c588ec46c99f57110ee9bd002f11810/dsync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 12, 4669, 67, 6848, 16, 10626, 16, 4322, 67, 1883, 16, 2581, 67, 1467, 4672, 9163, 8065, 501, 628, 326, 4677, 4410, 20326, 3970, 2632, 67, 2425, 471, 1923, 518, 358, 326, 2063, 18, 26535, 1588, 10555, 23621, 8353, 603, 326, 1790, 434, 326, 6826, 3164, 10177, 30, 225, 380, 2457, 15320, 598, 279, 3716, 1396, 8272, 3656, 67, 3338, 3140, 353, 1053, 16, 843, 326, 2063, 364, 326, 4207, 460, 434, 716, 1272, 16, 1508, 1400, 17526, 2158, 3526, 5140, 1450, 392, 770, 843, 18, 225, 380, 2457, 1308, 15320, 16, 843, 326, 2063, 364, 326, 9742, 1001, 856, 972, 460, 16, 1508, 1400, 17526, 2158, 5140, 598, 279, 10478, 1001, 856, 972, 460, 1450, 392, 770, 843, 18, 225, 632, 891, 63, 267, 65, 225, 1847, 67, 6848, 377, 2383, 2557, 1459, 3272, 18, 632, 891, 63, 267, 65, 225, 10626, 6647, 3633, 434, 336, 67, 2284, 67, 1458, 7675, 632, 891, 63, 267, 65, 225, 4322, 67, 1883, 565, 3588, 434, 4322, 7403, 358, 999, 18, 632, 891, 63, 267, 65, 225, 2581, 67, 1467, 1377, 3588, 5140, 358, 2158, 1534, 590, 18, 9163, 225, 1847, 273, 1847, 67, 6848, 1435, 3792, 67, 2284, 12, 4669, 16, 10626, 13, 225, 2176, 273, 17254, 18, 2531, 1435, 358, 67, 1893, 273, 10626, 10531, 65, 679, 67, 2575, 273, 17254, 18, 1133, 1435, 679, 67, 1883, 273, 306, 20, 65, 3177, 273, 2065, 12, 9665, 33, 20, 16, 3526, 33, 20, 16, 3679, 33, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 12, 4669, 67, 6848, 16, 10626, 16, 4322, 67, 1883, 16, 2581, 67, 1467, 4672, 9163, 8065, 501, 628, 326, 4677, 4410, 20326, 3970, 2632, 67, 2425, 471, 1923, 518, 358, 326, 2063, 18, 26535, 1588, 10555, 23621, 8353, 603, 326, 1790, 434, 326, 6826, 3164, 10177, 30, 225, 380, 2457, 15320, 598, 279, 3716, 1396, 8272, 3656, 67, 3338, 3140, 353, 1053, 16, 843, 326, 2063, 364, 326, 4207, 460, 434, 716, 1272, 16, 1508, 1400, 17526, 2158, 3526, 5140, 1450, 392, 770, 843, 18, 225, 380, 2457, 1308, 15320, 16, 843, 326, 2063, 364, 326, 9742, 1001, 856, 972, 460, 16, 1508, 1400, 17526, 2158, 5140, 598, 279, 10478, 1001, 856, 972, 460, 1450, 392, 2 ]
show_stdout=False, cwd=dir).strip()
show_stdout=False, cwd=location).strip()
def get_hg_revision(location): current_branch = call_subprocess(['hg', 'branch'], show_stdout=False, cwd=dir).strip() branch_revs = get_hg_branch_revs(location) for branch in branch_revs: if current_branch == branch_revs[branch]: return branch return get_hg_tip_revision(location)
49b518ad103e62e5f4797375d519807b43204bfd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/49b518ad103e62e5f4797375d519807b43204bfd/pip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 26981, 67, 13057, 12, 3562, 4672, 783, 67, 7500, 273, 745, 67, 1717, 2567, 12, 3292, 26981, 2187, 296, 7500, 17337, 2405, 67, 10283, 33, 8381, 16, 7239, 33, 3562, 2934, 6406, 1435, 3803, 67, 266, 6904, 273, 336, 67, 26981, 67, 7500, 67, 266, 6904, 12, 3562, 13, 364, 3803, 316, 3803, 67, 266, 6904, 30, 309, 783, 67, 7500, 422, 3803, 67, 266, 6904, 63, 7500, 14542, 327, 3803, 327, 336, 67, 26981, 67, 14587, 67, 13057, 12, 3562, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 26981, 67, 13057, 12, 3562, 4672, 783, 67, 7500, 273, 745, 67, 1717, 2567, 12, 3292, 26981, 2187, 296, 7500, 17337, 2405, 67, 10283, 33, 8381, 16, 7239, 33, 3562, 2934, 6406, 1435, 3803, 67, 266, 6904, 273, 336, 67, 26981, 67, 7500, 67, 266, 6904, 12, 3562, 13, 364, 3803, 316, 3803, 67, 266, 6904, 30, 309, 783, 67, 7500, 422, 3803, 67, 266, 6904, 63, 7500, 14542, 327, 3803, 327, 336, 67, 26981, 67, 14587, 67, 13057, 12, 3562, 13, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pattern = self.patterns.interpreted_or_phrase_ref
end_pattern = self.patterns.interpreted_or_phrase_ref
def interpreted_or_phrase_ref(self, match, lineno): pattern = self.patterns.interpreted_or_phrase_ref string = match.string matchstart = match.start('backquote') matchend = match.end('backquote') rolestart = match.start('role') role = match.group('role') position = '' if role: role = role[1:-1] position = 'prefix' elif self.quoted_start(match): return (string[:matchend], [], string[matchend:], []) endmatch = pattern.search(string[matchend:]) if endmatch and endmatch.start(1): # 1 or more chars escaped = endmatch.string[:endmatch.start(1)] text = unescape(escaped, 0) rawsource = unescape( string[match.start():matchend+endmatch.end()], 1) if rawsource[-1:] == '_': if role: msg = self.reporter.warning( 'Mismatch: inline interpreted text start-string and' ' role with phrase-reference end-string at line %s.' % lineno) text = unescape(string[matchstart:matchend], 1) rawsource = unescape(string[matchstart:matchend], 1) prb = self.problematic(text, rawsource, msg) return (string[:matchstart], [prb], string[matchend:], [msg]) return self.phrase_ref( string[:matchstart], string[matchend:][endmatch.end():], text, rawsource) else: return self.interpreted( string[:rolestart], string[matchend:][endmatch.end():], endmatch, role, position, lineno, escaped, rawsource, text) msg = self.reporter.warning( 'Inline interpreted text or phrase reference start-string ' 'without end-string at line %s.' % lineno) text = unescape(string[matchstart:matchend], 1) rawsource = unescape(string[matchstart:matchend], 1) prb = self.problematic(text, rawsource, msg) return string[:matchstart], [prb], string[matchend:], [msg]
816927c350eab6c8d1baf3e3aa09f53b2caab704 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/816927c350eab6c8d1baf3e3aa09f53b2caab704/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19898, 67, 280, 67, 9429, 67, 1734, 12, 2890, 16, 845, 16, 7586, 4672, 679, 67, 4951, 273, 365, 18, 13317, 18, 24713, 329, 67, 280, 67, 9429, 67, 1734, 533, 273, 845, 18, 1080, 845, 1937, 273, 845, 18, 1937, 2668, 823, 6889, 6134, 845, 409, 273, 845, 18, 409, 2668, 823, 6889, 6134, 10643, 27893, 273, 845, 18, 1937, 2668, 4615, 6134, 2478, 273, 845, 18, 1655, 2668, 4615, 6134, 1754, 273, 875, 309, 2478, 30, 2478, 273, 2478, 63, 21, 30, 17, 21, 65, 1754, 273, 296, 3239, 11, 1327, 365, 18, 15179, 67, 1937, 12, 1916, 4672, 327, 261, 1080, 10531, 1916, 409, 6487, 5378, 16, 533, 63, 1916, 409, 30, 6487, 5378, 13, 679, 1916, 273, 1936, 18, 3072, 12, 1080, 63, 1916, 409, 30, 5717, 309, 679, 1916, 471, 679, 1916, 18, 1937, 12, 21, 4672, 225, 468, 404, 578, 1898, 5230, 8345, 273, 679, 1916, 18, 1080, 10531, 409, 1916, 18, 1937, 12, 21, 25887, 977, 273, 15568, 12, 16502, 16, 374, 13, 1831, 3168, 273, 15568, 12, 533, 63, 1916, 18, 1937, 13332, 1916, 409, 15, 409, 1916, 18, 409, 1435, 6487, 404, 13, 309, 1831, 3168, 18919, 21, 26894, 422, 2070, 4278, 309, 2478, 30, 1234, 273, 365, 18, 266, 7988, 18, 8551, 12, 296, 16901, 30, 6370, 19898, 977, 787, 17, 1080, 471, 11, 296, 2478, 598, 13045, 17, 6180, 679, 17, 1080, 622, 980, 738, 87, 1093, 738, 7586, 13, 977, 273, 15568, 12, 1080, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19898, 67, 280, 67, 9429, 67, 1734, 12, 2890, 16, 845, 16, 7586, 4672, 679, 67, 4951, 273, 365, 18, 13317, 18, 24713, 329, 67, 280, 67, 9429, 67, 1734, 533, 273, 845, 18, 1080, 845, 1937, 273, 845, 18, 1937, 2668, 823, 6889, 6134, 845, 409, 273, 845, 18, 409, 2668, 823, 6889, 6134, 10643, 27893, 273, 845, 18, 1937, 2668, 4615, 6134, 2478, 273, 845, 18, 1655, 2668, 4615, 6134, 1754, 273, 875, 309, 2478, 30, 2478, 273, 2478, 63, 21, 30, 17, 21, 65, 1754, 273, 296, 3239, 11, 1327, 365, 18, 15179, 67, 1937, 12, 1916, 4672, 327, 261, 1080, 10531, 1916, 409, 6487, 5378, 16, 533, 63, 1916, 409, 30, 6487, 5378, 13, 2 ]
self.ownerDocument.catcode(key, value)
self.ownerDocument.context.catcode(key, value)
def readArgumentAndSource(self, spec=None, type=None, subtype=None, delim=',', expanded=False, default=None, parentNode=None, name=None, stripLeadingWhitespace=True): """ Get an argument and the TeX source that created it
004df1451775a6dd62b83138bb1b68634bca9b69 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7864/004df1451775a6dd62b83138bb1b68634bca9b69/TeX.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 1379, 1876, 1830, 12, 2890, 16, 857, 33, 7036, 16, 618, 33, 7036, 16, 12308, 33, 7036, 16, 10508, 33, 2187, 2187, 8406, 33, 8381, 16, 805, 33, 7036, 16, 7234, 33, 7036, 16, 508, 33, 7036, 16, 2569, 19112, 9431, 33, 5510, 4672, 3536, 968, 392, 1237, 471, 326, 28602, 60, 1084, 716, 2522, 518, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 855, 1379, 1876, 1830, 12, 2890, 16, 857, 33, 7036, 16, 618, 33, 7036, 16, 12308, 33, 7036, 16, 10508, 33, 2187, 2187, 8406, 33, 8381, 16, 805, 33, 7036, 16, 7234, 33, 7036, 16, 508, 33, 7036, 16, 2569, 19112, 9431, 33, 5510, 4672, 3536, 968, 392, 1237, 471, 326, 28602, 60, 1084, 716, 2522, 518, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.directories[parent] = self.DirStore.append(None, [parent, parent])
self.directories[parent] = self.DirStore.append(None, [self.decode(parent), parent])
def BrowseGetDirs(self): sorted = [] for dirs in self.shares.keys(): sorted.append(dirs) sorted.sort() children = [] directory = "" self.directories = {} if sorted != []: for item in sorted: s = item.split("\\") path = ''
e0fa59031b16058b4c91fb570c5318399637c6e1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8738/e0fa59031b16058b4c91fb570c5318399637c6e1/userbrowse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 605, 12481, 967, 9872, 12, 2890, 4672, 3115, 273, 5378, 364, 7717, 316, 365, 18, 30720, 18, 2452, 13332, 3115, 18, 6923, 12, 8291, 13, 3115, 18, 3804, 1435, 2325, 273, 5378, 1867, 273, 1408, 365, 18, 15121, 273, 2618, 309, 3115, 480, 5378, 30, 364, 761, 316, 3115, 30, 272, 273, 761, 18, 4939, 2932, 1695, 7923, 589, 273, 875, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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12, 8291, 13, 3115, 18, 3804, 1435, 2325, 273, 5378, 1867, 273, 1408, 365, 18, 15121, 273, 2618, 309, 3115, 480, 5378, 30, 364, 761, 316, 3115, 30, 272, 273, 761, 18, 4939, 2932, 1695, 7923, 589, 273, 875, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.logger.log(severity, msg)
def __getitem__(self2, key): if key in brrec: return brrec[key] return dict.__getitem__(self2, key)
4236d93ba505d6771af5373d91ff8d7499622a3c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/4236d93ba505d6771af5373d91ff8d7499622a3c/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 22, 16, 498, 4672, 309, 498, 316, 5186, 3927, 30, 327, 5186, 3927, 63, 856, 65, 327, 2065, 16186, 31571, 972, 12, 2890, 22, 16, 498, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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1652, 1001, 31571, 972, 12, 2890, 22, 16, 498, 4672, 309, 498, 316, 5186, 3927, 30, 327, 5186, 3927, 63, 856, 65, 327, 2065, 16186, 31571, 972, 12, 2890, 22, 16, 498, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
([zeta6 - 1], [zeta6 - 1], -3*zeta42^7 + 2) ([zeta6 - 1], [-1], 2*zeta42^7 + 1)
([zeta6 - 1], [zeta6 - 1], -3*zeta6 + 2) ([zeta6 - 1], [-1], 2*zeta6 + 1)
def jacobi_sum(self, char, check=True): """ Return the Jacobi sum associated to these Dirichlet characters (i.e., J(self,char)). EXAMPLES:: sage: D = DirichletGroup(13) sage: e = D.0 sage: f = D[-2] sage: e.jacobi_sum(f) 3*zeta156^26 + 2*zeta156^13 - 3 sage: f.jacobi_sum(e) 3*zeta156^26 + 2*zeta156^13 - 3 sage: p = 7 sage: DP = DirichletGroup(p) sage: f = DP.0 sage: e.jacobi_sum(f) Traceback (most recent call last): ... NotImplementedError: Characters must be from the same Dirichlet Group. sage: all_jacobi_sums = [(DP[i],DP[j],DP[i].jacobi_sum(DP[j])) \ ... for i in range(p-1) for j in range(p-1)[i:]] ... sage: for s in all_jacobi_sums: ... print s ([1], [1], 5) ([1], [zeta6], -1) ([1], [zeta6 - 1], -1) ([1], [-1], -1) ([1], [-zeta6], -1) ([1], [-zeta6 + 1], -1) ([zeta6], [zeta6], -zeta42^7 + 3) ([zeta6], [zeta6 - 1], 2*zeta42^7 + 1) ([zeta6], [-1], -2*zeta42^7 - 1) ([zeta6], [-zeta6], zeta42^7 - 3) ([zeta6], [-zeta6 + 1], 1) ([zeta6 - 1], [zeta6 - 1], -3*zeta42^7 + 2) ([zeta6 - 1], [-1], 2*zeta42^7 + 1) ([zeta6 - 1], [-zeta6], -1) ([zeta6 - 1], [-zeta6 + 1], -zeta42^7 - 2) ([-1], [-1], 1) ([-1], [-zeta6], -2*zeta42^7 + 3) ([-1], [-zeta6 + 1], 2*zeta42^7 - 3) ([-zeta6], [-zeta6], 3*zeta42^7 - 1) ([-zeta6], [-zeta6 + 1], -2*zeta42^7 + 3) ([-zeta6 + 1], [-zeta6 + 1], zeta42^7 + 2) Let's check that trivial sums are being calculated correctly:: sage: N = 13 sage: D = DirichletGroup(N) sage: g = D(1) sage: g.jacobi_sum(g) 11 sage: sum([g(x)*g(1-x) for x in IntegerModRing(N)]) 11 Now let's take a look at a non-prime modulus. One reason we don't like non-prime moduli is that certain identities that are used in the code are not valid for non-prime moduli:: sage: N = 9 sage: D = DirichletGroup(N) sage: g = D(1) sage: g.jacobi_sum(g) Traceback (most recent call last): ... ValueError: Characters must have prime moduli at this time -- use check=False to allow non-prime moduli sage: g.jacobi_sum(g, check=False) 5 sage: sum([g(x)*g(1-x) for x in IntegerModRing(N)]) 3 TODO: Implement Jacobi sums for characters with output in finite fields GF(q) for q non-prime. """ if check: if self.parent() != char.parent(): raise NotImplementedError, "Characters must be from the same Dirichlet Group." if not self.parent().modulus().is_prime(): raise ValueError, "Characters must have prime moduli at this time -- use check=False to allow non-prime moduli" # If they are both trivial, return p if self.is_trivial() and char.is_trivial(): return (self.parent()).order() - 1 # If they are inverses of each other, return -self(-1) prod = self*char if prod.is_trivial(): return -self(-1) # If both are nontrivial, apply mult. formula: elif not self.is_trivial() and not char.is_trivial(): return self.gauss_sum()*char.gauss_sum()/prod.gauss_sum() # If exactly one is trivial, return -1 else: return -1
80bb64cda04307dbe55314d6e4fce85c5aab0086 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/80bb64cda04307dbe55314d6e4fce85c5aab0086/dirichlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20138, 30875, 67, 1364, 12, 2890, 16, 1149, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 804, 1077, 30875, 2142, 3627, 358, 4259, 8446, 1354, 1810, 3949, 261, 77, 18, 73, 12990, 804, 12, 2890, 16, 3001, 13, 2934, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 463, 273, 8446, 1354, 1810, 1114, 12, 3437, 13, 272, 410, 30, 425, 273, 463, 18, 20, 272, 410, 30, 284, 273, 463, 18919, 22, 65, 272, 410, 30, 425, 18, 31390, 30875, 67, 1364, 12, 74, 13, 890, 14, 94, 1066, 28946, 66, 5558, 397, 576, 14, 94, 1066, 28946, 66, 3437, 300, 890, 272, 410, 30, 284, 18, 31390, 30875, 67, 1364, 12, 73, 13, 890, 14, 94, 1066, 28946, 66, 5558, 397, 576, 14, 94, 1066, 28946, 66, 3437, 300, 890, 272, 410, 30, 293, 273, 2371, 272, 410, 30, 463, 52, 273, 8446, 1354, 1810, 1114, 12, 84, 13, 272, 410, 30, 284, 273, 463, 52, 18, 20, 272, 410, 30, 425, 18, 31390, 30875, 67, 1364, 12, 74, 13, 2677, 823, 261, 10329, 8399, 745, 1142, 4672, 1372, 11206, 30, 3703, 9202, 1297, 506, 628, 326, 1967, 8446, 1354, 1810, 3756, 18, 272, 410, 30, 777, 67, 31390, 30875, 67, 1364, 87, 273, 306, 12, 8640, 63, 77, 6487, 8640, 63, 78, 6487, 8640, 63, 77, 8009, 31390, 30875, 67, 1364, 12, 8640, 63, 78, 22643, 521, 1372, 15604, 364, 277, 316, 1048, 12, 84, 17, 21, 13, 364, 525, 316, 1048, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20138, 30875, 67, 1364, 12, 2890, 16, 1149, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 804, 1077, 30875, 2142, 3627, 358, 4259, 8446, 1354, 1810, 3949, 261, 77, 18, 73, 12990, 804, 12, 2890, 16, 3001, 13, 2934, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 463, 273, 8446, 1354, 1810, 1114, 12, 3437, 13, 272, 410, 30, 425, 273, 463, 18, 20, 272, 410, 30, 284, 273, 463, 18919, 22, 65, 272, 410, 30, 425, 18, 31390, 30875, 67, 1364, 12, 74, 13, 890, 14, 94, 1066, 28946, 66, 5558, 397, 576, 14, 94, 1066, 28946, 66, 3437, 300, 890, 272, 410, 30, 284, 18, 31390, 30875, 67, 1364, 12, 73, 13, 890, 14, 94, 2 ]
libraries, extradirs, extraexportsymbols)
libraries, extradirs, extraexportsymbols, outputdir)
def genpluginproject(architecture, module, project=None, projectdir=None, sources=[], sourcedirs=[], libraries=[], extradirs=[], extraexportsymbols=[], outputdir=":::Lib:lib-dynload"): if architecture == "all": # For the time being we generate two project files. Not as nice as # a single multitarget project, but easier to implement for now. genpluginproject("ppc", module, project, projectdir, sources, sourcedirs, libraries, extradirs, extraexportsymbols) genpluginproject("carbon", module, project, projectdir, sources, sourcedirs, libraries, extradirs, extraexportsymbols) return templatename = "template-%s" % architecture targetname = "%s.%s" % (module, architecture) dllname = "%s.%s.slb" % (module, architecture) if not project: if architecture != "ppc": project = "%s.%s.mcp"%(module, architecture) else: project = "%s.mcp"%module if not projectdir: projectdir = PROJECTDIR if not sources: sources = [module + 'module.c'] if not sourcedirs: for moduledir in MODULEDIRS: if '%' in moduledir: moduledir = moduledir % module fn = os.path.join(projectdir, os.path.join(moduledir, sources[0])) if os.path.exists(fn): moduledir, sourcefile = os.path.split(fn) sourcedirs = [relpath(projectdir, moduledir)] sources[0] = sourcefile break else: print "Warning: %s: sourcefile not found: %s"%(module, sources[0]) sourcedirs = [] if architecture == "carbon": prefixname = "mwerks_carbonplugin_config.h" else: prefixname = "mwerks_plugin_config.h" dict = { "sysprefix" : relpath(projectdir, sys.prefix), "sources" : sources, "extrasearchdirs" : sourcedirs + extradirs, "libraries": libraries, "mac_outputdir" : outputdir, "extraexportsymbols" : extraexportsymbols, "mac_targetname" : targetname, "mac_dllname" : dllname, "prefixname" : prefixname, } mkcwproject.mkproject(os.path.join(projectdir, project), module, dict, force=FORCEREBUILD, templatename=templatename)
7586b049ba2cfbf6a67b2deaeadb36603a1bb346 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/7586b049ba2cfbf6a67b2deaeadb36603a1bb346/genpluginprojects.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4094, 4406, 12, 991, 18123, 16, 1605, 16, 1984, 33, 7036, 16, 1984, 1214, 33, 7036, 16, 5550, 22850, 6487, 1084, 8291, 22850, 6487, 14732, 22850, 6487, 7582, 361, 10539, 22850, 6487, 2870, 23732, 3284, 87, 22850, 6487, 876, 1214, 1546, 2866, 30, 5664, 30, 2941, 17, 28595, 945, 6, 4672, 309, 27418, 422, 315, 454, 6877, 468, 2457, 326, 813, 3832, 732, 2103, 2795, 1984, 1390, 18, 2288, 487, 13752, 487, 468, 279, 2202, 1778, 305, 826, 1984, 16, 1496, 15857, 358, 2348, 364, 2037, 18, 3157, 4094, 4406, 2932, 84, 2436, 3113, 1605, 16, 1984, 16, 1984, 1214, 16, 5550, 16, 1084, 8291, 16, 14732, 16, 7582, 361, 10539, 16, 2870, 23732, 3284, 87, 16, 876, 1214, 13, 3157, 4094, 4406, 2932, 71, 11801, 3113, 1605, 16, 1984, 16, 1984, 1214, 16, 5550, 16, 1084, 8291, 16, 14732, 16, 7582, 361, 10539, 16, 2870, 23732, 3284, 87, 16, 876, 1214, 13, 327, 13988, 270, 1069, 273, 315, 3202, 6456, 87, 6, 738, 27418, 1018, 529, 273, 2213, 87, 7866, 87, 6, 738, 261, 2978, 16, 27418, 13, 302, 2906, 529, 273, 2213, 87, 7866, 87, 18, 2069, 70, 6, 738, 261, 2978, 16, 27418, 13, 309, 486, 1984, 30, 309, 27418, 480, 315, 84, 2436, 6877, 1984, 273, 2213, 87, 7866, 87, 18, 81, 4057, 6, 17105, 2978, 16, 27418, 13, 469, 30, 1984, 273, 2213, 87, 18, 81, 4057, 28385, 2978, 309, 486, 1984, 1214, 30, 1984, 1214, 273, 22489, 4537, 309, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4094, 4406, 12, 991, 18123, 16, 1605, 16, 1984, 33, 7036, 16, 1984, 1214, 33, 7036, 16, 5550, 22850, 6487, 1084, 8291, 22850, 6487, 14732, 22850, 6487, 7582, 361, 10539, 22850, 6487, 2870, 23732, 3284, 87, 22850, 6487, 876, 1214, 1546, 2866, 30, 5664, 30, 2941, 17, 28595, 945, 6, 4672, 309, 27418, 422, 315, 454, 6877, 468, 2457, 326, 813, 3832, 732, 2103, 2795, 1984, 1390, 18, 2288, 487, 13752, 487, 468, 279, 2202, 1778, 305, 826, 1984, 16, 1496, 15857, 358, 2348, 364, 2037, 18, 3157, 4094, 4406, 2932, 84, 2436, 3113, 1605, 16, 1984, 16, 1984, 1214, 16, 5550, 16, 1084, 8291, 16, 14732, 16, 7582, 361, 10539, 16, 2870, 23732, 3284, 87, 16, 2 ]
if len(self.allResults) > self.resultListLen: self.allResults.remove(self.allResults[-1]) self.resultList.removeItem(self.resultList.count()-1) self.worstVal = self.allResults[-1][0]
def addProjection(self, val, attrList): index = self.findTargetIndex(val, max) if index > self.resultListLen: return self.allResults.insert(index, (val, attrList)) self.resultList.insertItem("%.3f - %s" % (val, str(attrList)), index) if len(self.allResults) > self.resultListLen: self.allResults.remove(self.allResults[-1]) self.resultList.removeItem(self.resultList.count()-1) self.worstVal = self.allResults[-1][0]
cc07563bcc3bbb63e4db6458481816f5ff5f63b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/cc07563bcc3bbb63e4db6458481816f5ff5f63b6/OWParallelCoordinates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 14789, 12, 2890, 16, 1244, 16, 1604, 682, 4672, 770, 273, 365, 18, 4720, 2326, 1016, 12, 1125, 16, 943, 13, 309, 770, 405, 365, 18, 2088, 682, 2891, 30, 327, 365, 18, 454, 3447, 18, 6387, 12, 1615, 16, 261, 1125, 16, 1604, 682, 3719, 365, 18, 2088, 682, 18, 6387, 1180, 27188, 18, 23, 74, 300, 738, 87, 6, 738, 261, 1125, 16, 609, 12, 1747, 682, 13, 3631, 770, 13, 309, 562, 12, 2890, 18, 454, 3447, 13, 405, 365, 18, 2088, 682, 2891, 30, 365, 18, 454, 3447, 18, 4479, 12, 2890, 18, 454, 3447, 18919, 21, 5717, 365, 18, 2088, 682, 18, 4479, 1180, 12, 2890, 18, 2088, 682, 18, 1883, 1435, 17, 21, 13, 365, 18, 91, 280, 334, 3053, 273, 365, 18, 454, 3447, 18919, 21, 6362, 20, 65, 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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, 527, 14789, 12, 2890, 16, 1244, 16, 1604, 682, 4672, 770, 273, 365, 18, 4720, 2326, 1016, 12, 1125, 16, 943, 13, 309, 770, 405, 365, 18, 2088, 682, 2891, 30, 327, 365, 18, 454, 3447, 18, 6387, 12, 1615, 16, 261, 1125, 16, 1604, 682, 3719, 365, 18, 2088, 682, 18, 6387, 1180, 27188, 18, 23, 74, 300, 738, 87, 6, 738, 261, 1125, 16, 609, 12, 1747, 682, 13, 3631, 770, 13, 309, 562, 12, 2890, 18, 454, 3447, 13, 405, 365, 18, 2088, 682, 2891, 30, 365, 18, 454, 3447, 18, 4479, 12, 2890, 18, 454, 3447, 18919, 21, 5717, 365, 18, 2088, 682, 18, 4479, 1180, 12, 2890, 18, 2088, 682, 18, 1883, 1435, 2 ]
elif value < self.min:
elif value < self.min*self.factor:
def get_safe_value(self, value): if value > self.max: value = self.max elif value < self.min: value = self.min return value
3fa5a0e2e21317df8c1c78ccfee063d8675a2fc9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5279/3fa5a0e2e21317df8c1c78ccfee063d8675a2fc9/adjusters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4626, 67, 1132, 12, 2890, 16, 460, 4672, 309, 460, 405, 365, 18, 1896, 30, 460, 273, 365, 18, 1896, 1327, 460, 411, 365, 18, 1154, 14, 2890, 18, 6812, 30, 460, 273, 365, 18, 1154, 327, 460, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4626, 67, 1132, 12, 2890, 16, 460, 4672, 309, 460, 405, 365, 18, 1896, 30, 460, 273, 365, 18, 1896, 1327, 460, 411, 365, 18, 1154, 14, 2890, 18, 6812, 30, 460, 273, 365, 18, 1154, 327, 460, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
c = RHBugzilla
if bzversion.startswith('3.'): c = RHBugzilla3 else: c = RHBugzilla
def getBugzillaClassForURL(url): s = xmlrpclib.ServerProxy(url) rhbz = False bzversion = '' c = None # Check for a RH-only method try: prodinfo = s.bugzilla.getProdInfo() rhbz = True except xmlrpclib.Fault: pass # Try to get the bugzilla version string try: r = s.Bugzilla.version() bzversion = r['version'] except xmlrpclib.Fault: pass # current preference order: RHBugzilla, Bugzilla3 # RH BZ 3.2 will have rhbz == True and bzversion == 3.1.x or 3.2.x. # To prefer Bugzilla32 over RHBugzilla do: if rhbz and (bzversion == '') if rhbz: c = RHBugzilla elif bzversion.startswith('3.'): if bzversion.startswith('3.0'): c = Bugzilla3 else: # 3.1 or higher c = Bugzilla32 return c
99ca8c8862575d4311f874d001e3c76ac025c37d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5050/99ca8c8862575d4311f874d001e3c76ac025c37d/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2882, 637, 15990, 797, 1290, 1785, 12, 718, 4672, 272, 273, 2025, 13832, 830, 495, 18, 2081, 3886, 12, 718, 13, 6259, 25292, 273, 1083, 24788, 1589, 273, 875, 276, 273, 599, 225, 468, 2073, 364, 279, 534, 44, 17, 3700, 707, 775, 30, 10791, 1376, 273, 272, 18, 925, 15990, 18, 588, 30683, 966, 1435, 6259, 25292, 273, 1053, 1335, 2025, 13832, 830, 495, 18, 7083, 30, 1342, 225, 468, 6161, 358, 336, 326, 7934, 15990, 1177, 533, 775, 30, 436, 273, 272, 18, 19865, 15990, 18, 1589, 1435, 24788, 1589, 273, 436, 3292, 1589, 3546, 1335, 2025, 13832, 830, 495, 18, 7083, 30, 1342, 225, 468, 783, 11555, 1353, 30, 534, 44, 19865, 15990, 16, 16907, 15990, 23, 468, 534, 44, 605, 62, 890, 18, 22, 903, 1240, 6259, 25292, 422, 1053, 471, 24788, 1589, 422, 890, 18, 21, 18, 92, 578, 890, 18, 22, 18, 92, 18, 468, 2974, 13256, 16907, 15990, 1578, 1879, 534, 44, 19865, 15990, 741, 30, 309, 6259, 25292, 471, 261, 25292, 1589, 422, 28707, 309, 6259, 25292, 30, 309, 24788, 1589, 18, 17514, 1918, 2668, 23, 1093, 4672, 276, 273, 534, 44, 19865, 15990, 23, 469, 30, 276, 273, 534, 44, 19865, 15990, 1327, 24788, 1589, 18, 17514, 1918, 2668, 23, 1093, 4672, 309, 24788, 1589, 18, 17514, 1918, 2668, 23, 18, 20, 11, 4672, 276, 273, 16907, 15990, 23, 469, 30, 468, 890, 18, 21, 578, 10478, 276, 273, 16907, 15990, 1578, 225, 327, 276, 225, 2, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2882, 637, 15990, 797, 1290, 1785, 12, 718, 4672, 272, 273, 2025, 13832, 830, 495, 18, 2081, 3886, 12, 718, 13, 6259, 25292, 273, 1083, 24788, 1589, 273, 875, 276, 273, 599, 225, 468, 2073, 364, 279, 534, 44, 17, 3700, 707, 775, 30, 10791, 1376, 273, 272, 18, 925, 15990, 18, 588, 30683, 966, 1435, 6259, 25292, 273, 1053, 1335, 2025, 13832, 830, 495, 18, 7083, 30, 1342, 225, 468, 6161, 358, 336, 326, 7934, 15990, 1177, 533, 775, 30, 436, 273, 272, 18, 19865, 15990, 18, 1589, 1435, 24788, 1589, 273, 436, 3292, 1589, 3546, 1335, 2025, 13832, 830, 495, 18, 7083, 30, 1342, 225, 468, 783, 11555, 1353, 30, 534, 44, 19865, 15990, 16, 16907, 2 ]
pb = ProgressBar('read input', n)
pb = ProgressBar(maxval=n, widgets=['read-input: ']+default_widgets)
def parse_cooked(filename): f = open(filename) header = f.read(20) if header != 'TraceVis-History0001': print "Invalid header" sys.exit(1) duration = struct.unpack_from('Q', f.read(8))[0] summary = [] state_count = struct.unpack_from('I', f.read(4))[0] for i in range(state_count): summary.append(struct.unpack_from('Q', f.read(8))[0]) # This method is actually faster than reading it all into a buffer and decoding # from there. pos = f.tell() f.seek(0, os.SEEK_END) n = (f.tell() - pos) / 10 f.seek(pos) pb = ProgressBar('read input', n) blip = n / 100 transitions = [] for i in range(n): if i % blip == 0: pb.update(i) raw = f.read(10) s = struct.unpack_from('B', raw)[0] r = struct.unpack_from('B', raw, 1)[0] t = struct.unpack_from('Q', raw, 2)[0] transitions.append((s, r, t)) pb.finish() return Data(duration, summary, transitions)
0d6c356a7bb0f0409b4a280dcbf74c273106159f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/0d6c356a7bb0f0409b4a280dcbf74c273106159f/vis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 29854, 329, 12, 3459, 4672, 284, 273, 1696, 12, 3459, 13, 1446, 273, 284, 18, 896, 12, 3462, 13, 309, 1446, 480, 296, 3448, 3282, 17, 5623, 13304, 4278, 1172, 315, 1941, 1446, 6, 2589, 18, 8593, 12, 21, 13, 225, 3734, 273, 1958, 18, 17309, 67, 2080, 2668, 53, 2187, 284, 18, 896, 12, 28, 3719, 63, 20, 65, 4916, 273, 5378, 919, 67, 1883, 273, 1958, 18, 17309, 67, 2080, 2668, 45, 2187, 284, 18, 896, 12, 24, 3719, 63, 20, 65, 364, 277, 316, 1048, 12, 2019, 67, 1883, 4672, 4916, 18, 6923, 12, 1697, 18, 17309, 67, 2080, 2668, 53, 2187, 284, 18, 896, 12, 28, 3719, 63, 20, 5717, 225, 468, 1220, 707, 353, 6013, 12063, 2353, 6453, 518, 777, 1368, 279, 1613, 471, 13547, 468, 628, 1915, 18, 949, 273, 284, 18, 88, 1165, 1435, 284, 18, 16508, 12, 20, 16, 1140, 18, 1090, 11325, 67, 4415, 13, 290, 273, 261, 74, 18, 88, 1165, 1435, 300, 949, 13, 342, 1728, 284, 18, 16508, 12, 917, 13, 282, 6386, 273, 27793, 12, 1896, 1125, 33, 82, 16, 10965, 33, 3292, 896, 17, 2630, 30, 296, 3737, 1886, 67, 18148, 13, 324, 3169, 273, 290, 342, 2130, 225, 13136, 273, 5378, 364, 277, 316, 1048, 12, 82, 4672, 309, 277, 738, 324, 3169, 422, 374, 30, 6386, 18, 2725, 12, 77, 13, 1831, 273, 284, 18, 896, 12, 2163, 13, 272, 273, 1958, 18, 17309, 67, 2080, 2668, 38, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 29854, 329, 12, 3459, 4672, 284, 273, 1696, 12, 3459, 13, 1446, 273, 284, 18, 896, 12, 3462, 13, 309, 1446, 480, 296, 3448, 3282, 17, 5623, 13304, 4278, 1172, 315, 1941, 1446, 6, 2589, 18, 8593, 12, 21, 13, 225, 3734, 273, 1958, 18, 17309, 67, 2080, 2668, 53, 2187, 284, 18, 896, 12, 28, 3719, 63, 20, 65, 4916, 273, 5378, 919, 67, 1883, 273, 1958, 18, 17309, 67, 2080, 2668, 45, 2187, 284, 18, 896, 12, 24, 3719, 63, 20, 65, 364, 277, 316, 1048, 12, 2019, 67, 1883, 4672, 4916, 18, 6923, 12, 1697, 18, 17309, 67, 2080, 2668, 53, 2187, 284, 18, 896, 12, 28, 3719, 63, 20, 5717, 225, 468, 2 ]
return nbytes.decode(gtcache.codeset)
try: return nbytes.decode(gtcache.codeset) except LookupError: LOCALE_HAS_UNIT_CONVERSIONS = False return nbytes
def strftime_to_unicode(nbytes): """Convert the value return by strftime() to a unicode string. By default, it's in whatever the default codeset is. """ if gtcache.codeset is None: return nbytes else: return nbytes.decode(gtcache.codeset)
4a57b194f05d23e4045c674acb35882057c6269b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/4a57b194f05d23e4045c674acb35882057c6269b/displaytext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10405, 67, 869, 67, 9124, 12, 82, 3890, 4672, 3536, 2723, 326, 460, 327, 635, 10405, 1435, 358, 279, 5252, 533, 18, 225, 2525, 805, 16, 518, 1807, 316, 15098, 326, 805, 6198, 278, 353, 18, 3536, 309, 9879, 2493, 18, 7000, 278, 353, 599, 30, 327, 26689, 469, 30, 282, 775, 30, 327, 26689, 18, 3922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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10405, 67, 869, 67, 9124, 12, 82, 3890, 4672, 3536, 2723, 326, 460, 327, 635, 10405, 1435, 358, 279, 5252, 533, 18, 225, 2525, 805, 16, 518, 1807, 316, 15098, 326, 805, 6198, 278, 353, 18, 3536, 309, 9879, 2493, 18, 7000, 278, 353, 599, 30, 327, 26689, 469, 30, 282, 775, 30, 327, 26689, 18, 3922, 12, 4521, 2493, 18, 7000, 278, 13, 1335, 8834, 668, 30, 31005, 67, 27765, 67, 15736, 67, 2248, 5757, 55, 273, 1083, 327, 26689, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]