rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
return d factory = ClientFactory(_login, (jdict), {}) factory.continueTrying = False self.connection = reactor.connectTCP(self.hostname, self.port, factory)
return d
def _login(self, *args, **kwargs): d = self.factory.login(self.creds, (pb.Referenceable(), hf)) d.addCallback(self._logged_in) d.addCallback(self._job_failed, args[0]) return d
c9375d5a2f6f15e62e3d47a256c35f844f980db3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/c9375d5a2f6f15e62e3d47a256c35f844f980db3/test_remote.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5819, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 302, 273, 365, 18, 6848, 18, 5819, 12, 2890, 18, 29260, 16, 261, 5733, 18, 2404, 429, 9334, 366, 74, 3719, 302, 18, 1289, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5819, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 302, 273, 365, 18, 6848, 18, 5819, 12, 2890, 18, 29260, 16, 261, 5733, 18, 2404, 429, 9334, 366, 74, 3719, 302, 18, 1289, 24...
MODS.roleTerm(roles[ctype],
MODS.roleTerm(role,
def __call__(self, element, metadata):
c5d3adfb0ea9a0a03368daae90e390c04ef11e96 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14691/c5d3adfb0ea9a0a03368daae90e390c04ef11e96/metadata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 930, 16, 1982, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 930, 16, 1982, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
assert_almost_equal(distortions, np.array([0., 0., 0., 0., 0.]))
assert_almost_equal(distortions, np.array([0., 0., 0., 0.,]))
def test_cvCalibrateCamera2_Identity(self): ys = xs = range(4)
d6f524830ff97f899c86c1120c3deaa96370c81b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12573/d6f524830ff97f899c86c1120c3deaa96370c81b/test_opencv_cv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 19774, 3005, 495, 5141, 16521, 22, 67, 4334, 12, 2890, 4672, 16036, 273, 9280, 273, 1048, 12, 24, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 19774, 3005, 495, 5141, 16521, 22, 67, 4334, 12, 2890, 4672, 16036, 273, 9280, 273, 1048, 12, 24, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
"""
r"""
def gen_legendre_P(n,m,x): """ Returns the generalized (or associated) Legendre function of the first kind for integers n > -1, m > -1. The awkward code for when m is odd and > 1 results from the fact that Maxima is happy with, for example, (1 - t^2)^3/2, but SAGE is not. For these cases the function is computed from...
b8a4917a802974f33a98ac70bd89a9898692404b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/b8a4917a802974f33a98ac70bd89a9898692404b/orthogonal_polys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 67, 16292, 266, 67, 52, 12, 82, 16, 81, 16, 92, 4672, 436, 8395, 2860, 326, 7470, 1235, 261, 280, 3627, 13, 17167, 409, 266, 445, 434, 326, 1122, 3846, 364, 12321, 290, 405, 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, 3157, 67, 16292, 266, 67, 52, 12, 82, 16, 81, 16, 92, 4672, 436, 8395, 2860, 326, 7470, 1235, 261, 280, 3627, 13, 17167, 409, 266, 445, 434, 326, 1122, 3846, 364, 12321, 290, 405, 30...
widget_object.SetValue(str(widget_content).rstrip())
if type(widget_content) <> unicode: widget_content = str(widget_content) widget_object.SetValue(widget_content.rstrip())
def populate(self, content_dict=None): ''' content_dict = {#column_name: #content} #column_name = Name of the database field #content = Content of the database field'''
49b4e2a509692e7ee5b1af580d65e2cfc7ac971e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3069/49b4e2a509692e7ee5b1af580d65e2cfc7ac971e/DataViews.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6490, 12, 2890, 16, 913, 67, 1576, 33, 7036, 4672, 9163, 913, 67, 1576, 273, 288, 7, 2827, 67, 529, 30, 468, 1745, 97, 468, 2827, 67, 529, 273, 1770, 434, 326, 2063, 652, 468, 1745, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6490, 12, 2890, 16, 913, 67, 1576, 33, 7036, 4672, 9163, 913, 67, 1576, 273, 288, 7, 2827, 67, 529, 30, 468, 1745, 97, 468, 2827, 67, 529, 273, 1770, 434, 326, 2063, 652, 468, 1745, ...
def diff(self, var='x', n=1): """ Return the n-th derivative of self. INPUT: var -- variable (default: 'x') n -- integer (default: 1) OUTPUT: n-th derivative of self with respect to the variable var EXAMPLES: sage: f = axiom('x^2') sage: f.diff() 2*x sage: f.diff('x') 2*x sage: f.diff('x', 2) 2 sage: axiom('sin(x^2)...
def __str__(self): return self.str() def type(self): P = self._check_valid() s = P._eval_line(self.name()) i = s.rfind('Type:') return AxiomType(s[i+5:].strip())
def diff(self, var='x', n=1): """ Return the n-th derivative of self.
6d26ee404de5ca55a472c0aa9236698863e1dee9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9417/6d26ee404de5ca55a472c0aa9236698863e1dee9/axiom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 12, 2890, 16, 569, 2218, 92, 2187, 290, 33, 21, 4672, 3536, 2000, 326, 290, 17, 451, 16417, 434, 365, 18, 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, 3122, 12, 2890, 16, 569, 2218, 92, 2187, 290, 33, 21, 4672, 3536, 2000, 326, 290, 17, 451, 16417, 434, 365, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
result = self._poller.poll(remaining_time)
result = self._poller.poll(1000 * remaining_time)
def __call__(self, timeout): """Wait for something to happen on the pipe.
413b747225f15fe8574d07ba696435d25767d603 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7542/413b747225f15fe8574d07ba696435d25767d603/locking.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 2021, 4672, 3536, 5480, 364, 5943, 358, 5865, 603, 326, 6010, 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, ...
[ 1, 1, 1, 1, 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, 1991, 972, 12, 2890, 16, 2021, 4672, 3536, 5480, 364, 5943, 358, 5865, 603, 326, 6010, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
testaddr = self.convertPAToBank(pa) print "(%02o,%04o) -> %06o -> %s" % (bank, address, pa, testaddr)
def convertBankToPA(self, banktype, bank, address=0): pa = self.banks[banktype][bank].startaddr + address #print "(%02o,%04o) -> %06o" % (bank, address, pa) testaddr = self.convertPAToBank(pa) print "(%02o,%04o) -> %06o -> %s" % (bank, address, pa, testaddr) return pa
136b6e89f0a20b9a457e69e75f36a5cd6f6e32a3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8152/136b6e89f0a20b9a457e69e75f36a5cd6f6e32a3/agcasm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 16040, 774, 4066, 12, 2890, 16, 11218, 723, 16, 11218, 16, 1758, 33, 20, 4672, 6790, 273, 365, 18, 10546, 87, 63, 10546, 723, 6362, 10546, 8009, 1937, 4793, 397, 1758, 468, 1188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 16040, 774, 4066, 12, 2890, 16, 11218, 723, 16, 11218, 16, 1758, 33, 20, 4672, 6790, 273, 365, 18, 10546, 87, 63, 10546, 723, 6362, 10546, 8009, 1937, 4793, 397, 1758, 468, 1188, ...
[[2, 3, 1], [3, 1, 2], [1, 3, 2], [2, 1, 3], [1, 2, 3]]
[[3, 2, 1], [3, 1, 2], [1, 3, 2], [2, 1, 3], [1, 2, 3]]
def iterator(self): """ EXAMPLES: sage: Permutations(3, avoiding=[2, 3, 1]).list() [[2, 3, 1], [3, 1, 2], [1, 3, 2], [2, 1, 3], [1, 2, 3]]
ec456b7c09266656e2ba59ef85981d1831d67350 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/ec456b7c09266656e2ba59ef85981d1831d67350/permutation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2775, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 13813, 22190, 12, 23, 16, 4543, 310, 22850, 22, 16, 890, 16, 404, 65, 2934, 1098, 1435, 12167, 22, 16, 890, 16, 404, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2775, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 13813, 22190, 12, 23, 16, 4543, 310, 22850, 22, 16, 890, 16, 404, 65, 2934, 1098, 1435, 12167, 22, 16, 890, 16, 404, ...
print '\t> %s' % data
_mesg('> %s' % data)
def _command(self, name, *args):
b10c0e30e74484a3863b7dcd5a9fd8e9e5849364 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b10c0e30e74484a3863b7dcd5a9fd8e9e5849364/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3076, 12, 2890, 16, 508, 16, 380, 1968, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3076, 12, 2890, 16, 508, 16, 380, 1968, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print search_text
def sql_search_notes( self, search_text ): """ Return a SQL string to perform a full-text search for notes whose contents contain the given search_text. This is a case-insensitive search.
9fccf7c81f89390bc86be8888dcc9cd61c698325 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6754/9fccf7c81f89390bc86be8888dcc9cd61c698325/Notebook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1847, 67, 3072, 67, 12903, 12, 365, 16, 1623, 67, 955, 262, 30, 3536, 2000, 279, 3063, 533, 358, 3073, 279, 1983, 17, 955, 1623, 364, 10913, 8272, 2939, 912, 326, 864, 1623, 67, 955, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1847, 67, 3072, 67, 12903, 12, 365, 16, 1623, 67, 955, 262, 30, 3536, 2000, 279, 3063, 533, 358, 3073, 279, 1983, 17, 955, 1623, 364, 10913, 8272, 2939, 912, 326, 864, 1623, 67, 955, ...
rcl reg, reg, imm
rcli reg, reg, imm
def macroop RCL_R_I
66911a1fab9900768db67610346585245a484ef4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6787/66911a1fab9900768db67610346585245a484ef4/rotate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 534, 5017, 67, 54, 67, 45, 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, 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, 11522, 556, 534, 5017, 67, 54, 67, 45, 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, ...
return None
raise Warning, "input to __patchFrameTypeDef__ included an \ ifo argument specified as None\n" return frametype
def __patchFrameTypeDef__(frametype=None,ifo=None,gpstime=None): """ Temporary patch function, to adjust specfied frame type used in searching the filesystem for files to display in followup. """ if frametype == None: return None if gpstime == None: return None if ifo == None: return None endOfS5=int(875232014) new=Non...
90b92f8357c22c5ae1a2f077fa4f8667b43d588a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/90b92f8357c22c5ae1a2f077fa4f8667b43d588a/makeCheckListWiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2272, 3219, 559, 3262, 972, 12, 74, 1940, 5872, 33, 7036, 16, 20299, 33, 7036, 16, 6403, 334, 494, 33, 7036, 4672, 3536, 22791, 4729, 445, 16, 358, 5765, 857, 74, 2092, 2623, 618...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2272, 3219, 559, 3262, 972, 12, 74, 1940, 5872, 33, 7036, 16, 20299, 33, 7036, 16, 6403, 334, 494, 33, 7036, 4672, 3536, 22791, 4729, 445, 16, 358, 5765, 857, 74, 2092, 2623, 618...
depmanifest = winmanifest.Manifest(type_="win32", name=specnm,
depmanifest = winmanifest.Manifest(type_="win32", name=specnm,
def assemble(self): print "running Analysis", os.path.basename(self.out) # Reset seen variable to correctly discover dependencies # if there are multiple Analysis in a single specfile. bindepend.seen = {}
737cd37325c513e329db7f0da8df584aa001c58e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11925/737cd37325c513e329db7f0da8df584aa001c58e/Build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19540, 12, 2890, 4672, 1172, 315, 8704, 16318, 3113, 1140, 18, 803, 18, 13909, 12, 2890, 18, 659, 13, 468, 7151, 5881, 2190, 358, 8783, 10372, 5030, 468, 309, 1915, 854, 3229, 16318, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19540, 12, 2890, 4672, 1172, 315, 8704, 16318, 3113, 1140, 18, 803, 18, 13909, 12, 2890, 18, 659, 13, 468, 7151, 5881, 2190, 358, 8783, 10372, 5030, 468, 309, 1915, 854, 3229, 16318, 316...
else: reply = "AbilityProfile: " + " ;; ".join(self.helps.values())
def handler(self, **args): import string from irclib import Event import priv
e3b2c9bcf16151b1b012f40db9eba0f713457d0c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10749/e3b2c9bcf16151b1b012f40db9eba0f713457d0c/AbilityProfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 12, 2890, 16, 2826, 1968, 4672, 1930, 533, 628, 9482, 830, 495, 1930, 2587, 1930, 6015, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 12, 2890, 16, 2826, 1968, 4672, 1930, 533, 628, 9482, 830, 495, 1930, 2587, 1930, 6015, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if action.find("-serial") > 0: serial_info = action[action.find("-serial")+len("-serial"):] if len(serial_info) > 0: serial_info = serial_info[1:] else: serial_info = "ttyS0:115200:n:8" serial_arg='-s "%s"' % serial_info else: serial_arg=""
def hexa2 (c): return chr((c>>4)+65) + chr ((c&16)+65)
c8a588799344db08a0317644ebb9ebfc6ebf9860 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7598/c8a588799344db08a0317644ebb9ebfc6ebf9860/GetBootMedium.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 69, 22, 261, 71, 4672, 327, 4513, 12443, 71, 9778, 24, 27921, 9222, 13, 397, 4513, 14015, 71, 10, 2313, 27921, 9222, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 69, 22, 261, 71, 4672, 327, 4513, 12443, 71, 9778, 24, 27921, 9222, 13, 397, 4513, 14015, 71, 10, 2313, 27921, 9222, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.work(wpath, 'd')
self.deleted(wpath)
def process_delete(self, wpath, evt): if self.ui.debugflag: self.ui.note(_('%s event: deleted %s\n') % (self.event_time(), wpath))
7baa05747f56449dfb2b6a8c05c70041e649f713 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/7baa05747f56449dfb2b6a8c05c70041e649f713/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3733, 12, 2890, 16, 341, 803, 16, 6324, 4672, 309, 365, 18, 4881, 18, 4148, 6420, 30, 365, 18, 4881, 18, 7652, 24899, 29909, 87, 871, 30, 4282, 738, 87, 64, 82, 6134, 738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3733, 12, 2890, 16, 341, 803, 16, 6324, 4672, 309, 365, 18, 4881, 18, 4148, 6420, 30, 365, 18, 4881, 18, 7652, 24899, 29909, 87, 871, 30, 4282, 738, 87, 64, 82, 6134, 738, ...
Since posix1e.ACL objects cannot be picked, and because they lack
Since posix1e.ACL objects cannot be pickled, and because they lack
def join_ea_iter(rorp_iter, ea_iter): """Update a rorp iter by adding the information from ea_iter""" for rorp, ea in rorpiter.CollateIterators(rorp_iter, ea_iter): assert rorp, "Missing rorp for index %s" % (ea.index,) if not ea: ea = ExtendedAttributes(rorp.index) rorp.set_ea(ea) yield rorp
9cb482eebe7993ec486a217db4a4319811408c61 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8033/9cb482eebe7993ec486a217db4a4319811408c61/eas_acls.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1233, 67, 24852, 67, 2165, 12, 86, 280, 84, 67, 2165, 16, 24164, 67, 2165, 4672, 3536, 1891, 279, 436, 280, 84, 1400, 635, 6534, 326, 1779, 628, 24164, 67, 2165, 8395, 364, 436, 280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1233, 67, 24852, 67, 2165, 12, 86, 280, 84, 67, 2165, 16, 24164, 67, 2165, 4672, 3536, 1891, 279, 436, 280, 84, 1400, 635, 6534, 326, 1779, 628, 24164, 67, 2165, 8395, 364, 436, 280, ...
self.make_class_happen(cls, user, reg_form, resource_formset, restype_formset)
self.make_class_happen(cls, user, reg_form, resource_formset, restype_formset, editing=True)
def editclass(self, user, reg_data, clsid, form_class=TeacherClassRegForm): reg_form, resource_formset, restype_formset = self.get_forms(reg_data, form_class=form_class)
23e39b58a5f665c2d04032d0ce10daf555bd797a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12041/23e39b58a5f665c2d04032d0ce10daf555bd797a/classreg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3874, 1106, 12, 2890, 16, 729, 16, 960, 67, 892, 16, 2028, 350, 16, 646, 67, 1106, 33, 56, 13798, 264, 797, 1617, 1204, 4672, 225, 960, 67, 687, 16, 1058, 67, 687, 542, 16, 3127, 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, 3874, 1106, 12, 2890, 16, 729, 16, 960, 67, 892, 16, 2028, 350, 16, 646, 67, 1106, 33, 56, 13798, 264, 797, 1617, 1204, 4672, 225, 960, 67, 687, 16, 1058, 67, 687, 542, 16, 3127, 3...
return "<img src=\"" + latexdir + "/" + imag_name + "\" >"
return "<img src=\"" + latexdir + "/" + imag_name + "\">"
def process_latex(latex_command): error_str = "<b>Problem with latex. Are latex and dvipng installed?</b>" basedir = os.path.join(os.path.expanduser("~"), ".mnemosyne") latexdir = os.path.join(basedir, "latex") imag_name = md5.new(latex_command).hexdigest() + ".png" imag_file = os.path.join(latexdir, imag_name) i...
bd19aa69ff819e53aae4d121638c2b7d1a55254f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1240/bd19aa69ff819e53aae4d121638c2b7d1a55254f/mnemosyne_core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 26264, 12, 26264, 67, 3076, 4672, 225, 555, 67, 701, 273, 3532, 70, 34, 13719, 598, 25079, 18, 12520, 25079, 471, 302, 522, 6446, 5876, 35, 1757, 70, 2984, 225, 15573, 282, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26264, 12, 26264, 67, 3076, 4672, 225, 555, 67, 701, 273, 3532, 70, 34, 13719, 598, 25079, 18, 12520, 25079, 471, 302, 522, 6446, 5876, 35, 1757, 70, 2984, 225, 15573, 282, 2...
block.synchronizeWidget(useHints=True)
if block is not None: block.synchronizeWidget(useHints=True)
def propagateAsynchronousNotifications(self):
57a8a3100864d507b7c3e8a3830dfcb3863d732c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/57a8a3100864d507b7c3e8a3830dfcb3863d732c/Application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13551, 1463, 7121, 14111, 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...
[ 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, 13551, 1463, 7121, 14111, 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, ...
def testMultithreadedProcedural( self ):
class RecursiveParameterisedProcedural( ParameterisedProcedural ): maxLevel = 5 threadsUsed = set() def __init__( self, level = 0 ): ParameterisedProcedural.__init__( self ) self.__level = level if level == 0 : self.threadsUsed.clear() def doRenderState( self, renderer, args ): pass def doBound( self, args ) : retu...
def testMultithreadedProcedural( self ):
9df719f2684265dd7b2e50fd469c8c0552225e22 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9042/9df719f2684265dd7b2e50fd469c8c0552225e22/Renderer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5049, 483, 20528, 626, 3263, 3766, 12, 365, 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, 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, 1842, 5049, 483, 20528, 626, 3263, 3766, 12, 365, 262, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.Bindings.default_keydefs=idleConf.GetCurrentKeySet()
self.Bindings.default_keydefs = keydefs = idleConf.GetCurrentKeySet()
def ApplyKeybindings(self): "Update the keybindings after they are changed" # Called from configDialog.py self.Bindings.default_keydefs=idleConf.GetCurrentKeySet() self.apply_bindings() for extensionName in self.get_standard_extension_names(): keydefs = idleConf.GetExtensionBindings(extensionName) if keydefs: self.appl...
e65ce4cbecc3f908527437923d4f0c2764be7cda /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/e65ce4cbecc3f908527437923d4f0c2764be7cda/EditorWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5534, 653, 15863, 12, 2890, 4672, 315, 1891, 326, 498, 15863, 1839, 2898, 854, 3550, 6, 468, 11782, 628, 642, 6353, 18, 2074, 365, 18, 10497, 18, 1886, 67, 856, 12537, 273, 498, 12537, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5534, 653, 15863, 12, 2890, 4672, 315, 1891, 326, 498, 15863, 1839, 2898, 854, 3550, 6, 468, 11782, 628, 642, 6353, 18, 2074, 365, 18, 10497, 18, 1886, 67, 856, 12537, 273, 498, 12537, ...
else: return self.send_404() elif name=='report_submit': if len(components)==1:
elif len(components)==1: if name=='quit': self.server.halt() return self.send_string('Goodbye.', 'text/plain') elif name=='report_submit':
def send_head(self, fields=None): if fields is None: fields = {} self.fields = fields
7dcc299a71844da0e4034ae99fca885eb91714fe /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11986/7dcc299a71844da0e4034ae99fca885eb91714fe/ScanView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 1978, 12, 2890, 16, 1466, 33, 7036, 4672, 309, 1466, 353, 599, 30, 1466, 273, 2618, 365, 18, 2821, 273, 1466, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 1366, 67, 1978, 12, 2890, 16, 1466, 33, 7036, 4672, 309, 1466, 353, 599, 30, 1466, 273, 2618, 365, 18, 2821, 273, 1466, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.hboxlayout41.addItem(spacerItem40) self.vboxlayout26.addLayout(self.hboxlayout41) self.hboxlayout43 = QtGui.QHBoxLayout() self.hboxlayout43.setMargin(0) self.hboxlayout43.setSpacing(6) self.hboxlayout43.setObjectName("hboxlayout43")
self.hboxlayout39.addItem(spacerItem40) self.vboxlayout25.addLayout(self.hboxlayout39) self.hboxlayout41 = QtGui.QHBoxLayout() self.hboxlayout41.setMargin(0) self.hboxlayout41.setSpacing(6) self.hboxlayout41.setObjectName("hboxlayout41")
def setupUi(self, UserPrefsDialog): UserPrefsDialog.setObjectName("UserPrefsDialog") UserPrefsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,917,661).size()).expandedTo(UserPrefsDialog.minimumSizeHint()))
752b48c67dcf97437d2cb83fa267b09487665da0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/752b48c67dcf97437d2cb83fa267b09487665da0/UserPrefsDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
padx=6,pady=3)
**extraKwds)
def CreateWidgets(self): self.tabPages = TabbedPageSet(self, page_names=['Fonts/Tabs','Highlighting','Keys','General']) frameActionButtons = Frame(self,pady=2) #action buttons self.buttonHelp = Button(frameActionButtons,text='Help', command=self.Help,takefocus=FALSE, padx=6,pady=3) self.buttonOk = Button(frameActionBut...
02c90b9b5e2b34d9b5ed8bec0226dc6163b92e15 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/02c90b9b5e2b34d9b5ed8bec0226dc6163b92e15/configDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 16166, 12, 2890, 4672, 365, 18, 7032, 5716, 273, 9483, 2992, 1964, 694, 12, 2890, 16, 1363, 67, 1973, 33, 3292, 5711, 87, 19, 17348, 17023, 16205, 310, 17023, 2396, 17023, 12580, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 16166, 12, 2890, 4672, 365, 18, 7032, 5716, 273, 9483, 2992, 1964, 694, 12, 2890, 16, 1363, 67, 1973, 33, 3292, 5711, 87, 19, 17348, 17023, 16205, 310, 17023, 2396, 17023, 12580, 1...
self.new_entry.category[0].term = gdata.docs.service.PRESENTATION_KIND_TERM self.new_entry.category[0].label = 'presentation' created_entry = self.doclist.Post(self.new_entry,
self.new_entry.category[0] = self.PRESENTATION_CATEGORY created_entry = self.client.Post(self.new_entry,
def testCreateAndDeleteEmptyPresentation(self): self.new_entry.title = gdata.atom.Title(text=self.TITLE) self.new_entry.category[0].term = gdata.docs.service.PRESENTATION_KIND_TERM self.new_entry.category[0].label = 'presentation' created_entry = self.doclist.Post(self.new_entry, '/feeds/documents/private/full') self.d...
76de6e666a2dc6ba3f703b89b870266619bcabd4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10620/76de6e666a2dc6ba3f703b89b870266619bcabd4/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1684, 1876, 2613, 1921, 6351, 367, 12, 2890, 4672, 365, 18, 2704, 67, 4099, 18, 2649, 273, 314, 892, 18, 7466, 18, 4247, 12, 955, 33, 2890, 18, 14123, 13, 365, 18, 2704, 67, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1684, 1876, 2613, 1921, 6351, 367, 12, 2890, 4672, 365, 18, 2704, 67, 4099, 18, 2649, 273, 314, 892, 18, 7466, 18, 4247, 12, 955, 33, 2890, 18, 14123, 13, 365, 18, 2704, 67, 40...
png2 = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "skin_default/icons/lock_error.png"))
png2 = LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/lock_error.png"))
def InterfaceEntryComponent(index,name,default,active ): res = [ (index), MultiContentEntryText(pos=(80, 5), size=(430, 25), font=0, text=name) ] num_configured_if = len(iNetwork.getConfiguredAdapters()) if num_configured_if >= 2: if default is True: png = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, "skin_default/butt...
f741c4cc282f2f99b86e6ec305604f27216087ba /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/f741c4cc282f2f99b86e6ec305604f27216087ba/NetworkSetup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6682, 1622, 1841, 12, 1615, 16, 529, 16, 1886, 16, 3535, 262, 30, 400, 273, 306, 261, 1615, 3631, 5991, 1350, 1622, 1528, 12, 917, 28657, 3672, 16, 1381, 3631, 963, 28657, 24, 5082, 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, 6682, 1622, 1841, 12, 1615, 16, 529, 16, 1886, 16, 3535, 262, 30, 400, 273, 306, 261, 1615, 3631, 5991, 1350, 1622, 1528, 12, 917, 28657, 3672, 16, 1381, 3631, 963, 28657, 24, 5082, 16...
if self._cmd(output, self._db.preferences.downloadDir,
if _cmd(output, self._db.preferences.downloadDir,
def downloadPackageOnly(self, output=None): """Download a single package, if needed. An MD5 signature is used to determine whether download is needed, and to test that we actually downloaded what we expected. If output is given it is a file-like object that will receive a log of what happens. If anything unforeseen h...
6fde1cef4aa2498f965f95c2d467f4b57face862 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/6fde1cef4aa2498f965f95c2d467f4b57face862/pimp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4224, 2261, 3386, 12, 2890, 16, 876, 33, 7036, 4672, 3536, 7109, 279, 2202, 2181, 16, 309, 3577, 18, 225, 1922, 10852, 25, 3372, 353, 1399, 358, 4199, 2856, 4224, 353, 3577, 16, 471, 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, 4224, 2261, 3386, 12, 2890, 16, 876, 33, 7036, 4672, 3536, 7109, 279, 2202, 2181, 16, 309, 3577, 18, 225, 1922, 10852, 25, 3372, 353, 1399, 358, 4199, 2856, 4224, 353, 3577, 16, 471, 3...
elif window[-1]=='G':
elif window.endswith('G'):
def lcc_mult(seq,wsize,start,end): """Return a list called lccsal, the LCC, a complexity measure
3d45bf521c4adc9e7c82272c7e26271842ba064f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7167/3d45bf521c4adc9e7c82272c7e26271842ba064f/lcc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 952, 67, 5421, 12, 5436, 16, 91, 1467, 16, 1937, 16, 409, 4672, 3536, 990, 279, 666, 2566, 328, 952, 21982, 16, 326, 511, 6743, 16, 279, 21610, 6649, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 328, 952, 67, 5421, 12, 5436, 16, 91, 1467, 16, 1937, 16, 409, 4672, 3536, 990, 279, 666, 2566, 328, 952, 21982, 16, 326, 511, 6743, 16, 279, 21610, 6649, 2, -100, -100, -100, -100, ...
result = self.setMetaParameter(dpath,metaName,metaValue,credDict)
result = self.setMetaParameter( dpath, metaName, metaValue, credDict )
def setMetadata(self,dpath,metadict,credDict): """ Set the value of a given metadata field for the the given directory path """ result = self.getMetadataFields(credDict) if not result['OK']: return result metaFields = result['Value'] result = self.dtree.findDir(dpath) if not result['OK']: return result dirID = result[...
127f98379e5064d0a5d5df2ba7ce74c780770faa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/127f98379e5064d0a5d5df2ba7ce74c780770faa/DirectoryMetadata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2277, 12, 2890, 16, 72, 803, 16, 81, 1167, 933, 16, 20610, 5014, 4672, 3536, 1000, 326, 460, 434, 279, 864, 1982, 652, 364, 326, 326, 864, 1867, 589, 3536, 563, 273, 365, 18, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2277, 12, 2890, 16, 72, 803, 16, 81, 1167, 933, 16, 20610, 5014, 4672, 3536, 1000, 326, 460, 434, 279, 864, 1982, 652, 364, 326, 326, 864, 1867, 589, 3536, 563, 273, 365, 18, 58...
cmds = [] (num_index1, num_index2) = (self.index(index1), self.index(index2)) if (num_index1 is not None) and (num_index2 is not None): for i in range(num_index1, num_index2 + 1): if 'command' in self.entryconfig(i): c = str(self.entrycget(i, 'command')) if c in self._tclCommands: cmds.append(c)
num_index1, num_index2 = self.index(index1), self.index(index2) if (num_index1 is None) or (num_index2 is None): num_index1, num_index2 = 0, -1 for i in range(num_index1, num_index2 + 1): if 'command' in self.entryconfig(i): c = str(self.entrycget(i, 'command')) if c: self.deletecommand(c)
def delete(self, index1, index2=None): """Delete menu items between INDEX1 and INDEX2 (not included).""" if index2 is None: index2 = index1 cmds = [] (num_index1, num_index2) = (self.index(index1), self.index(index2)) if (num_index1 is not None) and (num_index2 is not None): for i in range(num_index1, num_index2 + 1): ...
a18424c624b5720bce542d306b464660675751b0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/a18424c624b5720bce542d306b464660675751b0/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 12, 2890, 16, 770, 21, 16, 770, 22, 33, 7036, 4672, 3536, 2613, 3824, 1516, 3086, 12425, 21, 471, 12425, 22, 261, 902, 5849, 13, 12123, 309, 770, 22, 353, 599, 30, 770, 22, 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, 1430, 12, 2890, 16, 770, 21, 16, 770, 22, 33, 7036, 4672, 3536, 2613, 3824, 1516, 3086, 12425, 21, 471, 12425, 22, 261, 902, 5849, 13, 12123, 309, 770, 22, 353, 599, 30, 770, 22, 273...
if self._pkgArchExcluded(rep, ob['arch']):
if self._pkgArchExcluded(ob['arch']):
def returnObsoletes(self, newest=False): if self._skip_all(): return {}
b116113bede1a498da17d92e44a6a1ab14833b2c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/b116113bede1a498da17d92e44a6a1ab14833b2c/sqlitesack.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 327, 27637, 355, 278, 281, 12, 2890, 16, 19824, 33, 8381, 4672, 309, 365, 6315, 7457, 67, 454, 13332, 327, 2618, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 327, 27637, 355, 278, 281, 12, 2890, 16, 19824, 33, 8381, 4672, 309, 365, 6315, 7457, 67, 454, 13332, 327, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.assert_(proxy.readline() == 'fred' + os.linesep)
self.assertEqual(proxy.readline(), 'fred' + os.linesep)
def _test_readline(self, proxy): # Read by line proxy.seek(0) self.assert_(proxy.readline() == 'foo' + os.linesep) self.assert_(proxy.readline() == 'bar' + os.linesep) self.assert_(proxy.readline() == 'fred' + os.linesep) self.assertEqual(proxy.readline(), 'bob') proxy.seek(2) self.assert_(proxy.readline() == 'o' + os....
7731c36bc6f787ca91b8429603fe004822f1f2d8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/7731c36bc6f787ca91b8429603fe004822f1f2d8/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 67, 896, 1369, 12, 2890, 16, 2889, 4672, 468, 2720, 635, 980, 2889, 18, 16508, 12, 20, 13, 365, 18, 11231, 67, 12, 5656, 18, 896, 1369, 1435, 422, 296, 11351, 11, 397, 114...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3813, 67, 896, 1369, 12, 2890, 16, 2889, 4672, 468, 2720, 635, 980, 2889, 18, 16508, 12, 20, 13, 365, 18, 11231, 67, 12, 5656, 18, 896, 1369, 1435, 422, 296, 11351, 11, 397, 114...
if not dir_node: continue
if not dir_node and level_flag & FLAG_COPY: continue
def add_tree(dirlist, url, root, proj_tree): level_flag, children = proj_tree # Should we filter? if level_flag & FLAG_RECURSIVE: return eff_url = url + '/' + root nodes = list_url(eff_url) for node in nodes: dir_node = node[-1] == '/' if dir_node: node = node[:-1] if not dir_node: continue child = children.get(node) i...
36220f740e09898fb87ea27660d2442e1a2073b4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/310/36220f740e09898fb87ea27660d2442e1a2073b4/svn_tag_release.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 3413, 12, 1214, 1098, 16, 880, 16, 1365, 16, 10296, 67, 3413, 4672, 1801, 67, 6420, 16, 2325, 273, 10296, 67, 3413, 468, 9363, 732, 1034, 35, 309, 1801, 67, 6420, 473, 10972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 3413, 12, 1214, 1098, 16, 880, 16, 1365, 16, 10296, 67, 3413, 4672, 1801, 67, 6420, 16, 2325, 273, 10296, 67, 3413, 468, 9363, 732, 1034, 35, 309, 1801, 67, 6420, 473, 10972, ...
modname = pyxfile.get('purebasename')
modname = cfile.get('purebasename')
def make_module_from_c(pyxfile): from distutils.core import setup from distutils.extension import Extension from Pyrex.Distutils import build_ext #try: # from distutils.log import set_threshold # set_threshold(10000) #except ImportError: # print "ERROR IMPORTING" # pass dirpath = pyxfile.dirpath() lastdir...
7af1a34ef0fb9f9c6378f37b418b678b2abd19c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/7af1a34ef0fb9f9c6378f37b418b678b2abd19c9/buildpyxmodule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 2978, 67, 2080, 67, 71, 12, 2074, 92, 768, 4672, 628, 2411, 5471, 18, 3644, 1930, 3875, 628, 2411, 5471, 18, 6447, 1930, 10021, 628, 4707, 266, 92, 18, 5133, 5471, 1930, 1361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 2978, 67, 2080, 67, 71, 12, 2074, 92, 768, 4672, 628, 2411, 5471, 18, 3644, 1930, 3875, 628, 2411, 5471, 18, 6447, 1930, 10021, 628, 4707, 266, 92, 18, 5133, 5471, 1930, 1361...
s = server.Server(apiVersion, fqdn)
if apiVersion > 0: s = server.Server(apiVersion, fqdn, uuid="foobarbaz") else: s = server.Server(apiVersion, fqdn)
def initHost(apiVersion, secret, fqdn): """API call for Web-Kickstart to initialize a host in the database. Protected by the knowing of a secret.""" s = server.Server(apiVersion, fqdn) if not s.verifySecret(secret): log.warning("initHost() called with bad secret") return 1 s.initHost(fqdn, support=1) # returns host_...
f05606a6975ae7285acb771dc0b9f415a943a65b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5056/f05606a6975ae7285acb771dc0b9f415a943a65b/API.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 2594, 12, 25336, 16, 4001, 16, 19897, 4672, 3536, 2557, 745, 364, 2999, 17, 47, 1200, 1937, 358, 4046, 279, 1479, 316, 326, 2063, 18, 1186, 1050, 635, 326, 5055, 310, 434, 279, 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, 1208, 2594, 12, 25336, 16, 4001, 16, 19897, 4672, 3536, 2557, 745, 364, 2999, 17, 47, 1200, 1937, 358, 4046, 279, 1479, 316, 326, 2063, 18, 1186, 1050, 635, 326, 5055, 310, 434, 279, 4...
print obj,name,value
def set(self, cr, obj, id, name, value, user=None, context=None): print obj,name,value if not context: context = {} if self._fnct_inv: self._fnct_inv(obj, cr, user, id, name, value, self._fnct_inv_arg, context)
dbd8f1478e6cf971b305d34e5a84ac0fe70b0b09 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/dbd8f1478e6cf971b305d34e5a84ac0fe70b0b09/fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 4422, 16, 1081, 16, 612, 16, 508, 16, 460, 16, 729, 33, 7036, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 273, 2618, 309, 365, 6315, 4293, 299, 67, 5768, 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, 444, 12, 2890, 16, 4422, 16, 1081, 16, 612, 16, 508, 16, 460, 16, 729, 33, 7036, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 273, 2618, 309, 365, 6315, 4293, 299, 67, 5768, 30...
self.failUnless(not sel.is_text_present("Benjamin Harrison"))
self.failIf(sel.is_element_present("//div[@class='volunteer_summary_following']//a[@id='volunteer_link[%i]']"%self.test_object_index["Benjamin Harrison"].key().id())) self.failIf(sel.is_text_present("Benjamin Harrison"))
def test_adding_to_family__friend_list(self): sel = self.selenium sel.click("//a[@id='l_friends']") sel.wait_for_page_to_load("30000") sel.click("//input[@id='operation_add_to_family[%i]']"%self.test_object_index['Aaron Burr'].key().id()) sel.wait_for_page_to_load("30000") self.failUnless(sel.is_element_present("//i...
5574a422516ee7b242cc9b0518fdccdfc5cba281 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5139/5574a422516ee7b242cc9b0518fdccdfc5cba281/social_network_operations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3439, 67, 869, 67, 9309, 972, 74, 7522, 67, 1098, 12, 2890, 4672, 225, 357, 273, 365, 18, 1786, 17327, 225, 357, 18, 7475, 2932, 759, 69, 14782, 350, 2218, 80, 67, 74, 2225...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3439, 67, 869, 67, 9309, 972, 74, 7522, 67, 1098, 12, 2890, 4672, 225, 357, 273, 365, 18, 1786, 17327, 225, 357, 18, 7475, 2932, 759, 69, 14782, 350, 2218, 80, 67, 74, 2225...
redirChecker = LinkChecker(self.redirectChain[0], self.serverEncoding)
redirChecker = LinkChecker(self.redirectChain[0], serverEncoding = self.serverEncoding)
def check(self, useHEAD = True): """ Returns True and the server status message if the page is alive. Otherwise returns false """ try: wasRedirected = self.resolveRedirect(useHEAD = useHEAD) except httplib.error, arg: return False, u'HTTP Error: %s' % arg except socket.error, arg: return False, u'Socket Error: %s' % ar...
a9ae5f0d5a00662b32d8adf143e34603155dbde2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/a9ae5f0d5a00662b32d8adf143e34603155dbde2/weblinkchecker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 16, 999, 12458, 273, 1053, 4672, 3536, 2860, 1053, 471, 326, 1438, 1267, 883, 309, 326, 1363, 353, 13714, 18, 5272, 1135, 629, 3536, 775, 30, 1703, 5961, 329, 273, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 16, 999, 12458, 273, 1053, 4672, 3536, 2860, 1053, 471, 326, 1438, 1267, 883, 309, 326, 1363, 353, 13714, 18, 5272, 1135, 629, 3536, 775, 30, 1703, 5961, 329, 273, 365, ...
def __init__(self, free=[]): self.__free = free
def __init__(self, free=None): if free: self.__free = free else: self.__free = []
def __init__(self, free=[]): self.__free = free self.__used = []
47a6d4716f3682b54db7d084205854fab4099a78 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/47a6d4716f3682b54db7d084205854fab4099a78/Pool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4843, 33, 7036, 4672, 309, 4843, 30, 365, 16186, 9156, 273, 4843, 469, 30, 365, 16186, 9156, 273, 5378, 365, 16186, 3668, 273, 5378, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4843, 33, 7036, 4672, 309, 4843, 30, 365, 16186, 9156, 273, 4843, 469, 30, 365, 16186, 9156, 273, 5378, 365, 16186, 3668, 273, 5378, 2, -100, -100, -100, ...
queueHandler.queueFunction(queueHandler.eventQueue,focus_winEventCallback,window,objectID,childID)
focus_winEventCallback(window,objectID,childID)
def pumpAll(): global lastFocusEvent if not focusEventQueue.empty(): window,objectID,childID=focusEventQueue.get() queueHandler.queueFunction(queueHandler.eventQueue,focus_winEventCallback,window,objectID,childID) s=propertyChangeEventCache.copy() propertyChangeEventCache.clear() for v in s: manageEvent(*v)
0470084149824b14b38044749c5c1db9525bc942 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9340/0470084149824b14b38044749c5c1db9525bc942/IAccessibleHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 2801, 1595, 13332, 2552, 1142, 9233, 1133, 309, 486, 7155, 1133, 3183, 18, 5531, 13332, 2742, 16, 1612, 734, 16, 3624, 734, 33, 13923, 1133, 3183, 18, 588, 1435, 7155, 67, 8082, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 2801, 1595, 13332, 2552, 1142, 9233, 1133, 309, 486, 7155, 1133, 3183, 18, 5531, 13332, 2742, 16, 1612, 734, 16, 3624, 734, 33, 13923, 1133, 3183, 18, 588, 1435, 7155, 67, 8082, 113...
self.playbin.set_property("text-sink", self.textsink)
try: self.playbin.set_property("text-sink", self.textsink) except TypeError: logging.warning("this platform has an old version of playbin2--no subtitle support.") self.supports_subtitles = False
def build_playbin(self): Renderer.build_playbin(self) self.watch_ids.append(self.bus.connect('sync-message::element', self.on_sync_message)) self.playbin.set_property("video-sink", self.videosink) self.playbin.set_property("text-sink", self.textsink)
a8188bb411554a33eb063e56222503ee504dfdf5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/a8188bb411554a33eb063e56222503ee504dfdf5/gstreamerrenderer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1601, 4757, 12, 2890, 4672, 17589, 18, 3510, 67, 1601, 4757, 12, 2890, 13, 365, 18, 7585, 67, 2232, 18, 6923, 12, 2890, 18, 9274, 18, 3612, 2668, 8389, 17, 2150, 2866, 2956, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1601, 4757, 12, 2890, 4672, 17589, 18, 3510, 67, 1601, 4757, 12, 2890, 13, 365, 18, 7585, 67, 2232, 18, 6923, 12, 2890, 18, 9274, 18, 3612, 2668, 8389, 17, 2150, 2866, 2956, ...
message = _('Invoice ') + " '" + inv.name + "' "+ _("is confirm") self.log(cr, uid, inv.id, message)
def action_move_create(self, cr, uid, ids, *args): """Creates invoice related analytics and financial move lines""" ait_obj = self.pool.get('account.invoice.tax') cur_obj = self.pool.get('res.currency') context = {} for inv in self.browse(cr, uid, ids): if not inv.journal_id.invoice_sequence_id: raise osv.except_osv(_(...
0f74edc455e7ed12e4c98a6c9311e91290b9ef70 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/0f74edc455e7ed12e4c98a6c9311e91290b9ef70/invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 67, 8501, 67, 2640, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 380, 1968, 4672, 3536, 2729, 9179, 3746, 23835, 471, 574, 19292, 649, 3635, 2362, 8395, 279, 305, 67, 2603, 273, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 67, 8501, 67, 2640, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 380, 1968, 4672, 3536, 2729, 9179, 3746, 23835, 471, 574, 19292, 649, 3635, 2362, 8395, 279, 305, 67, 2603, 273, 3...
obj = keys.getPublicKeyObject(options['filename'])
obj = keys.getPublicKeyObject(string)
def printFingerprint(options): if not options['filename']: filename = os.path.expanduser('~/.ssh/id_rsa') options['filename'] = raw_input('Enter file in which the key is (%s): ' % filename) if os.path.exists(options['filename']+'.pub'): options['filename'] += '.pub' try: string = keys.getPublicKeyString(options['filena...
eaea61181decce9c2b98c267e5abcf18b27db00d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/eaea61181decce9c2b98c267e5abcf18b27db00d/ckeygen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 17678, 12, 2116, 4672, 309, 486, 702, 3292, 3459, 3546, 30, 1544, 273, 1140, 18, 803, 18, 12320, 1355, 2668, 98, 15865, 10975, 19, 350, 67, 24654, 6134, 702, 3292, 3459, 3546, 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, 1172, 17678, 12, 2116, 4672, 309, 486, 702, 3292, 3459, 3546, 30, 1544, 273, 1140, 18, 803, 18, 12320, 1355, 2668, 98, 15865, 10975, 19, 350, 67, 24654, 6134, 702, 3292, 3459, 3546, 273,...
'linewidth', 'aspect', 'scale',
'line_width', 'aspect', 'scale',
def main(): """implement an useful main for use as command line program""" import sys import optparse import os.path parser = optparse.OptionParser( usage = "%prog [options] [file]", version = """\
011dd67d384f1773070890a2fbb13d2e08bc2061 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1203/011dd67d384f1773070890a2fbb13d2e08bc2061/aafigure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 10442, 392, 5301, 2774, 364, 999, 487, 1296, 980, 5402, 8395, 1930, 2589, 1930, 2153, 2670, 1930, 1140, 18, 803, 225, 2082, 273, 2153, 2670, 18, 1895, 2678, 12, 4084, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 10442, 392, 5301, 2774, 364, 999, 487, 1296, 980, 5402, 8395, 1930, 2589, 1930, 2153, 2670, 1930, 1140, 18, 803, 225, 2082, 273, 2153, 2670, 18, 1895, 2678, 12, 4084, ...
def ir_get(cr, uid, key, key2, models, meta=False, context={}, res_id_req=False):
def ir_get(cr, uid, key, key2, models, meta=False, context=None, res_id_req=False):
def ir_get(cr, uid, key, key2, models, meta=False, context={}, res_id_req=False): obj = pooler.get_pool(cr.dbname).get('ir.values') res = obj.get(cr, uid, key, key2, models, meta=meta, context=context, res_id_req=res_id_req) return res
f9b199fa5fea39ae09cb52a593f4ddb4bb80d449 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/f9b199fa5fea39ae09cb52a593f4ddb4bb80d449/ir.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9482, 67, 588, 12, 3353, 16, 4555, 16, 498, 16, 498, 22, 16, 3679, 16, 2191, 33, 8381, 16, 819, 33, 7036, 16, 400, 67, 350, 67, 3658, 33, 8381, 4672, 1081, 273, 2845, 264, 18, 588,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9482, 67, 588, 12, 3353, 16, 4555, 16, 498, 16, 498, 22, 16, 3679, 16, 2191, 33, 8381, 16, 819, 33, 7036, 16, 400, 67, 350, 67, 3658, 33, 8381, 4672, 1081, 273, 2845, 264, 18, 588,...
status, reason = (error.httpcode, error.message)
status, reason = (error.httpcode, tostr(error))
def failed(self, binding, error): """ Request failed, process reply based on reason @param binding: The binding to be used to process the reply. @type binding: L{suds.bindings.binding.Binding} @param error: The http error message @type error: L{transport.TransportError} """ status, reason = (error.httpcode, error.messa...
11185f0314278995baad7fc17d7e590cae8cad24 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5930/11185f0314278995baad7fc17d7e590cae8cad24/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2535, 12, 2890, 16, 5085, 16, 555, 4672, 3536, 1567, 2535, 16, 1207, 4332, 2511, 603, 3971, 632, 891, 5085, 30, 1021, 5085, 358, 506, 1399, 358, 1207, 326, 4332, 18, 632, 723, 5085, 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, 2535, 12, 2890, 16, 5085, 16, 555, 4672, 3536, 1567, 2535, 16, 1207, 4332, 2511, 603, 3971, 632, 891, 5085, 30, 1021, 5085, 358, 506, 1399, 358, 1207, 326, 4332, 18, 632, 723, 5085, 30...
fullpath = os.path.join(qtdir,'bin',command + suffix),
fullpath = os.path.join(qtdir,'bin',command + suffix)
def locateQt4Command(env, command, qtdir) : suffixes = [ '-qt4', '-qt4.exe', '4', '4.exe', '', 'exe', ]
fa4f8100dfeec77ee2a513bbf123f43a59f59d65 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1456/fa4f8100dfeec77ee2a513bbf123f43a59f59d65/qt4.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10627, 23310, 24, 2189, 12, 3074, 16, 1296, 16, 25672, 1214, 13, 294, 18333, 273, 306, 2400, 23311, 24, 2187, 2400, 23311, 24, 18, 14880, 2187, 296, 24, 2187, 296, 24, 18, 14880, 2187, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10627, 23310, 24, 2189, 12, 3074, 16, 1296, 16, 25672, 1214, 13, 294, 18333, 273, 306, 2400, 23311, 24, 2187, 2400, 23311, 24, 18, 14880, 2187, 296, 24, 2187, 296, 24, 18, 14880, 2187, ...
self.month_total_list[cnt] = self.month_total_list[cnt] - line.total tot += line.total result.append(line.total)
if res: self.month_total_list[cnt] = self.month_total_list[cnt] - line.total result[append_index] += line.total tot += line.total res[mnth] = result[append_index] else: self.month_total_list[cnt] = self.month_total_list[cnt] - line.total tot += line.total res[mnth] = line.total append_index = len(result) - 1 result.app...
def cal_monthly_amt(self,emp_id,category): tot = 0.0 cnt = 1 result = [] if not category: result.append('Basic Salary') else: category_name = self.pool.get('hr.allounce.deduction.categoty').read(self.cr, self.uid, [category],['name','type'])[0] result.append(category_name['name']) for mnth in self.mnths: if len(mnth) !...
db12159831d32a15232a385a16ea92e6d74ff6bc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/db12159831d32a15232a385a16ea92e6d74ff6bc/report_employees_detail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1443, 67, 7496, 715, 67, 301, 88, 12, 2890, 16, 30752, 67, 350, 16, 4743, 4672, 9997, 273, 374, 18, 20, 7599, 273, 404, 563, 273, 5378, 309, 486, 3150, 30, 563, 18, 6923, 2668, 8252,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1443, 67, 7496, 715, 67, 301, 88, 12, 2890, 16, 30752, 67, 350, 16, 4743, 4672, 9997, 273, 374, 18, 20, 7599, 273, 404, 563, 273, 5378, 309, 486, 3150, 30, 563, 18, 6923, 2668, 8252,...
enquire = self._enquire
enquire = Enquire(self._db) enquire.set_query(self._query)
def get_documents(self, sort_by=None, reverse=False, start=0, size=0): """Returns the documents for the search, sorted by weight.
f98a1b035426b63440283a9fa3869757f6518410 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/f98a1b035426b63440283a9fa3869757f6518410/catalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 24795, 12, 2890, 16, 1524, 67, 1637, 33, 7036, 16, 4219, 33, 8381, 16, 787, 33, 20, 16, 963, 33, 20, 4672, 3536, 1356, 326, 7429, 364, 326, 1623, 16, 3115, 635, 3119, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 24795, 12, 2890, 16, 1524, 67, 1637, 33, 7036, 16, 4219, 33, 8381, 16, 787, 33, 20, 16, 963, 33, 20, 4672, 3536, 1356, 326, 7429, 364, 326, 1623, 16, 3115, 635, 3119, 18, ...
self.reHeader = re.compile('^(\s*<!--.*LICENSE BLOCK([^-]+-)*[^-]+-->)?')
self.reHeader = re.compile(u'^\ufeff?(\s*<!--.*LICENSE BLOCK([^-]+-)*[^-]+-->)?')
def __init__(self): # http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-NameStartChar #":" | [A-Z] | "_" | [a-z] | # [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] # | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | # [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | # [#x10000-#xEFF...
ace713aad0126c8b7f196fadda06d7f65c1c40db /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6206/ace713aad0126c8b7f196fadda06d7f65c1c40db/Parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 468, 1062, 2207, 5591, 18, 91, 23, 18, 3341, 19, 4349, 19, 6976, 26, 19, 862, 39, 17, 2902, 2499, 17, 6976, 4848, 28, 2313, 21067, 1784, 17, 461, 168...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 1062, 2207, 5591, 18, 91, 23, 18, 3341, 19, 4349, 19, 6976, 26, 19, 862, 39, 17, 2902, 2499, 17, 6976, 4848, 28, 2313, 21067, 1784, 17, 461, 168...
Explorer(dir).run()
exp = Explorer(dir) e32.ao_sleep(0, exp.run)
def run(dir=None): try: if dir is None: dir = path.split(__file__)[0] Explorer(dir).run() except Exception, e: alert(e)
f658a38cc0324815e30a40ff235e66de7180c283 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/850/f658a38cc0324815e30a40ff235e66de7180c283/explorer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 1214, 33, 7036, 4672, 775, 30, 309, 1577, 353, 599, 30, 1577, 273, 589, 18, 4939, 12, 972, 768, 972, 25146, 20, 65, 225, 1329, 273, 1312, 11766, 12, 1214, 13, 425, 1578, 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, 1086, 12, 1214, 33, 7036, 4672, 775, 30, 309, 1577, 353, 599, 30, 1577, 273, 589, 18, 4939, 12, 972, 768, 972, 25146, 20, 65, 225, 1329, 273, 1312, 11766, 12, 1214, 13, 425, 1578, 18...
if not self.AS_appdata.target.isrunning(self.AS_appdata.path):
if not self.AS_appdata.target.isrunning(self.AS_appdata.identifier):
def __call__(self, *args, **kargs): keywordArgs = kargs.copy() if len(args) > 1: raise TypeError, "Command received more than one direct parameter %r." % (args,) # get user-specified timeout, if any timeout = int(keywordArgs.pop('timeout', 60)) # appscript's default is 60 sec if timeout <= 0: timeout = kAE.kNoTimeOut e...
9c71f3a23beef6af1eb2fbeba91b31e651f8018b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10961/9c71f3a23beef6af1eb2fbeba91b31e651f8018b/reference.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 16, 2826, 79, 1968, 4672, 4932, 2615, 273, 25916, 18, 3530, 1435, 309, 562, 12, 1968, 13, 405, 404, 30, 1002, 3580, 16, 315, 2189, 5079, 1898,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1991, 972, 12, 2890, 16, 380, 1968, 16, 2826, 79, 1968, 4672, 4932, 2615, 273, 25916, 18, 3530, 1435, 309, 562, 12, 1968, 13, 405, 404, 30, 1002, 3580, 16, 315, 2189, 5079, 1898,...
_cfunc_refs[tmpval1] = c_cb
def fl_setpup_itemcb(nm, ni, py_cb): """ fl_setpup_itemcb(nm, ni, py_cb) -> pup_cb ref. """ c_cb = FL_PUP_CB(py_cb) retval = _fl_setpup_itemcb(nm, ni, c_cb) _cfunc_refs[tmpval1] = c_cb return retval
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 4672, 3536, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 13, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 4672, 3536, 1183, 67, 542, 84, 416, 67, 1726, 7358, 12, 15094, 16, 16398, 16, 2395, 67, 7358, 13, 31...
task.excepthook = sys.excepthook = clush_excepthook
task.excepthook = sys.excepthook
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() parser.add_option("--no...
84c7a2b9dc2675c526e1aa43a6ba3d7f6f6408df /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11479/84c7a2b9dc2675c526e1aa43a6ba3d7f6f6408df/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, ...
return Operation("cut",Entity(obj.id),Entity(what.id),to=obj)
return Operation("use",Entity(what.id))
def do(self,me): if me.things.has_key(self.tool)==0: return obj=me.find_thing(self.tool)[0] if me.things.has_key(self.what)==0: return what=me.find_thing(self.what)[0] return Operation("cut",Entity(obj.id),Entity(what.id),to=obj)
2b94478c6bc71b108f80b99d4ad254f296c4af4b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12932/2b94478c6bc71b108f80b99d4ad254f296c4af4b/misc_goal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 2890, 16, 3501, 4672, 309, 1791, 18, 451, 899, 18, 5332, 67, 856, 12, 2890, 18, 6738, 13, 631, 20, 30, 327, 1081, 33, 3501, 18, 4720, 67, 4274, 12, 2890, 18, 6738, 25146, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 2890, 16, 3501, 4672, 309, 1791, 18, 451, 899, 18, 5332, 67, 856, 12, 2890, 18, 6738, 13, 631, 20, 30, 327, 1081, 33, 3501, 18, 4720, 67, 4274, 12, 2890, 18, 6738, 25146, ...
results_final_relevances, results_final_relevances_prologue, results_final_relevances_epilogue, search_pattern=p)
results_final_relevances, results_final_relevances_prologue, results_final_relevances_epilogue, search_pattern=p, print_header_p=False, print_footer_p=False)
def perform_request_search(req=None, cc=cdsname, c=None, p="", f="", rg=10, sf="", so="d", sp="", rm="", of="id", ot="", as=0, p1="", f1="", m1="", op1="", p2="", f2="", m2="", op2="", p3="", f3="", m3="", sc=0, jrec=0, recid=-1, recidb=-1, sysno="", id=-1, idb=-1, sysnb="", action="", d1y=0, d1m=0, d1d=0, d2y=0, d2m=0...
411c5485212e547c2cff7ef273867a48e0ec6c61 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2139/411c5485212e547c2cff7ef273867a48e0ec6c61/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 33, 2163, 16, 9033, 1546, 3113, 1427, 1546, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 2293, 67, 3072, 12, 3658, 33, 7036, 16, 4946, 33, 71, 2377, 529, 16, 276, 33, 7036, 16, 293, 1546, 3113, 284, 1546, 3113, 14524, 33, 2163, 16, 9033, 1546, 3113, 1427, 1546, ...
title = _("Authentication Required") text = _("Job requires authentication to proceed.")
title = i18n("Authentication Required") text = i18n("Job requires authentication to proceed.")
def update_job (self, job, data): iter = self.jobiters[job] self.jobs[job] = data
2e12362d2411a0846a395cd899c27375d9eddefe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1682/2e12362d2411a0846a395cd899c27375d9eddefe/printer-applet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 4688, 261, 2890, 16, 1719, 16, 501, 4672, 1400, 273, 365, 18, 4688, 27270, 63, 4688, 65, 365, 18, 10088, 63, 4688, 65, 273, 501, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 4688, 261, 2890, 16, 1719, 16, 501, 4672, 1400, 273, 365, 18, 4688, 27270, 63, 4688, 65, 365, 18, 10088, 63, 4688, 65, 273, 501, 2, -100, -100, -100, -100, -100, -100, -100, ...
self.max_login_attempts = [3, 0]
self.attempted_logins = 0
def __init__(self):
cb01c49a66d7848781b76239960b060d1d7dcf4e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7236/cb01c49a66d7848781b76239960b060d1d7dcf4e/FTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 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, -1...
"""
"""
def flps_get_namedcolor(p1): """ flps_get_namedcolor(p1) -> num. """ retval = _flps_get_namedcolor(p1) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 1121, 67, 588, 67, 13188, 3266, 12, 84, 21, 4672, 3536, 1183, 1121, 67, 588, 67, 13188, 3266, 12, 84, 21, 13, 317, 818, 18, 3536, 225, 5221, 273, 389, 2242, 1121, 67, 588, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 1121, 67, 588, 67, 13188, 3266, 12, 84, 21, 4672, 3536, 1183, 1121, 67, 588, 67, 13188, 3266, 12, 84, 21, 13, 317, 818, 18, 3536, 225, 5221, 273, 389, 2242, 1121, 67, 588, 67, ...
hWnd = self.getHREFFromDOMWindow(win) ctypes.windll.user32.SetForegroundWindow(hWnd)
ctypes.windll.user32.SetForegroundWindow(self.trayIconWindow) def contextMenuHack2(self): """Hack to make context menus work, must be called AFTER the menu is shown. """ ctypes.windll.user32.PostMessage(self.trayIconWindow, WM_NULL, 0, 0)
def contextMenuHack(self, win): # Need to make the XUL window the foreground window. See # http://support.microsoft.com/kb/135788 # If the msdn URL doesn't work, try searhing for Q135788 hWnd = self.getHREFFromDOMWindow(win) ctypes.windll.user32.SetForegroundWindow(hWnd)
8d0ecd7f6742596e65c4570342bf5c25f13b2cbd /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12354/8d0ecd7f6742596e65c4570342bf5c25f13b2cbd/minimize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 819, 4599, 44, 484, 12, 2890, 16, 5657, 4672, 468, 12324, 358, 1221, 326, 1139, 1506, 2742, 326, 16231, 2742, 18, 225, 2164, 468, 1062, 2207, 13261, 18, 27739, 18, 832, 19, 8899, 19, 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, 819, 4599, 44, 484, 12, 2890, 16, 5657, 4672, 468, 12324, 358, 1221, 326, 1139, 1506, 2742, 326, 16231, 2742, 18, 225, 2164, 468, 1062, 2207, 13261, 18, 27739, 18, 832, 19, 8899, 19, 3...
self.body.append('\\fn%s ' % node['delimiter'] )
self.body.append('\\fB%s ' % node['delimiter'] )
def visit_option_argument(self, node): self.context[-3] = '.BI' # bold/italic alternate if node['delimiter'] != ' ': self.body.append('\\fn%s ' % node['delimiter'] ) elif self.body[len(self.body)-1].endswith('='): # a blank only means no blank in output, just changing font self.body.append(' ') else: # backslash blank ...
b9313c3d8448a5e3b1aa0f9312edcb100ee0cea0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5620/b9313c3d8448a5e3b1aa0f9312edcb100ee0cea0/manpage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 3482, 67, 3446, 12, 2890, 16, 756, 4672, 365, 18, 2472, 18919, 23, 65, 273, 2418, 31558, 11, 468, 13068, 19, 7053, 335, 12184, 309, 756, 3292, 15751, 3546, 480, 296, 4290, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 3482, 67, 3446, 12, 2890, 16, 756, 4672, 365, 18, 2472, 18919, 23, 65, 273, 2418, 31558, 11, 468, 13068, 19, 7053, 335, 12184, 309, 756, 3292, 15751, 3546, 480, 296, 4290, 36...
backendoptimization.remove_same_as(graph)
removenoops.remove_same_as(graph)
def g(i): if i == 1: return "ab" else: try: return f() except: return "hello!"
b221221538306210460b78608358195ee4390cba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/b221221538306210460b78608358195ee4390cba/test_rspecialcase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 314, 12, 77, 4672, 309, 277, 422, 404, 30, 327, 315, 378, 6, 469, 30, 775, 30, 327, 284, 1435, 1335, 30, 327, 315, 23711, 4442, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 314, 12, 77, 4672, 309, 277, 422, 404, 30, 327, 315, 378, 6, 469, 30, 775, 30, 327, 284, 1435, 1335, 30, 327, 315, 23711, 4442, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
def show_builtin(self, node): """true if builtins and show_builtin option""" return (self.config.show_builtin) or not \ (node.name in ('object', 'type') or node.root().name == '__builtin__')
def not_show_builtin(self, node): """true if builtins and not show_builtins""" builtin = (node.name in ('object', 'type') or node.root().name == '__builtin__') return builtin and not (self.config.show_builtin)
def show_builtin(self, node): """true if builtins and show_builtin option""" # FIXME : does it work as it should ? return (self.config.show_builtin) or not \ (node.name in ('object', 'type') or node.root().name == '__builtin__')
89a4fb6d68375e0a754b84251264711999d177bc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/928/89a4fb6d68375e0a754b84251264711999d177bc/diadefslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 24553, 12, 2890, 16, 756, 4672, 3536, 3767, 309, 6650, 2679, 471, 225, 2405, 67, 24553, 1456, 8395, 468, 9852, 294, 1552, 518, 1440, 487, 518, 1410, 692, 327, 261, 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, 2405, 67, 24553, 12, 2890, 16, 756, 4672, 3536, 3767, 309, 6650, 2679, 471, 225, 2405, 67, 24553, 1456, 8395, 468, 9852, 294, 1552, 518, 1440, 487, 518, 1410, 692, 327, 261, 2890, 18, ...
self._animation_unselect_cb(self, None) self.e.callback_add("group.changed", self._animation_unselect_cb)
self._name = None self.e.callback_add("group.changed", self._group_changed_cb)
def __init__(self, editable): Manager.__init__(self)
6bb9c3e7ce09b0532bcfa1c69ad0ffc1f688345c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12343/6bb9c3e7ce09b0532bcfa1c69ad0ffc1f688345c/editable_animation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 13754, 4672, 8558, 16186, 2738, 972, 12, 2890, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 13754, 4672, 8558, 16186, 2738, 972, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom, qty, name, type, partner_id, fposition_id, price_unit, address_invoice_id, context=ctx)
return super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom, qty, name, type, partner_id, fposition_id, price_unit, address_invoice_id, currency_id=currency_id, context=ctx)
def product_id_change(self, cr, uid, ids, product, uom, qty=0, name='', type='out_invoice', partner_id=False, fposition_id=False, price_unit=False, address_invoice_id=False, context=None): # note: will call product_id_change_unit_price_inv with context...
d06f4a6c874b3f9000a8b6e11e1354086f155cab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/d06f4a6c874b3f9000a8b6e11e1354086f155cab/invoice_tax_incl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3017, 67, 350, 67, 3427, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 3017, 16, 582, 362, 16, 26667, 33, 20, 16, 508, 2218, 2187, 618, 2218, 659, 67, 16119, 2187, 19170, 67, 350, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3017, 67, 350, 67, 3427, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 3017, 16, 582, 362, 16, 26667, 33, 20, 16, 508, 2218, 2187, 618, 2218, 659, 67, 16119, 2187, 19170, 67, 350, 33, ...
files = self._Run(['diff', deps_revision, '--name-only']).split() self._Run(['reset', '--hard', deps_revision], redirect_stdout=False)
files = self._Capture(['diff', deps_revision, '--name-only']).split() self._Run(['reset', '--hard', deps_revision])
def revert(self, options, args, file_list): """Reverts local modifications.
9ee5d919647ed29a24b35149e866c885fd04b9bd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/9ee5d919647ed29a24b35149e866c885fd04b9bd/gclient_scm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15226, 12, 2890, 16, 702, 16, 833, 16, 585, 67, 1098, 4672, 3536, 426, 31537, 1191, 17953, 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...
[ 1, 1, 1, 1, 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, 15226, 12, 2890, 16, 702, 16, 833, 16, 585, 67, 1098, 4672, 3536, 426, 31537, 1191, 17953, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
"output = StringIO",
"output = StringIO()",
code.write("def _():", code.indent, "output = StringIO", "try:", code.indent, "# BLOCK: {", block, "# }", code.unindent, "except base.Exception, e:", " error = context.catch(e, Reference(output))", " if error.type != 'return':", " raise error", "return output.getvalue()", code.unindent, "_()")
2377999f4070a32dfc2c415fd456bf4d8fb6f728 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1390/2377999f4070a32dfc2c415fd456bf4d8fb6f728/directive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 981, 18, 2626, 2932, 536, 389, 1435, 2773, 16, 981, 18, 9355, 16, 315, 2844, 273, 15777, 1435, 3113, 315, 698, 2773, 16, 981, 18, 9355, 16, 6619, 14073, 30, 288, 3113, 1203, 16, 6619, 289, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 981, 18, 2626, 2932, 536, 389, 1435, 2773, 16, 981, 18, 9355, 16, 315, 2844, 273, 15777, 1435, 3113, 315, 698, 2773, 16, 981, 18, 9355, 16, 6619, 14073, 30, 288, 3113, 1203, 16, 6619, 289, ...
assert _usertag and _usertag!="users"
assert _usertag
def prep_data(self,app): ''' generate output paths and file prefixes based on app and outputdata information. Generate corresponding entries in DQ2. ''' fileprefixes,outputpaths=self.outrootfiles.copy(),{} # first of all, check that _usertag is set properly: try: assert _usertag and _usertag!="users" except: logger.err...
44eacc491236ac3372907dd704f4453f8acf2569 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/44eacc491236ac3372907dd704f4453f8acf2569/AthenaMCDatasets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13237, 67, 892, 12, 2890, 16, 2910, 4672, 9163, 2103, 876, 2953, 471, 585, 9419, 2511, 603, 595, 471, 876, 892, 1779, 18, 6654, 4656, 3222, 316, 463, 53, 22, 18, 9163, 585, 17777, 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, 13237, 67, 892, 12, 2890, 16, 2910, 4672, 9163, 2103, 876, 2953, 471, 585, 9419, 2511, 603, 595, 471, 876, 892, 1779, 18, 6654, 4656, 3222, 316, 463, 53, 22, 18, 9163, 585, 17777, 16, ...
if self.readDataFile('recensio.contenttypes_marker.txt') is None: return return func(self)
for profile in profiles: if self.readDataFile('recensio.contenttypes_%s_marker.txt' \ % profile) is not None: return func(self) return
def wrapper(self): if self.readDataFile('recensio.contenttypes_marker.txt') is None: return return func(self)
7905e3a4cc2c60f1135b6ac51c630fcbd5640f08 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10560/7905e3a4cc2c60f1135b6ac51c630fcbd5640f08/setuphandlers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4053, 12, 2890, 4672, 309, 365, 18, 896, 751, 812, 2668, 3927, 773, 1594, 18, 1745, 2352, 67, 11145, 18, 5830, 6134, 353, 599, 30, 327, 327, 1326, 12, 2890, 13, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4053, 12, 2890, 4672, 309, 365, 18, 896, 751, 812, 2668, 3927, 773, 1594, 18, 1745, 2352, 67, 11145, 18, 5830, 6134, 353, 599, 30, 327, 327, 1326, 12, 2890, 13, 2, -100, -100, -100, ...
print ("lenghts uvtexdata=",len(uvtex.data)," verts=",len(verts))
def create_mesh(name,verts,faces,norm,uv): '''Function that creates mesh from loaded data''' me = bpy.data.meshes.new(name+"Mesh") ob = bpy.data.objects.new(name, me) ob.location =(0,0,0) #origin #ob.draw_name = True # Link object to scene bpy.context.scene.objects.link(ob) # Create mesh from given verts, edges, faces...
a742957b6ee3c17a1d5ddaf38dbe115cb0e00154 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10993/a742957b6ee3c17a1d5ddaf38dbe115cb0e00154/io_import_msh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 15557, 12, 529, 16, 31537, 16, 4601, 16, 7959, 16, 16303, 4672, 9163, 2083, 716, 3414, 6986, 628, 4203, 501, 26418, 225, 1791, 273, 324, 2074, 18, 892, 18, 15557, 281, 18, 270...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 15557, 12, 529, 16, 31537, 16, 4601, 16, 7959, 16, 16303, 4672, 9163, 2083, 716, 3414, 6986, 628, 4203, 501, 26418, 225, 1791, 273, 324, 2074, 18, 892, 18, 15557, 281, 18, 270...
if len(e1['authors']) == 0 or len(e2['authors']) == 0:
if 'authors' not in e1 or 'authors' not in e2:
def compare_authors(e1, e2): if len(e1['authors']) == 0 and len(e2['authors']) == 0: return ('main', 'no authors', 75) if len(e1['authors']) == 0 or len(e2['authors']) == 0: return ('main', 'field missing from one record', -25) for i in e1['authors']: for j in e2['authors']: if i['db_name'] == j['db_name']: return ('m...
7102f97b1b5cf4f93a8e9a8c7680a501cb587f18 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3913/7102f97b1b5cf4f93a8e9a8c7680a501cb587f18/merge_marc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 19368, 12, 73, 21, 16, 425, 22, 4672, 309, 562, 12, 73, 21, 3292, 19368, 19486, 422, 374, 471, 562, 12, 73, 22, 3292, 19368, 19486, 422, 374, 30, 327, 7707, 5254, 2187, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 19368, 12, 73, 21, 16, 425, 22, 4672, 309, 562, 12, 73, 21, 3292, 19368, 19486, 422, 374, 471, 562, 12, 73, 22, 3292, 19368, 19486, 422, 374, 30, 327, 7707, 5254, 2187, 296...
if profilers.present():
if profilers and profilers.present():
def execute(self, iterations=None, test_length=None, *args, **dargs): """ This is the basic execute method for the tests inherited from base_test. If you want to implement a benchmark test, it's better to implement the run_once function, to cope with the profiling infrastructure. For other tests, you can just override ...
eb784a2440a993ad551585e86b2604381d466d82 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/eb784a2440a993ad551585e86b2604381d466d82/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 11316, 33, 7036, 16, 1842, 67, 2469, 33, 7036, 16, 380, 1968, 16, 2826, 72, 1968, 4672, 3536, 1220, 353, 326, 5337, 1836, 707, 364, 326, 7434, 12078, 628, 1026, 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, 1836, 12, 2890, 16, 11316, 33, 7036, 16, 1842, 67, 2469, 33, 7036, 16, 380, 1968, 16, 2826, 72, 1968, 4672, 3536, 1220, 353, 326, 5337, 1836, 707, 364, 326, 7434, 12078, 628, 1026, 67,...
classList = computeClassList(includeWithDeps, excludeWithDeps, includeNoDeps,
classListProducer = functools.partial( computeClassList, includeWithDeps, excludeWithDeps, includeNoDeps,
def printVariantInfo(variantSetNum, variants, variantSets, variantData): if len(variantSets) < 2: # only log when more than 1 set return variantStr = simplejson.dumps(variants,ensure_ascii=False) self._console.head("Processing variant set %s/%s" % (variantSetNum+1, len(variantSets)))
68e5b9fa3d83b95f5606b31661a65c2f8fae1008 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/68e5b9fa3d83b95f5606b31661a65c2f8fae1008/Generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 9356, 966, 12, 8688, 694, 2578, 16, 12935, 16, 5437, 2785, 16, 5437, 751, 4672, 309, 562, 12, 8688, 2785, 13, 411, 576, 30, 225, 468, 1338, 613, 1347, 1898, 2353, 404, 444, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 9356, 966, 12, 8688, 694, 2578, 16, 12935, 16, 5437, 2785, 16, 5437, 751, 4672, 309, 562, 12, 8688, 2785, 13, 411, 576, 30, 225, 468, 1338, 613, 1347, 1898, 2353, 404, 444, 327, ...
self)
self))
def _load_crtcs(self): for i in range(self._resources.contents.ncrtc): gci = rr.XRRGetCrtcInfo gci.restype = POINTER(_XRRCrtcInfo) xrrcrtcinfo = gci(self._display, self._resources, self._resources.contents.crtcs.contents[i]) self.crtcs.append(Crtc(xrrcrtcinfo, self._resources.contents.crtcs.contents[i], self)
975203b20382b38e924446084aa32493b5713ac6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11047/975203b20382b38e924446084aa32493b5713ac6/xrandr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 945, 67, 3353, 88, 2143, 12, 2890, 4672, 364, 277, 316, 1048, 12, 2890, 6315, 4683, 18, 3980, 18, 82, 3353, 5111, 4672, 314, 8450, 273, 8354, 18, 60, 17950, 967, 39, 3797, 71, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 945, 67, 3353, 88, 2143, 12, 2890, 4672, 364, 277, 316, 1048, 12, 2890, 6315, 4683, 18, 3980, 18, 82, 3353, 5111, 4672, 314, 8450, 273, 8354, 18, 60, 17950, 967, 39, 3797, 71, 9...
self.driverCombo = GtkCombo()
self.driverCombo = gtk.Combo()
def __init__ (self, title, callback, data): BasicDialog.__init__ (self, title, callback) self.data = data table = GtkTable (2, 2) screenLabel = GtkLabel ("Screen:") screenLabel.show() table.attach (screenLabel, 0, 1, 0, 1, 0, 0, 5, 5) self.screenCombo = GtkCombo() self.screenCombo.set_popdown_strings ( [""]+map(str,ran...
ec17e2ee5c945ddc11ff8bcc0cdc586ae535e76d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4580/ec17e2ee5c945ddc11ff8bcc0cdc586ae535e76d/driconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 2077, 16, 1348, 16, 501, 4672, 7651, 6353, 16186, 2738, 972, 261, 2890, 16, 2077, 16, 1348, 13, 365, 18, 892, 273, 501, 1014, 273, 22132, 1388, 261, 22,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 2077, 16, 1348, 16, 501, 4672, 7651, 6353, 16186, 2738, 972, 261, 2890, 16, 2077, 16, 1348, 13, 365, 18, 892, 273, 501, 1014, 273, 22132, 1388, 261, 22,...
def ignore_login_garbage(p): r = p.stdout.readline() while not r.startswith("-- END --"): r = p.stdout.readline()
def ignore_login_garbage(p): r = p.stdout.readline() while not r.startswith("-- END --"): r = p.stdout.readline()
348a3307b57f2939a33c0f306c00091da86b8cff /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/373/348a3307b57f2939a33c0f306c00091da86b8cff/setup-instances.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2305, 67, 5819, 67, 75, 12332, 12, 84, 4672, 436, 273, 293, 18, 10283, 18, 896, 1369, 1435, 1323, 486, 436, 18, 17514, 1918, 2932, 413, 7273, 1493, 6, 4672, 436, 273, 293, 18, 10283, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2305, 67, 5819, 67, 75, 12332, 12, 84, 4672, 436, 273, 293, 18, 10283, 18, 896, 1369, 1435, 1323, 486, 436, 18, 17514, 1918, 2932, 413, 7273, 1493, 6, 4672, 436, 273, 293, 18, 10283, ...
res = self.__getDirectoryContents(path)
res = self.__getDirectoryContents( path )
def __removeDirs(self,path): """ Black magic contained within... """ res = self.__getDirectoryContents(path) if not res['OK']: return res subDirs = res['Value']['SubDirs'] files = res['Value']['Files'] for subDir in subDirs.keys(): res = self.__removeDirs(subDir) if not res['OK']: return res if files: return S_ERROR("D...
6280f3782654b93320f684f56a83a6624459bcec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/6280f3782654b93320f684f56a83a6624459bcec/LcgFileCatalogClient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4479, 9872, 12, 2890, 16, 803, 4672, 3536, 22467, 8146, 7542, 3470, 2777, 3536, 400, 273, 365, 16186, 588, 2853, 6323, 12, 589, 262, 309, 486, 400, 3292, 3141, 3546, 30, 327, 400, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4479, 9872, 12, 2890, 16, 803, 4672, 3536, 22467, 8146, 7542, 3470, 2777, 3536, 400, 273, 365, 16186, 588, 2853, 6323, 12, 589, 262, 309, 486, 400, 3292, 3141, 3546, 30, 327, 400, ...
for opt, arg in opts: if opt in ('-h', '--help'):
for opt, _ in opts: if opt in ("-h", "--help"):
def main(): global ANDROID_BUILD_TOP # $ANDROID_BUILD_TOP global ICU4C_DIR # $ANDROID_BUILD_TOP/external/icu4c global ICU_VERSION # ICU version number global ICUDATA # e.g. "icudt42l" global ICUDATA_DAT # e.g. "icudt42l.dat" global CLDR_VERSION # CLDR version. The value can be vary upon ICU release. glo...
7173c2a35d19fbdcad4e894b17842fdc2b6dfa81 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10672/7173c2a35d19fbdcad4e894b17842fdc2b6dfa81/icu_dat_generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2552, 4116, 1457, 734, 67, 20215, 67, 10462, 225, 468, 271, 4307, 1457, 734, 67, 20215, 67, 10462, 2552, 28009, 24, 39, 67, 4537, 377, 468, 271, 4307, 1457, 734, 67, 20215, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2552, 4116, 1457, 734, 67, 20215, 67, 10462, 225, 468, 271, 4307, 1457, 734, 67, 20215, 67, 10462, 2552, 28009, 24, 39, 67, 4537, 377, 468, 271, 4307, 1457, 734, 67, 20215, ...
print "selecting group %s" % grp.groupid
def applyKsdata(self):
97b16994c8e038d9c22431ecd730029e20adb41f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5376/97b16994c8e038d9c22431ecd730029e20adb41f/packages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 47, 87, 892, 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, ...
[ 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, 2230, 47, 87, 892, 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, ...
);""" % (selfTable, partTable))
);""" % (fullTable, partTable))
def testChunkTable(chunkPrefix, chunkId, partTable): """Run sanity checks on a chunk table set (the chunk table, and optionally a self and full overlap table). For now, the spherical coordinates of chunk table entries are hardcoded to the "ra" and "decl" columns. """ chunkTable = chunkPrefix + '_' + str(chunkId) selfTa...
b17dc6cb2d29e8fde6258f1b2ca496fb40c86370 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6510/b17dc6cb2d29e8fde6258f1b2ca496fb40c86370/loader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5579, 1388, 12, 6551, 2244, 16, 2441, 548, 16, 1087, 1388, 4672, 3536, 1997, 16267, 4271, 603, 279, 2441, 1014, 444, 261, 5787, 2441, 1014, 16, 471, 8771, 279, 365, 471, 1983, 7227...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5579, 1388, 12, 6551, 2244, 16, 2441, 548, 16, 1087, 1388, 4672, 3536, 1997, 16267, 4271, 603, 279, 2441, 1014, 444, 261, 5787, 2441, 1014, 16, 471, 8771, 279, 365, 471, 1983, 7227...
def __init__(self, control): self.control = control def __call__(self, value): for i in range(self.control.count()): if str(self.control.text(i)) == value: self.control.setCurrentItem(i) return
def __init__(self, control): self.control = control def __call__(self, value): for i in range(self.control.count()): if str(self.control.text(i)) == value: self.control.setCurrentItem(i) return
def __init__(self, control): self.control = control
7abe12326ad3cc73b55d7b6d29e51c9eacee5a84 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/7abe12326ad3cc73b55d7b6d29e51c9eacee5a84/OWGUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3325, 4672, 365, 18, 7098, 273, 3325, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3325, 4672, 365, 18, 7098, 273, 3325, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self._descr = descr
self._desc = desc
def __init__(self, schema, descr=u'', name='', type=unicode): if not isinstance(schema, Var): schema = Var(name=name, default=schema) self._schema = copy.deepcopy(schema) self._dict = {} self._type = type self._descr = descr self._name = name if isinstance(self._descr, str): self._descr = unicode(self._descr, ENCOD...
513f97ca83b44ea792b8e169cb28ed0b3e8c402e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11722/513f97ca83b44ea792b8e169cb28ed0b3e8c402e/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1963, 16, 18426, 33, 89, 11, 2187, 508, 2218, 2187, 618, 33, 9124, 4672, 309, 486, 1549, 12, 4821, 16, 4562, 4672, 1963, 273, 4562, 12, 529, 33, 529, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1963, 16, 18426, 33, 89, 11, 2187, 508, 2218, 2187, 618, 33, 9124, 4672, 309, 486, 1549, 12, 4821, 16, 4562, 4672, 1963, 273, 4562, 12, 529, 33, 529, 1...
self.validateNCName(self.gnbd_fd_name)
rectify_fence_name = FALSE
def val_gnbd_fd(self, name): rectify_fence_name = FALSE if self.gnbd_fd_name.get_text() == "": raise ValidationError('FATAL', FD_PROVIDE_NAME) self.validateNCName(self.gnbd_fd_name) if name != self.gnbd_fd_name.get_text(): res = self.check_unique_fd_name(self.gnbd_fd_name.get_text()) if res == FALSE: #name is already ...
66ac32aee48ed39c9a1821e4ba792531add72903 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3879/66ac32aee48ed39c9a1821e4ba792531add72903/FenceHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1244, 67, 1600, 16410, 67, 8313, 12, 2890, 16, 508, 4672, 4917, 1164, 67, 74, 802, 67, 529, 273, 4934, 309, 365, 18, 1600, 16410, 67, 8313, 67, 529, 18, 588, 67, 955, 1435, 422, 1408...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1244, 67, 1600, 16410, 67, 8313, 12, 2890, 16, 508, 4672, 4917, 1164, 67, 74, 802, 67, 529, 273, 4934, 309, 365, 18, 1600, 16410, 67, 8313, 67, 529, 18, 588, 67, 955, 1435, 422, 1408...
print self.USAGE % usage print "The output will be in subunit format.\n"
usage_text = self.USAGE % usage usage_lines = usage_text.split('\n') usage_lines.insert(2, "Run a test suite with a subunit reporter.") usage_lines.insert(3, "") print('\n'.join(usage_lines))
def usageExit(self, msg=None): if msg: print msg usage = {'progName': self.progName, 'catchbreak': '', 'failfast': '', 'buffer': ''} if self.failfast != False: usage['failfast'] = FAILFAST if self.catchbreak != False: usage['catchbreak'] = CATCHBREAK if self.buffer != False: usage['buffer'] = BUFFEROUTPUT print self.US...
fbcddf14a64b1087528dd45b00647678ac60e7f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6381/fbcddf14a64b1087528dd45b00647678ac60e7f6/run.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 6767, 12, 2890, 16, 1234, 33, 7036, 4672, 309, 1234, 30, 1172, 1234, 4084, 273, 13666, 14654, 461, 4278, 365, 18, 14654, 461, 16, 296, 14683, 8820, 4278, 10226, 296, 6870, 8076, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6767, 12, 2890, 16, 1234, 33, 7036, 4672, 309, 1234, 30, 1172, 1234, 4084, 273, 13666, 14654, 461, 4278, 365, 18, 14654, 461, 16, 296, 14683, 8820, 4278, 10226, 296, 6870, 8076, 42...
def sign(self,a): if(a<0.0): return -1.0
def sign(self,w): if(w<0.0): return -1.0
def sign(self,a): if(a<0.0): return -1.0 return 1.0
7e54c8387682a2d6469be7e03aefb868301619fd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5572/7e54c8387682a2d6469be7e03aefb868301619fd/glbfgs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1573, 12, 2890, 16, 91, 4672, 309, 12, 91, 32, 20, 18, 20, 4672, 327, 300, 21, 18, 20, 327, 404, 18, 20, 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, 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, 1573, 12, 2890, 16, 91, 4672, 309, 12, 91, 32, 20, 18, 20, 4672, 327, 300, 21, 18, 20, 327, 404, 18, 20, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
compile_time, fct_call_time, fct_call)):
compile_time, fct_call_time, fct_call, message)):
def __setstate__(self, (linker, optimizer, apply_time, op_cimpl, compile_time, fct_call_time, fct_call)): self.apply_time = apply_time self.op_cimpl = op_cimpl self.compile_time = compile_time self.fct_call_time = fct_call_time self.fct_call = fct_call self.call_time = 0 self.fn_time = 0
1312dc5e84a0779da1d10318fa59329a57054265 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/1312dc5e84a0779da1d10318fa59329a57054265/profilemode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 2019, 972, 12, 2890, 16, 261, 1232, 264, 16, 13066, 16, 2230, 67, 957, 16, 1061, 67, 71, 11299, 16, 4074, 67, 957, 16, 28478, 67, 1991, 67, 957, 16, 28478, 67, 1991, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 2019, 972, 12, 2890, 16, 261, 1232, 264, 16, 13066, 16, 2230, 67, 957, 16, 1061, 67, 71, 11299, 16, 4074, 67, 957, 16, 28478, 67, 1991, 67, 957, 16, 28478, 67, 1991, 16, ...
if coincs: coincs.extend(coincInspiralTable) else: coincs = coincInspiralTable return sims,coincs
searchSumTable = table.get_table(doc,lsctables.SearchSummaryTable.tableName) if coincs: coincs.extend(coincInspiralTable) search.extend(searchSumTable) else: coincs = coincInspiralTable search = searchSumTable return sims,coincs,search
def readFiles(fileGlob,statistic=None): """ read in the Sngl and SimInspiralTables from a list of files if Sngls are found, construct coincs, add injections (if any) also return Sims (if any) @param fileGlob: glob of input files @param statistic: statistic to use in creating coincs """ #if fileGlob is empty return empt...
9d26e30ffe927662fb55a104f574405b61c52570 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3592/9d26e30ffe927662fb55a104f574405b61c52570/fu_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 2697, 12, 768, 13499, 16, 5642, 5846, 33, 7036, 4672, 3536, 855, 316, 326, 348, 3368, 80, 471, 9587, 382, 1752, 481, 287, 6905, 628, 279, 666, 434, 1390, 309, 348, 3368, 3251, 854...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 2697, 12, 768, 13499, 16, 5642, 5846, 33, 7036, 4672, 3536, 855, 316, 326, 348, 3368, 80, 471, 9587, 382, 1752, 481, 287, 6905, 628, 279, 666, 434, 1390, 309, 348, 3368, 3251, 854...
self.createSetup() self["introduction"] = Label(_("Press OK to start the scan"))
if not self.scan_nims.value == "": self.createSetup() self["introduction"] = Label(_("Press OK to start the scan")) else: self["introduction"] = Label(_("Nothing to scan!\nPlease setup your tuner settings before you start a service scan."))
def __init__(self, session): Screen.__init__(self, session)
c278f726f27c5645569c407a71ac972363600ae8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/c278f726f27c5645569c407a71ac972363600ae8/ScanSetup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1339, 4672, 10146, 16186, 2738, 972, 12, 2890, 16, 1339, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Torsion quotient of 3-d lattice N by Sublattice <N(1, 8, 0), N(0, 12, 0)>
Quotient with torsion of 3-d lattice N by Sublattice <N(1, 8, 0), N(0, 12, 0)> See :class:`ToricLattice_quotient` for more examples.
def quotient(self, sub, check=True): """ Return the quotient of ``self`` by the given sublattice ``sub``.
2ecb64877587a338c723df487639345b09bed118 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/2ecb64877587a338c723df487639345b09bed118/toric_lattice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26708, 12, 2890, 16, 720, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 326, 864, 17809, 24966, 12176, 1717, 68, 8338, 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, 0, 0, 0, 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, 26708, 12, 2890, 16, 720, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 326, 864, 17809, 24966, 12176, 1717, 68, 8338, 2, -100, -100, -100, -100, -100, -...
Provides a form with multiple fields for a comprehensive package search.
Provides a form with multiple fields for a comprehensive package search.
def index(self): '''Advanced package search.
3553f22d9f090d8afd52fa1af419412d539f272d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9953/3553f22d9f090d8afd52fa1af419412d539f272d/search.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 2890, 4672, 9163, 23618, 2181, 1623, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 2890, 4672, 9163, 23618, 2181, 1623, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
file_data = open('../pixmaps/openerp-header.png','rb').read() return base64.encodestring(file_data)
return open(os.path.join( tools.config['root_path'], '..', 'pixmaps', 'openerp-header.png'), 'rb') .read().encode('base64')
def _get_logo(self, cr, uid, ids): file_data = open('../pixmaps/openerp-header.png','rb').read() return base64.encodestring(file_data)
989d67fba7ca3c488fbd628cc7cc7d79b0c21cae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/989d67fba7ca3c488fbd628cc7cc7d79b0c21cae/res_company.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 19882, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 585, 67, 892, 273, 1696, 2668, 6216, 14861, 10711, 19, 25098, 84, 17, 3374, 18, 6446, 17023, 6731, 16063, 896, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 19882, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 585, 67, 892, 273, 1696, 2668, 6216, 14861, 10711, 19, 25098, 84, 17, 3374, 18, 6446, 17023, 6731, 16063, 896, 1435, ...
self.compliance_label.set_label(_("All software is in compliance until %s.") % self.last_compliant_date.strftime(locale.nl_langinfo(locale.D_FMT))) self.compliant_today_label.set_label(_("%s (First date of non-compliance)") % self.last_compliant_date.strftime(locale.nl_langinfo(locale.D_FMT)))
if self.last_compliant_date: formatted = self.last_compliant_date.strftime(locale.nl_langinfo(locale.D_FMT)) self.compliance_label.set_label( _("All software is in compliance until %s.") % formatted) self.compliant_today_label.set_label( _("%s (First date of non-compliance)") % formatted)
def __init__(self, backend, consumer, facts): self.backend = backend self.consumer = consumer self.facts = facts self.pool_stash = managerlib.PoolStash(self.backend, self.consumer, self.facts)
bff294929ebe9c8a1cd6d7238fb5da00a310784a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11137/bff294929ebe9c8a1cd6d7238fb5da00a310784a/compliance.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4221, 16, 4765, 16, 18137, 4672, 365, 18, 9993, 273, 4221, 365, 18, 13230, 273, 4765, 365, 18, 27023, 273, 18137, 365, 18, 6011, 67, 25915, 273, 3301, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 2738, 972, 12, 2890, 16, 4221, 16, 4765, 16, 18137, 4672, 365, 18, 9993, 273, 4221, 365, 18, 13230, 273, 4765, 365, 18, 27023, 273, 18137, 365, 18, 6011, 67, 25915, 273, 3301, 29...
class ResFunction(ResMixIn, FunctionGenerator): pass class ResMethod(ResMixIn, MethodGenerator): pass
class ResFunction(ResMixIn, OSErrFunctionGenerator): pass class ResMethod(ResMixIn, OSErrMethodGenerator): pass
def checkit(self): OutLbrace() Output("OSErr _err = ResError();") Output("if (_err != noErr) return PyMac_Error(_err);") OutRbrace() FunctionGenerator.checkit(self) # XXX
28e33868a5b7b15069e83a813d3a79a23ebcd08b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/28e33868a5b7b15069e83a813d3a79a23ebcd08b/ressupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 305, 12, 2890, 4672, 2976, 48, 70, 9963, 1435, 3633, 2932, 51, 1090, 523, 389, 370, 273, 1124, 668, 26994, 13, 3633, 2932, 430, 261, 67, 370, 480, 1158, 2524, 13, 327, 4707, 9990,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 305, 12, 2890, 4672, 2976, 48, 70, 9963, 1435, 3633, 2932, 51, 1090, 523, 389, 370, 273, 1124, 668, 26994, 13, 3633, 2932, 430, 261, 67, 370, 480, 1158, 2524, 13, 327, 4707, 9990,...
if 'center' in request.GET:
if request.GET.get('center', False):
def people_map(request): data = {} data['people'] = Person.objects.all().order_by('user__username') data['person_id2data_as_json'] = simplejson.dumps(dict([ (person.pk, {'name': person.get_full_name_or_username(), 'location': person.location_display_name}) for person in Person.objects.all() if person.location_display_n...
a30813303f34a65b4e208771b5a7b2a9785d38d2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11976/a30813303f34a65b4e208771b5a7b2a9785d38d2/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16951, 67, 1458, 12, 2293, 4672, 501, 273, 2618, 501, 3292, 28035, 3546, 273, 11573, 18, 6911, 18, 454, 7675, 1019, 67, 1637, 2668, 1355, 972, 5053, 6134, 501, 3292, 12479, 67, 350, 22, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16951, 67, 1458, 12, 2293, 4672, 501, 273, 2618, 501, 3292, 28035, 3546, 273, 11573, 18, 6911, 18, 454, 7675, 1019, 67, 1637, 2668, 1355, 972, 5053, 6134, 501, 3292, 12479, 67, 350, 22, ...
return Message(self.id, value, pos)
return Message(self.id, pos, value)
def make_message(self, transitive_best, comparator): """Creates a pseudo-particle which will be sent to a neighbor.
54cf072ce41d45314cc74c75cb09404c9ee87c79 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/966/54cf072ce41d45314cc74c75cb09404c9ee87c79/particle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 2150, 12, 2890, 16, 30442, 67, 12729, 16, 8862, 4672, 3536, 2729, 279, 12454, 17, 2680, 3711, 1492, 903, 506, 3271, 358, 279, 10553, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 2150, 12, 2890, 16, 30442, 67, 12729, 16, 8862, 4672, 3536, 2729, 279, 12454, 17, 2680, 3711, 1492, 903, 506, 3271, 358, 279, 10553, 18, 2, -100, -100, -100, -100, -100, -100, ...
print "Exp Data Labels:\n", exp_scatter_data_labels print "Mod Data Labels:\n", mod_scatter_data_labels
def extract_comp_data(comp_file_info): ## Read in d line dict from config file and Process data from source .csv files. exp_data = [] mod_data = [] exp_data_dict = {} mod_data_dict = {} exp_scatter_data_labels = [] mod_scatter_data_labels = [] #List of variables from configuration file column names. exp_data_filenam...
489e23f8fbeeba33c7e996728fece1e6b33b3091 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12/489e23f8fbeeba33c7e996728fece1e6b33b3091/Validation_Data_Processor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 2919, 67, 892, 12, 2919, 67, 768, 67, 1376, 4672, 7541, 2720, 316, 302, 980, 2065, 628, 642, 585, 471, 4389, 501, 628, 1084, 263, 6715, 1390, 18, 225, 1329, 67, 892, 273, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 2919, 67, 892, 12, 2919, 67, 768, 67, 1376, 4672, 7541, 2720, 316, 302, 980, 2065, 628, 642, 585, 471, 4389, 501, 628, 1084, 263, 6715, 1390, 18, 225, 1329, 67, 892, 273, 5...
option = "%s/Hosts/%s/Properties" %( g_BaseSecuritySection, hostName )
option = "%s/Hosts/%s/Properties" % ( g_BaseSecuritySection, hostName )
def getPropertiesForHost( hostName, defaultValue = [] ): option = "%s/Hosts/%s/Properties" %( g_BaseSecuritySection, hostName ) return gConfig.getValue( option, defaultValue )
0b3870c01c760f944ec4a174023b5305a4cdd5bc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/0b3870c01c760f944ec4a174023b5305a4cdd5bc/CS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9392, 1290, 2594, 12, 19266, 16, 4593, 273, 5378, 262, 30, 1456, 273, 2213, 87, 19, 12172, 5258, 87, 19, 2297, 6, 738, 261, 314, 67, 2171, 4368, 5285, 16, 19266, 262, 327, 314, 809, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9392, 1290, 2594, 12, 19266, 16, 4593, 273, 5378, 262, 30, 1456, 273, 2213, 87, 19, 12172, 5258, 87, 19, 2297, 6, 738, 261, 314, 67, 2171, 4368, 5285, 16, 19266, 262, 327, 314, 809, ...
line = lines[linenum].split(' pat = re.compile(r'(^|.*[^\\"\'])["\']') if pat.match(line): break else: return (None, None) return (filename, linenum)
if lines[linenum].split(' return (filename, linenum) return (None, None)
def _find_docstring(uid): """ @return: The file name and line number of the docstring for the given object; or C{None} if the docstring cannot be found. Line numbers are indexed from zero (i.e., the first line's line number is 0). @rtype: C{(string, int)} or C{(None, None)} """ # This function is based on inspect.finds...
f74adf05c6cddc04d78e5dc951a8c8150ca6fbd4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/f74adf05c6cddc04d78e5dc951a8c8150ca6fbd4/objdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 67, 24675, 12, 1911, 4672, 3536, 632, 2463, 30, 1021, 585, 508, 471, 980, 1300, 434, 326, 14525, 364, 326, 864, 733, 31, 578, 385, 95, 7036, 97, 309, 326, 14525, 2780, 506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 67, 24675, 12, 1911, 4672, 3536, 632, 2463, 30, 1021, 585, 508, 471, 980, 1300, 434, 326, 14525, 364, 326, 864, 733, 31, 578, 385, 95, 7036, 97, 309, 326, 14525, 2780, 506, ...