rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
elif format in ['gif','png','tif','jpg','pct','pict','bmp','ppm']:
elif format in ['gif','png','tif','tiff','jpg','pct','pict','bmp','ppm']:
def asString(self, format, verbose=None, preview=0): """Converts to an 8 bit string in given format.""" assert format in ['pdf','ps','eps','gif','png','jpg','jpeg','bmp','ppm','tiff','tif','py','pict','pct'], 'Unknown file format "%s"' % format from reportlab import rl_config #verbose = verbose is not None and (verbose...
90a0908e020382bb0f93036a9e2e080de30898aa /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7053/90a0908e020382bb0f93036a9e2e080de30898aa/shapes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16771, 12, 2890, 16, 740, 16, 3988, 33, 7036, 16, 10143, 33, 20, 4672, 3536, 5692, 358, 392, 1725, 2831, 533, 316, 864, 740, 12123, 1815, 740, 316, 10228, 7699, 17023, 1121, 17023, 13058...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16771, 12, 2890, 16, 740, 16, 3988, 33, 7036, 16, 10143, 33, 20, 4672, 3536, 5692, 358, 392, 1725, 2831, 533, 316, 864, 740, 12123, 1815, 740, 316, 10228, 7699, 17023, 1121, 17023, 13058...
def handle_GET(cls, request, context): return cls.render(request, context, 'desktop/index')
def handle_GET(self, request, context): return self.render(request, context, 'desktop/index')
def handle_GET(cls, request, context): return cls.render(request, context, 'desktop/index')
d63c57c064371aee50b0de9116c8b39e9347aa76 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14173/d63c57c064371aee50b0de9116c8b39e9347aa76/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 3264, 12, 6429, 16, 590, 16, 819, 4672, 327, 2028, 18, 5902, 12, 2293, 16, 819, 16, 296, 31949, 19, 1615, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 3264, 12, 6429, 16, 590, 16, 819, 4672, 327, 2028, 18, 5902, 12, 2293, 16, 819, 16, 296, 31949, 19, 1615, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
def test_access(self): self.assertRaises(WindowsError, os.utime, test_support.TESTFN, 0)
def test_access(self): self.assertRaises(WindowsError, os.utime, test_support.TESTFN, 0)
b8a32fa6decbcfe3f1dcd5aa5f44fc32cff28ddc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/b8a32fa6decbcfe3f1dcd5aa5f44fc32cff28ddc/test_os.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3860, 12, 2890, 4672, 365, 18, 11231, 12649, 6141, 12, 10399, 668, 16, 1140, 18, 322, 494, 16, 1842, 67, 13261, 18, 16961, 19793, 16, 374, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3860, 12, 2890, 4672, 365, 18, 11231, 12649, 6141, 12, 10399, 668, 16, 1140, 18, 322, 494, 16, 1842, 67, 13261, 18, 16961, 19793, 16, 374, 13, 2, -100, -100, -100, -100, -100...
w.elemChangeComboBox.insertItem("Astatine")
w.elemChangeComboBox.insertItem("Arsenic")
def do_what_MainWindowUI_should_do(w): w.depositAtomDashboard.clear()
2d7710801d656f7281ec01671feeb060ca7be29b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/2d7710801d656f7281ec01671feeb060ca7be29b/depositMode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 23770, 67, 6376, 3829, 5370, 67, 13139, 67, 2896, 12, 91, 4672, 341, 18, 323, 1724, 3641, 14830, 18, 8507, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 67, 23770, 67, 6376, 3829, 5370, 67, 13139, 67, 2896, 12, 91, 4672, 341, 18, 323, 1724, 3641, 14830, 18, 8507, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
line = "[%s] %s" % (msg.user, text)
line = "[%s] %s" % (user, text)
def SayChatRoom(self, msg, text): login = self.frame.np.config.sections["server"]["login"] if msg.user == login: tag = self.tag_local elif text.upper().find(login.upper()) > -1: tag = self.tag_hilite
fd20397adf4210e784d561ad8a1e5f6f52f0ee77 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8738/fd20397adf4210e784d561ad8a1e5f6f52f0ee77/chatrooms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 348, 528, 14163, 13646, 12, 2890, 16, 1234, 16, 977, 4672, 3925, 273, 365, 18, 3789, 18, 6782, 18, 1425, 18, 11657, 9614, 3567, 6, 6362, 6, 5819, 11929, 309, 1234, 18, 1355, 422, 3925,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 348, 528, 14163, 13646, 12, 2890, 16, 1234, 16, 977, 4672, 3925, 273, 365, 18, 3789, 18, 6782, 18, 1425, 18, 11657, 9614, 3567, 6, 6362, 6, 5819, 11929, 309, 1234, 18, 1355, 422, 3925,...
self.createSchema(dbpath, protocolVersion)
self.createSchema(dbpath, schemaVersion)
def __init__(self, dbpath, tmpDir, protocolVersion):
c1fb30ff97c24803d5cb35db4bc1d6376529b6fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/c1fb30ff97c24803d5cb35db4bc1d6376529b6fa/netserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1319, 803, 16, 22521, 16, 1771, 1444, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1319, 803, 16, 22521, 16, 1771, 1444, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM) try: self.socket.connect(address) except socket.error: self.socket.close() self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) self.socket.connect(address)
self._connect_unixsocket(address)
def __init__(self, address=('localhost', SYSLOG_UDP_PORT), facility=LOG_USER): """ Initialize a handler.
a1974c1459a424fdc9d8bbce55500f6006d0297d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a1974c1459a424fdc9d8bbce55500f6006d0297d/handlers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1758, 33, 2668, 13014, 2187, 7068, 55, 4842, 67, 20352, 67, 6354, 3631, 28164, 33, 4842, 67, 4714, 4672, 3536, 9190, 279, 1838, 18, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1758, 33, 2668, 13014, 2187, 7068, 55, 4842, 67, 20352, 67, 6354, 3631, 28164, 33, 4842, 67, 4714, 4672, 3536, 9190, 279, 1838, 18, 2, -100, -100, -100, ...
Write the state file.
Write the state file, that is dump last applied changeset, a dummy None, then one changeset at a time.
def _write(self, changesets): """ Write the state file. """
a0be15104f0507b9ed5ff051a97a794f8310721e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5981/a0be15104f0507b9ed5ff051a97a794f8310721e/statefile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 12, 2890, 16, 3478, 2413, 4672, 3536, 2598, 326, 919, 585, 16, 716, 353, 4657, 1142, 6754, 22463, 16, 279, 9609, 599, 16, 1508, 1245, 22463, 622, 279, 813, 18, 3536, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 12, 2890, 16, 3478, 2413, 4672, 3536, 2598, 326, 919, 585, 16, 716, 353, 4657, 1142, 6754, 22463, 16, 279, 9609, 599, 16, 1508, 1245, 22463, 622, 279, 813, 18, 3536, 2, -100...
res = []
res = {}
def get_rec_name(self, cursor, user, ids, name, arg, context=None): if isinstance(ids, (int, long)): ids = [ids] res = [] for pr in self.browse(cursor, user, ids, context=context): res[pr.id] = "%s@%s" % (pr.product.name, pr.warehouse.name) return res
52142772bc1fb7e45d995aa7fb6f66f3a6c167c2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9299/52142772bc1fb7e45d995aa7fb6f66f3a6c167c2/purchase_request.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3927, 67, 529, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 508, 16, 1501, 16, 819, 33, 7036, 4672, 309, 1549, 12, 2232, 16, 261, 474, 16, 1525, 3719, 30, 3258, 273, 306, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3927, 67, 529, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 508, 16, 1501, 16, 819, 33, 7036, 4672, 309, 1549, 12, 2232, 16, 261, 474, 16, 1525, 3719, 30, 3258, 273, 306, 22...
res = self.fileCatalog.getReplicas(lfns) if not res['OK']: gLogger.error("RequestPreparation.__getFileReplicas: Failed to obtain file replicas.",res['Message']) return res failed = res['Value']['Failed'] for lfn,lfnReplicas in res['Value']['Successful'].items(): if len(lfnReplicas.keys()) == 0:
res = self.fileCatalog.getReplicas( lfns ) if not res['OK']: gLogger.error( "RequestPreparation.__getFileReplicas: Failed to obtain file replicas.", res['Message'] ) return res failed = res['Value']['Failed'] for lfn, lfnReplicas in res['Value']['Successful'].items(): if len( lfnReplicas.keys() ) == 0:
def __getFileReplicas(self,lfns): """ This obtains the replicas from the FileCatalog. """ replicas = {} noReplicas = {} res = self.fileCatalog.getReplicas(lfns) if not res['OK']: gLogger.error("RequestPreparation.__getFileReplicas: Failed to obtain file replicas.",res['Message']) return res failed = res['Value']['Faile...
d68cb60fd991fa9f206177d2794f8d04f940cd00 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/d68cb60fd991fa9f206177d2794f8d04f940cd00/RequestPreparationAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 29925, 17248, 12, 2890, 16, 20850, 2387, 4672, 3536, 1220, 3768, 16598, 326, 21545, 628, 326, 1387, 9769, 18, 3536, 21545, 273, 2618, 1158, 17248, 273, 2618, 400, 273, 365, 18, 768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 29925, 17248, 12, 2890, 16, 20850, 2387, 4672, 3536, 1220, 3768, 16598, 326, 21545, 628, 326, 1387, 9769, 18, 3536, 21545, 273, 2618, 1158, 17248, 273, 2618, 400, 273, 365, 18, 768, ...
for file in files: if os.path.exists(file): yield file
for filename in files: if os.path.exists(filename): yield filename
def list_files(self): # cache if self.options["cache"][1]: dir = os.path.expanduser("~/.cache/") for file in FileUtilities.children_in_directory(dir, True): yield file
737a941d1a6026b292895c42a857f9ec0bf05cea /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/737a941d1a6026b292895c42a857f9ec0bf05cea/CleanerBackend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 2354, 12, 2890, 4672, 468, 1247, 309, 365, 18, 2116, 9614, 2493, 6, 6362, 21, 14542, 1577, 273, 1140, 18, 803, 18, 12320, 1355, 2932, 98, 15865, 2493, 4898, 13, 364, 585, 316,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 2354, 12, 2890, 4672, 468, 1247, 309, 365, 18, 2116, 9614, 2493, 6, 6362, 21, 14542, 1577, 273, 1140, 18, 803, 18, 12320, 1355, 2932, 98, 15865, 2493, 4898, 13, 364, 585, 316,...
addResourceToPackages(script, classToResourceMap, combId, combImg)
addResourceToPackages(script, classToResourceMap, combId, combImgObj=combImg)
def serialize(filteredResources, combinedImages, resdata): for resId, resval in filteredResources.items(): # build up resdata if isinstance(resval, ImgInfoFmt): resvalue = resval.flatten() else: # handle other resources resvalue = resval resdata[resId] = resvalue # register the resource with the package needing it add...
ed2b735d13d0f75d9819f1647afb086a378ec153 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/ed2b735d13d0f75d9819f1647afb086a378ec153/CodeGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4472, 12, 12071, 3805, 16, 8224, 8946, 16, 400, 892, 4672, 364, 400, 548, 16, 400, 1125, 316, 5105, 3805, 18, 3319, 13332, 468, 1361, 731, 400, 892, 309, 1549, 12, 455, 1125, 16, 2221,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4472, 12, 12071, 3805, 16, 8224, 8946, 16, 400, 892, 4672, 364, 400, 548, 16, 400, 1125, 316, 5105, 3805, 18, 3319, 13332, 468, 1361, 731, 400, 892, 309, 1549, 12, 455, 1125, 16, 2221,...
siteDict[site][status] = count totalDict[status] += count
siteDict[site][status.replace('"','')] = count totalDict[status.replace('"','')] += count
def getSiteSummary(self): """ Get the summary of jobs in a given status on all the sites """
80754a3f17531def7cbc50d246e9e547c954723a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/80754a3f17531def7cbc50d246e9e547c954723a/JobDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11021, 4733, 12, 2890, 4672, 3536, 968, 326, 4916, 434, 6550, 316, 279, 864, 1267, 603, 777, 326, 9180, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11021, 4733, 12, 2890, 4672, 3536, 968, 326, 4916, 434, 6550, 316, 279, 864, 1267, 603, 777, 326, 9180, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (out, err) = proc.communicate()
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (out, unused_err) = proc.communicate()
def copyAppFromDMG(dmgpath): '''copies application from DMG to /Applications''' munkicommon.display_status("Mounting disk image %s" % os.path.basename(dmgpath)) mountpoints = munkicommon.mountdmg(dmgpath) if mountpoints: retcode = 0 appname = None mountpoint = mountpoints[0] # find an app at the root level, copy it to ...
f88b74c116e00a5c322a792aeb961bd28cea6d79 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6241/f88b74c116e00a5c322a792aeb961bd28cea6d79/installer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 3371, 1265, 16125, 43, 12, 10956, 75, 803, 4672, 9163, 22295, 606, 2521, 628, 30072, 43, 358, 342, 17119, 26418, 312, 1683, 335, 362, 2586, 18, 5417, 67, 2327, 2932, 8725, 310, 423...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 3371, 1265, 16125, 43, 12, 10956, 75, 803, 4672, 9163, 22295, 606, 2521, 628, 30072, 43, 358, 342, 17119, 26418, 312, 1683, 335, 362, 2586, 18, 5417, 67, 2327, 2932, 8725, 310, 423...
cr.execute("ALTER TABLE %s ADD FOREIGN KEY (%s) REFERENCES %s ON DELETE %s" % (self._table, k, ref, f.ondelete))
cr.execute("ALTER TABLE \"%s\" ADD FOREIGN KEY (\"%s\") REFERENCES \"%s\" ON DELETE %s" % (self._table, k, ref, f.ondelete))
def _auto_init(self, cr): logger = netsvc.Logger() create = False self._field_create(cr) if not hasattr(self, "_auto") or self._auto: cr.execute("SELECT relname FROM pg_class WHERE relkind in ('r','v') AND relname='%s'" % self._table) if not cr.rowcount: cr.execute("CREATE TABLE %s(id SERIAL NOT NULL, perm_id INTEGER, ...
21e2436edcfd48b26e17230380299a3196aac8b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/21e2436edcfd48b26e17230380299a3196aac8b0/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6079, 67, 2738, 12, 2890, 16, 4422, 4672, 1194, 273, 21954, 4227, 18, 3328, 1435, 752, 273, 1083, 365, 6315, 1518, 67, 2640, 12, 3353, 13, 309, 486, 3859, 12, 2890, 16, 4192, 6079...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6079, 67, 2738, 12, 2890, 16, 4422, 4672, 1194, 273, 21954, 4227, 18, 3328, 1435, 752, 273, 1083, 365, 6315, 1518, 67, 2640, 12, 3353, 13, 309, 486, 3859, 12, 2890, 16, 4192, 6079...
mb.member_functions( lambda x: x.name == "align" ).call_policies = \ return_value_policy( reference_existing_object )
def exportInterfaceClasses( mb ): """export virtual classes. These classes can not instantiated directly from python. """ classes_to_export = set( ['Alignandum', 'MultipleAlignment', 'Alignator', 'Iterator', 'Translator', 'Fragmentor', 'Alignment', 'AlignmentIterator', 'AlignmentConstIterator', 'Scorer', 'Weightor', '...
f4a983dbc63dd789a09cba5fcafa553bb45a7c5a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8012/f4a983dbc63dd789a09cba5fcafa553bb45a7c5a/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 1358, 4818, 12, 4903, 262, 30, 3536, 6530, 5024, 3318, 18, 225, 8646, 3318, 848, 486, 17651, 5122, 628, 5790, 18, 3536, 3318, 67, 869, 67, 6530, 273, 444, 12, 10228, 10044, 464, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 1358, 4818, 12, 4903, 262, 30, 3536, 6530, 5024, 3318, 18, 225, 8646, 3318, 848, 486, 17651, 5122, 628, 5790, 18, 3536, 3318, 67, 869, 67, 6530, 273, 444, 12, 10228, 10044, 464, ...
'version': ver
'version': ver,
def finalize_options (self): self.set_undefined_options('install', ('install_lib', 'install_dir'), ('root', 'root'), ('force', 'force'), )
c35a180c640cc65df760770db2a5986e8c378a89 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/c35a180c640cc65df760770db2a5986e8c378a89/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12409, 67, 2116, 261, 2890, 4672, 365, 18, 542, 67, 5978, 67, 2116, 2668, 5425, 2187, 7707, 5425, 67, 2941, 2187, 296, 5425, 67, 1214, 19899, 7707, 3085, 2187, 296, 3085, 19899, 7707, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12409, 67, 2116, 261, 2890, 4672, 365, 18, 542, 67, 5978, 67, 2116, 2668, 5425, 2187, 7707, 5425, 67, 2941, 2187, 296, 5425, 67, 1214, 19899, 7707, 3085, 2187, 296, 3085, 19899, 7707, 57...
except (Carbon.File.error, ValueError):
except (Carbon.File.Error, ValueError):
def findtemplate(template=None): """Locate the applet template along sys.path""" if MacOS.runtimemodel == 'macho': if template: return template return findtemplate_macho() if not template: template=TEMPLATE for p in sys.path: file = os.path.join(p, template) try: file, d1, d2 = Carbon.File.FSResolveAliasFile(file, 1) b...
6c9a3600dec166bdd0bccd5930e96b8620bea823 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/6c9a3600dec166bdd0bccd5930e96b8620bea823/buildtools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 3202, 12, 3202, 33, 7036, 4672, 3536, 1333, 340, 326, 21853, 1542, 7563, 2589, 18, 803, 8395, 309, 13217, 4618, 18, 2681, 8584, 351, 1009, 422, 296, 81, 497, 83, 4278, 309, 1542, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 3202, 12, 3202, 33, 7036, 4672, 3536, 1333, 340, 326, 21853, 1542, 7563, 2589, 18, 803, 8395, 309, 13217, 4618, 18, 2681, 8584, 351, 1009, 422, 296, 81, 497, 83, 4278, 309, 1542, ...
assert isinstance(atoms[index], TokenObject) if atoms[index].name == tok.STAR:
token = atoms[index] assert isinstance(token, TokenObject) if token.name == tok.STAR:
def build_import_from(builder, nb): """ import_from: 'from' dotted_name 'import' ('*' | '(' import_as_names ')' | import_as_names) import_as_names: import_as_name (',' import_as_name)* [','] import_as_name: NAME [NAME NAME] """ atoms = get_atoms(builder, nb) index = 1 incr, from_name = parse_dotted_names(atoms[index:]...
e9b09762c21706bd72240d2078b80f33f96fbc08 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/e9b09762c21706bd72240d2078b80f33f96fbc08/astbuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 5666, 67, 2080, 12, 9574, 16, 4264, 4672, 3536, 1930, 67, 2080, 30, 296, 2080, 11, 20965, 67, 529, 296, 5666, 11, 7707, 4035, 571, 7321, 1930, 67, 345, 67, 1973, 5777, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 5666, 67, 2080, 12, 9574, 16, 4264, 4672, 3536, 1930, 67, 2080, 30, 296, 2080, 11, 20965, 67, 529, 296, 5666, 11, 7707, 4035, 571, 7321, 1930, 67, 345, 67, 1973, 5777, 571, ...
elif po.pkgtup in self.up.getObsoletesList(name=po.name, arch=po.arch):
elif po.pkgtup in self.up.getObsoletesList(name=po.name):
def update(self, po=None, requiringPo=None, **kwargs): """try to mark for update the item(s) specified. po is a package object - if that is there, mark it for update, if possible else use **kwargs to match the package needing update if nothing is specified at all then attempt to update everything returns the list of t...
928c98c07a80f1407b511500e86a2f4d8264fead /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/928c98c07a80f1407b511500e86a2f4d8264fead/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 8275, 33, 7036, 16, 29468, 29198, 33, 7036, 16, 2826, 4333, 4672, 3536, 698, 358, 2267, 364, 1089, 326, 761, 12, 87, 13, 1269, 18, 8275, 353, 279, 2181, 733, 300, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 8275, 33, 7036, 16, 29468, 29198, 33, 7036, 16, 2826, 4333, 4672, 3536, 698, 358, 2267, 364, 1089, 326, 761, 12, 87, 13, 1269, 18, 8275, 353, 279, 2181, 733, 300, ...
if hasattr(orig.obj, 'gwikicategory'):
if hasattr(orig_obj, 'gwikicategory'):
def gather_layout_data(self, outgraph): _ = self.request.getText
b3adc78ce1b3c9e908d4af1cb1f47ea715990bb2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/888/b3adc78ce1b3c9e908d4af1cb1f47ea715990bb2/ShowGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11090, 67, 6741, 67, 892, 12, 2890, 16, 596, 4660, 4672, 389, 273, 365, 18, 2293, 18, 588, 1528, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11090, 67, 6741, 67, 892, 12, 2890, 16, 596, 4660, 4672, 389, 273, 365, 18, 2293, 18, 588, 1528, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
gclient_utils.SubprocessCallAndFilter(command, in_directory, True, True, fail_status, FilterLines)
gclient.gclient_utils.SubprocessCallAndFilter( command, in_directory, True, True, fail_status, FilterLines)
def FilterLines(line): line_list.append(line) match = compiled_pattern.search(line) if match: capture_list.append(match.group(1))
90ba161b70b445eba62b2a376e4fa2f508854e13 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6076/90ba161b70b445eba62b2a376e4fa2f508854e13/gclient_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4008, 5763, 12, 1369, 4672, 980, 67, 1098, 18, 6923, 12, 1369, 13, 845, 273, 7743, 67, 4951, 18, 3072, 12, 1369, 13, 309, 845, 30, 7477, 67, 1098, 18, 6923, 12, 1916, 18, 1655, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4008, 5763, 12, 1369, 4672, 980, 67, 1098, 18, 6923, 12, 1369, 13, 845, 273, 7743, 67, 4951, 18, 3072, 12, 1369, 13, 309, 845, 30, 7477, 67, 1098, 18, 6923, 12, 1916, 18, 1655, 12, ...
scStack = idaapi.scStack
scStack = idaapi.scStack
def SegComb(segea, comb): """ Change combination of the segment @param segea: any address in the segment @param comb: new combination of the segment (one of the sc... constants) @return: success (boolean) """ return SetSegmentAttr(segea, SEGATTR_COMB, comb)
bf1ab9894aabbc1bcdadb6513fc5ef25283e4f52 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3410/bf1ab9894aabbc1bcdadb6513fc5ef25283e4f52/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 348, 1332, 11328, 12, 307, 908, 69, 16, 3894, 4672, 3536, 7576, 10702, 434, 326, 3267, 225, 632, 891, 695, 908, 69, 30, 1281, 1758, 316, 326, 3267, 632, 891, 3894, 30, 394, 10702, 434,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 348, 1332, 11328, 12, 307, 908, 69, 16, 3894, 4672, 3536, 7576, 10702, 434, 326, 3267, 225, 632, 891, 695, 908, 69, 30, 1281, 1758, 316, 326, 3267, 632, 891, 3894, 30, 394, 10702, 434,...
"""
"""
def fl_j2pass_quantize_rgb(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, pImage): """ fl_j2pass_quantize_rgb(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, pImage) -> num. """ retval = _fl_j2pass_quantize_rgb(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, pImage) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 78, 22, 5466, 67, 17753, 554, 67, 10948, 12, 84, 21, 16, 293, 22, 16, 293, 23, 16, 293, 24, 16, 293, 25, 16, 293, 26, 16, 293, 27, 16, 293, 28, 16, 293, 29, 16, 293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 78, 22, 5466, 67, 17753, 554, 67, 10948, 12, 84, 21, 16, 293, 22, 16, 293, 23, 16, 293, 24, 16, 293, 25, 16, 293, 26, 16, 293, 27, 16, 293, 28, 16, 293, 29, 16, 293, ...
full_file_path = "%s\\%s" %(dirname, file.decode('utf-8'))
full_file_path = "%s\\%s" %(dirname, file)
def walk(arg, dirname, names): files_filtered = filter(predicate, names) for file in files_filtered: full_file_path = "%s\\%s" %(dirname, file.decode('utf-8')) result.append(full_file_path)
ad19ad19bb291ef6faba05abac135612ee36eb79 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5169/ad19ad19bb291ef6faba05abac135612ee36eb79/aspyplayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5442, 12, 3175, 16, 4283, 16, 1257, 4672, 1390, 67, 12071, 273, 1034, 12, 18344, 16, 1257, 13, 225, 364, 585, 316, 1390, 67, 12071, 30, 1983, 67, 768, 67, 803, 273, 2213, 87, 1695, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5442, 12, 3175, 16, 4283, 16, 1257, 4672, 1390, 67, 12071, 273, 1034, 12, 18344, 16, 1257, 13, 225, 364, 585, 316, 1390, 67, 12071, 30, 1983, 67, 768, 67, 803, 273, 2213, 87, 1695, 9...
correct_result = builtins.range(5, 100, 3)
correct_result = list(builtins.range(5, 100, 3))
def test(): import time, builtins #Just a quick sanity check correct_result = builtins.range(5, 100, 3) oldrange_result = list(oldrange(5, 100, 3)) genrange_result = list(genrange(5, 100, 3)) if genrange_result != correct_result or oldrange_result != correct_result: raise Exception("error in implementation:\ncorrect ...
fad9238e5e76235416ac9f3b807da5276b350d8c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/fad9238e5e76235416ac9f3b807da5276b350d8c/Range.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 1930, 813, 16, 6650, 2679, 468, 19642, 279, 9549, 16267, 866, 3434, 67, 2088, 273, 666, 12, 12406, 2679, 18, 3676, 12, 25, 16, 2130, 16, 890, 3719, 1592, 3676, 67, 2088, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 1930, 813, 16, 6650, 2679, 468, 19642, 279, 9549, 16267, 866, 3434, 67, 2088, 273, 666, 12, 12406, 2679, 18, 3676, 12, 25, 16, 2130, 16, 890, 3719, 1592, 3676, 67, 2088, 2...
def __nonzero__(self): return bool(self.filename and self.content_length)
def __getattr__(self, name): return getattr(self.stream, name)
3d38b495c79986357da50f3e3c0c7582d9742a63 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14437/3d38b495c79986357da50f3e3c0c7582d9742a63/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 1747, 972, 12, 2890, 16, 508, 4672, 327, 3869, 12, 2890, 18, 3256, 16, 508, 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, ...
[ 1, 1, 1, 1, 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, 1001, 588, 1747, 972, 12, 2890, 16, 508, 4672, 327, 3869, 12, 2890, 18, 3256, 16, 508, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __checkConditions( self, credDict, condDict, groupingList ):
def __checkConditions( self, credDict, condDict, groupingField ):
def __checkConditions( self, credDict, condDict, groupingList ): userProps = credDict[ 'properties' ]
f0a91d9223adbe972e1237c6ea2aef821b9adcd5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/f0a91d9223adbe972e1237c6ea2aef821b9adcd5/JobPolicy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1893, 8545, 12, 365, 16, 6197, 5014, 16, 6941, 5014, 16, 12116, 974, 262, 30, 729, 5047, 273, 6197, 5014, 63, 296, 4738, 11, 308, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1893, 8545, 12, 365, 16, 6197, 5014, 16, 6941, 5014, 16, 12116, 974, 262, 30, 729, 5047, 273, 6197, 5014, 63, 296, 4738, 11, 308, 2, -100, -100, -100, -100, -100, -100, -100, -10...
response = raw_input("\nBuild %d is [(g)ood/(b)ad]: " % int(rev)) if response and response in ("g", "b"): return response == "g"
response = raw_input('\nBuild %d is [(g)ood/(b)ad]: ' % int(rev)) if response and response in ('g', 'b'): return response == 'g'
def AskIsGoodBuild(rev): """Ask the user whether build |rev| is good or bad.""" # Loop until we get a response that we can parse. while True: response = raw_input("\nBuild %d is [(g)ood/(b)ad]: " % int(rev)) if response and response in ("g", "b"): return response == "g"
68071845423fd40c390833991c2dd5f14df43ab8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6097/68071845423fd40c390833991c2dd5f14df43ab8/build-bisect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25747, 2520, 18195, 3116, 12, 9083, 4672, 3536, 23663, 326, 729, 2856, 1361, 571, 9083, 96, 353, 7494, 578, 5570, 12123, 468, 9720, 3180, 732, 336, 279, 766, 716, 732, 848, 1109, 18, 132...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25747, 2520, 18195, 3116, 12, 9083, 4672, 3536, 23663, 326, 729, 2856, 1361, 571, 9083, 96, 353, 7494, 578, 5570, 12123, 468, 9720, 3180, 732, 336, 279, 766, 716, 732, 848, 1109, 18, 132...
currentDepth -= 1
def getRGB(face): faceColor = faceMeans[face.label()] return self.f.getColor(map(int, tuple(faceColor))) # , similarity
bbf2bb25cd49e96d22fe32e0e2d0756ca3aaf94c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10394/bbf2bb25cd49e96d22fe32e0e2d0756ca3aaf94c/figexport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4170, 5887, 12, 865, 4672, 7945, 2957, 273, 7945, 4667, 634, 63, 865, 18, 1925, 1435, 65, 327, 365, 18, 74, 18, 588, 2957, 12, 1458, 12, 474, 16, 3193, 12, 865, 2957, 20349, 468, 269...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4170, 5887, 12, 865, 4672, 7945, 2957, 273, 7945, 4667, 634, 63, 865, 18, 1925, 1435, 65, 327, 365, 18, 74, 18, 588, 2957, 12, 1458, 12, 474, 16, 3193, 12, 865, 2957, 20349, 468, 269...
wf_id, repr(chain)))
wf_id, repr(default_chain)))
def setDefaultChain(self, default_chain, REQUEST=None):
dc51e1e213ec35a7b334ece0687319df3c2845ed /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11955/dc51e1e213ec35a7b334ece0687319df3c2845ed/DefaultWorkflowPolicy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9277, 3893, 12, 2890, 16, 805, 67, 5639, 16, 12492, 33, 7036, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9277, 3893, 12, 2890, 16, 805, 67, 5639, 16, 12492, 33, 7036, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
- `v` (list of 3-tuples or lists of ints or Integers) -- a
- ``v`` (list of 3-tuples or lists of ints or Integers) -- a
def process(self, v, sat=0): """ This function allows one to add points to a mwrank_MordellWeil object.
8b53e056cc765e689493ec9632c441ee03a3206a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/8b53e056cc765e689493ec9632c441ee03a3206a/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 16, 331, 16, 5942, 33, 20, 4672, 3536, 1220, 445, 5360, 1245, 358, 527, 3143, 358, 279, 14721, 11500, 67, 49, 517, 1165, 3218, 330, 733, 18, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 16, 331, 16, 5942, 33, 20, 4672, 3536, 1220, 445, 5360, 1245, 358, 527, 3143, 358, 279, 14721, 11500, 67, 49, 517, 1165, 3218, 330, 733, 18, 2, -100, -100, -100, -100, ...
print 'conting with', cont[:2].rstrip().upper(), f
def continueReceived(self, cont): print 'FOO2', repr(cont) if not cont: return if cont[0].isupper(): f = getattr(self, 'macro_' + cont[:2].rstrip().upper(), None) print 'conting with', cont[:2].rstrip().upper(), f if f: f(cont[2:].strip()) else: self.text(cont)
355c8733ed815ef33bfcd30f800e488206c67fd5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/355c8733ed815ef33bfcd30f800e488206c67fd5/man2lore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1324, 8872, 12, 2890, 16, 466, 4672, 1172, 296, 3313, 51, 22, 2187, 8480, 12, 1213, 13, 309, 486, 466, 30, 327, 309, 466, 63, 20, 8009, 291, 5797, 13332, 284, 273, 3869, 12, 2890, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1324, 8872, 12, 2890, 16, 466, 4672, 1172, 296, 3313, 51, 22, 2187, 8480, 12, 1213, 13, 309, 486, 466, 30, 327, 309, 466, 63, 20, 8009, 291, 5797, 13332, 284, 273, 3869, 12, 2890, 16...
return map(lambda x: int(x), list(n.binary()[-k:]))
return map(int, list(n.binary()[-k:]))
def least_significant_bits(n, k): r""" Return the ``k`` least significant bits of ``n``. INPUT: - ``n`` -- an integer. - ``k`` -- a positive integer. OUTPUT: - The ``k`` least significant bits of the integer ``n``. If ``k=1``, then return the parity bit of the integer ``n``. Let `b` be the binary representation of...
aebff8f354a41a04afb74b90325076d3d8890a6a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/aebff8f354a41a04afb74b90325076d3d8890a6a/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4520, 67, 2977, 11120, 67, 6789, 12, 82, 16, 417, 4672, 436, 8395, 2000, 326, 12176, 79, 10335, 4520, 14177, 4125, 434, 12176, 82, 68, 8338, 225, 12943, 30, 225, 300, 12176, 82, 10335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4520, 67, 2977, 11120, 67, 6789, 12, 82, 16, 417, 4672, 436, 8395, 2000, 326, 12176, 79, 10335, 4520, 14177, 4125, 434, 12176, 82, 68, 8338, 225, 12943, 30, 225, 300, 12176, 82, 10335, ...
name = _('Hostname') description = _('The name of a computer, like computer.domain.com or MYCOMPUTER')
def __str__(self): return self.value is not None and self.value or ""
4861ac46cf6c99143158bef1fb7af73228cacd60 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11787/4861ac46cf6c99143158bef1fb7af73228cacd60/entry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 1132, 353, 486, 599, 471, 365, 18, 1132, 578, 1408, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 365, 18, 1132, 353, 486, 599, 471, 365, 18, 1132, 578, 1408, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if w != -1:
if w != -1 and self.capabilities["actions"]:
def show_toast(self, body, icon=None, urgency="low", summary=_notifyRealm, name=None): tray_x = 0 tray_y = 0
6f116e353d5d0b1ea02824437b8e468e6869afaf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10818/6f116e353d5d0b1ea02824437b8e468e6869afaf/balloons.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 869, 689, 12, 2890, 16, 1417, 16, 4126, 33, 7036, 16, 8896, 75, 2075, 1546, 821, 3113, 4916, 33, 67, 12336, 22545, 16, 508, 33, 7036, 4672, 268, 435, 67, 92, 273, 374, 268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 869, 689, 12, 2890, 16, 1417, 16, 4126, 33, 7036, 16, 8896, 75, 2075, 1546, 821, 3113, 4916, 33, 67, 12336, 22545, 16, 508, 33, 7036, 4672, 268, 435, 67, 92, 273, 374, 268,...
s.resolution = 600
s.resolution = 300
def on_actionScan_activated(self): s = sane.open(self.selectedScanner)
14f211d467ec4a503c18620ceb543c1c409e4eee /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2085/14f211d467ec4a503c18620ceb543c1c409e4eee/lector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1128, 7972, 67, 18836, 12, 2890, 4672, 272, 273, 30426, 18, 3190, 12, 2890, 18, 8109, 11338, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1128, 7972, 67, 18836, 12, 2890, 4672, 272, 273, 30426, 18, 3190, 12, 2890, 18, 8109, 11338, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
st = list(repo.status(unknown=True))[:7]
st = list(repo.status(unknown=True))[:6]
def summary(ui, repo, **opts): """summarize working directory state This generates a brief summary of the working directory state, including parents, branch, commit status, and available updates. With the --remote option, this will check the default paths for incoming and outgoing changes. This can be time-consuming....
32f5beacfb5823d32a37a97d466086df86cc2c37 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/32f5beacfb5823d32a37a97d466086df86cc2c37/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4916, 12, 4881, 16, 3538, 16, 2826, 4952, 4672, 3536, 1364, 21872, 5960, 1867, 919, 225, 1220, 6026, 279, 324, 17802, 4916, 434, 326, 5960, 1867, 919, 16, 6508, 6298, 16, 3803, 16, 3294,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4916, 12, 4881, 16, 3538, 16, 2826, 4952, 4672, 3536, 1364, 21872, 5960, 1867, 919, 225, 1220, 6026, 279, 324, 17802, 4916, 434, 326, 5960, 1867, 919, 16, 6508, 6298, 16, 3803, 16, 3294,...
widget = gtk.RadioButton(widget, name+' = '+str(value))
widget = gtk.RadioButton(widget, name+' = '+str(dvalue))
def field_pref_set(field, name, model, value, dependance=None, window=None): win_gl = glade.XML(GLADE, 'win_field_pref', gettext.textdomain()) if dependance is None: dependance = [] win = win_gl.get_widget('win_field_pref') win.set_transient_for(window) win.set_icon(TRYTON_ICON) ent = win_gl.get_widget('ent_field') ent...
50f5d92be462fbf0eb83dd9249ca9a6f99e20d26 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9151/50f5d92be462fbf0eb83dd9249ca9a6f99e20d26/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 652, 67, 25724, 67, 542, 12, 1518, 16, 508, 16, 938, 16, 460, 16, 2447, 1359, 33, 7036, 16, 2742, 33, 7036, 4672, 5657, 67, 7043, 273, 5118, 2486, 18, 4201, 12, 43, 2534, 1639, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 652, 67, 25724, 67, 542, 12, 1518, 16, 508, 16, 938, 16, 460, 16, 2447, 1359, 33, 7036, 16, 2742, 33, 7036, 4672, 5657, 67, 7043, 273, 5118, 2486, 18, 4201, 12, 43, 2534, 1639, 16, ...
imgdata = value
def set(self, instance, value, **kwargs): if not value: return
809657aff1e48a9eb15209837cdae668475834bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/809657aff1e48a9eb15209837cdae668475834bc/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 309, 486, 460, 30, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 309, 486, 460, 30, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
curve using the Curvedata class from eclib, called here an 'mwrank
curve using the ``Curvedata`` class from ``eclib``, called here an 'mwrank
def set_precision(n): r""" Set the global NTL real number precision. This has a massive effect on the speed of mwrank calculations. The default (used if this function is not called) is n=15, but it might have to be increased if a computation fails. In this case, one must recreate the mwrank curve from scratch after ...
9932a677a12413086a59217c4c0d425b0543b6eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/9932a677a12413086a59217c4c0d425b0543b6eb/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 14548, 12, 82, 4672, 436, 8395, 1000, 326, 2552, 423, 5967, 2863, 1300, 6039, 18, 225, 1220, 711, 279, 8039, 688, 5426, 603, 326, 8632, 434, 14721, 11500, 20882, 18, 225, 1021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 14548, 12, 82, 4672, 436, 8395, 1000, 326, 2552, 423, 5967, 2863, 1300, 6039, 18, 225, 1220, 711, 279, 8039, 688, 5426, 603, 326, 8632, 434, 14721, 11500, 20882, 18, 225, 1021, ...
"xmlChar_ptr" ];
"xmlChar_ptr", "const_xmlChar_ptr" ];
def is_known_param_type(name): for type in known_param_types: if type == name: return 1 return 0
d005b9e89d74f300ac65618374de7ad3f1a79c65 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12659/d005b9e89d74f300ac65618374de7ad3f1a79c65/gentest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2994, 67, 891, 67, 723, 12, 529, 4672, 364, 618, 316, 4846, 67, 891, 67, 2352, 30, 309, 618, 422, 508, 30, 327, 404, 327, 374, 225, 2, 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, 0, 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, 353, 67, 2994, 67, 891, 67, 723, 12, 529, 4672, 364, 618, 316, 4846, 67, 891, 67, 2352, 30, 309, 618, 422, 508, 30, 327, 404, 327, 374, 225, 2, -100, -100, -100, -100, -100, -100, ...
for bin_filename in sorted(glob.glob("tracks/atom.pos.bond.df.bin.???????")):
for bin_filename in sorted(glob.glob("tracks/atom.bond.pos.df.bin.???????")):
def test_df(self): self.from_xyz("thf01", "pos") self.from_cp2k_ener("thf01") self.execute("tr-ic-psf", ['tracks/atom.pos', 'bond', '1,2,3,4', '5,6,7,8,9,10,11,12', os.path.join(input_dir, "thf01/init.psf")]) # ordinary df, no error bars self.execute("tr-df", glob.glob("tracks/atom.pos.bond.???????.???????") + ["1.0*A"...
180dc223c0ef9ebaa3b178bd709e0cacd8e29052 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11050/180dc223c0ef9ebaa3b178bd709e0cacd8e29052/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2180, 12, 2890, 4672, 365, 18, 2080, 67, 17177, 2932, 451, 74, 1611, 3113, 315, 917, 7923, 365, 18, 2080, 67, 4057, 22, 79, 67, 708, 2932, 451, 74, 1611, 7923, 365, 18, 883...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2180, 12, 2890, 4672, 365, 18, 2080, 67, 17177, 2932, 451, 74, 1611, 3113, 315, 917, 7923, 365, 18, 2080, 67, 4057, 22, 79, 67, 708, 2932, 451, 74, 1611, 7923, 365, 18, 883...
The return from this method is a dict of
The return from this method is a dict of
def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can:
b7e0b3ed6412d17921124a07b91ee81dde8e7ed7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/b7e0b3ed6412d17921124a07b91ee81dde8e7ed7/form_parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 752, 33, 20, 16, 818, 67, 266, 33, 266, 18, 11100, 2668, 17134, 72, 15, 9227, 3719, 30, 3536, 4342, 1790, 471, 3675, 924, 854, 18532, 598, 1729, 8979, 3152, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 752, 33, 20, 16, 818, 67, 266, 33, 266, 18, 11100, 2668, 17134, 72, 15, 9227, 3719, 30, 3536, 4342, 1790, 471, 3675, 924, 854, 18532, 598, 1729, 8979, 3152, 471, ...
self.dynamic_util = None
backend_name = self.job_info['BACKEND'] path_to_module = "Ganga.Lib.MonitoringServices.Dashboard.%sUtil"%backend_name __import__(path_to_module) import sys self.dynamic_util = sys.modules[path_to_module]
def __init__(self, job_info, config_info): """Construct the Dashboard Backend Monitoring Service.""" DashboardMS.__init__(self, job_info, config_info) try: backend_name = self.job_info.backend.__class__.__name__ path_to_module = "Ganga.Lib.MonitoringServices.Dashboard.%sUtil"%backend_name __import__(path_to_module) imp...
00e3049d6176f90a37f2465f58d578fbdb4081f1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/00e3049d6176f90a37f2465f58d578fbdb4081f1/BackendMS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1719, 67, 1376, 16, 642, 67, 1376, 4672, 3536, 7249, 326, 18230, 11736, 29135, 1956, 12123, 18230, 3537, 16186, 2738, 972, 12, 2890, 16, 1719, 67, 1376, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1719, 67, 1376, 16, 642, 67, 1376, 4672, 3536, 7249, 326, 18230, 11736, 29135, 1956, 12123, 18230, 3537, 16186, 2738, 972, 12, 2890, 16, 1719, 67, 1376, 16...
set[pkg] = -(set[pkg] - lower)
set[pkg] = -(set[pkg] - lower)*100
def getPriorityWeights(self, pkgs): set = {} lower = None for pkg in pkgs: priority = self.getPriority(pkg) if lower is None or priority < lower: lower = priority set[pkg] = priority for pkg in set: set[pkg] = -(set[pkg] - lower) return set
08b45857ba30ce8b087e296e80323e655f9260b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8317/08b45857ba30ce8b087e296e80323e655f9260b1/transaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25332, 16595, 12, 2890, 16, 16922, 4672, 444, 273, 2618, 2612, 273, 599, 364, 3475, 316, 16922, 30, 4394, 273, 365, 18, 588, 8183, 12, 10657, 13, 309, 2612, 353, 599, 578, 4394, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25332, 16595, 12, 2890, 16, 16922, 4672, 444, 273, 2618, 2612, 273, 599, 364, 3475, 316, 16922, 30, 4394, 273, 365, 18, 588, 8183, 12, 10657, 13, 309, 2612, 353, 599, 578, 4394, 411, 2...
- the *radial distance* (``rho``),
- the *radial distance* (``radius``) from the `z`-axis - the *azimuth angle* (``azimuth``) from the positive `x`-axis
def gen_transform(self, r=None, theta=None, phi=None): """ EXAMPLE:: sage: T = Spherical('r', ['theta', 'phi']) sage: T.gen_transform(r=var('r'), theta=var('theta'), phi=var('phi')) (r*sin(theta)*cos(phi), r*sin(phi)*sin(theta), r*cos(theta)) """ return (r * sin(theta) * cos(phi), r * sin(theta) * sin(phi), r * cos(th...
6a6b82f7e5f5e44ecfe79fc9e370831de7c2ec87 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/6a6b82f7e5f5e44ecfe79fc9e370831de7c2ec87/plot3d.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 67, 6547, 12, 2890, 16, 436, 33, 7036, 16, 7338, 33, 7036, 16, 7706, 33, 7036, 4672, 3536, 5675, 21373, 2866, 225, 272, 410, 30, 399, 273, 348, 21570, 2668, 86, 2187, 10228, 1448...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 6547, 12, 2890, 16, 436, 33, 7036, 16, 7338, 33, 7036, 16, 7706, 33, 7036, 4672, 3536, 5675, 21373, 2866, 225, 272, 410, 30, 399, 273, 348, 21570, 2668, 86, 2187, 10228, 1448...
print result
def _get_invoice_line(self, cr, uid, ids, context={}): result = {} for line in self.pool.get('account.invoice.line').browse(cr, uid, ids, context=context): print '\t', line.invoice_id result[line.invoice_id.id] = True print result return result.keys()
724bd15772bd7cff6c1a0dc5a176701d5e777c91 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/724bd15772bd7cff6c1a0dc5a176701d5e777c91/invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 16119, 67, 1369, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 563, 273, 2618, 364, 980, 316, 365, 18, 6011, 18, 588, 2668, 4631, 18, 16119, 18, 1369, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 16119, 67, 1369, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 563, 273, 2618, 364, 980, 316, 365, 18, 6011, 18, 588, 2668, 4631, 18, 16119, 18, 1369, 1...
else: q = web.urlquote(' '.join(q_list)) solr_select = solr_select_url + "?version=2.2&defType=dismax&q.op=AND&q=%s&qf=text+title^0.75+author_name^0.75&bf=sqrt(edition_count)^10&start=%d&rows=%d&fl=key,author_name,author_key,title,subtitle,edition_count,ia,has_fulltext,first_publish_year,cover_edition_key&qt=standard&w...
def run_solr_query(param = {}, rows=100, page=1, sort=None, spellcheck_count=None): if spellcheck_count == None: spellcheck_count = default_spellcheck_count q_list = [] if 'q' in param: q_param = param['q'].strip() else: q_param = None offset = rows * (page - 1) if q_param: if q_param == '*:*' or re_fields.match(q_para...
97493922a91b0315f091b9dc5cc217448151d27b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3913/97493922a91b0315f091b9dc5cc217448151d27b/code.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 22495, 67, 2271, 12, 891, 273, 10615, 2595, 33, 6625, 16, 1363, 33, 21, 16, 1524, 33, 7036, 16, 22377, 1893, 67, 1883, 33, 7036, 4672, 309, 22377, 1893, 67, 1883, 422, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 22495, 67, 2271, 12, 891, 273, 10615, 2595, 33, 6625, 16, 1363, 33, 21, 16, 1524, 33, 7036, 16, 22377, 1893, 67, 1883, 33, 7036, 4672, 309, 22377, 1893, 67, 1883, 422, 599, ...
from _spe.plugins.spe_winpdb import Runner
try: from _spe.plugins.spe_winpdb import Runner except ImportError: self.messageError('You need to install\n' 'winpdb for this feature.') return
def run_debug(self): """Run file""" if not self.runner: from _spe.plugins.spe_winpdb import Runner self.runner = Runner(self.app) self.runner.switch()
3297a811fde121a34b04e766bb0d64586dae5601 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2464/3297a811fde121a34b04e766bb0d64586dae5601/Parent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 4148, 12, 2890, 4672, 3536, 1997, 585, 8395, 309, 486, 365, 18, 18156, 30, 775, 30, 628, 389, 87, 347, 18, 8057, 18, 87, 347, 67, 8082, 17414, 1930, 22712, 1335, 11308, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 4148, 12, 2890, 4672, 3536, 1997, 585, 8395, 309, 486, 365, 18, 18156, 30, 775, 30, 628, 389, 87, 347, 18, 8057, 18, 87, 347, 67, 8082, 17414, 1930, 22712, 1335, 11308, 30, ...
task.setWeights(_pruneweight, yw)
task.setWeights(pruneweight, yw)
def evacuate(self): cs = self._changeset lk = self._locked self.trace(1, "_pending.evacuate (pw=%f, yw=%f)", (self._pruneweight, self._yieldweight)) for reqpkg in reqpkgs: if reqpkg in lk and cs.installed(reqpkg): raise Failed, _("%s is locked") % reqpkg for reqpkg in reqpkgs: if not cs.installed(reqpkg): continue if r...
116b3104f9f25853bc5c11b5627cadd98de51e44 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8317/116b3104f9f25853bc5c11b5627cadd98de51e44/transaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2113, 1077, 89, 340, 12, 2890, 4672, 2873, 273, 365, 6315, 6329, 278, 25421, 273, 365, 6315, 15091, 365, 18, 5129, 12, 21, 16, 4192, 9561, 18, 14965, 1077, 89, 340, 261, 14921, 5095, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2113, 1077, 89, 340, 12, 2890, 4672, 2873, 273, 365, 6315, 6329, 278, 25421, 273, 365, 6315, 15091, 365, 18, 5129, 12, 21, 16, 4192, 9561, 18, 14965, 1077, 89, 340, 261, 14921, 5095, 7...
def url_for(endpoint, _external=False, _anchor=None, **args):
def url_for(endpoint, **args):
def url_for(endpoint, _external=False, _anchor=None, **args): """Get the url to an endpoint.""" if hasattr(endpoint, 'get_url_values'): rv = endpoint.get_url_values() if rv is not None: endpoint, updated_args = rv args.update(updated_args) rv = get_request().urls.build(endpoint, args, _external) if _anchor is not None:...
e5bfd25cca92bb98a1e1b6ebf5dd371414a487be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12815/e5bfd25cca92bb98a1e1b6ebf5dd371414a487be/application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 880, 67, 1884, 12, 8003, 16, 2826, 1968, 4672, 3536, 967, 326, 880, 358, 392, 2494, 12123, 309, 3859, 12, 8003, 16, 296, 588, 67, 718, 67, 2372, 11, 4672, 5633, 273, 2494, 18, 588, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 880, 67, 1884, 12, 8003, 16, 2826, 1968, 4672, 3536, 967, 326, 880, 358, 392, 2494, 12123, 309, 3859, 12, 8003, 16, 296, 588, 67, 718, 67, 2372, 11, 4672, 5633, 273, 2494, 18, 588, 6...
is_bound_method = (inspect.isclass(f) or (inspect.ismethod(f) and f.im_self is not None))
is_bound_method = inspect.ismethod(f) and f.im_self is not None
def getargspec(func): try: if func in self.interp.locals: f = self.interp.locals[func] except TypeError: return None else: try: f = eval(func, self.interp.locals) except Exception:
2597140c32f3dd7f874db31d37814aae3729e0ea /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6932/2597140c32f3dd7f874db31d37814aae3729e0ea/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23172, 12, 644, 4672, 775, 30, 309, 1326, 316, 365, 18, 24940, 18, 17977, 30, 284, 273, 365, 18, 24940, 18, 17977, 63, 644, 65, 1335, 3580, 30, 327, 599, 469, 30, 775, 30, 284, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 23172, 12, 644, 4672, 775, 30, 309, 1326, 316, 365, 18, 24940, 18, 17977, 30, 284, 273, 365, 18, 24940, 18, 17977, 63, 644, 65, 1335, 3580, 30, 327, 599, 469, 30, 775, 30, 284, ...
shift_rows[_r,_c] = 1
shift_rows[_r, _c] = 1
def shift_rows_matrix(self): """ Return the ShiftRows matrix.
26b5b14a2a46b23848ccefac3b41425cf353e86a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/26b5b14a2a46b23848ccefac3b41425cf353e86a/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4654, 67, 3870, 67, 5667, 12, 2890, 4672, 3536, 2000, 326, 21444, 4300, 3148, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4654, 67, 3870, 67, 5667, 12, 2890, 4672, 3536, 2000, 326, 21444, 4300, 3148, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
OWGUI.hSlider(self.SettingsTab, self, 'percRadius', box=' Browsing curve size ', minValue = 0, maxValue=100, step=5, callback = self.calcRadius)
OWGUI.hSlider(self.SettingsTab, self, 'percRadius', box='Browsing curve size', minValue = 0, maxValue=100, step=5, callback = self.calcRadius)
def __init__(self, parent=None, signalManager=None): OWWidget.__init__(self, parent, signalManager, 'CorrAnalysis') self.callbackDeposit = []
5679b14e4ff0243e16c598d31c6cb5c7afd0f4ec /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/5679b14e4ff0243e16c598d31c6cb5c7afd0f4ec/OWCorrAnalysis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 16, 4277, 1318, 33, 7036, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 296, 6217, 86, 9418, 6134, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 982, 33, 7036, 16, 4277, 1318, 33, 7036, 4672, 18233, 4609, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 296, 6217, 86, 9418, 6134, 365, 18, ...
def get_login_method_groups(uid, login_method):
def get_login_method_groups(uid, login_method='INTERNAL'):
def get_login_method_groups(uid, login_method): """Select all the external groups of a particular login_method for which the user is subscrided. @return ((group_name, group_id)) """ return run_sql(""" SELECT g.name as name, g.id as id FROM user_usergroup as u JOIN usergroup as g ON u.id_usergroup = g.id WHERE u.id_user...
cad1da0b2432922d2660f99f4ac4e4b376b185b2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3933/cad1da0b2432922d2660f99f4ac4e4b376b185b2/webgroup_dblayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5819, 67, 2039, 67, 4650, 12, 1911, 16, 3925, 67, 2039, 2218, 14005, 11, 4672, 3536, 3391, 777, 326, 3903, 3252, 434, 279, 6826, 3925, 67, 2039, 364, 1492, 326, 729, 353, 720,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5819, 67, 2039, 67, 4650, 12, 1911, 16, 3925, 67, 2039, 2218, 14005, 11, 4672, 3536, 3391, 777, 326, 3903, 3252, 434, 279, 6826, 3925, 67, 2039, 364, 1492, 326, 729, 353, 720,...
alert_ind['IndicationTime'] = time alert_ind['SystemName'] = "c119.cim.lab.novell.com"
alert_ind['IndicationTime'] = cimtime alert_ind['SystemName'] = socket.getfqdn()
def cim_method_send_indication(self, env, object_name, method): """ Method to test the upcalls to the cimom handle for export_indications. """ global _indication_names time = pywbem.CIMDateTime.now() ch = env.get_cimom_handle() ch.set_default_namespace("root/cimv2") logger = env.get_logger()
596cce478b26e5f4236bda34a1bcf148a7b4deed /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1453/596cce478b26e5f4236bda34a1bcf148a7b4deed/UpcallAtomProvider.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 381, 67, 2039, 67, 4661, 67, 728, 829, 12, 2890, 16, 1550, 16, 733, 67, 529, 16, 707, 4672, 3536, 2985, 358, 1842, 326, 731, 12550, 358, 326, 276, 381, 362, 1640, 364, 3359, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 381, 67, 2039, 67, 4661, 67, 728, 829, 12, 2890, 16, 1550, 16, 733, 67, 529, 16, 707, 4672, 3536, 2985, 358, 1842, 326, 731, 12550, 358, 326, 276, 381, 362, 1640, 364, 3359, 67,...
(fullname, str(msg))
(`fullname`, str(msg))
def remove(fullname): if os.path.isdir(fullname) and not os.path.islink(fullname): try: names = os.listdir(fullname) except os.error: names = [] ok = 1 for name in names: if not remove(os.path.join(fullname, name)): ok = 0 if not ok: return 0 try: os.rmdir(fullname) except os.error, msg: print "Can't remove local direc...
a25969620ad128c95dde9cf500b28fa3e57611c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a25969620ad128c95dde9cf500b28fa3e57611c9/ftpmirror.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 21885, 4672, 309, 1140, 18, 803, 18, 291, 1214, 12, 21885, 13, 471, 486, 1140, 18, 803, 18, 291, 1232, 12, 21885, 4672, 775, 30, 1257, 273, 1140, 18, 1098, 1214, 12, 21885, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 21885, 4672, 309, 1140, 18, 803, 18, 291, 1214, 12, 21885, 13, 471, 486, 1140, 18, 803, 18, 291, 1232, 12, 21885, 4672, 775, 30, 1257, 273, 1140, 18, 1098, 1214, 12, 21885, ...
self.hboxlayout51.addWidget(self.textLabel2_4_3) self.gridlayout34.addLayout(self.hboxlayout51,5,2,1,1)
self.hboxlayout49.addWidget(self.textLabel2_4_3) self.gridlayout30.addLayout(self.hboxlayout49,5,2,1,1)
def setupUi(self, UserPrefsDialog): UserPrefsDialog.setObjectName("UserPrefsDialog") UserPrefsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,917,661).size()).expandedTo(UserPrefsDialog.minimumSizeHint()))
752b48c67dcf97437d2cb83fa267b09487665da0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/752b48c67dcf97437d2cb83fa267b09487665da0/UserPrefsDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
andi t3, t3, 16 or reg, reg, t3
andi t4, t3, 16, flags=(EZF,) or reg, reg, t4 mov t1, t1, t3, flags=(nCEZF,)
def macroop BSF_R_P { rdip t7 mov t1, t1, t0, dataSize=8 ld t1, seg, riprel, disp # Determine if the input was zero, and also move it to a temp reg. and t1, t1, t1, flags=(ZF,) bri t0, label("end"), flags=(CZF,) # Zero out the result register mov reg, reg, t0 subi t2, t1, 1 xor t1, t2, t1 # Bit 6 srli t3, t1, 32, ...
8e2991b529fd63f4d7c56518ebfbd2424f964172 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6787/8e2991b529fd63f4d7c56518ebfbd2424f964172/bit_scan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 605, 22395, 67, 54, 67, 52, 288, 225, 9437, 625, 268, 27, 5730, 268, 21, 16, 268, 21, 16, 268, 20, 16, 30216, 33, 28, 16916, 268, 21, 16, 2291, 16, 436, 625, 2878, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 605, 22395, 67, 54, 67, 52, 288, 225, 9437, 625, 268, 27, 5730, 268, 21, 16, 268, 21, 16, 268, 20, 16, 30216, 33, 28, 16916, 268, 21, 16, 2291, 16, 436, 625, 2878, 16, ...
q += isbn
q = isbn
def __init__(self, title=None, author=None, publisher=None, isbn=None, keywords=None, max_results=20): assert not(title is None and author is None and publisher is None \ and isbn is None and keywords is None) assert (max_results < 21)
fd711e6075e2dec43ab37c76fad9ed299fcdc71d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/fd711e6075e2dec43ab37c76fad9ed299fcdc71d/nicebooks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2077, 33, 7036, 16, 2869, 33, 7036, 16, 12855, 33, 7036, 16, 24205, 33, 7036, 16, 7093, 33, 7036, 16, 943, 67, 4717, 33, 3462, 4672, 1815, 486, 12, 264...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2077, 33, 7036, 16, 2869, 33, 7036, 16, 12855, 33, 7036, 16, 24205, 33, 7036, 16, 7093, 33, 7036, 16, 943, 67, 4717, 33, 3462, 4672, 1815, 486, 12, 264...
tests to be extracted, and the name (within the module) of the object with the docstring containing the tests to be extracted. The doctest examples are returned as a string containing Python code. The expected output blocks in the examples are converted to Python comments.
test to be debugged and the name (within the module) of the object with the doc string with tests to be debugged.
def testsource(module, name): """Extract the doctest examples from a docstring. Provide the module (or dotted name of the module) containing the tests to be extracted, and the name (within the module) of the object with the docstring containing the tests to be extracted. The doctest examples are returned as a string ...
7d6324ef7b7059c4e5fc29ddd63d1eaa75238234 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7d6324ef7b7059c4e5fc29ddd63d1eaa75238234/doctest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3168, 12, 2978, 16, 508, 4672, 3536, 4976, 326, 31263, 395, 10991, 628, 279, 14525, 18, 225, 26569, 326, 1605, 261, 280, 20965, 508, 434, 326, 1605, 13, 4191, 326, 1842, 358, 506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3168, 12, 2978, 16, 508, 4672, 3536, 4976, 326, 31263, 395, 10991, 628, 279, 14525, 18, 225, 26569, 326, 1605, 261, 280, 20965, 508, 434, 326, 1605, 13, 4191, 326, 1842, 358, 506, ...
whole_image_md5sum = ppm_utils.image_md5sum(w, h, data)
def barrier_2(vm, words, params, debug_dir, data_scrdump_filename, current_step_num): if len(words) < 7: logging.error("Bad barrier_2 command line") return False cmd, dx, dy, x1, y1, md5sum, timeout = words[:7] dx, dy, x1, y1, timeout = map(int, [dx, dy, x1, y1, timeout]) # Timeout/5 is the time it took stepmaker to ...
0afc7c5461de281a1487446be9d0a8a6be87c8ae /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10349/0afc7c5461de281a1487446be9d0a8a6be87c8ae/kvm_guest_wizard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24651, 67, 22, 12, 3489, 16, 4511, 16, 859, 16, 1198, 67, 1214, 16, 501, 67, 24638, 8481, 67, 3459, 16, 783, 67, 4119, 67, 2107, 4672, 309, 562, 12, 3753, 13, 411, 2371, 30, 2907, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24651, 67, 22, 12, 3489, 16, 4511, 16, 859, 16, 1198, 67, 1214, 16, 501, 67, 24638, 8481, 67, 3459, 16, 783, 67, 4119, 67, 2107, 4672, 309, 562, 12, 3753, 13, 411, 2371, 30, 2907, ...
self.finish_test(secDB)
self.finish_test(self.secDB)
def test01_associateWithDB(self): if verbose: print '\n', '-=' * 30 print "Running %s.test01_associateWithDB..." % \ self.__class__.__name__
d13f8be3c6fcbcf8944bc3d2b0d65df71d53f114 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d13f8be3c6fcbcf8944bc3d2b0d65df71d53f114/test_associate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1611, 67, 11577, 1190, 2290, 12, 2890, 4672, 309, 3988, 30, 1172, 2337, 82, 2187, 2400, 2218, 380, 5196, 1172, 315, 7051, 738, 87, 18, 3813, 1611, 67, 11577, 1190, 2290, 7070, 738,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1611, 67, 11577, 1190, 2290, 12, 2890, 4672, 309, 3988, 30, 1172, 2337, 82, 2187, 2400, 2218, 380, 5196, 1172, 315, 7051, 738, 87, 18, 3813, 1611, 67, 11577, 1190, 2290, 7070, 738,...
execute(fileDb, moduleDb, options, filearg, names)
if options.obfuscateIdentifiers: execute(fileDb, moduleDb, options, filearg, names) else: execute(fileDb, moduleDb, options, filearg)
def argparser(cmdlineargs): # Parse arguments (options, args) = getparser().parse_args(cmdlineargs) # Export to file if options.exportToFile != None: print print " EXPORTING:" print "----------------------------------------------------------------------------" print " * Translating options..." optionString = "# Ex...
1aadb343abf310bcf6a572057e679bb422129e6b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5718/1aadb343abf310bcf6a572057e679bb422129e6b/generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1501, 4288, 12, 4172, 1369, 1968, 4672, 225, 468, 2884, 1775, 261, 2116, 16, 833, 13, 273, 336, 4288, 7675, 2670, 67, 1968, 12, 4172, 1369, 1968, 13, 225, 468, 11054, 358, 585, 309, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1501, 4288, 12, 4172, 1369, 1968, 4672, 225, 468, 2884, 1775, 261, 2116, 16, 833, 13, 273, 336, 4288, 7675, 2670, 67, 1968, 12, 4172, 1369, 1968, 13, 225, 468, 11054, 358, 585, 309, 70...
exts.append( Extension('errno', ['errnomodule.c']) )
def detect_modules(self): # Ensure that /usr/local is always used add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
98d5e1728c6b7217d3a6dac91c94e7e5c479ea73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/98d5e1728c6b7217d3a6dac91c94e7e5c479ea73/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 6400, 12, 2890, 4672, 468, 7693, 716, 342, 13640, 19, 3729, 353, 3712, 1399, 527, 67, 1214, 67, 869, 67, 1098, 12, 2890, 18, 9576, 18, 12083, 67, 8291, 16, 1173, 13640, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 6400, 12, 2890, 4672, 468, 7693, 716, 342, 13640, 19, 3729, 353, 3712, 1399, 527, 67, 1214, 67, 869, 67, 1098, 12, 2890, 18, 9576, 18, 12083, 67, 8291, 16, 1173, 13640, 19, ...
if not section or section == "DEFAULT":
if not section or section == DEFAULTSECT:
def set(self, section, option, value): """Set an option.""" if not section or section == "DEFAULT": sectdict = self.__defaults else: try: sectdict = self.__sections[section] except KeyError: raise NoSectionError(section) option = self.optionxform(option) sectdict[option] = value
490cbf56868a5118b635128d808b569527adaab6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/490cbf56868a5118b635128d808b569527adaab6/ConfigParser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 2442, 16, 1456, 16, 460, 4672, 3536, 694, 392, 1456, 12123, 309, 486, 2442, 578, 2442, 422, 3331, 1090, 1268, 30, 29140, 1576, 273, 365, 16186, 7606, 469, 30, 775, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 2442, 16, 1456, 16, 460, 4672, 3536, 694, 392, 1456, 12123, 309, 486, 2442, 578, 2442, 422, 3331, 1090, 1268, 30, 29140, 1576, 273, 365, 16186, 7606, 469, 30, 775, 3...
def runtest(test, generate, verbose, quiet, testdir=None, huntrleaks=False):
def runtest(test, generate, verbose, quiet, testdir=None, huntrleaks=False, debug=False):
def runtest(test, generate, verbose, quiet, testdir=None, huntrleaks=False): """Run a single test. test -- the name of the test generate -- if true, generate output, instead of running the test and comparing it to a previously created output file verbose -- if true, print more messages quiet -- if true, don't print 's...
ce4a475efb3d9f5e56af3226bd4acda4002c1250 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/ce4a475efb3d9f5e56af3226bd4acda4002c1250/regrtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 3813, 12, 3813, 16, 2103, 16, 3988, 16, 10902, 16, 1842, 1214, 33, 7036, 16, 366, 318, 313, 298, 581, 87, 33, 8381, 16, 1198, 33, 8381, 4672, 3536, 1997, 279, 2202, 1842, 18, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 3813, 12, 3813, 16, 2103, 16, 3988, 16, 10902, 16, 1842, 1214, 33, 7036, 16, 366, 318, 313, 298, 581, 87, 33, 8381, 16, 1198, 33, 8381, 4672, 3536, 1997, 279, 2202, 1842, 18, 2...
pyf_target = os.path.join(target_dir,ext.name+'.pyf') pyf_target_file = os.path.join(target_dir,ext.name+target_ext) pyf_fortran_target_file = os.path.join(target_dir,ext.name+fortran_target_ext) f2py_opts2 = ['-m',ext.name,'-h',pyf_target,'--overwrite-signature']
pyf_target = os.path.join(target_dir,ext_name+'.pyf') pyf_target_file = os.path.join(target_dir,ext_name+target_ext) pyf_fortran_target_file = os.path.join(target_dir,ext_name+fortran_target_ext) f2py_opts2 = ['-m',ext_name,'-h',pyf_target,'--overwrite-signature']
def f2py_sources (self, sources, ext):
cf5035a497ee83adb91090bf4f4d3c6faf969b9f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/cf5035a497ee83adb91090bf4f4d3c6faf969b9f/run_f2py.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 22, 2074, 67, 10141, 261, 2890, 16, 5550, 16, 1110, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 22, 2074, 67, 10141, 261, 2890, 16, 5550, 16, 1110, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
''' def renderMockSidechains(chain): for index in chain.residueRange(): res=chain[index] atom=res.getAtom('CA') if res.symbol3 in ['GLY','PRO']: relativeSize=1 elif res.symbol3 in ['ALA','VAL','THR','CYS']: relativeSize=2 elif res.symbol3 in ['MET','LEU','ILE','ASN','GLN','ASP','GLU']: relativeSize=3 else: relativ...
def clearMockSidechains(chain): obj = StructureEditor(chain) obj.clearMockSidechains(chain)
ca17ad546b24f59586930c5b4dcc74c6920bc51a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4399/ca17ad546b24f59586930c5b4dcc74c6920bc51a/SequenceView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 9865, 8895, 23060, 12, 5639, 4672, 1081, 273, 13348, 6946, 12, 5639, 13, 1081, 18, 8507, 9865, 8895, 23060, 12, 5639, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 2424, 9865, 8895, 23060, 12, 5639, 4672, 1081, 273, 13348, 6946, 12, 5639, 13, 1081, 18, 8507, 9865, 8895, 23060, 12, 5639, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.body.append(self.starttag(node, 'dt', ''))
self.bodyOne = True self.visit_paragraph(node) self.body.append(self.start_charstyle % 'Strong Emphasis')
def visit_term(self, node): self.body.append(self.starttag(node, 'dt', ''))
6375238ab8247c4cfacf9efad70324a50b6c7ce8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/6375238ab8247c4cfacf9efad70324a50b6c7ce8/OOwriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 6408, 12, 2890, 16, 756, 4672, 365, 18, 3432, 18, 6923, 12, 2890, 18, 1937, 2692, 12, 2159, 16, 296, 7510, 2187, 875, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 6408, 12, 2890, 16, 756, 4672, 365, 18, 3432, 18, 6923, 12, 2890, 18, 1937, 2692, 12, 2159, 16, 296, 7510, 2187, 875, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
update_binary_file
update_binary_file, update_binary_file_2
def update_binary_file_2(): "update to an old revision of a binary files" sbox = sandbox(update_binary_file_2) wc_dir = os.path.join (svntest.main.general_wc_dir, sbox) if svntest.actions.make_repo_and_wc(sbox): return 1 # Suck up contents of a test .png file. fp = open("theta.png") theta_contents = fp.read() fp.clo...
c116938c1d32cb26892bf5c256db86cab916d741 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6036/c116938c1d32cb26892bf5c256db86cab916d741/basic_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 8578, 67, 768, 67, 22, 13332, 315, 2725, 358, 392, 1592, 6350, 434, 279, 3112, 1390, 6, 225, 272, 2147, 273, 15202, 12, 2725, 67, 8578, 67, 768, 67, 22, 13, 14310, 67, 1214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 8578, 67, 768, 67, 22, 13332, 315, 2725, 358, 392, 1592, 6350, 434, 279, 3112, 1390, 6, 225, 272, 2147, 273, 15202, 12, 2725, 67, 8578, 67, 768, 67, 22, 13, 14310, 67, 1214...
def addParseAction( self, *fns ): """Add parse action to expression's list of parse actions. See setParseAction_."""
def addParseAction( self, *fns, **kwargs ): """Add parse action to expression's list of parse actions. See L{I{setParseAction}<setParseAction>}."""
def addParseAction( self, *fns ): """Add parse action to expression's list of parse actions. See setParseAction_.""" self.parseAction += map(self.normalizeParseActionArgs, list(fns)) return self
3ffe2cb437e5c5ef179a32d974b9041a6bc31b6a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12364/3ffe2cb437e5c5ef179a32d974b9041a6bc31b6a/pyparsing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 3201, 1803, 12, 365, 16, 380, 74, 2387, 16, 2826, 4333, 262, 30, 3536, 986, 1109, 1301, 358, 2652, 1807, 666, 434, 1109, 4209, 18, 2164, 511, 95, 45, 95, 542, 3201, 1803, 97, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 3201, 1803, 12, 365, 16, 380, 74, 2387, 16, 2826, 4333, 262, 30, 3536, 986, 1109, 1301, 358, 2652, 1807, 666, 434, 1109, 4209, 18, 2164, 511, 95, 45, 95, 542, 3201, 1803, 97, 32...
for event in self.events: ca[:, event.event_id] = [event.stimtype, event.offset]
for i, event in enumerate(self.events): ca[i, :] = [event.stimtype, event.offset]
def save_events(self): self.get_event_table() self.load_events() shape = (2, len(self.events)) atom = tables.Int16Atom() filters = tables.Filters(complevel=5, complib='zlib') ca = self.h5.createCArray(self.h5.root, 'triggers', atom, shape, title="Trigger Data", filters=filters) for event in self.events: ca[:, even...
1b6e038f4e967279ef6a4002b992f9c3de579942 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14831/1b6e038f4e967279ef6a4002b992f9c3de579942/cnt2h5.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 5989, 12, 2890, 4672, 225, 365, 18, 588, 67, 2575, 67, 2121, 1435, 365, 18, 945, 67, 5989, 1435, 225, 2179, 273, 261, 22, 16, 562, 12, 2890, 18, 5989, 3719, 3179, 225, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 5989, 12, 2890, 4672, 225, 365, 18, 588, 67, 2575, 67, 2121, 1435, 365, 18, 945, 67, 5989, 1435, 225, 2179, 273, 261, 22, 16, 562, 12, 2890, 18, 5989, 3719, 3179, 225, 273,...
self.timer = time.clock
self.timer = self.get_time = time.clock
def __init__(self, timer=None): self.timings = {} self.cur = None self.cmd = ""
7c76e9ea47c5473c749a68d4ceef4f076daffc4a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7c76e9ea47c5473c749a68d4ceef4f076daffc4a/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5441, 33, 7036, 4672, 365, 18, 8584, 899, 273, 2618, 365, 18, 1397, 273, 599, 365, 18, 4172, 273, 1408, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5441, 33, 7036, 4672, 365, 18, 8584, 899, 273, 2618, 365, 18, 1397, 273, 599, 365, 18, 4172, 273, 1408, 2, -100, -100, -100, -100, -100, -100, -100, -100...
one of the segments in self. Does not require the segmentlist to be coalesced.
one of the segments in self. This operation is O(log n).
def __contains__(self, item): """ Returns True if the given object is wholly contained within one of the segments in self. Does not require the segmentlist to be coalesced.
c6474727058bd547e30ff49a0a111bff233612b7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5758/c6474727058bd547e30ff49a0a111bff233612b7/segments.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12298, 972, 12, 2890, 16, 761, 4672, 3536, 2860, 1053, 309, 326, 864, 733, 353, 600, 355, 715, 7542, 3470, 1245, 434, 326, 5155, 316, 365, 18, 225, 9637, 486, 2583, 326, 3267, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12298, 972, 12, 2890, 16, 761, 4672, 3536, 2860, 1053, 309, 326, 864, 733, 353, 600, 355, 715, 7542, 3470, 1245, 434, 326, 5155, 316, 365, 18, 225, 9637, 486, 2583, 326, 3267, 10...
return {'success' : passed, 'error_msgs' : msgs}
return {'success' : success, 'error_msgs' : msgs}
def run_imfit(append=None): default('imfit') if (append == None): return imfit(imagename=two_gaussians_image, estimates=two_gaussians_estimates, logfile=logfile) else: return imfit( imagename=two_gaussians_image, estimates=two_gaussians_estimates, logfile=logfile, append=append )
8eccdfd089c274e940f3689d52ad99f3e7be170d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2098/8eccdfd089c274e940f3689d52ad99f3e7be170d/imfit_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 381, 7216, 12, 6923, 33, 7036, 4672, 805, 2668, 381, 7216, 6134, 309, 261, 6923, 422, 599, 4672, 327, 709, 7216, 12, 15374, 1069, 33, 15415, 67, 75, 10325, 19657, 67, 2730, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 381, 7216, 12, 6923, 33, 7036, 4672, 805, 2668, 381, 7216, 6134, 309, 261, 6923, 422, 599, 4672, 327, 709, 7216, 12, 15374, 1069, 33, 15415, 67, 75, 10325, 19657, 67, 2730, 1...
selProteinList += [obj]
proteinList += [obj]
def addSelectedProteinChunk(obj): if obj.picked and \ isinstance(obj, self.win.assy.Chunk) and \ obj.isProteinChunk(): selProteinList += [obj] return
e47b7cffba732fb1a6f8d23fbde9e912df369c60 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/e47b7cffba732fb1a6f8d23fbde9e912df369c60/ops_select.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 7416, 626, 10297, 5579, 12, 2603, 4672, 309, 1081, 18, 11503, 329, 471, 521, 1549, 12, 2603, 16, 365, 18, 8082, 18, 428, 93, 18, 5579, 13, 471, 521, 1081, 18, 291, 626, 10297, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 7416, 626, 10297, 5579, 12, 2603, 4672, 309, 1081, 18, 11503, 329, 471, 521, 1549, 12, 2603, 16, 365, 18, 8082, 18, 428, 93, 18, 5579, 13, 471, 521, 1081, 18, 291, 626, 10297, 5...
self.frac_ac_lt_1 = n_z_less_then_one_ac/normalised_acentric.data().size()
self.frac_ac_lt_1 = 0 if normalised_acentric.data().size()>0: self.frac_ac_lt_1 = n_z_less_then_one_ac/normalised_acentric.data().size()
def __init__(self, normalised_acentric, normalised_centric, out=None,verbose=0): if out is None: out = sys.stdout
841a3611453450e25f554516c1eaf560946dbe09 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/841a3611453450e25f554516c1eaf560946dbe09/twin_analyses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2212, 5918, 67, 1077, 18395, 16, 2212, 5918, 67, 71, 18395, 16, 596, 33, 7036, 16, 11369, 33, 20, 4672, 309, 596, 353, 599, 30, 596, 273, 2589, 18, 102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2212, 5918, 67, 1077, 18395, 16, 2212, 5918, 67, 71, 18395, 16, 596, 33, 7036, 16, 11369, 33, 20, 4672, 309, 596, 353, 599, 30, 596, 273, 2589, 18, 102...
chk = self.addrevision(text, transaction, link, p1, p2)
chk = self._addrevision(text, transaction, link, p1, p2, None, ifh, dfh) if not dfh and not self.inlinedata(): dfh = self.opener(self.datafile, "a") ifh = self.opener(self.indexfile, "a")
def addgroup(self, revs, linkmapper, transaction, unique=0): """ add a delta group
7331974d3fca91704af17f0e8306f87bbf410fe8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/7331974d3fca91704af17f0e8306f87bbf410fe8/revlog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1655, 12, 2890, 16, 5588, 87, 16, 1692, 13919, 16, 2492, 16, 3089, 33, 20, 4672, 3536, 527, 279, 3622, 1041, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1655, 12, 2890, 16, 5588, 87, 16, 1692, 13919, 16, 2492, 16, 3089, 33, 20, 4672, 3536, 527, 279, 3622, 1041, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
return return functor argsCopy = args[:] def functor(*cArgs, **ckArgs): kwArgs = kArgs kwArgs.update(ckArgs) kwArgs.pop('static', None) kwArgs['frameCount'] = ckArgs.get('frameCount',1)+1 return bpdb.bp(*(cArgs), **kwArgs)
kwArgs = kArgs kwArgs.update(ckArgs) kwArgs.pop('static', None) kwArgs['frameCount'] = ckArgs.get('frameCount',1)+1 return bpdb.bp(*(cArgs), **kwArgs)
def functor(*cArgs, **ckArgs): return
ff599cf9abda48677c7e0cc83e14db348aa882e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/ff599cf9abda48677c7e0cc83e14db348aa882e5/PythonUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12882, 280, 30857, 71, 2615, 16, 2826, 363, 2615, 4672, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12882, 280, 30857, 71, 2615, 16, 2826, 363, 2615, 4672, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
args = ['tag'] + flags + [spec, 'rating=10'] flags = Flags (args, groupable = GROUPABLE, argless=ARGLESS, argful=ARGFUL) execute_command_line (flags, self.db)
hostname = ['--hostname', choose_host()] args = ['tag'] + flags + [spec, 'rating=10'] + hostname execute_command_line(*parse_args(args))
def tagTest (self, mode, verbose=True): self.stealOutput () (flag, spec) = specify_DADGAD (mode) description = describe_by_mode (spec, mode) flags = ['-v', flag] if verbose else [flag] args = ['tag'] + flags + [spec, 'rating=10'] flags = Flags (args, groupable = GROUPABLE, argless=ARGLESS, argful=ARGFUL) execute_comman...
a258ae866ad40d7092b84a6b1737df504976b56c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12637/a258ae866ad40d7092b84a6b1737df504976b56c/fdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1047, 4709, 261, 2890, 16, 1965, 16, 3988, 33, 5510, 4672, 365, 18, 334, 73, 287, 1447, 1832, 261, 6420, 16, 857, 13, 273, 4800, 67, 40, 1880, 43, 1880, 261, 3188, 13, 2477, 273, 640...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1047, 4709, 261, 2890, 16, 1965, 16, 3988, 33, 5510, 4672, 365, 18, 334, 73, 287, 1447, 1832, 261, 6420, 16, 857, 13, 273, 4800, 67, 40, 1880, 43, 1880, 261, 3188, 13, 2477, 273, 640...
albumbox = gtk.VBox() albumbox_top = gtk.HBox()
def widgets_initialize(self, info_scrollwindow):
81f101942b896fda910df87fdd3d6680d30cc524 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2312/81f101942b896fda910df87fdd3d6680d30cc524/info.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10965, 67, 11160, 12, 2890, 16, 1123, 67, 12033, 5668, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10965, 67, 11160, 12, 2890, 16, 1123, 67, 12033, 5668, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
sys.path.append('/ufs/guido/src/video')
sys.path.append('/ufs/jack/src/av/video')
def help(): print 'Usage: video2rgb [options] [file] ...' print print 'Options:' print '-q : quiet, no informative messages' print '-m : create monochrome (greyscale) image files' print '-f prefix : create image files with names "prefix0000.rgb"' print 'file ... : file(s) to convert; default film.vid...
e3d16c9fc6b7f0ab1f45911f059e5b556f32a3ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/e3d16c9fc6b7f0ab1f45911f059e5b556f32a3ee/video2rgb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2809, 13332, 1172, 296, 5357, 30, 6191, 22, 10948, 306, 2116, 65, 306, 768, 65, 25956, 1172, 1172, 296, 1320, 2497, 1172, 2400, 85, 540, 294, 10902, 16, 1158, 13235, 1535, 2743, 11, 1172...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2809, 13332, 1172, 296, 5357, 30, 6191, 22, 10948, 306, 2116, 65, 306, 768, 65, 25956, 1172, 1172, 296, 1320, 2497, 1172, 2400, 85, 540, 294, 10902, 16, 1158, 13235, 1535, 2743, 11, 1172...
data_files.append(('', iglob(os.path.join(VCREDIST_PATH, '*'))))
data_files.append(('', iglob(os.path.join(VCREDIST71_PATH, '*')))) data_files.append(('', iglob(os.path.join(VCREDIST90_PATH, '*'))))
def fill_template(templatepath, outpath, **vars): s = open(templatepath, 'rt').read() s = string.Template(s).safe_substitute(**vars) f = open(outpath, "wt") f.write(s) f.close()
0f429954ba275c56bb03aba2890ac5a4c6c82d1c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/0f429954ba275c56bb03aba2890ac5a4c6c82d1c/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 67, 3202, 12, 3202, 803, 16, 596, 803, 16, 2826, 4699, 4672, 272, 273, 1696, 12, 3202, 803, 16, 296, 3797, 16063, 896, 1435, 272, 273, 533, 18, 2283, 12, 87, 2934, 4626, 67, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 67, 3202, 12, 3202, 803, 16, 596, 803, 16, 2826, 4699, 4672, 272, 273, 1696, 12, 3202, 803, 16, 296, 3797, 16063, 896, 1435, 272, 273, 533, 18, 2283, 12, 87, 2934, 4626, 67, 17...
return self.parent()(self._singular_().gcd(f._singular_()))
P._singular_().set_ring() return P(self._singular_().gcd(f._singular_()))
def gcd(self, f): """ Compute the greatest common divisor of this polynomial and f.
2210eec316667b64494dd53f83be74e454af70e6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/2210eec316667b64494dd53f83be74e454af70e6/multi_polynomial_element.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14876, 12, 2890, 16, 284, 4672, 3536, 8155, 326, 18825, 395, 2975, 15013, 434, 333, 16991, 471, 284, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14876, 12, 2890, 16, 284, 4672, 3536, 8155, 326, 18825, 395, 2975, 15013, 434, 333, 16991, 471, 284, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
derphi_a0 = phiprime(alpha) gc = gc + 1 if (phi_a0 <= phi0 + c1*alpha0*derphi0) \ and (abs(derphi_a0) <= c2*abs(derphi0)): return alpha0, fc, gc alpha0 = 0 alpha1 = 1 phi_a1 = phi_a0
alpha1 = pymin(1.0,1.01*2*(phi0-old_old_fval)/derphi0) phi_a1 = phi(alpha1) derphi_a1 = phiprime(alpha1)
def phiprime(alpha): return Num.dot(fprime(xk+alpha*pk,*args),pk)
d00f433519cbe9ce0d4306fb9512ac79d655e1fc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/d00f433519cbe9ce0d4306fb9512ac79d655e1fc/optimize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1844, 625, 86, 494, 12, 5429, 4672, 327, 6805, 18, 9811, 12, 74, 16382, 12, 92, 79, 15, 5429, 14, 5465, 16, 14, 1968, 3631, 5465, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1844, 625, 86, 494, 12, 5429, 4672, 327, 6805, 18, 9811, 12, 74, 16382, 12, 92, 79, 15, 5429, 14, 5465, 16, 14, 1968, 3631, 5465, 13, 2, -100, -100, -100, -100, -100, -100, -100, -10...
value += self._safe_read(chunk_left)
value.append(self._safe_read(chunk_left))
def _read_chunked(self, amt): assert self.chunked != _UNKNOWN chunk_left = self.chunk_left value = b""
64fc887079bd038d3cdd95ec486c43ab1ddcb025 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/64fc887079bd038d3cdd95ec486c43ab1ddcb025/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 6551, 329, 12, 2890, 16, 25123, 4672, 1815, 365, 18, 6551, 329, 480, 389, 14737, 2441, 67, 4482, 273, 365, 18, 6551, 67, 4482, 460, 273, 324, 3660, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 6551, 329, 12, 2890, 16, 25123, 4672, 1815, 365, 18, 6551, 329, 480, 389, 14737, 2441, 67, 4482, 273, 365, 18, 6551, 67, 4482, 460, 273, 324, 3660, 2, -100, -100, -100, ...
def _check(self, response, command): if response[0] != "OK": print "Invalid response to %s:\n%s" % (command, response) sys.exit(-1) def _selectFolder(self, name, read_only): folder = imap.select(name, read_only) self._check(folder, 'select') return folder
def _check(self, response, command): if response[0] != "OK": print "Invalid response to %s:\n%s" % (command, response) sys.exit(-1)
78562f294fdc412cde22daf1b88e62102ccf5c10 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/78562f294fdc412cde22daf1b88e62102ccf5c10/imapfilter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 12, 2890, 16, 766, 16, 1296, 4672, 309, 766, 63, 20, 65, 480, 315, 3141, 6877, 1172, 315, 1941, 766, 358, 738, 87, 5581, 82, 9, 87, 6, 738, 261, 3076, 16, 766, 13, 2589,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 12, 2890, 16, 766, 16, 1296, 4672, 309, 766, 63, 20, 65, 480, 315, 3141, 6877, 1172, 315, 1941, 766, 358, 738, 87, 5581, 82, 9, 87, 6, 738, 261, 3076, 16, 766, 13, 2589,...
i = string.find(host, '@') + 1
i = host.find('@') + 1
def retry_http_basic_auth(self, url, realm, data=None): host, selector = splithost(url) i = string.find(host, '@') + 1 host = host[i:] user, passwd = self.get_user_passwd(host, realm, i) if not (user or passwd): return None host = user + ':' + passwd + '@' + host newurl = 'http://' + host + selector if data is None: re...
2aa671823938e593ea9dedd33b3cc4194fde8a0a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2aa671823938e593ea9dedd33b3cc4194fde8a0a/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3300, 67, 2505, 67, 13240, 67, 1944, 12, 2890, 16, 880, 16, 11319, 16, 501, 33, 7036, 4672, 1479, 16, 3451, 273, 6121, 483, 669, 12, 718, 13, 277, 273, 1479, 18, 4720, 2668, 36, 6134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3300, 67, 2505, 67, 13240, 67, 1944, 12, 2890, 16, 880, 16, 11319, 16, 501, 33, 7036, 4672, 1479, 16, 3451, 273, 6121, 483, 669, 12, 718, 13, 277, 273, 1479, 18, 4720, 2668, 36, 6134...
def round_start(event_var):
def es_map_start(event_var): global friendlyFireEnabled friendlyFireEnabled = 0
def round_start(event_var): # Set mp_friendlyfire to 0 es.forcevalue("mp_friendlyfire", 0)
82a8bc19eb3f87892700f5e201ef21227c5dce2d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4575/82a8bc19eb3f87892700f5e201ef21227c5dce2d/gg_friendlyfire.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5001, 67, 1458, 67, 1937, 12, 2575, 67, 1401, 4672, 2552, 13118, 9723, 1526, 225, 13118, 9723, 1526, 273, 374, 468, 1000, 6749, 67, 29111, 12179, 358, 374, 5001, 18, 5734, 1132, 2932, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5001, 67, 1458, 67, 1937, 12, 2575, 67, 1401, 4672, 2552, 13118, 9723, 1526, 225, 13118, 9723, 1526, 273, 374, 468, 1000, 6749, 67, 29111, 12179, 358, 374, 5001, 18, 5734, 1132, 2932, 12...
aPlugin = PluginModule( name ) self.thePluginMap[ name ] = aPlugin
aPlugin = PluginModule( classname ) self.thePluginMap[ classname ] = aPlugin
def createInstance( self, name, sim, data, parent=None ): try: aPlugin = self.thePluginMap[ name ] except KeyError: aPlugin = PluginModule( name ) self.thePluginMap[ name ] = aPlugin
b9589b7bc80ea5275e2b3c94a6f9325e2000f23e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/b9589b7bc80ea5275e2b3c94a6f9325e2000f23e/Plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20075, 12, 365, 16, 508, 16, 3142, 16, 501, 16, 982, 33, 7036, 262, 30, 775, 30, 279, 3773, 273, 365, 18, 5787, 3773, 863, 63, 508, 308, 1335, 4999, 30, 279, 3773, 273, 6258, 3120, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20075, 12, 365, 16, 508, 16, 3142, 16, 501, 16, 982, 33, 7036, 262, 30, 775, 30, 279, 3773, 273, 365, 18, 5787, 3773, 863, 63, 508, 308, 1335, 4999, 30, 279, 3773, 273, 6258, 3120, ...
for co in self.qexp().list():
for co in self.q_expansion().list():
def is_integral(self): r""" Test whether or not this element has `q`-expansion coefficients that are `p`-adically integral. This should always be the case with eigenfunctions, but sometimes if n is very large this breaks down for unknown reasons!
838a498abee29f10814d0a05c45a15fbb11d024c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/838a498abee29f10814d0a05c45a15fbb11d024c/genus0.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 14970, 23811, 12, 2890, 4672, 436, 8395, 7766, 2856, 578, 486, 333, 930, 711, 1375, 85, 68, 17, 2749, 12162, 14229, 716, 854, 1375, 84, 68, 17, 361, 6478, 21423, 18, 1220, 141...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 14970, 23811, 12, 2890, 4672, 436, 8395, 7766, 2856, 578, 486, 333, 930, 711, 1375, 85, 68, 17, 2749, 12162, 14229, 716, 854, 1375, 84, 68, 17, 361, 6478, 21423, 18, 1220, 141...
if not inBouquetRootList and not current_root.flags & eServiceReference.isGroup:
if not inBouquetRootList and current_root and not (current_root.flags & eServiceReference.isGroup):
def __init__(self, session, csel): Screen.__init__(self, session) self.csel = csel self.bsel = None
c88273c34d261ad897dbb507dbaf5c9cb38f741f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/c88273c34d261ad897dbb507dbaf5c9cb38f741f/ChannelSelection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 16, 276, 1786, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 365, 18, 71, 1786, 273, 276, 1786, 365, 18, 70, 1786, 273, 599, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 16, 276, 1786, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 365, 18, 71, 1786, 273, 276, 1786, 365, 18, 70, 1786, 273, 599, 2, -100, -1...
cr.execute('select '+field._fields_id+' from '+field_obj._table+' where id in ('+','.join(map(str,ids2))+')')
cr.execute('select "'+field._fields_id+'" from "'+field_obj._table+'" where id in ('+','.join(map(str,ids2))+')')
def _where_calc(self, cr, user, args, active_test=True, context=None): if not context: context={} args = args[:] # if the object has a field named 'active', filter out all inactive # records unless they were explicitely asked for if 'active' in self._columns and (active_test and context.get('active_test', True)): i = 0...
21e2436edcfd48b26e17230380299a3196aac8b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/21e2436edcfd48b26e17230380299a3196aac8b0/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6051, 67, 12448, 12, 2890, 16, 4422, 16, 729, 16, 833, 16, 2695, 67, 3813, 33, 5510, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 12938, 833, 273, 833, 10531, 65, 468, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6051, 67, 12448, 12, 2890, 16, 4422, 16, 729, 16, 833, 16, 2695, 67, 3813, 33, 5510, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 12938, 833, 273, 833, 10531, 65, 468, 309, ...
self.playerSprite.dy = 0
self.playerSprite.dy -= speed
def update(self): for event in pygame.event.get(): if event.type == pygame.QUIT: sys.exit() speed = 5
aa6f9694a8ec1b2080db694285871ca092a6098c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14405/aa6f9694a8ec1b2080db694285871ca092a6098c/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 364, 871, 316, 2395, 13957, 18, 2575, 18, 588, 13332, 309, 871, 18, 723, 422, 2395, 13957, 18, 3500, 1285, 30, 2589, 18, 8593, 1435, 225, 8632, 273, 1381, 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, 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, 1089, 12, 2890, 4672, 364, 871, 316, 2395, 13957, 18, 2575, 18, 588, 13332, 309, 871, 18, 723, 422, 2395, 13957, 18, 3500, 1285, 30, 2589, 18, 8593, 1435, 225, 8632, 273, 1381, 2, -100...
def _simple_command(self, name, dat1=None, dat2=None): return self._command_complete(name, self._command(name, dat1, dat2))
def _simple_command(self, name, *args): return self._command_complete(name, apply(self._command, (name,) + args))
def _simple_command(self, name, dat1=None, dat2=None):
46586822058b54c93e36247f31b13b4d7286f0a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/46586822058b54c93e36247f31b13b4d7286f0a2/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9647, 67, 3076, 12, 2890, 16, 508, 16, 1150, 21, 33, 7036, 16, 1150, 22, 33, 7036, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9647, 67, 3076, 12, 2890, 16, 508, 16, 1150, 21, 33, 7036, 16, 1150, 22, 33, 7036, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
assert not isinstance(getattr(self, component), StringType), \ ('passed string as "%s" parameter; use "%s_name" instead' % (getattr(self, component), component, component))
assert not isinstance(getattr(self, component), StringType), ( 'passed string "%s" as "%s" parameter; pass an instance, ' 'or use the "%s_name" parameter instead (in ' 'docutils.core.publish_* convenience functions).' % (getattr(self, component), component, component))
def __init__(self, reader=None, parser=None, writer=None, source=None, source_class=io.FileInput, destination=None, destination_class=io.FileOutput, settings=None): """ Initial setup. If any of `reader`, `parser`, or `writer` are not specified, the corresponding ``set_...`` method should be called with a component nam...
10a91f836672729615824ba5d3268e60474c2456 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5620/10a91f836672729615824ba5d3268e60474c2456/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2949, 33, 7036, 16, 2082, 33, 7036, 16, 2633, 33, 7036, 16, 1084, 33, 7036, 16, 1084, 67, 1106, 33, 1594, 18, 812, 1210, 16, 2929, 33, 7036, 16, 2929, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2949, 33, 7036, 16, 2082, 33, 7036, 16, 2633, 33, 7036, 16, 1084, 33, 7036, 16, 1084, 67, 1106, 33, 1594, 18, 812, 1210, 16, 2929, 33, 7036, 16, 2929, ...
ORDER BY id """)
ORDER BY u.email """)
def perform_deleteuserrole(req, id_role='0', id_user='0', reverse=0, confirm=0): """delete connection between role and user. id_role - id of role to disconnect id_user - id of user to disconnect. """ if not is_adminuser(req): return mustloginpage(req) title = 'Delete user from role' email_user = acca.acc_getUserEma...
911068548336831a628cc7a6d8a3e449446b6170 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1931/911068548336831a628cc7a6d8a3e449446b6170/webaccessadmin_lib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 3733, 1355, 4615, 12, 3658, 16, 612, 67, 4615, 2218, 20, 2187, 612, 67, 1355, 2218, 20, 2187, 4219, 33, 20, 16, 6932, 33, 20, 4672, 3536, 3733, 1459, 3086, 2478, 471, 729, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 3733, 1355, 4615, 12, 3658, 16, 612, 67, 4615, 2218, 20, 2187, 612, 67, 1355, 2218, 20, 2187, 4219, 33, 20, 16, 6932, 33, 20, 4672, 3536, 3733, 1459, 3086, 2478, 471, 729, ...
else
else:
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 675) else quickfix.StringField.__init__(self, 675, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 5877, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 1666, 5877, 13, 469, 30, 9549, 904, 18, 780, 974, 16186, 2738...