rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
self.projectfile = "" self.___id_list = []
self.projectfile = "" self.___id_list = []
def __init__(self): Monitored.__init__(self) self.author = "" #the author of this project self.name = "" #the name of this project self.projectfile = "" # the name of the project file, complete with path self.___id_list = [] #the list of IDs that have already been used, to avoid collisions self.instruments = ...
e2b4f4a534dc5054c26a7ac44730cd6e0c158de4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10033/e2b4f4a534dc5054c26a7ac44730cd6e0c158de4/Project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 9041, 20425, 16186, 2738, 972, 12, 2890, 13, 225, 365, 18, 4161, 273, 1408, 1082, 202, 7, 5787, 2869, 434, 333, 1984, 365, 18, 529, 273, 1408, 9506, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 9041, 20425, 16186, 2738, 972, 12, 2890, 13, 225, 365, 18, 4161, 273, 1408, 1082, 202, 7, 5787, 2869, 434, 333, 1984, 365, 18, 529, 273, 1408, 9506, 20...
ShortField("hopcount", None),
ByteField("hopcount", None),
def hashret(self): return struct.pack("!I", self.trid)[1:3]
6636d6295201c197f9f68b85d1096f2beef010e0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7311/6636d6295201c197f9f68b85d1096f2beef010e0/dhcp6.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1651, 1349, 12, 2890, 4672, 327, 1958, 18, 2920, 2932, 5, 45, 3113, 365, 18, 313, 350, 25146, 21, 30, 23, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1651, 1349, 12, 2890, 4672, 327, 1958, 18, 2920, 2932, 5, 45, 3113, 365, 18, 313, 350, 25146, 21, 30, 23, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self["EditSettingsButton"].setPixmapNum(1)
self["DNSInfo_Text"].setForegroundColorNum(1) self["EditSettingsButton"].setPixmapNum(1) self["EditSettings_Text"].setForegroundColorNum(2)
def setActiveButton(self,button): if button == 1: self["EditSettingsButton"].setPixmapNum(0) self["NetworkInfo"].setPixmapNum(0) self["AdapterInfo"].setPixmapNum(1) if button == 2: self["AdapterInfo"].setPixmapNum(0) self["DhcpInfo"].setPixmapNum(0) self["NetworkInfo"].setPixmapNum(1) if button == 3: self["NetworkInfo"...
94917f32471fd6fa65d9c014107b849f58bcdd09 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/94917f32471fd6fa65d9c014107b849f58bcdd09/NetworkSetup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20669, 3616, 12, 2890, 16, 5391, 4672, 309, 3568, 422, 404, 30, 365, 9614, 4666, 2628, 3616, 6, 8009, 542, 21816, 1458, 2578, 12, 20, 13, 365, 9614, 3906, 966, 6, 8009, 542, 21816, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20669, 3616, 12, 2890, 16, 5391, 4672, 309, 3568, 422, 404, 30, 365, 9614, 4666, 2628, 3616, 6, 8009, 542, 21816, 1458, 2578, 12, 20, 13, 365, 9614, 3906, 966, 6, 8009, 542, 21816, 145...
if self._skill == SKILL_DETECT_HIDDEN:
if False:
def _on_target_request(self, allow_ground, target_id, flags): if not self._target_locked: return
826ecad5c830fe4e3d6c4d3c168985ee0a64a224 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5518/826ecad5c830fe4e3d6c4d3c168985ee0a64a224/training.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 265, 67, 3299, 67, 2293, 12, 2890, 16, 1699, 67, 2915, 16, 1018, 67, 350, 16, 2943, 4672, 309, 486, 365, 6315, 3299, 67, 15091, 30, 327, 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, 0, 0, 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, 265, 67, 3299, 67, 2293, 12, 2890, 16, 1699, 67, 2915, 16, 1018, 67, 350, 16, 2943, 4672, 309, 486, 365, 6315, 3299, 67, 15091, 30, 327, 2, -100, -100, -100, -100, -100, -100, -...
def w_get_frame(space, self):
def w_get_frame(space, w_self): self = space.interp_w(AppGreenlet, w_self)
def w_get_frame(space, self): if not self.has_ever_run or space.is_true(self.w_dead): return space.w_None try: return self.framestack.top(0) except IndexError: return space.w_None
fbc6eff872a83065c4601c3d34616f7fde2abe39 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/fbc6eff872a83065c4601c3d34616f7fde2abe39/interp_greenlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 67, 588, 67, 3789, 12, 2981, 16, 341, 67, 2890, 4672, 365, 273, 3476, 18, 24940, 67, 91, 12, 3371, 21453, 1810, 16, 341, 67, 2890, 13, 309, 486, 365, 18, 5332, 67, 6084, 67, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 67, 588, 67, 3789, 12, 2981, 16, 341, 67, 2890, 4672, 365, 273, 3476, 18, 24940, 67, 91, 12, 3371, 21453, 1810, 16, 341, 67, 2890, 13, 309, 486, 365, 18, 5332, 67, 6084, 67, 2...
self.__grid = 'OSG'
self.__Grid = 'OSG'
def get_grid(self): if self.__grid == None: val = self.__getConfigAttribute('Grid') if val == None or val == r'': self.__grid = 'OSG' else: self.__grid = val return self.__grid
1e1fb5e1c5e512763a36851eaf4e00b6e01a9d12 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/637/1e1fb5e1c5e512763a36851eaf4e00b6e01a9d12/Gratia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5222, 12, 2890, 4672, 309, 365, 16186, 5222, 422, 599, 30, 1244, 273, 365, 16186, 588, 809, 1499, 2668, 6313, 6134, 309, 1244, 422, 599, 578, 1244, 422, 436, 11, 4278, 365, 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5222, 12, 2890, 4672, 309, 365, 16186, 5222, 422, 599, 30, 1244, 273, 365, 16186, 588, 809, 1499, 2668, 6313, 6134, 309, 1244, 422, 599, 578, 1244, 422, 436, 11, 4278, 365, 16...
depsToJsonFile(lookupUsingDeps(packages), depsLogConf)
depsToJsonFile(classDepsIter, depsLogConf)
def usingDeps(depsLogConf):
d1325a630dd674037a9e9c9ee82994269849d10d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/d1325a630dd674037a9e9c9ee82994269849d10d/Generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1450, 14430, 12, 14877, 1343, 3976, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1450, 14430, 12, 14877, 1343, 3976, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
try:
if hasattr(self, "_npkeys"):
def nef_partitions(self, keep_symmetric=False, keep_products=True, keep_projections=True, hodge_numbers=False): r""" Return the sequence of NEF-partitions for this polytope. INPUT: - ``keep_symmetric`` - (default: False) if True, "-s" option will be passed to nef.x in order to keep symmetric partitions; - ``keep_...
fed9c78dbec4c51b85d18e30657ed2839f3e41b0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/fed9c78dbec4c51b85d18e30657ed2839f3e41b0/lattice_polytope.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1073, 74, 67, 21275, 12, 2890, 16, 3455, 67, 8117, 6899, 33, 8381, 16, 3455, 67, 18736, 33, 5510, 16, 3455, 67, 19183, 87, 33, 5510, 16, 366, 369, 908, 67, 13851, 33, 8381, 4672, 436...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1073, 74, 67, 21275, 12, 2890, 16, 3455, 67, 8117, 6899, 33, 8381, 16, 3455, 67, 18736, 33, 5510, 16, 3455, 67, 19183, 87, 33, 5510, 16, 366, 369, 908, 67, 13851, 33, 8381, 4672, 436...
es.server.queuecmd('es_xfire %d weapon_%s kill' % (userid, weapon))
es.server.queuecmd('es_xfire %d %s kill' % (userid, weapon))
def round_start(event_var): # Retrieve a random userid userid = es.getuserid() # ========================================================================= # Disable Buyzones # ========================================================================= es.server.queuecmd('es_xfire %d func_buyzone Disable' %userid) # ===...
70f8a07eafcd9f850c95d27be6a828b1850bf20c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4555/70f8a07eafcd9f850c95d27be6a828b1850bf20c/gungame51.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3643, 67, 1937, 12, 2575, 67, 1401, 4672, 468, 10708, 279, 2744, 6709, 6709, 273, 5001, 18, 588, 8339, 1435, 225, 468, 422, 16296, 12275, 468, 10639, 605, 9835, 14203, 468, 422, 16296, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3643, 67, 1937, 12, 2575, 67, 1401, 4672, 468, 10708, 279, 2744, 6709, 6709, 273, 5001, 18, 588, 8339, 1435, 225, 468, 422, 16296, 12275, 468, 10639, 605, 9835, 14203, 468, 422, 16296, 1...
""" I = ([f.homogenize(var) for f in self.gens()]) P = I[0].parent() return P.ideal(I)
sage: I = Ideal([x^2*y + z^3 + y^2*x, x + y^2 + 1]) sage: I.homogenize() Ideal (x^2*y + x*y^2 + z^3, y^2 + x*h + h^2) of Multivariate Polynomial Ring in x, y, z, h over Finite Field of size 2 """ I = [f.homogenize(var) for f in self.gens()] P = max(I, key=lambda x: x.parent().ngens()).parent() return P.ideal([P(f) fo...
def homogenize(self, var='h'): """ Return homogeneous ideal spanned by the homogeneous polynomials generated by homogenizing the generators of this ideal.
0e87e951c87ccdda6a4a8ddce8f33e4e833fa742 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0e87e951c87ccdda6a4a8ddce8f33e4e833fa742/multi_polynomial_ideal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13995, 19409, 554, 12, 2890, 16, 569, 2218, 76, 11, 4672, 3536, 2000, 13995, 30075, 1481, 23349, 1694, 10041, 635, 326, 13995, 30075, 1481, 16991, 87, 4374, 635, 13995, 19409, 6894, 326, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13995, 19409, 554, 12, 2890, 16, 569, 2218, 76, 11, 4672, 3536, 2000, 13995, 30075, 1481, 23349, 1694, 10041, 635, 326, 13995, 30075, 1481, 16991, 87, 4374, 635, 13995, 19409, 6894, 326, 1...
self.log.verbose('Submitting generic pilots for TaskQueue %s' % taskQueueDict['TaskQueueID'] ) ownerDN = self.genericPilotDN
self.log.verbose( 'Submitting generic pilots for TaskQueue %s' % taskQueueDict['TaskQueueID'] ) ownerDN = self.genericPilotDN
def _getPilotOptions( self, taskQueueDict, pilotsToSubmit ):
65482708e833fd2f044badf2f7e0684898d23e4b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/65482708e833fd2f044badf2f7e0684898d23e4b/PilotDirector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 52, 22797, 1320, 12, 365, 16, 1562, 3183, 5014, 16, 24970, 6968, 774, 11620, 262, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 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, 389, 588, 52, 22797, 1320, 12, 365, 16, 1562, 3183, 5014, 16, 24970, 6968, 774, 11620, 262, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
'''try to map an arbitrary arg to a color instance'''
'''try to map an arbitrary arg to a color instance >>> toColor('rgb(128,0,0)')==toColor('rgb(50%,0%,0%)') True >>> toColor('rgb(50%,0%,0%)')!=Color(0.5,0,0,1) True >>> toColor('hsl(0,100%,50%)')==toColor('rgb(255,0,0)') True >>> toColor('hsl(-120,100%,50%)')==toColor('rgb(0,0,255)') True >>> toColor('hsl(120,100%,50%)'...
def toColor(arg,default=None): '''try to map an arbitrary arg to a color instance''' if isinstance(arg,Color): return arg if isinstance(arg,(tuple,list)): assert 3<=len(arg)<=4, 'Can only convert 3 and 4 sequences to color' assert 0<=min(arg) and max(arg)<=1 return len(arg)==3 and Color(arg[0],arg[1],arg[2]) or CMYKCol...
87d919c0240e04a8f9ebdeb9379d3922ec29774c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3878/87d919c0240e04a8f9ebdeb9379d3922ec29774c/colors.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 2957, 12, 3175, 16, 1886, 33, 7036, 4672, 9163, 698, 358, 852, 392, 11078, 1501, 358, 279, 2036, 791, 4080, 358, 2957, 2668, 10948, 12, 10392, 16, 20, 16, 20, 2506, 13, 631, 869, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 2957, 12, 3175, 16, 1886, 33, 7036, 4672, 9163, 698, 358, 852, 392, 11078, 1501, 358, 279, 2036, 791, 4080, 358, 2957, 2668, 10948, 12, 10392, 16, 20, 16, 20, 2506, 13, 631, 869, ...
srpm_tasks = self.call('listTasks', {'opts':{'parent': task_id, 'method': 'buildSRPMFromSCM'}})
srpm_tasks = self.call('listTasks', { 'opts':{ 'parent': task_id, 'method': 'buildSRPMFromSCM', }})
def call_get_latest_changelog(self, resource_path, _cookies=None, build_id=None, task_id=None, state=None): build_id = int(build_id); task_id = int(task_id); state = int(state);
0114ae5de894350cf673a533fb04d5d766086186 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12732/0114ae5de894350cf673a533fb04d5d766086186/kojiconnector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 67, 588, 67, 13550, 67, 24083, 12970, 12, 2890, 16, 1058, 67, 803, 16, 389, 16240, 33, 7036, 16, 1361, 67, 350, 33, 7036, 16, 1562, 67, 350, 33, 7036, 16, 919, 33, 7036, 4672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 67, 588, 67, 13550, 67, 24083, 12970, 12, 2890, 16, 1058, 67, 803, 16, 389, 16240, 33, 7036, 16, 1361, 67, 350, 33, 7036, 16, 1562, 67, 350, 33, 7036, 16, 919, 33, 7036, 4672, ...
f = urlopen(url, req)
f = urlopen(url, req, TIMEOUT)
def _test_urls(self, urls, handlers, retry=True): import time import logging debug = logging.getLogger("test_urllib2").debug
5d69c7d950ff9f07fa2956903547d5ac257d4c2a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/5d69c7d950ff9f07fa2956903547d5ac257d4c2a/test_urllib2net.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 67, 10518, 12, 2890, 16, 6903, 16, 4919, 16, 3300, 33, 5510, 4672, 1930, 813, 1930, 2907, 1198, 273, 2907, 18, 588, 3328, 2932, 3813, 67, 718, 2941, 22, 20387, 4148, 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, 3813, 67, 10518, 12, 2890, 16, 6903, 16, 4919, 16, 3300, 33, 5510, 4672, 1930, 813, 1930, 2907, 1198, 273, 2907, 18, 588, 3328, 2932, 3813, 67, 718, 2941, 22, 20387, 4148, 2, -100...
self.add_latex_line(f.code,"SUBFIGURES") self.add_latex_line("\label{%s}"%f.label,"SUBFIGURES")
self.add_latex_line(f.subfigure_code(),"SUBFIGURES") self.add_latex_line("\label{%s}"%f.name,"SUBFIGURES")
def conclude(self): if not globals_vars.special_exit() : self.add_latex_line("\psset{xunit="+str(self.xunit)+",yunit="+str(self.yunit)+"}","BEFORE SUBFIGURES") for f in self.SSfigures : self.add_latex_line("\subfigure["+f.caption+"]{%","SUBFIGURES") self.add_latex_line(f.code,"SUBFIGURES") self.add_latex_line("\label{%...
0e5989507cfbbb4ca0ffeef018b67a364df9a1f8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5111/0e5989507cfbbb4ca0ffeef018b67a364df9a1f8/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 356, 1571, 12, 2890, 4672, 309, 486, 10941, 67, 4699, 18, 9371, 67, 8593, 1435, 294, 365, 18, 1289, 67, 26264, 67, 1369, 31458, 1121, 542, 95, 92, 4873, 1546, 15, 701, 12, 2890, 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, 356, 1571, 12, 2890, 4672, 309, 486, 10941, 67, 4699, 18, 9371, 67, 8593, 1435, 294, 365, 18, 1289, 67, 26264, 67, 1369, 31458, 1121, 542, 95, 92, 4873, 1546, 15, 701, 12, 2890, 18, ...
else:
else:
def xmlrpc_computersMenuSet(self, menus): """ Set computers imaging boot menu.
08f9f9f2b6e4ae7b43bccc3fa2701f37dad047f8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5988/08f9f9f2b6e4ae7b43bccc3fa2701f37dad047f8/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31811, 67, 13406, 414, 4599, 694, 12, 2890, 16, 21374, 4672, 3536, 1000, 5305, 414, 709, 5755, 4835, 3824, 18, 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, 31811, 67, 13406, 414, 4599, 694, 12, 2890, 16, 21374, 4672, 3536, 1000, 5305, 414, 709, 5755, 4835, 3824, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if ln==f90: ln = self.compiler_f90[0]
if ln == f90: ln = self.compiler_f90[0]
def get_linker_so(self): """Linker command to build shared libraries.""" f77 = self.executables.get('compiler_f77') if f77 is not None: f77 = f77[0] ln = self.executables.get('linker_so') if ln is not None: ln = ln[0] if ln==f77: ln = self.compiler_f77[0] else: f90 = self.executables.get('compiler_f90') if f90 is not N...
888d6eddcb686d7b4b502b34be35be9acec84f6b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14925/888d6eddcb686d7b4b502b34be35be9acec84f6b/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1232, 264, 67, 2048, 12, 2890, 4672, 3536, 2098, 264, 1296, 358, 1361, 5116, 14732, 12123, 284, 4700, 273, 365, 18, 4177, 322, 1538, 18, 588, 2668, 9576, 67, 74, 4700, 6134, 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, 336, 67, 1232, 264, 67, 2048, 12, 2890, 4672, 3536, 2098, 264, 1296, 358, 1361, 5116, 14732, 12123, 284, 4700, 273, 365, 18, 4177, 322, 1538, 18, 588, 2668, 9576, 67, 74, 4700, 6134, 3...
self.resources = []
def __init__(self, archive_filename): self.archive_filename = archive_filename
15b79dab64e9d35a840423eaa436a6e35feb7b63 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12927/15b79dab64e9d35a840423eaa436a6e35feb7b63/bb9_course.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5052, 67, 3459, 4672, 365, 18, 10686, 67, 3459, 273, 5052, 67, 3459, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5052, 67, 3459, 4672, 365, 18, 10686, 67, 3459, 273, 5052, 67, 3459, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
elements of `G`
elements of `G` which describes the morphism
sage: def phi_on_basis(i): return Y.monomial(abs(i))
5954041b2f4d0b7b778e95dc99d8036966e4f641 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/5954041b2f4d0b7b778e95dc99d8036966e4f641/modules_with_basis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 7706, 67, 265, 67, 23774, 12, 77, 4672, 327, 1624, 18, 2586, 11496, 12, 5113, 12, 77, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 7706, 67, 265, 67, 23774, 12, 77, 4672, 327, 1624, 18, 2586, 11496, 12, 5113, 12, 77, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
print "URL Error:",e.reason , downloadurl
print "URL Error:",e.reason , url
def download_file(filename,url): global options if options.dryrun : global download_list download_info = "download %s %s" % (filename, url) download_list.append(download_info) return True print 'Downloading ' + filename global headers req = urllib2.Request(url, None, headers) try: response = urllib2.urlopen(req) CHUN...
37aeedd1d8317cbb63146acc7676ba5b9c773177 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4206/37aeedd1d8317cbb63146acc7676ba5b9c773177/downloadkit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4224, 67, 768, 12, 3459, 16, 718, 4672, 2552, 702, 309, 702, 18, 25011, 2681, 294, 2552, 4224, 67, 1098, 4224, 67, 1376, 273, 315, 7813, 738, 87, 738, 87, 6, 738, 261, 3459, 16, 880,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4224, 67, 768, 12, 3459, 16, 718, 4672, 2552, 702, 309, 702, 18, 25011, 2681, 294, 2552, 4224, 67, 1098, 4224, 67, 1376, 273, 315, 7813, 738, 87, 738, 87, 6, 738, 261, 3459, 16, 880,...
namespace_constraint=Wildcard.IntensionalIntersection(agd_wildcards + [local_wildcard.namespaceConstraint()]), annotation=local_wildcard.annotation())
namespace_constraint=Wildcard.IntensionalIntersection(agd_constraints + [local_wildcard.namespaecConstraint()]), annotation=local_wildcard.annotation(), schema=wxs)
def CompleteWildcard (cls, attribute_groups, any_attribute, local_wildcard): # Non-absent wildcard properties of attribute groups agd_wildcards = [] for agd in attribute_groups: if agd.attributeWildcard() is not None: agd_wildcards.append(agd.attributeWildcard())
c7c8dd0f784b5326200a7d1de52860232e5ad012 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/c7c8dd0f784b5326200a7d1de52860232e5ad012/structures.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14575, 12121, 261, 6429, 16, 1566, 67, 4650, 16, 1281, 67, 4589, 16, 1191, 67, 22887, 4672, 468, 3858, 17, 5113, 319, 8531, 1790, 434, 1566, 3252, 1737, 72, 67, 22887, 87, 273, 5378, 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, 14575, 12121, 261, 6429, 16, 1566, 67, 4650, 16, 1281, 67, 4589, 16, 1191, 67, 22887, 4672, 468, 3858, 17, 5113, 319, 8531, 1790, 434, 1566, 3252, 1737, 72, 67, 22887, 87, 273, 5378, 3...
filenames = glob.glob(self.TMP_DIR + "/*/results.txt")
filenames = glob.glob(self.temp_dir + "/*/results.txt")
def Analyze(self, check_sanity=False): # Glob all the results files in the "testing.tmp" directory filenames = glob.glob(self.TMP_DIR + "/*/results.txt")
09a4f701e8a53003ff9f43042db088214ef61594 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/09a4f701e8a53003ff9f43042db088214ef61594/valgrind_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1922, 9508, 12, 2890, 16, 866, 67, 87, 10417, 33, 8381, 4672, 468, 18901, 777, 326, 1686, 1390, 316, 326, 315, 3813, 310, 18, 5645, 6, 1867, 9066, 273, 4715, 18, 10581, 12, 2890, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1922, 9508, 12, 2890, 16, 866, 67, 87, 10417, 33, 8381, 4672, 468, 18901, 777, 326, 1686, 1390, 316, 326, 315, 3813, 310, 18, 5645, 6, 1867, 9066, 273, 4715, 18, 10581, 12, 2890, 18, ...
code = CODE_WRAP % (lang, self._escape(m.group('code')))
func = FUNCTION_TAG % m.group('lang') code = CODE_WRAP % (func, lang, self._escape(m.group('code')))
def run(self, lines): """ Match and store Fenced Code Blocks in the HtmlStash. """ text = "\n".join(lines) while 1: m = FENCED_BLOCK_RE.search(text) if m: lang = '' if m.group('lang'): lang = LANG_TAG % m.group('lang') code = CODE_WRAP % (lang, self._escape(m.group('code'))) placeholder = self.markdown.htmlStash.store(...
efaabec1279bfee5da09fd5480e596c1ec4e0259 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14687/efaabec1279bfee5da09fd5480e596c1ec4e0259/fenced_code.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 2362, 4672, 3536, 4639, 471, 1707, 478, 802, 72, 3356, 22713, 316, 326, 5430, 510, 961, 18, 3536, 977, 273, 1548, 82, 9654, 5701, 12, 3548, 13, 1323, 404, 30, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 2362, 4672, 3536, 4639, 471, 1707, 478, 802, 72, 3356, 22713, 316, 326, 5430, 510, 961, 18, 3536, 977, 273, 1548, 82, 9654, 5701, 12, 3548, 13, 1323, 404, 30, 312, ...
"""Call a stored database procedure with the given name. The sequence of parameters must contain one entry for each argument that the procedure expects. The result of the call is returned as modified copy of the input sequence. Input parameters are left untouched, output and input/output parameters replaced with possi...
"Call a stored database procedure with the given name."
def callproc(self, procname, parameters=None): """Call a stored database procedure with the given name.
932ac550f3a72350d92bf3089014e79481193cb0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1254/932ac550f3a72350d92bf3089014e79481193cb0/dbapi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 9381, 12, 2890, 16, 5418, 529, 16, 1472, 33, 7036, 4672, 3536, 1477, 279, 4041, 2063, 12131, 598, 326, 864, 508, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 745, 9381, 12, 2890, 16, 5418, 529, 16, 1472, 33, 7036, 4672, 3536, 1477, 279, 4041, 2063, 12131, 598, 326, 864, 508, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sage: G = SymmetricGroup(16)
sage: G = SymmetricGroup(16)
def __contains__(self, item): """ Returns boolean value of "item in self" EXAMPLES:: sage: G = SymmetricGroup(16) sage: g = G.gen(0) sage: h = G.gen(1) sage: g^7*h*g*h in G True sage: G = SymmetricGroup(4) sage: g = G((1,2,3,4)) sage: h = G((1,2)) sage: H = PermutationGroup([[(1,2,3,4)], [(1,2),(3,4)]]) sage: g in H ...
895e1ae73086b953ed8633605c018ded03126ea2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/895e1ae73086b953ed8633605c018ded03126ea2/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12298, 972, 12, 2890, 16, 761, 4672, 3536, 2860, 1250, 460, 434, 315, 1726, 316, 365, 6, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 10042, 6899, 1114, 12, 2313, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12298, 972, 12, 2890, 16, 761, 4672, 3536, 2860, 1250, 460, 434, 315, 1726, 316, 365, 6, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 10042, 6899, 1114, 12, 2313, 1...
pass
continue
def finite(x): return not isinf(x) and not isnan(x)
4e3164d4ffaedfb4013075d390ae4495c72679f8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/4e3164d4ffaedfb4013075d390ae4495c72679f8/test_direct.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25922, 12, 92, 4672, 327, 486, 353, 10625, 12, 92, 13, 471, 486, 16796, 12, 92, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 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, 25922, 12, 92, 4672, 327, 486, 353, 10625, 12, 92, 13, 471, 486, 16796, 12, 92, 13, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
return "context.throw('return', '', output)"
return "context.throw('return', '', Reference(output.getvalue()))"
def return_(self): # [% RETURN %] return "context.throw('return', '', output)" # \$output in Perl
2f690578bd6ee4e422e65c5128f4e8c6d02f217b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1390/2f690578bd6ee4e422e65c5128f4e8c6d02f217b/directive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 327, 67, 12, 2890, 4672, 225, 468, 9799, 14780, 738, 65, 327, 315, 2472, 18, 12849, 2668, 2463, 2187, 10226, 6268, 12, 2844, 18, 588, 1132, 10756, 2225, 225, 468, 8015, 2844, 316, 5722, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 327, 67, 12, 2890, 4672, 225, 468, 9799, 14780, 738, 65, 327, 315, 2472, 18, 12849, 2668, 2463, 2187, 10226, 6268, 12, 2844, 18, 588, 1132, 10756, 2225, 225, 468, 8015, 2844, 316, 5722, ...
setsid = getattr(os, 'setsid', None) if not setsid: setsid = getattr(os, 'setpgrp', None)
def open(self, url, new=0, autoraise=1): cmdline = [self.name] + [arg.replace("%s", url) for arg in self.args] setsid = getattr(os, 'setsid', None) if not setsid: setsid = getattr(os, 'setpgrp', None) try: p = subprocess.Popen(cmdline, close_fds=True, preexec_fn=setsid) return (p.poll() is None) except OSError: return ...
384b608aeb32db1017935599fa5e0c61e4d02b07 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/384b608aeb32db1017935599fa5e0c61e4d02b07/webbrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 22877, 273, 306, 2890, 18, 529, 65, 397, 306, 3175, 18, 2079, 27188, 87, 3113, 880, 13, 364, 1501, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 22877, 273, 306, 2890, 18, 529, 65, 397, 306, 3175, 18, 2079, 27188, 87, 3113, 880, 13, 364, 1501, 316, ...
msg = self.reporter.info( 'Possible title underline, too short for the title.\n' "Treating it as ordinary text because it's so short.", line=lineno) self.parent += msg
if self.state_machine.match_titles: msg = self.reporter.info( 'Possible title underline, too short for the title.\n' "Treating it as ordinary text because it's so short.", line=lineno) self.parent += msg
def underline(self, match, context, next_state): """Section title.""" lineno = self.state_machine.abs_line_number() if not self.state_machine.match_titles: blocktext = context[0] + '\n' + self.state_machine.line msg = self.reporter.severe( 'Unexpected section title.', nodes.literal_block(blocktext, blocktext), line=lin...
6efeba3a10bf8b099509bb076c92bca3c03947f5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/6efeba3a10bf8b099509bb076c92bca3c03947f5/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25985, 12, 2890, 16, 845, 16, 819, 16, 1024, 67, 2019, 4672, 3536, 5285, 2077, 12123, 7586, 273, 365, 18, 2019, 67, 9149, 18, 5113, 67, 1369, 67, 2696, 1435, 309, 486, 365, 18, 2019, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25985, 12, 2890, 16, 845, 16, 819, 16, 1024, 67, 2019, 4672, 3536, 5285, 2077, 12123, 7586, 273, 365, 18, 2019, 67, 9149, 18, 5113, 67, 1369, 67, 2696, 1435, 309, 486, 365, 18, 2019, ...
for files in task['globalSandbox'].split(','):
for ifile in task['globalSandbox'].split(','):
def collectionApiJdl( self, task, requirements='' ): """ build a collection jdl easy to be handled by the wmproxy API interface and gives back the list of input files for a better handling """ # general part for task jdl = "[\n" jdl += 'Type = "collection";\n' jdl += 'AllowZippedISB = true;\n' jdl += 'ZippedISB = "%s"...
10841cca17b60c4a62273d634a02591928a21901 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8886/10841cca17b60c4a62273d634a02591928a21901/SchedulerGLiteAPI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1849, 3064, 46, 5761, 12, 365, 16, 1562, 16, 8433, 2218, 11, 262, 30, 3536, 1361, 279, 1849, 525, 5761, 12779, 358, 506, 7681, 635, 326, 18200, 5656, 1491, 1560, 471, 14758, 1473, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1849, 3064, 46, 5761, 12, 365, 16, 1562, 16, 8433, 2218, 11, 262, 30, 3536, 1361, 279, 1849, 525, 5761, 12779, 358, 506, 7681, 635, 326, 18200, 5656, 1491, 1560, 471, 14758, 1473, 326, ...
countDict['Total']=total return S_OK(countDict) def __addFilesToTransformation(self,transID,fileIDs,connection=False): req = "SELECT FileID from TransformationFiles WHERE TransformationID = %d AND FileID IN (%s);" % (transID,intListToString(fileIDs)) res = self._query(req,connection)
countDict['Total'] = total return S_OK( countDict ) def __addFilesToTransformation( self, transID, fileIDs, connection = False ): req = "SELECT FileID from TransformationFiles WHERE TransformationID = %d AND FileID IN (%s);" % ( transID, intListToString( fileIDs ) ) res = self._query( req, connection )
def getTransformationFilesCount(self,transName,field,selection={},connection=False): """ Get the number of files in the TransformationFiles table grouped by the supplied field """ res = self._getConnectionTransID(connection,transName) if not res['OK']: return res connection = res['Value']['Connection'] transID = res['V...
9ad007ea503b29694fc081c1646b7c5ecd07b1f2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9ad007ea503b29694fc081c1646b7c5ecd07b1f2/TransformationDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 15292, 2697, 1380, 12, 2890, 16, 2338, 461, 16, 1518, 16, 10705, 28793, 4071, 33, 8381, 4672, 3536, 968, 326, 1300, 434, 1390, 316, 326, 21274, 2697, 1014, 10303, 635, 326, 4580, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15292, 2697, 1380, 12, 2890, 16, 2338, 461, 16, 1518, 16, 10705, 28793, 4071, 33, 8381, 4672, 3536, 968, 326, 1300, 434, 1390, 316, 326, 21274, 2697, 1014, 10303, 635, 326, 4580, 65...
"rint", "trunc", "exp2", "log2", "hypot", "atan2", "pow"]
"rint", "trunc", "exp2", "log2", "hypot", "atan2", "pow", "copysign"]
def check_api_version(apiversion, codegen_dir): """Emits a MismacthCAPIWarning if the C API version needs updating.""" curapi_hash, api_hash = get_api_versions(apiversion, codegen_dir) # If different hash, it means that the api .txt files in # codegen_dir have been updated without the API version being # updated. Any ...
a7cfefdb02ea7ed0cff5671e367d1c6e2d428e74 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/a7cfefdb02ea7ed0cff5671e367d1c6e2d428e74/setup_common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 2425, 67, 1589, 12, 438, 427, 722, 16, 23198, 67, 1214, 4672, 3536, 1514, 1282, 279, 490, 6228, 621, 76, 39, 2557, 6210, 309, 326, 385, 1491, 1177, 4260, 9702, 12123, 662, 242...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 2425, 67, 1589, 12, 438, 427, 722, 16, 23198, 67, 1214, 4672, 3536, 1514, 1282, 279, 490, 6228, 621, 76, 39, 2557, 6210, 309, 326, 385, 1491, 1177, 4260, 9702, 12123, 662, 242...
stdin_isatty = sys.stdin.isatty() if stdin_isatty:
user_interaction = sys.stdin.isatty() and sys.stdout.isatty() if user_interaction:
def clush_main(args): """Main clush script function""" # Default values nodeset_base, nodeset_exclude = NodeSet(), NodeSet() # # Argument management # usage = "%prog [options] command" parser = optparse.OptionParser(usage, version="%%prog %s" % __version__) parser.disable_interspersed_args() # Node selections optgr...
8d4826c99ac3e77899532cb1f0d53c5830ae09c2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11479/8d4826c99ac3e77899532cb1f0d53c5830ae09c2/clush.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 927, 1218, 67, 5254, 12, 1968, 4672, 3536, 6376, 927, 1218, 2728, 445, 8395, 225, 468, 2989, 924, 2199, 278, 67, 1969, 16, 2199, 278, 67, 10157, 273, 2029, 694, 9334, 2029, 694, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 927, 1218, 67, 5254, 12, 1968, 4672, 3536, 6376, 927, 1218, 2728, 445, 8395, 225, 468, 2989, 924, 2199, 278, 67, 1969, 16, 2199, 278, 67, 10157, 273, 2029, 694, 9334, 2029, 694, 1435, ...
url=laUrl(url)
url = laUrl(url)
def getCachePath(self, cachePrefix, url, negative=False): if isinstance(url, str): url=laUrl(url) cacheDir = self.getCacheDir(cachePrefix, negative=negative) cachePath = os.sep.join((cacheDir, url.filePath(not negative))) return os.path.normpath(cachePath)
1e12dbf19c102412586abff4beb891b720849ba7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8747/1e12dbf19c102412586abff4beb891b720849ba7/lookaside.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8577, 743, 12, 2890, 16, 1247, 2244, 16, 880, 16, 6092, 33, 8381, 4672, 309, 1549, 12, 718, 16, 609, 4672, 880, 273, 7125, 1489, 12, 718, 13, 19946, 273, 365, 18, 588, 29582, 12, 249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8577, 743, 12, 2890, 16, 1247, 2244, 16, 880, 16, 6092, 33, 8381, 4672, 309, 1549, 12, 718, 16, 609, 4672, 880, 273, 7125, 1489, 12, 718, 13, 19946, 273, 365, 18, 588, 29582, 12, 249...
print (j)*yw,":", (i)*xw,":", (j+1)*yw,":", (i+1) * xw cr.rectangle((j)*xw, (i)*yw, xw, yw)
cr.rectangle((i)*xw, (j)*yw, xw, yw)
def draw(self, cr, width, height): # Fill the background with gray color = 0.5 xw = height/(self.sizex+1) print height, ", ", self.sizex yw = width/(self.sizey+1) print "Divider: ", xw, ", ", yw for i in range(0,self.sizey): for j in range(0,self.sizex): if(color==0.0): color=1.0 else: color=0.0 cr.set_source_rgb(color...
b16d79f1148a2603cc9a5a75e31e64280ffb6acc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12032/b16d79f1148a2603cc9a5a75e31e64280ffb6acc/tactile_sensor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 16, 4422, 16, 1835, 16, 2072, 4672, 468, 14192, 326, 5412, 598, 16937, 2036, 273, 374, 18, 25, 619, 91, 273, 2072, 19, 12, 2890, 18, 87, 452, 338, 15, 21, 13, 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, 3724, 12, 2890, 16, 4422, 16, 1835, 16, 2072, 4672, 468, 14192, 326, 5412, 598, 16937, 2036, 273, 374, 18, 25, 619, 91, 273, 2072, 19, 12, 2890, 18, 87, 452, 338, 15, 21, 13, 1172, ...
return self.set_filename(path)
return self.set_current_name(os.path.basename(path))
def set_name(self, path): """Set either filename or current name."""
779a018a76931b1d689504a3ba193db55c18f910 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12852/779a018a76931b1d689504a3ba193db55c18f910/save.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 529, 12, 2890, 16, 589, 4672, 3536, 694, 3344, 1544, 578, 783, 508, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 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, 67, 529, 12, 2890, 16, 589, 4672, 3536, 694, 3344, 1544, 578, 783, 508, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
t = self.terms.getTerm(value)
t = self.vocabulary.terms.getTerm(value)
def __init__(self, field, source, request): super(TranslatableSourceSelectWidget, self).__init__( field, source, request) self.displays = {} # value --> (display, token) self.order = [] # values in sorted order
8f96e3cc3eb936f56cdaeedf92169f9d4488a49b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9637/8f96e3cc3eb936f56cdaeedf92169f9d4488a49b/widget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 652, 16, 1084, 16, 590, 4672, 2240, 12, 24299, 1830, 3391, 4609, 16, 365, 2934, 972, 2738, 972, 12, 652, 16, 1084, 16, 590, 13, 365, 18, 5417, 87, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 652, 16, 1084, 16, 590, 4672, 2240, 12, 24299, 1830, 3391, 4609, 16, 365, 2934, 972, 2738, 972, 12, 652, 16, 1084, 16, 590, 13, 365, 18, 5417, 87, 273,...
@setting(11, 'Resistances', returns=['*(v[Ohm], t)'])
@setting(11, 'Resistances', returns='*(v[Ohm], t)')
def temperatures(self, c): """Read channel temperatures.
ca09465af7cd0d53cd2656a51c12b3b3003818f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7016/ca09465af7cd0d53cd2656a51c12b3b3003818f7/lakeshore370.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1022, 457, 2790, 12, 2890, 16, 276, 4672, 3536, 1994, 1904, 1022, 457, 2790, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 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, 1022, 457, 2790, 12, 2890, 16, 276, 4672, 3536, 1994, 1904, 1022, 457, 2790, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return ((enc.name == other.name) and (enc.vector == other.vector))
return ((self.name == other.name) and (self.vector == other.vector))
def isEqual(self, other): return ((enc.name == other.name) and (enc.vector == other.vector))
87bd4b5e0e2ed740fa9ce21945bf1d33ba07f10e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/87bd4b5e0e2ed740fa9ce21945bf1d33ba07f10e/pdfmetrics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21614, 12, 2890, 16, 1308, 4672, 327, 14015, 1331, 18, 529, 422, 1308, 18, 529, 13, 471, 261, 1331, 18, 7737, 422, 1308, 18, 7737, 3719, 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, 21614, 12, 2890, 16, 1308, 4672, 327, 14015, 1331, 18, 529, 422, 1308, 18, 529, 13, 471, 261, 1331, 18, 7737, 422, 1308, 18, 7737, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -1...
libraries = ["ginac"]), \
libraries = ["pynac"]), \
def is_newer(file1, file2): """ Return True if either file2 does not exist or is older than file1. If file1 does not exist, always return False. """ if not os.path.exists(file1): return False if not os.path.exists(file2): return True if os.path.getmtime(file2) < os.path.getmtime(file1): return True return False
7104a64d40580a78cf5c406703e35d8011c30a59 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/7104a64d40580a78cf5c406703e35d8011c30a59/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 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, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16,...
env['SH%sFLAGS' % dialect] = SCons.Util.CLVar('$%sFLAGS -fPIC' % dialect)
if env['PLATFORM'] == 'posix': env['SH%sFLAGS' % dialect] = SCons.Util.CLVar('$%sFLAGS -fPIC' % dialect)
def generate(env): """Add Builders and construction variables for ifort to an Environment.""" # ifort supports Fortran 90 and Fortran 95 # Additionally, ifort recognizes more file extensions. fscan = FortranScan("FORTRANPATH") SCons.Tool.SourceFileScanner.add_scanner('.i', fscan) SCons.Tool.SourceFileScanner.add_scanne...
7b3464b3a3c416d33d3b6f1dafaa076558c1c519 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12817/7b3464b3a3c416d33d3b6f1dafaa076558c1c519/ifort.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 12, 3074, 4672, 3536, 986, 3998, 414, 471, 16171, 3152, 364, 309, 499, 358, 392, 7518, 12123, 468, 309, 499, 6146, 2457, 13171, 8566, 471, 2457, 13171, 16848, 468, 26775, 16, 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, 2103, 12, 3074, 4672, 3536, 986, 3998, 414, 471, 16171, 3152, 364, 309, 499, 358, 392, 7518, 12123, 468, 309, 499, 6146, 2457, 13171, 8566, 471, 2457, 13171, 16848, 468, 26775, 16, 309, ...
def _recursive_sub(self, kwds): return self
def _recursive_sub(self, kwds): return self
2a839b3d50866729418f3c87713bc3adb8f65bac /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/2a839b3d50866729418f3c87713bc3adb8f65bac/constants.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10543, 67, 1717, 12, 2890, 16, 17149, 4672, 327, 365, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 389, 10543, 67, 1717, 12, 2890, 16, 17149, 4672, 327, 365, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
matcha= zeros_like(x.astype(int))
matcha= zeros_like(x)
def stiffline_match(x, xa): matcha= zeros_like(x.astype(int)) for ii,xx in enumerate(x): indx = argmin((xa-xx)**2) if xx < xa[indx]: indx -= 1 matcha[ii] = indx+(xx-xa[indx])/(xa[indx+1]-xa[indx]) return matcha
77584d5d988b57c9e19f1c5bb695f072f7aa3bbf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11440/77584d5d988b57c9e19f1c5bb695f072f7aa3bbf/crossvalidate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 384, 3048, 1369, 67, 1916, 12, 92, 16, 14139, 4672, 845, 69, 33, 4922, 67, 5625, 12, 92, 13, 364, 6072, 16, 5279, 316, 4241, 12, 92, 4672, 24732, 273, 27546, 12443, 6995, 17, 5279, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 384, 3048, 1369, 67, 1916, 12, 92, 16, 14139, 4672, 845, 69, 33, 4922, 67, 5625, 12, 92, 13, 364, 6072, 16, 5279, 316, 4241, 12, 92, 4672, 24732, 273, 27546, 12443, 6995, 17, 5279, 1...
def highlightSong(self, newindex): if newindex == self.songindex: return if self.songindex>0: item = self.GetItem(self.songindex) item.SetFont(self.default_font) self.SetItem(item) self.songindex = newindex if newindex > 0: item = self.GetItem(self.songindex) item.SetFont(self.bold_font) self.SetItem(item) self.Ensure...
def highlightSong(self, newindex): if newindex == self.songindex: return if self.songindex>0: item = self.GetItem(self.songindex) item.SetFont(self.default_font) self.SetItem(item) self.songindex = newindex if newindex > 0: item = self.GetItem(self.songindex) item.SetFont(self.bold_font) self.SetItem(item) self.Ensure...
dfc430bfbd215fb5641b5a8403f6a74ce6ee39f9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/dfc430bfbd215fb5641b5a8403f6a74ce6ee39f9/mpd_major_mode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8839, 55, 932, 12, 2890, 16, 394, 1615, 4672, 309, 394, 1615, 422, 365, 18, 816, 75, 1615, 30, 327, 225, 309, 365, 18, 816, 75, 1615, 34, 20, 30, 761, 273, 365, 18, 967, 1180, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8839, 55, 932, 12, 2890, 16, 394, 1615, 4672, 309, 394, 1615, 422, 365, 18, 816, 75, 1615, 30, 327, 225, 309, 365, 18, 816, 75, 1615, 34, 20, 30, 761, 273, 365, 18, 967, 1180, 12, ...
def _read_ref_voltage(self)
def _read_ref_voltage(self):
def _read_ref_voltage(self) return self._read_eeprom(16,19)
4d80acbbbe202127ce2871669554725dec6e29f6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13215/4d80acbbbe202127ce2871669554725dec6e29f6/pyoptical.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 1734, 67, 26340, 12, 2890, 4672, 327, 365, 6315, 896, 67, 2661, 520, 12, 2313, 16, 3657, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 1734, 67, 26340, 12, 2890, 4672, 327, 365, 6315, 896, 67, 2661, 520, 12, 2313, 16, 3657, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
LIBFFI_LDFLAGS=[ '-L%s/lib'%LIBFFI_BASE, '-lffi',
LIBFFI_LDFLAGS=[ '-L%s/lib'%LIBFFI_BASE, '-lffi',
def subprocess(taskName, cmd, validRes=None): print "Performing task: %s" % (taskName,) fd = os.popen(cmd, 'r') for ln in fd.xreadlines(): sys.stdout.write(ln) res = fd.close() if res is not validRes: sys.stderr.write("Task '%s' failed [%d]\n"%(taskName, res)) sys.exit(1)
c7327c87d5a2f44301555206c46d8ef6ed97cf84 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/97/c7327c87d5a2f44301555206c46d8ef6ed97cf84/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6652, 12, 4146, 461, 16, 1797, 16, 923, 607, 33, 7036, 4672, 1172, 315, 4990, 310, 1562, 30, 738, 87, 6, 738, 261, 4146, 461, 16, 13, 5194, 273, 1140, 18, 84, 3190, 12, 4172, 16, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6652, 12, 4146, 461, 16, 1797, 16, 923, 607, 33, 7036, 4672, 1172, 315, 4990, 310, 1562, 30, 738, 87, 6, 738, 261, 4146, 461, 16, 13, 5194, 273, 1140, 18, 84, 3190, 12, 4172, 16, 2...
assert sys.getrefcount(res) == 2 assert res == 1.0
assert_equal(sys.getrefcount(res),2) assert_equal(res,1.0)
def check_double(self,level=5): code = """ py::object val = 1.0; return_val = val; """ res = inline_tools.inline(code) assert sys.getrefcount(res) == 2 assert res == 1.0
267b08d9c3e7613c126729a179f4503c91625e9c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7416/267b08d9c3e7613c126729a179f4503c91625e9c/test_scxx_object.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 9056, 12, 2890, 16, 2815, 33, 25, 4672, 981, 273, 3536, 2395, 2866, 1612, 1244, 273, 404, 18, 20, 31, 327, 67, 1125, 273, 1244, 31, 3536, 400, 273, 6370, 67, 6642, 18, 10047...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 9056, 12, 2890, 16, 2815, 33, 25, 4672, 981, 273, 3536, 2395, 2866, 1612, 1244, 273, 404, 18, 20, 31, 327, 67, 1125, 273, 1244, 31, 3536, 400, 273, 6370, 67, 6642, 18, 10047...
def process_form(mlist, doc): form = cgi.FieldStorage()
def process_form(mlist, doc, cgidata, lang):
def process_form(mlist, doc): form = cgi.FieldStorage() error = 0 results = '' # Preliminaries done, actual processing of the form input below. if form.has_key("language"): language = form["language"].value else: language = mlist.preferred_language os.environ['LANG'] = language if form.has_key("UserOptions") or \ fo...
b121e4076f4c5d170d07eefd6361b44bbafc2f9f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/b121e4076f4c5d170d07eefd6361b44bbafc2f9f/subscribe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 781, 376, 16, 997, 16, 14947, 350, 396, 16, 3303, 4672, 555, 273, 374, 1686, 273, 875, 225, 468, 453, 2878, 381, 267, 5646, 2731, 16, 3214, 4929, 434, 326, 646, 81...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 781, 376, 16, 997, 16, 14947, 350, 396, 16, 3303, 4672, 555, 273, 374, 1686, 273, 875, 225, 468, 453, 2878, 381, 267, 5646, 2731, 16, 3214, 4929, 434, 326, 646, 81...
if username != "acl_users": if username in map(lambda x: x.getId(), self.getUsers()): REQUEST.set('username', username)
if userid != "acl_users": usr = self.getUserById(userid) if usr: REQUEST.set('username', userid)
def manage_workspace(self, REQUEST): """ manage_workspace(self, REQUEST) => Overrided to allow direct user or group traversal via the left tree view. """ path = string.split(REQUEST.PATH_INFO, '/')[:-1] username = path[-1]
582391e7eba55a45e438da01565e2bf05acad909 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/582391e7eba55a45e438da01565e2bf05acad909/GroupUserFolder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 14915, 12, 2890, 16, 12492, 4672, 3536, 10680, 67, 14915, 12, 2890, 16, 12492, 13, 516, 531, 1107, 13898, 358, 1699, 2657, 729, 578, 1041, 15940, 3970, 326, 2002, 2151, 1476, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 14915, 12, 2890, 16, 12492, 4672, 3536, 10680, 67, 14915, 12, 2890, 16, 12492, 13, 516, 531, 1107, 13898, 358, 1699, 2657, 729, 578, 1041, 15940, 3970, 326, 2002, 2151, 1476, ...
8209
8209
def padic_height_pairing_matrix(self, p, prec=20, height=None, check_hypotheses=True): r""" Computes the cyclotomic $p$-adic height pairing matrix of this curve with respect to the basis self.gens() for the Mordell-Weil group for a given odd prime p of good ordinary reduction.
14f1fc8cda9bf39915df8b02111ef05d810ed99a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/14f1fc8cda9bf39915df8b02111ef05d810ed99a/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4627, 335, 67, 4210, 67, 6017, 310, 67, 5667, 12, 2890, 16, 293, 16, 13382, 33, 3462, 16, 2072, 33, 7036, 16, 866, 67, 76, 879, 10370, 281, 281, 33, 5510, 4672, 436, 8395, 14169, 281...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4627, 335, 67, 4210, 67, 6017, 310, 67, 5667, 12, 2890, 16, 293, 16, 13382, 33, 3462, 16, 2072, 33, 7036, 16, 866, 67, 76, 879, 10370, 281, 281, 33, 5510, 4672, 436, 8395, 14169, 281...
pygame.mixer.init(22050, size, channels) try:
try: pygame.mixer.init(22050, size, channels) except pygame.error:
def check_sound(size, channels, test_data): pygame.mixer.init(22050, size, channels) try: # Not all sizes are supported on all systems. __, sz, __ = pygame.mixer.get_init() if sz == size: srcarr = array(test_data, self.array_dtypes[size]) snd = pygame.sndarray.make_sound(srcarr) arr = pygame.sndarray.samples(snd) self....
26f0f1ab97778715a15aeab725141d302356d888 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1298/26f0f1ab97778715a15aeab725141d302356d888/sndarray_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 29671, 12, 1467, 16, 5750, 16, 1842, 67, 892, 4672, 775, 30, 2395, 13957, 18, 14860, 264, 18, 2738, 12, 27246, 3361, 16, 963, 16, 5750, 13, 1335, 2395, 13957, 18, 1636, 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, 866, 67, 29671, 12, 1467, 16, 5750, 16, 1842, 67, 892, 4672, 775, 30, 2395, 13957, 18, 14860, 264, 18, 2738, 12, 27246, 3361, 16, 963, 16, 5750, 13, 1335, 2395, 13957, 18, 1636, 30, ...
io_events = poller.poll(timeout)
io_events = poller.poll(None)
def Run(self, handle_sigchld=True, handle_sigterm=True, stop_on_empty=False): """Runs the mainloop.
577c90a3dbe81bb3cca5c97f19e6877a8bbdc5c9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/577c90a3dbe81bb3cca5c97f19e6877a8bbdc5c9/daemon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 12, 2890, 16, 1640, 67, 7340, 343, 1236, 33, 5510, 16, 1640, 67, 7340, 6408, 33, 5510, 16, 2132, 67, 265, 67, 5531, 33, 8381, 4672, 3536, 9361, 326, 2774, 6498, 18, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1939, 12, 2890, 16, 1640, 67, 7340, 343, 1236, 33, 5510, 16, 1640, 67, 7340, 6408, 33, 5510, 16, 2132, 67, 265, 67, 5531, 33, 8381, 4672, 3536, 9361, 326, 2774, 6498, 18, 2, -100, -1...
elif data0 == 105:
elif data0 == MAGIC_LARGE_TUPLE:
def _UnpackOneTerm(data): dataLen = len(data) if len(data) == 0: return (None, data) data0 = ord(data[0]) if data0 == 97: # small_integer_ext if dataLen < 2: return (None, data) n = _ReadInt1(data[1]) return (ErlNumber(n), data[2:]) elif data0 == 98: # integer_ext if dataLen < 5: return...
f5a33431908f2d30884e237b626d15ed55b2f169 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7565/f5a33431908f2d30884e237b626d15ed55b2f169/erl_term.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 23649, 3335, 4065, 12, 892, 4672, 501, 2891, 273, 562, 12, 892, 13, 225, 309, 562, 12, 892, 13, 422, 374, 30, 327, 261, 7036, 16, 501, 13, 225, 501, 20, 273, 4642, 12, 892, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 23649, 3335, 4065, 12, 892, 4672, 501, 2891, 273, 562, 12, 892, 13, 225, 309, 562, 12, 892, 13, 422, 374, 30, 327, 261, 7036, 16, 501, 13, 225, 501, 20, 273, 4642, 12, 892, 63...
if item.isActive:
deleted = False for accountData in self.deletions: if accountData['item'] == item.itsUUID: deleted = True break if item.isActive and not deleted:
def __FetchFormData(self, panelType, panel, data): for field in PANELS[panelType]['fields'].keys(): fieldInfo = PANELS[panelType]['fields'][field] if fieldInfo['type'] == 'radioEnumeration' : # a radio button group is handled differently, since there # are multiple wx controls controlling a single attribute. for (butt...
73a6315c11defc5f92b5357f09de41c150264ed5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/73a6315c11defc5f92b5357f09de41c150264ed5/AccountPreferences.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 5005, 30079, 12, 2890, 16, 6594, 559, 16, 6594, 16, 501, 4672, 364, 652, 316, 453, 1258, 2247, 55, 63, 13916, 559, 23962, 2821, 29489, 2452, 13332, 225, 22518, 273, 453, 1258, 2247...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5005, 30079, 12, 2890, 16, 6594, 559, 16, 6594, 16, 501, 4672, 364, 652, 316, 453, 1258, 2247, 55, 63, 13916, 559, 23962, 2821, 29489, 2452, 13332, 225, 22518, 273, 453, 1258, 2247...
A shape is compatible when it has three dimensions (width, height,
A shape is compatible when it has three dimensions (width, height,
def spatialDimensions(cls): "number of spatial dimensions (useful for distinguishing RGBImage and ScalarVolume)" return 2
7142b8e8a5aa0e21c28f74980abb0be6e15b7601 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12582/7142b8e8a5aa0e21c28f74980abb0be6e15b7601/arraytypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15010, 10796, 12, 6429, 4672, 315, 2696, 434, 15010, 5769, 261, 1202, 2706, 364, 23926, 310, 11510, 2040, 471, 15791, 4545, 2225, 327, 576, 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, 0, 0, 0, 0, 0, 0, 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, 15010, 10796, 12, 6429, 4672, 315, 2696, 434, 15010, 5769, 261, 1202, 2706, 364, 23926, 310, 11510, 2040, 471, 15791, 4545, 2225, 327, 576, 2, -100, -100, -100, -100, -100, -100, -100, -10...
return h_value("%s:%s" % (k,s)) def make_urp_hash(username,realm,passwd):
return _h_value("%s:%s" % (k,s)) def _make_urp_hash(username,realm,passwd):
def kd_value(k,s): """KD function of the DIGEST-MD5 algorithm. :Parameters: - `k`: a string. - `s`: a string. :Types: - `k`: `str` - `s`: `str` :return: MD5 sum of the strings joined with ':'. :returntype: `str`""" return h_value("%s:%s" % (k,s))
1e1db4225095c220966b09e2e9bd16f3ebaf7760 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12769/1e1db4225095c220966b09e2e9bd16f3ebaf7760/digest_md5.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 417, 72, 67, 1132, 12, 79, 16, 87, 4672, 3536, 47, 40, 445, 434, 326, 24313, 11027, 17, 6188, 25, 4886, 18, 225, 294, 2402, 30, 300, 1375, 79, 68, 30, 279, 533, 18, 300, 1375, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 417, 72, 67, 1132, 12, 79, 16, 87, 4672, 3536, 47, 40, 445, 434, 326, 24313, 11027, 17, 6188, 25, 4886, 18, 225, 294, 2402, 30, 300, 1375, 79, 68, 30, 279, 533, 18, 300, 1375, 87, ...
['sage/gsl/interpolation.pyx'], libraries = ['gsl', BLAS, BLAS2], define_macros=[('GSL_DISABLE_DEPRECATED','1')])
['sage/gsl/interpolation.pyx'], libraries = ['gsl', BLAS, BLAS2], define_macros=[('GSL_DISABLE_DEPRECATED','1')])
def is_newer(file1, file2): """ Return True if either file2 does not exist or is older than file1. If file1 does not exist, always return False. """ if not os.path.exists(file1): return False if not os.path.exists(file2): return True if os.path.getmtime(file2) < os.path.getmtime(file1): return True return False
697d48ce28ff4d12606adf26a8fb095216c31678 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/697d48ce28ff4d12606adf26a8fb095216c31678/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 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, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16,...
return None
raise AssertionError("Unknown IncrementalSave node " + node)
def LoadFromString(string): doc = xml.parseString(string) node = doc.firstChild if node == "Action": return Action.LoadFromString(string) elif node == "NewEvent": return NewEvent.LoadFromString(string) elif node == "StartDownload": return StartDownload.LoadFromString(string) elif node == "CompleteDownload": return Comp...
68f561deef28b6cb0ef8d9cff44db074cd30b067 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10033/68f561deef28b6cb0ef8d9cff44db074cd30b067/IncrementalSave.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4444, 9193, 12, 1080, 4672, 997, 273, 2025, 18, 2670, 780, 12, 1080, 13, 756, 273, 997, 18, 3645, 1763, 309, 756, 422, 315, 1803, 6877, 327, 4382, 18, 2563, 9193, 12, 1080, 13, 1327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4444, 9193, 12, 1080, 4672, 997, 273, 2025, 18, 2670, 780, 12, 1080, 13, 756, 273, 997, 18, 3645, 1763, 309, 756, 422, 315, 1803, 6877, 327, 4382, 18, 2563, 9193, 12, 1080, 13, 1327, ...
str += '<dl>\n'
if (isinstance(vval, UID)): str += ('<code>%s</code> = %s\n' % (vname, self._uid_to_href(vval))) vval = vtyp = None
def _var_details(self, variables, container, heading='Variable Details'): """ @return: The HTML code for a variable details table. This is used by L{_module_to_html} to describe the variables in a module; and by L{_class_to_html} to describe instance variables and class variables. @rtype: C{string} """ variables = sel...
de8498c8efa790d4615edc664395ae04afd746a1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/de8498c8efa790d4615edc664395ae04afd746a1/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1401, 67, 6395, 12, 2890, 16, 3152, 16, 1478, 16, 11053, 2218, 3092, 21897, 11, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 2190, 3189, 1014, 18, 225, 1220, 353, 1399, 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, 389, 1401, 67, 6395, 12, 2890, 16, 3152, 16, 1478, 16, 11053, 2218, 3092, 21897, 11, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 2190, 3189, 1014, 18, 225, 1220, 353, 1399, 6...
return [string.join(myparts[:-1],"-"),myparts[-1],"0"]
return [string.join(myparts[:-1],"-"),myparts[-1],"r0"]
def pkgsplit(mypkg): global ERRPKG ERRPKG="" myparts=string.split(mypkg,'-') if len(myparts)<2: ERRPKG="Not enough \"-\" characters." return None if revverify(myparts[-1]): if ververify(myparts[-2]): if len(myparts)==2: ERRPKG="Found rev and version, but no package name." return None else: for x in myparts[:-2]: if ver...
eab1f140c1ed9ad3b99140ae7390b416dd1f4a76 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2807/eab1f140c1ed9ad3b99140ae7390b416dd1f4a76/portage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16922, 1127, 12, 81, 879, 14931, 4672, 2552, 10359, 8784, 43, 10359, 8784, 43, 1546, 6, 312, 879, 485, 87, 33, 1080, 18, 4939, 12, 81, 879, 14931, 11189, 17, 6134, 309, 562, 12, 81, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16922, 1127, 12, 81, 879, 14931, 4672, 2552, 10359, 8784, 43, 10359, 8784, 43, 1546, 6, 312, 879, 485, 87, 33, 1080, 18, 4939, 12, 81, 879, 14931, 11189, 17, 6134, 309, 562, 12, 81, ...
m.set(world.id, terrain={'points' : points})
minx=0 miny=0 minz=0 maxx=0 maxy=0 maxz=0 for i in points.values(): x = i[0] y = i[1] z = i[2] if not minx or x < minx: minx = x if not miny or y < miny: miny = y if not minz or z < minz: minz = z if not maxx or x > maxx: maxx = x if not maxy or y > maxy: maxy = y if not maxz or z > maxz: maxz = z m.set(world.id, terr...
def modify_terrain(mapeditor):
ed82d02137efd633e3af5e6712f2a5cff4dca524 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12932/ed82d02137efd633e3af5e6712f2a5cff4dca524/define_world.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5612, 67, 387, 7596, 12, 1458, 9177, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5612, 67, 387, 7596, 12, 1458, 9177, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
elif 'AC_INIT([libtorrent-rasterbar]' in l and filename.endiswith('.in'):
elif 'AC_INIT([libtorrent-rasterbar]' in l and name.endswith('.in'):
def substitute_file(name): subst = '' f = open(name) for l in f: if '#define LIBTORRENT_VERSION_MAJOR' in l and filename.endiswith('.hpp'): l = '#define LIBTORRENT_VERSION_MAJOR %d\n' % version[0] elif '#define LIBTORRENT_VERSION_MINOR' in l and filename.endiswith('.hpp'): l = '#define LIBTORRENT_VERSION_MINOR %d\n' % ...
ade9727b186357c72ab7a1eff51f29f4426775f8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6320/ade9727b186357c72ab7a1eff51f29f4426775f8/set_version.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14811, 67, 768, 12, 529, 4672, 27750, 273, 875, 284, 273, 1696, 12, 529, 13, 364, 328, 316, 284, 30, 309, 2946, 11255, 23983, 56, 916, 7480, 67, 5757, 67, 26976, 916, 11, 316, 328, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14811, 67, 768, 12, 529, 4672, 27750, 273, 875, 284, 273, 1696, 12, 529, 13, 364, 328, 316, 284, 30, 309, 2946, 11255, 23983, 56, 916, 7480, 67, 5757, 67, 26976, 916, 11, 316, 328, 4...
'User' : 'unknown', 'UserGroup' : 'unknown', 'JobGroup' : 'unknown', 'JobType' : 'unknown', 'JobClass' : 'unknown', 'ProcessingType' : 'unknown',
'User' : self.owner, 'UserGroup' : self.userGroup, 'JobGroup' : self.jobGroup, 'JobType' : self.jobType, 'JobClass' : self.jobClass, 'ProcessingType' : self.processingType,
def sendWMSAccounting(self): """Send WMS accounting data. """ self.accountingReport.setEndTime() #CPUTime and ExecTime if 'CPU' in EXECUTION_RESULT: utime, stime, cutime, cstime, elapsed = EXECUTION_RESULT['CPU'] else: utime, stime, cutime, cstime, elapsed = os.times() cpuTime = utime + stime + cutime + cstime execTime...
b03e51b6437930714ea21108f8c3e6e5dd0ccb3f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/b03e51b6437930714ea21108f8c3e6e5dd0ccb3f/JobWrapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 59, 3537, 3032, 310, 12, 2890, 4672, 3536, 3826, 678, 3537, 2236, 310, 501, 18, 3536, 365, 18, 4631, 310, 4820, 18, 542, 25255, 1435, 468, 15222, 950, 471, 3889, 950, 309, 296, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 59, 3537, 3032, 310, 12, 2890, 4672, 3536, 3826, 678, 3537, 2236, 310, 501, 18, 3536, 365, 18, 4631, 310, 4820, 18, 542, 25255, 1435, 468, 15222, 950, 471, 3889, 950, 309, 296, 1...
self[atom.name] = cdata.short(data[16:18])
self[atom.name] = cdata.short_be(data[16:18])
def __parse_tempo(self, atom, data): self[atom.name] = cdata.short(data[16:18])
3efbb847d5bdc82baeaed8ffac1dcf6d65035531 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1845/3efbb847d5bdc82baeaed8ffac1dcf6d65035531/m4a.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2670, 67, 874, 1631, 12, 2890, 16, 3179, 16, 501, 4672, 365, 63, 7466, 18, 529, 65, 273, 20712, 18, 6620, 12, 892, 63, 2313, 30, 2643, 5717, 2, 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, 1001, 2670, 67, 874, 1631, 12, 2890, 16, 3179, 16, 501, 4672, 365, 63, 7466, 18, 529, 65, 273, 20712, 18, 6620, 12, 892, 63, 2313, 30, 2643, 5717, 2, -100, -100, -100, -100, -100, -1...
testDate = False
testDate = ""
def main(argv=None): exePath = executablePath configPath = configFilePath output = "" title = defaultTitle branch = "" testDate = False verbose = False buildid = "" if argv is None: argv = sys.argv try: try: opts, args = getopt.getopt(argv[1:], "hve:c:t:b:o:i:d", ["help", "verbose", "executablePath=", "configFilePath=...
063bd9031798da0e2a14de0d8709374c574f5f99 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13067/063bd9031798da0e2a14de0d8709374c574f5f99/PerfConfigurator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 33, 7036, 4672, 15073, 743, 273, 9070, 743, 16012, 273, 642, 5598, 876, 273, 1408, 2077, 273, 805, 4247, 3803, 273, 1408, 1842, 1626, 273, 1408, 3988, 273, 1083, 1361, 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, 2774, 12, 19485, 33, 7036, 4672, 15073, 743, 273, 9070, 743, 16012, 273, 642, 5598, 876, 273, 1408, 2077, 273, 805, 4247, 3803, 273, 1408, 1842, 1626, 273, 1408, 3988, 273, 1083, 1361, 3...
print '\t-d\tdirectory for CGIs, defaults to %s' % cgidir
print '\t-c\tdirectory for CGIs, defaults to %s' % cgidir
def usage(): print 'usage: zope-install [-n] [-p perms] [-u user] [-g group] [-d dir] [-c cgidir] instancename' print print '\t-n\tshow what would be done, but don\'t actually do it' print '\t-p\tmanager permissions, in the form' print '\t\tusername:plaintextpassword[:domain-restrinction]' print '\t\teg: "root:mypass" ...
d44c776a9d138bfe918edc514780e87e71ae8386 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1882/d44c776a9d138bfe918edc514780e87e71ae8386/zope-install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 296, 9167, 30, 998, 1306, 17, 5425, 23059, 82, 65, 23059, 84, 13793, 65, 23059, 89, 729, 65, 23059, 75, 1041, 65, 23059, 72, 1577, 65, 23059, 71, 14947, 350, 481, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 296, 9167, 30, 998, 1306, 17, 5425, 23059, 82, 65, 23059, 84, 13793, 65, 23059, 89, 729, 65, 23059, 75, 1041, 65, 23059, 72, 1577, 65, 23059, 71, 14947, 350, 481, 65...
if hasattr(posix, 'chown'): def test_chown(self): os.unlink(test_support.TESTFN) self.assertRaises(OSError, posix.chown, test_support.TESTFN, -1, -1) open(test_support.TESTFN, 'w').close() if os.getuid() == 0: try: ent = pwd.getpwnam('nfsnobody') posix.chown(test_support.TESTFN, ent.pw_uid, ent.pw_gid) except K...
def _test_all_chown_common(self, chown_func, first_param): """Common code for chown, fchown and lchown tests.""" if os.getuid() == 0: try: ent = pwd.getpwnam('nfsnobody') chown_func(first_param, ent.pw_uid, ent.pw_gid) except KeyError: pass else: self.assertRaises(OSError, chown_func, first_param, 0, 0) chown_f...
def test_stat(self): if hasattr(posix, 'stat'): self.assertTrue(posix.stat(test_support.TESTFN))
dd107936120d540cc6ce2e7fb150f69e0126b6f2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/dd107936120d540cc6ce2e7fb150f69e0126b6f2/test_posix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5642, 12, 2890, 4672, 309, 3859, 12, 24463, 16, 296, 5642, 11, 4672, 365, 18, 11231, 5510, 12, 24463, 18, 5642, 12, 3813, 67, 13261, 18, 16961, 19793, 3719, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5642, 12, 2890, 4672, 309, 3859, 12, 24463, 16, 296, 5642, 11, 4672, 365, 18, 11231, 5510, 12, 24463, 18, 5642, 12, 3813, 67, 13261, 18, 16961, 19793, 3719, 2, -100, -100, -1...
voicemailPeriodInSeconds = state_machine.to_seconds( **{defaults["voicemail"][1]: defaults["voicemail"][0],} )
if defaults["voicemail"][0] == state_machine.UpdateStateMachine.INFINITE_PERIOD: voicemailPeriodInSeconds = state_machine.UpdateStateMachine.INFINITE_PERIOD else: voicemailPeriodInSeconds = state_machine.to_seconds( **{defaults["voicemail"][1]: defaults["voicemail"][0],} )
def __init__(self, cookiePath = None, defaults = None): if defaults is None: defaults = self._DEFAULTS else: for key, (quant, unit) in defaults.iteritems(): if quant == 0: defaults[key] = self._DEFAULTS[key] elif quant < 0: defaults[key] = state_machine.INFINITE_PERIOD self._username = None self._password = None
6fd8c075d389b9f4e4be90ac3b3707611c9dccbe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13096/6fd8c075d389b9f4e4be90ac3b3707611c9dccbe/session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3878, 743, 273, 599, 16, 3467, 273, 599, 4672, 309, 3467, 353, 599, 30, 3467, 273, 365, 6315, 5280, 55, 469, 30, 364, 498, 16, 261, 17753, 16, 2836, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3878, 743, 273, 599, 16, 3467, 273, 599, 4672, 309, 3467, 353, 599, 30, 3467, 273, 365, 6315, 5280, 55, 469, 30, 364, 498, 16, 261, 17753, 16, 2836, 13...
@interactive def find_file_other_window(self): file = self._base_find_file()
@rawprefixed def find_file_other_window(self, prefix): file = self._base_find_file(prefix)
def find_file(self): file = self._base_find_file() if file is not None: lisp.find_file(file.real_path)
9cf664963c810017265be6070f855c2ebf9d1e00 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8283/9cf664963c810017265be6070f855c2ebf9d1e00/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 768, 12, 2890, 4672, 585, 273, 365, 6315, 1969, 67, 4720, 67, 768, 1435, 309, 585, 353, 486, 599, 30, 328, 23831, 18, 4720, 67, 768, 12, 768, 18, 7688, 67, 803, 13, 2, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 768, 12, 2890, 4672, 585, 273, 365, 6315, 1969, 67, 4720, 67, 768, 1435, 309, 585, 353, 486, 599, 30, 328, 23831, 18, 4720, 67, 768, 12, 768, 18, 7688, 67, 803, 13, 2, -1...
package_dir = {'': '..'},
package_dir = {'reportlab': '.'},
def run(): LIBS = [] setup( name="Reportlab", version="1.15.3", description="Reportlab PDF generation tools", author="The boys from SW19", author_email="info@reportlab.com", url="http://www.reportlab.com/", package_dir = {'': '..'}, packages=[ # include anything with an __init__ 'reportlab', 'reportlab.docs', 'report...
3d98c85095bfb26ef062b09b88057d05b3f35850 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/3d98c85095bfb26ef062b09b88057d05b3f35850/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 13332, 8961, 12692, 273, 5378, 3875, 12, 508, 1546, 4820, 7411, 3113, 1177, 1546, 21, 18, 3600, 18, 23, 3113, 2477, 1546, 4820, 7411, 12667, 9377, 8513, 3113, 2869, 1546, 1986, 800, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13332, 8961, 12692, 273, 5378, 3875, 12, 508, 1546, 4820, 7411, 3113, 1177, 1546, 21, 18, 3600, 18, 23, 3113, 2477, 1546, 4820, 7411, 12667, 9377, 8513, 3113, 2869, 1546, 1986, 800, ...
self.tb_button=gtk.ToolButton() self.tb_button.set_label("Start") self.tb_button.set_icon_name('hamster-applet') self.tb_button.set_tooltip_text("Start a new activity in Hamster Time Tracker based on the selected task") self.tb_button.connect('clicked', self.browser_cb, plugin_api)
self.button=gtk.ToolButton() self.button.set_label("Start") self.button.set_icon_name('hamster-applet') self.button.set_tooltip_text("Start a new activity in Hamster Time Tracker based on the selected task") self.button.connect('clicked', self.browser_cb, plugin_api)
def activate(self, plugin_api): self.menu_item = gtk.MenuItem("Start task in Hamster") self.menu_item.connect('activate', self.browser_cb, plugin_api) self.tb_button=gtk.ToolButton() self.tb_button.set_label("Start") self.tb_button.set_icon_name('hamster-applet') self.tb_button.set_tooltip_text("Start a new activity i...
7172602e6dde54005cdbf7139d595e8248bd20d0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/7172602e6dde54005cdbf7139d595e8248bd20d0/hamster.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10235, 12, 2890, 16, 1909, 67, 2425, 4672, 365, 18, 5414, 67, 1726, 273, 22718, 18, 12958, 2932, 1685, 1562, 316, 670, 301, 8190, 7923, 365, 18, 5414, 67, 1726, 18, 3612, 2668, 10014, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10235, 12, 2890, 16, 1909, 67, 2425, 4672, 365, 18, 5414, 67, 1726, 273, 22718, 18, 12958, 2932, 1685, 1562, 316, 670, 301, 8190, 7923, 365, 18, 5414, 67, 1726, 18, 3612, 2668, 10014, ...
print "parent_path: ", parent_path print "file_name: ", file_name print "true_mwk_file; ", true_mwk_file
def unindex(self): if(os.path.isdir(self.file)): split_file_name = os.path.split(self.file) file_name = split_file_name[-1:][0] parent_path = os.pathsep.join(split_file_name[0:-1]) true_mwk_file = os.path.join(self.file,file_name) print "parent_path: ", parent_path print "file_name: ", file_name print "true_mwk_file;...
1614807a7909f2be0994cf300cab897c4e4f8b85 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12313/1614807a7909f2be0994cf300cab897c4e4f8b85/data.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 1615, 12, 2890, 4672, 309, 12, 538, 18, 803, 18, 291, 1214, 12, 2890, 18, 768, 3719, 30, 1416, 67, 768, 67, 529, 273, 1140, 18, 803, 18, 4939, 12, 2890, 18, 768, 13, 585, 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, 640, 1615, 12, 2890, 4672, 309, 12, 538, 18, 803, 18, 291, 1214, 12, 2890, 18, 768, 3719, 30, 1416, 67, 768, 67, 529, 273, 1140, 18, 803, 18, 4939, 12, 2890, 18, 768, 13, 585, 67, ...
if not settings_dict:
if not settings_dict.get('NAME',''):
def _get_pool (self): """ Get the connection pool or create it if it doesnt exist Add thread lock to prevent server initial heavy load creating multiple pools """ if not hasattr (self.__class__, '_pool'): lock = thread.allocate_lock() lock.acquire() if not hasattr (self.__class__, '_pool'): if DATABASE_EXTRAS['threaded...
300c020d4e43b63e85ada4e85fd62f0d9766f633 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7222/300c020d4e43b63e85ada4e85fd62f0d9766f633/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 6011, 261, 2890, 4672, 3536, 968, 326, 1459, 2845, 578, 752, 518, 309, 518, 31272, 1005, 1436, 2650, 2176, 358, 5309, 1438, 2172, 3904, 23935, 1262, 4979, 3229, 16000, 3536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 6011, 261, 2890, 4672, 3536, 968, 326, 1459, 2845, 578, 752, 518, 309, 518, 31272, 1005, 1436, 2650, 2176, 358, 5309, 1438, 2172, 3904, 23935, 1262, 4979, 3229, 16000, 3536, ...
self.locks = {}
self.locks = locks
def __init__(self,backend,parameters,refresh_cllbck) : self.backend = backend self.dic = parameters self.tasks = {} self.time = time.time() self.refresh = refresh_cllbck self.locks = {} self.tosleep = 0
fb7f0d508074137043da484113a61a40849d87c0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/fb7f0d508074137043da484113a61a40849d87c0/datastore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9993, 16, 3977, 16, 9144, 67, 830, 20404, 363, 13, 294, 365, 18, 9993, 273, 4221, 365, 18, 15859, 273, 1472, 365, 18, 9416, 273, 2618, 365, 18, 957, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9993, 16, 3977, 16, 9144, 67, 830, 20404, 363, 13, 294, 365, 18, 9993, 273, 4221, 365, 18, 15859, 273, 1472, 365, 18, 9416, 273, 2618, 365, 18, 957, 27...
self.prepset = True
def populate_fdom_optionmenu(self): menu = gtk.Menu() faildoms = self.model_builder.getFailoverDomains() if len(faildoms) == 0: m = gtk.MenuItem(NONE_PLACEHOLDER) m.show() menu.append(m) else: m = gtk.MenuItem(NONE_PLACEHOLDER) m.show() menu.append(m) for fdom in faildoms: m = gtk.MenuItem(fdom.getName()) m.show() menu...
f188c0129f00d6eb47c578b6a5b48472ca2539fd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3879/f188c0129f00d6eb47c578b6a5b48472ca2539fd/ServiceController.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6490, 67, 8313, 362, 67, 3482, 5414, 12, 2890, 4672, 3824, 273, 22718, 18, 4599, 1435, 11087, 545, 25390, 273, 365, 18, 2284, 67, 9574, 18, 588, 26329, 15531, 1435, 309, 562, 12, 507, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6490, 67, 8313, 362, 67, 3482, 5414, 12, 2890, 4672, 3824, 273, 22718, 18, 4599, 1435, 11087, 545, 25390, 273, 365, 18, 2284, 67, 9574, 18, 588, 26329, 15531, 1435, 309, 562, 12, 507, ...
wikipedia.output(u"Unexpected error occurred trying to save [[%s]]: %s" % (redir.title(), error))
wikipedia.output( u"Unexpected error occurred trying to save [[%s]]: %s" % (redir.title(), error))
def fix_1_double_redirect(self, redir_name): redir = wikipedia.Page(self.site, redir_name) # Show the title of the page we're working on. # Highlight the title in purple. wikipedia.output(u"\n\n>>> \03{lightpurple}%s\03{default} <<<" % redir.title()) newRedir = redir redirList = [] # bookkeeping to detect loops while...
c499f5c4d7eb66e6b361af0a88786c3f2ea91f11 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/c499f5c4d7eb66e6b361af0a88786c3f2ea91f11/redirect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 21, 67, 9056, 67, 7590, 12, 2890, 16, 225, 283, 1214, 67, 529, 4672, 283, 1214, 273, 21137, 18, 1964, 12, 2890, 18, 4256, 16, 283, 1214, 67, 529, 13, 468, 9674, 326, 2077, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 21, 67, 9056, 67, 7590, 12, 2890, 16, 225, 283, 1214, 67, 529, 4672, 283, 1214, 273, 21137, 18, 1964, 12, 2890, 18, 4256, 16, 283, 1214, 67, 529, 13, 468, 9674, 326, 2077, ...
subdirs = ['dom', 'gfx', 'widget', 'commandhandler']
def allIsDir(directory, subdirs): for subdir in subdirs: if not os.path.isdir(os.path.join(directory, subdir)): return False return True
06a01ae812b082d2afa4149584a57243cdf95272 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/06a01ae812b082d2afa4149584a57243cdf95272/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 777, 2520, 1621, 12, 5149, 16, 720, 8291, 4672, 364, 16921, 316, 720, 8291, 30, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 538, 18, 803, 18, 5701, 12, 5149, 16, 16921, 3719, 30, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 777, 2520, 1621, 12, 5149, 16, 720, 8291, 4672, 364, 16921, 316, 720, 8291, 30, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 538, 18, 803, 18, 5701, 12, 5149, 16, 16921, 3719, 30, 327...
settings = OptionParser([LaTeXWriter()]).get_default_values() document.settings = settings
if self.settings is None: settings = OptionParser([LaTeXWriter()]).get_default_values() self.__class__.settings = settings document.settings = self.settings
def __init__(self, document, docstring_linker): # Set the document's settings. settings = OptionParser([LaTeXWriter()]).get_default_values() document.settings = settings
3f16b7248f049c04190bbdc6bfca917c0b9caa2e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/3f16b7248f049c04190bbdc6bfca917c0b9caa2e/restructuredtext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1668, 16, 14525, 67, 1232, 264, 4672, 468, 1000, 326, 1668, 1807, 1947, 18, 1947, 273, 18862, 3816, 30745, 21575, 60, 2289, 1435, 65, 2934, 588, 67, 1886, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1668, 16, 14525, 67, 1232, 264, 4672, 468, 1000, 326, 1668, 1807, 1947, 18, 1947, 273, 18862, 3816, 30745, 21575, 60, 2289, 1435, 65, 2934, 588, 67, 1886, ...
sympy.pretty_print(t_res.other)
def K_nR1(G, N): ext_strech_var_str=None if N==0: diffs=[None,] extra_diff_multiplier = 1 elif N==2: extra_diff_multiplier = 0.5 ext_moment_atoms_str = FindExtMomentAtoms(G) if len(ext_moment_atoms_str)==1: ext_strech_var_str = "%s_strech_var"%ext_moment_atoms_str[0] ext_moment_path = [(i[0],i[1],ext_strech_var_str) f...
c194c60177d4d47593f64602a0d01be93ecd2b9f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4941/c194c60177d4d47593f64602a0d01be93ecd2b9f/phi3R.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1475, 67, 82, 54, 21, 12, 43, 16, 423, 4672, 225, 1110, 67, 334, 266, 343, 67, 1401, 67, 701, 33, 7036, 309, 423, 631, 20, 30, 15250, 22850, 7036, 16, 65, 2870, 67, 5413, 67, 20538...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1475, 67, 82, 54, 21, 12, 43, 16, 423, 4672, 225, 1110, 67, 334, 266, 343, 67, 1401, 67, 701, 33, 7036, 309, 423, 631, 20, 30, 15250, 22850, 7036, 16, 65, 2870, 67, 5413, 67, 20538...
Keywords are width, height, startx and starty
Keywords are width, height, startx and starty:
def setup(**geometry): """ Sets the size and position of the main window. Keywords are width, height, startx and starty width: either a size in pixels or a fraction of the screen. Default is 50% of screen. height: either the height in pixels or a fraction of the screen. Default is 75% of screen. Setting either width...
2f78f5f24bbebaa221e0245d191d08fd2cb01422 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2f78f5f24bbebaa221e0245d191d08fd2cb01422/turtle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 636, 14330, 4672, 3536, 11511, 326, 963, 471, 1754, 434, 326, 2774, 2742, 18, 225, 1929, 3753, 854, 1835, 16, 2072, 16, 787, 92, 471, 787, 93, 30, 225, 1835, 30, 3344, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 636, 14330, 4672, 3536, 11511, 326, 963, 471, 1754, 434, 326, 2774, 2742, 18, 225, 1929, 3753, 854, 1835, 16, 2072, 16, 787, 92, 471, 787, 93, 30, 225, 1835, 30, 3344, 279, ...
reference_index=None, group_sequences=True) :
reference_index=None) :
def __init__ (self, pdb_sequences, pdb_names, pdb_offsets, reference_sequence=None, reference_sequence_name="sequence", reference_sequence_offset=0, reference_index=None, group_sequences=True) : adopt_init_args(self, locals()) n_models = len(pdb_sequences) assert ((n_models >= 1) and (n_models==len(pdb_names)==len(pdb_...
3eb3f6089b79fe2dd71e2e745cfad8867b0a321a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/3eb3f6089b79fe2dd71e2e745cfad8867b0a321a/msa.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 10892, 67, 17190, 16, 10892, 67, 1973, 16, 10892, 67, 16542, 16, 2114, 67, 6178, 33, 7036, 16, 2114, 67, 6178, 67, 529, 1546, 6178, 3113, 2114, 67, 6178...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 261, 2890, 16, 10892, 67, 17190, 16, 10892, 67, 1973, 16, 10892, 67, 16542, 16, 2114, 67, 6178, 33, 7036, 16, 2114, 67, 6178, 67, 529, 1546, 6178, 3113, 2114, 67, 6178...
self.class_sizes = populate_type_cache(graphs, self.cpu)
self._class_sizes = populate_type_cache(graphs, self.cpu) if not cpu.translate_support_code: self.class_sizes = self._class_sizes
def __init__(self, portal_graph, graphs, cpu, stats, options): self.portal_graph = portal_graph self.cpu = cpu self.stats = stats self.options = options self.compiled_merge_points = r_dict(history.mp_eq, history.mp_hash) # { greenkey: list-of-MergePoints }
e316cfb1d41e8f3da09cf484e1bb541adc4f1db9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/e316cfb1d41e8f3da09cf484e1bb541adc4f1db9/pyjitpl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 11899, 67, 4660, 16, 19422, 16, 8326, 16, 3177, 16, 702, 4672, 365, 18, 24386, 67, 4660, 273, 11899, 67, 4660, 365, 18, 11447, 273, 8326, 365, 18, 5296, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11899, 67, 4660, 16, 19422, 16, 8326, 16, 3177, 16, 702, 4672, 365, 18, 24386, 67, 4660, 273, 11899, 67, 4660, 365, 18, 11447, 273, 8326, 365, 18, 5296, ...
self.add_to_search_index( id=log_line_id, text=u" ".join(line['text'] for line in chunk['lines']), speakers=speakers, )
def index(self): current_labels = {} current_transcript_page = None current_page = 1 current_page_lines = 0 last_act = None previous_log_line_id = None launch_time = int(self.redis_conn.get("launch_time:%s" % self.mission_name)) acts = list(Act.Query(self.redis_conn, self.mission_name)) for chunk in self.parser.get_chu...
ab76bdb1f1ef500b848ddbbac06fea8bb1421d80 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13780/ab76bdb1f1ef500b848ddbbac06fea8bb1421d80/indexer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 2890, 4672, 783, 67, 5336, 273, 2618, 783, 67, 27257, 67, 2433, 273, 599, 783, 67, 2433, 273, 404, 783, 67, 2433, 67, 3548, 273, 374, 1142, 67, 621, 273, 599, 2416, 67, 1330...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 2890, 4672, 783, 67, 5336, 273, 2618, 783, 67, 27257, 67, 2433, 273, 599, 783, 67, 2433, 273, 404, 783, 67, 2433, 67, 3548, 273, 374, 1142, 67, 621, 273, 599, 2416, 67, 1330...
EXAMPLES:
EXAMPLES::
def push_and_share(self, v): r""" Push a value onto the virtual machine's stack; also mark it as shared for sage_input if we are in pedantic mode.
3bed29c45c1270055cd235e22fd02f632971b39e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/3bed29c45c1270055cd235e22fd02f632971b39e/explain_pickle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1817, 67, 464, 67, 14419, 12, 2890, 16, 331, 4672, 436, 8395, 8547, 279, 460, 10170, 326, 5024, 5228, 1807, 2110, 31, 2546, 2267, 518, 487, 5116, 364, 272, 410, 67, 2630, 309, 732, 854...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1817, 67, 464, 67, 14419, 12, 2890, 16, 331, 4672, 436, 8395, 8547, 279, 460, 10170, 326, 5024, 5228, 1807, 2110, 31, 2546, 2267, 518, 487, 5116, 364, 272, 410, 67, 2630, 309, 732, 854...
ui.status('Sending ', m['Subject'], ' ...\n')
def getaddrs(opt, prpt, default = None): addrs = opts[opt] or (ui.config('patchbomb', opt) or prompt(prpt, default = default)).split(',') return [a.strip() for a in addrs if a.strip()]
4e5dd7bec08b6597cd1a532fe0b76f86ccee8fa5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/4e5dd7bec08b6597cd1a532fe0b76f86ccee8fa5/patchbomb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23305, 12, 3838, 16, 846, 337, 16, 805, 273, 599, 4672, 11755, 273, 1500, 63, 3838, 65, 578, 261, 4881, 18, 1425, 2668, 2272, 70, 16659, 2187, 2153, 13, 578, 6866, 12, 683, 337, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23305, 12, 3838, 16, 846, 337, 16, 805, 273, 599, 4672, 11755, 273, 1500, 63, 3838, 65, 578, 261, 4881, 18, 1425, 2668, 2272, 70, 16659, 2187, 2153, 13, 578, 6866, 12, 683, 337, ...
url = self.url(request, querystr, anchor=anchor)
url = self.url(request, querystr, anchor=anchor, relative=True)
def link_to_raw(self, request, text, querystr=None, anchor=None, **kw): """ core functionality of link_to, without the magic """ url = self.url(request, querystr, anchor=anchor) # escaping is done by link_tag -> formatter.url -> ._open() link = wikiutil.link_tag(request, url, text, formatter=getattr(self, 'formatter', ...
ed9d5eb5b1d1fd27c67830954f0269b70fef1e99 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/ed9d5eb5b1d1fd27c67830954f0269b70fef1e99/Page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 67, 869, 67, 1899, 12, 2890, 16, 590, 16, 977, 16, 843, 701, 33, 7036, 16, 6984, 33, 7036, 16, 2826, 9987, 4672, 3536, 2922, 14176, 434, 1692, 67, 869, 16, 2887, 326, 8146, 353...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 67, 869, 67, 1899, 12, 2890, 16, 590, 16, 977, 16, 843, 701, 33, 7036, 16, 6984, 33, 7036, 16, 2826, 9987, 4672, 3536, 2922, 14176, 434, 1692, 67, 869, 16, 2887, 326, 8146, 353...
return '<%s %s at %x>' % (self.__class__.__name__, ' '.join (status), id (self))
return '<%s at %
def __repr__ (self): try: status = [] if self.accepting and self.addr: status.append ('listening') elif self.connected: status.append ('connected') if self.addr: if type(self.addr) == types.TupleType: status.append ('%s:%d' % self.addr) else: status.append (self.addr) return '<%s %s at %x>' % (self.__class__.__name__, ...
106bdd3b805ddc8dc30145f4e460cb9eaf044707 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/106bdd3b805ddc8dc30145f4e460cb9eaf044707/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 261, 2890, 4672, 775, 30, 1267, 273, 5378, 309, 365, 18, 9436, 310, 471, 365, 18, 4793, 30, 1267, 18, 6923, 7707, 18085, 310, 6134, 1327, 365, 18, 8537, 30, 1267, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 261, 2890, 4672, 775, 30, 1267, 273, 5378, 309, 365, 18, 9436, 310, 471, 365, 18, 4793, 30, 1267, 18, 6923, 7707, 18085, 310, 6134, 1327, 365, 18, 8537, 30, 1267, 18,...
nodes.
vertices.
def interior_paths(self, start, end): """ Returns an exhaustive list of paths (also lists) through only interior nodes from vertex start to vertex end in the graph. Note -- start and end do not necessarily have to be boundary nodes. INPUT: start -- the vertex of the graph to search for paths from end -- the vertex of...
a520fa15cff86fbbd1335f8b6f9d36203c74d574 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/a520fa15cff86fbbd1335f8b6f9d36203c74d574/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26230, 67, 4481, 12, 2890, 16, 787, 16, 679, 4672, 3536, 2860, 392, 19575, 641, 688, 666, 434, 2953, 261, 31144, 6035, 13, 3059, 1338, 26230, 2199, 628, 5253, 787, 358, 5253, 679, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26230, 67, 4481, 12, 2890, 16, 787, 16, 679, 4672, 3536, 2860, 392, 19575, 641, 688, 666, 434, 2953, 261, 31144, 6035, 13, 3059, 1338, 26230, 2199, 628, 5253, 787, 358, 5253, 679, 316, ...
else:
elif i in __timers:
def step( sleep = True, external = True ): # IDEA: Add parameter to specify max timeamount to spend in mainloop """Do one step forward in the main loop. First all timers are checked for expiration and if necessary the accociated callback function is called. After that the timer list is searched for the next timer that ...
22d58de26dee9786170990accbe906ed03619d35 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11722/22d58de26dee9786170990accbe906ed03619d35/nf_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2235, 12, 5329, 273, 1053, 16, 3903, 273, 1053, 262, 30, 468, 1599, 41, 37, 30, 1436, 1569, 358, 4800, 943, 813, 8949, 358, 17571, 316, 2774, 6498, 3536, 3244, 1245, 2235, 5104, 316, 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, 2235, 12, 5329, 273, 1053, 16, 3903, 273, 1053, 262, 30, 468, 1599, 41, 37, 30, 1436, 1569, 358, 4800, 943, 813, 8949, 358, 17571, 316, 2774, 6498, 3536, 3244, 1245, 2235, 5104, 316, 3...
raise ParseError("Unterminated comment")
raise ParseError("Unterminated comment", self.filename, self.line)
def skip(self): input = self.source while (True): if len(input) > self.cursor: ch = input[self.cursor] else: return self.cursor += 1 if len(input) > self.cursor: next = input[self.cursor] else: next = None
2fa685f5ce194e94f1eacda95494c90f9115e401 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/2fa685f5ce194e94f1eacda95494c90f9115e401/Tokenizer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2488, 12, 2890, 4672, 810, 273, 365, 18, 3168, 225, 1323, 261, 5510, 4672, 309, 562, 12, 2630, 13, 405, 365, 18, 9216, 30, 462, 273, 810, 63, 2890, 18, 9216, 65, 469, 30, 327, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2488, 12, 2890, 4672, 810, 273, 365, 18, 3168, 225, 1323, 261, 5510, 4672, 309, 562, 12, 2630, 13, 405, 365, 18, 9216, 30, 462, 273, 810, 63, 2890, 18, 9216, 65, 469, 30, 327, 225, ...
TixSubWidget.__init__(self, master, name, destroy_physically)
TixSubWidget.__init__(self, master, name, destroy_physically)
def __init__(self, master, name, destroy_physically=1):
22710823fb554a796dc96c44885d7a9389426824 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/22710823fb554a796dc96c44885d7a9389426824/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 508, 16, 5546, 67, 844, 1900, 6478, 33, 21, 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, ...
[ 1, 1, 1, 1, 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, 2738, 972, 12, 2890, 16, 4171, 16, 508, 16, 5546, 67, 844, 1900, 6478, 33, 21, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sage: F4(0,0,0,1).branch(A2xA2, rule="extended")
sage: F4(0,0,0,1).branch(A2xA2, rule="extended")
def branch_weyl_character(chi, R, S, rule="default"): r""" A Branching rule describes the restriction of representations from a Lie group or algebra G to a smaller one. See for example, R. C. King, Branching rules for classical Lie groups using tensor and spinor methods. J. Phys. A 8 (1975), 429-449, Howe, Tan and Will...
6242c71e9458efbf328be967e795e57a7ca2740b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/6242c71e9458efbf328be967e795e57a7ca2740b/weyl_characters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3803, 67, 91, 402, 80, 67, 11560, 12, 24010, 16, 534, 16, 348, 16, 1720, 1546, 1886, 6, 4672, 436, 8395, 432, 15449, 310, 1720, 19605, 326, 9318, 434, 27851, 628, 279, 511, 1385, 1041,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3803, 67, 91, 402, 80, 67, 11560, 12, 24010, 16, 534, 16, 348, 16, 1720, 1546, 1886, 6, 4672, 436, 8395, 432, 15449, 310, 1720, 19605, 326, 9318, 434, 27851, 628, 279, 511, 1385, 1041,...
def __init__(self, sock):
def __init__(self, sock, debuglevel=0):
def __init__(self, sock): self.fp = sock.makefile('rb', 0)
30f867423a6cc1c0c2fea742e76aa8e288028894 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/30f867423a6cc1c0c2fea742e76aa8e288028894/httplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 16, 1198, 2815, 33, 20, 4672, 365, 18, 7944, 273, 7313, 18, 6540, 768, 2668, 6731, 2187, 374, 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, 0, 0, 0, 0, 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, 7313, 16, 1198, 2815, 33, 20, 4672, 365, 18, 7944, 273, 7313, 18, 6540, 768, 2668, 6731, 2187, 374, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100...
print >> env_file, "setenv GLUE_PREFIX " + self.prefix print >> env_file, "setenv PATH " + self.install_scripts + ":${PATH}"
print >> env_file, "setenv GLUE_PREFIX " + glue_prefix print >> env_file, "setenv PATH " + glue_install_scripts + ":${PATH}"
def run(self):
ae44075ce5df81f6404c737cc4720f6c045115d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/ae44075ce5df81f6404c737cc4720f6c045115d1/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if tbl.find('.') < 0: tbl = "public." + tbl if tbl not in cur_list: self.log.info('%s already removed' % tbl) else: self.log.info("Removing %s" % tbl) self.provider_remove_table(tbl)
tbls = self.get_provider_table_list(skytools.fq_name(tbl)) for tbl in tbls: if tbl not in cur_list: self.log.info('%s already removed' % tbl) else: self.log.info("Removing %s" % tbl) self.provider_remove_table(tbl)
def provider_remove_tables(self, table_list): self.check_provider_queue()
284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14597/284fa9a4cbf1e2c69ebf17bbe3a4fd6ace8a2e18/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2893, 67, 4479, 67, 9373, 12, 2890, 16, 1014, 67, 1098, 4672, 365, 18, 1893, 67, 6778, 67, 4000, 1435, 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, 2893, 67, 4479, 67, 9373, 12, 2890, 16, 1014, 67, 1098, 4672, 365, 18, 1893, 67, 6778, 67, 4000, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
dbl_click_call(t,t1,event)
dbl_click_call(t,t1,'OOO',event)
def dbl_click_ave(event): t=avetext.get('1.0',END) #Entire contents of text box t1=avetext.get('1.0',CURRENT) #Contents from start to cursor dbl_click_call(t,t1,event)
eb5a69e1b0ceab047b566c9698c9552defda2b37 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2394/eb5a69e1b0ceab047b566c9698c9552defda2b37/map65.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1319, 80, 67, 7475, 67, 836, 12, 2575, 4672, 268, 33, 842, 27830, 18, 588, 2668, 21, 18, 20, 2187, 4415, 13, 3639, 468, 14199, 577, 2939, 434, 977, 3919, 268, 21, 33, 842, 27830, 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, 1319, 80, 67, 7475, 67, 836, 12, 2575, 4672, 268, 33, 842, 27830, 18, 588, 2668, 21, 18, 20, 2187, 4415, 13, 3639, 468, 14199, 577, 2939, 434, 977, 3919, 268, 21, 33, 842, 27830, 18,...
from_addr = Configuration.FromAddress ):
from_addr = Configuration.FromAddress, **extended ):
def sendmail ( to_addrs, subj, msg, from_addr = Configuration.FromAddress ): """** <p>The general-purpose sendmail function, which is called by the STML &lt;:sendmail:&gt; tag, or directly by Python code.</p> <p><tt>to_addrs</tt> should be a list or tuple of email address strings. <tt>subj</tt> must be a string, althou...
5aaf09af19f1815efbe786252684a482132aa94b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5832/5aaf09af19f1815efbe786252684a482132aa94b/MailServices.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 261, 358, 67, 23305, 16, 15333, 16, 1234, 16, 628, 67, 4793, 273, 4659, 18, 1265, 1887, 16, 2826, 14948, 262, 30, 3536, 636, 411, 84, 34, 1986, 7470, 17, 22987, 1366, 4408,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 261, 358, 67, 23305, 16, 15333, 16, 1234, 16, 628, 67, 4793, 273, 4659, 18, 1265, 1887, 16, 2826, 14948, 262, 30, 3536, 636, 411, 84, 34, 1986, 7470, 17, 22987, 1366, 4408,...
print "recursive-exclude", dir, pattern num = exclude_pattern (self.files, pattern, prefix=dir) if num == 0: template.warn \ (("no previously-included files matching '%s' " + "found under directory '%s'") % (pattern, dir))
print "recursive-exclude", dir, string.join(pattern_list) for pattern in pattern_list: num = exclude_pattern (self.files, pattern, prefix=dir) if num == 0: template.warn \ (("no previously-included files matching '%s' " + "found under directory '%s'") % (pattern, dir))
def read_template (self): """Read and parse the manifest template file named by 'self.template' (usually "MANIFEST.in"). Process all file specifications (include and exclude) in the manifest template and add the resulting filenames to 'self.files'."""
21e295b8fbea21a3383b789b0f44d59a3c2c9d90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/21e295b8fbea21a3383b789b0f44d59a3c2c9d90/sdist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 3202, 261, 2890, 4672, 3536, 1994, 471, 1109, 326, 5643, 1542, 585, 4141, 635, 296, 2890, 18, 3202, 11, 261, 407, 3452, 315, 9560, 30050, 18, 267, 20387, 225, 4389, 777, 585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 3202, 261, 2890, 4672, 3536, 1994, 471, 1109, 326, 5643, 1542, 585, 4141, 635, 296, 2890, 18, 3202, 11, 261, 407, 3452, 315, 9560, 30050, 18, 267, 20387, 225, 4389, 777, 585, ...
print "boo"
def save_state(self): """ Save the current graphic's context state. This should always be paired with a restore_state """ self.gc.CGContextSaveGState() print "boo"
28b1d11f37a91b55f0ffaa6329a0314b18587c44 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13166/28b1d11f37a91b55f0ffaa6329a0314b18587c44/backend_mac.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 2019, 12, 2890, 4672, 3536, 7074, 326, 783, 19548, 1807, 819, 919, 18, 225, 1220, 1410, 3712, 506, 18066, 598, 279, 5217, 67, 2019, 3536, 365, 18, 13241, 18, 20585, 1042, 4755,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1923, 67, 2019, 12, 2890, 4672, 3536, 7074, 326, 783, 19548, 1807, 819, 919, 18, 225, 1220, 1410, 3712, 506, 18066, 598, 279, 5217, 67, 2019, 3536, 365, 18, 13241, 18, 20585, 1042, 4755,...
if (COMPILER=="LINUX") and (platform.architecture()[0]=="32bit"):
if (COMPILER=="LINUX") and (platform.architecture()[0]=="32bit" or sys.platform=="darwin"):
def CompileIgate(woutd,wsrc,opts): outbase = os.path.basename(woutd)[:-3] woutc = GetOutputDir()+"/tmp/"+outbase+"_igate.cxx" wobj = FindLocation(outbase + "_igate.obj", []) srcdir = GetValueOption(opts, "SRCDIR:") module = GetValueOption(opts, "IMOD:") library = GetValueOption(opts, "ILIB:") ipath = GetListOption(opts...
d0aa7ba749f2f45430d0f2ccf48beb02b7612d21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/d0aa7ba749f2f45430d0f2ccf48beb02b7612d21/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16143, 45, 10115, 12, 91, 659, 72, 16, 4749, 1310, 16, 4952, 4672, 596, 1969, 273, 1140, 18, 803, 18, 13909, 12, 91, 659, 72, 13, 10531, 17, 23, 65, 341, 659, 71, 273, 968, 1447, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16143, 45, 10115, 12, 91, 659, 72, 16, 4749, 1310, 16, 4952, 4672, 596, 1969, 273, 1140, 18, 803, 18, 13909, 12, 91, 659, 72, 13, 10531, 17, 23, 65, 341, 659, 71, 273, 968, 1447, 1...