rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
sage: S == loads(dumps(S)) True
sage: TestSuite(S).run()
def __init__(self, s, k): """ TESTS:: sage: S = Subsets(3,2) sage: S == loads(dumps(S)) True sage: s = Subsets(Set([1])) sage: e = s.first() sage: isinstance(e, s.element_class) True """ self.s = Set(s) self.k = k
6dd43e2ae3a87c0f3bc63b742b30474be0cdba0f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/6dd43e2ae3a87c0f3bc63b742b30474be0cdba0f/subset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 272, 16, 417, 4672, 3536, 22130, 55, 2866, 225, 272, 410, 30, 348, 273, 2592, 4424, 12, 23, 16, 22, 13, 272, 410, 30, 7766, 13587, 12, 55, 2934, 2681, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 272, 16, 417, 4672, 3536, 22130, 55, 2866, 225, 272, 410, 30, 348, 273, 2592, 4424, 12, 23, 16, 22, 13, 272, 410, 30, 7766, 13587, 12, 55, 2934, 2681, ...
one = theano._asarray(1, dtype=out_type.dtype)
out_dtype = out_type.dtype one = theano._asarray(1, dtype=out_dtype)
def mul_calculate(num, denum, aslist=False, out_type=None): if not num and not denum: # Smallest 1 possible. if aslist: return [] else: return N.int8(1) #return [] if aslist else N.int8(1) # Make sure we do not accidently upcast data types. if out_type is None: # TODO: remove this error-causing heuristic if num: first...
90c455096498fd6610278a82e2f755e37d7030b4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/90c455096498fd6610278a82e2f755e37d7030b4/opt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14064, 67, 11162, 12, 2107, 16, 5545, 379, 16, 487, 1098, 33, 8381, 16, 596, 67, 723, 33, 7036, 4672, 309, 486, 818, 471, 486, 5545, 379, 30, 468, 9425, 454, 395, 404, 3323, 18, 309,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14064, 67, 11162, 12, 2107, 16, 5545, 379, 16, 487, 1098, 33, 8381, 16, 596, 67, 723, 33, 7036, 4672, 309, 486, 818, 471, 486, 5545, 379, 30, 468, 9425, 454, 395, 404, 3323, 18, 309,...
done = []
modules = [] if not opt.path: opt.path = ["."]
def load_information_from_description_file(module): """ :param module: The name of the module (sale, purchase, ...) """ for filename in ['__openerp__.py', '__terp__.py']: description_file = os.path.join(module, filename) if os.path.isfile(description_file): return eval(file(description_file).read()) return {}
1fb39798cc0f193ae4d0fbcff0534fc6832e59bb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/1fb39798cc0f193ae4d0fbcff0534fc6832e59bb/module_graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 13117, 67, 2080, 67, 3384, 67, 768, 12, 2978, 4672, 3536, 294, 891, 1605, 30, 1021, 508, 434, 326, 1605, 261, 87, 5349, 16, 23701, 16, 1372, 13, 3536, 364, 1544, 316, 10228, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 13117, 67, 2080, 67, 3384, 67, 768, 12, 2978, 4672, 3536, 294, 891, 1605, 30, 1021, 508, 434, 326, 1605, 261, 87, 5349, 16, 23701, 16, 1372, 13, 3536, 364, 1544, 316, 10228, ...
for handler in self: if handler.resource.get_mtime() is not None: handler.save()
try: for handler in self: if handler.resource.get_mtime() is not None: handler.save() except: self.rollback() raise self.clear()
def commit(self): # Event: before commit for handler in list(self): if hasattr(handler, 'before_commit'): handler.before_commit()
bc7438f927f8166c7b5b1b7104305931f1f89b58 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/bc7438f927f8166c7b5b1b7104305931f1f89b58/transactions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3294, 12, 2890, 4672, 468, 2587, 30, 1865, 3294, 364, 1838, 316, 666, 12, 2890, 4672, 309, 3859, 12, 4176, 16, 296, 5771, 67, 7371, 11, 4672, 1838, 18, 5771, 67, 7371, 1435, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3294, 12, 2890, 4672, 468, 2587, 30, 1865, 3294, 364, 1838, 316, 666, 12, 2890, 4672, 309, 3859, 12, 4176, 16, 296, 5771, 67, 7371, 11, 4672, 1838, 18, 5771, 67, 7371, 1435, 2, -100, ...
sage.ext.sig.get_bad_sigs()
def my_sigfpe(x, n): sage.ext.sig.get_bad_sigs() raise RuntimeError, "A floating point exception occured."
c9e7a8fa29c41dff82f9568f58e31d8021d2b6be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/c9e7a8fa29c41dff82f9568f58e31d8021d2b6be/get_sigs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3399, 67, 7340, 74, 347, 12, 92, 16, 290, 4672, 1002, 7265, 16, 315, 37, 13861, 1634, 1520, 16206, 1199, 225, 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, 3399, 67, 7340, 74, 347, 12, 92, 16, 290, 4672, 1002, 7265, 16, 315, 37, 13861, 1634, 1520, 16206, 1199, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
)
).all()
def id(self, collectionId): '''Return a page with information on a particular Collection ''' try: collectionId = int(collectionId) except ValueError: error = dict(status = False, title = self.appTitle + ' -- Invalid Collection Id', message = 'The collectionId you were linked to is not a' \ ' valid id. If you received ...
ce4f49ecf1367a9a8cb2edc18256cbad76da4d1a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9953/ce4f49ecf1367a9a8cb2edc18256cbad76da4d1a/collections.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 612, 12, 2890, 16, 1849, 548, 4672, 9163, 990, 279, 1363, 598, 1779, 603, 279, 6826, 2200, 9163, 775, 30, 1849, 548, 273, 509, 12, 5548, 548, 2934, 454, 1435, 1335, 2068, 30, 555, 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, 612, 12, 2890, 16, 1849, 548, 4672, 9163, 990, 279, 1363, 598, 1779, 603, 279, 6826, 2200, 9163, 775, 30, 1849, 548, 273, 509, 12, 5548, 548, 2934, 454, 1435, 1335, 2068, 30, 555, 273,...
self.abortResponse(1, _('Constraint Error'), 'warning', _(self._sql_error[key]))
self.abortResponse(1, _('Constraint Error'), 'warning', tr(self._sql_error[key], 'sql_constraint'))
def wrapper(self, dbname, *args, **kwargs): try: if not pooler.get_pool(dbname)._ready: raise except_osv('Database not ready', 'Currently, this database is not fully loaded and can not be used.') return f(self, dbname, *args, **kwargs) except orm.except_orm, inst: if inst.name == 'AccessError': self.logger.debug("Acces...
d0dee320199662492c3779deef06c412238eec73 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/d0dee320199662492c3779deef06c412238eec73/osv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4053, 12, 2890, 16, 18448, 16, 380, 1968, 16, 2826, 4333, 4672, 775, 30, 309, 486, 2845, 264, 18, 588, 67, 6011, 12, 20979, 2934, 67, 1672, 30, 1002, 1335, 67, 538, 90, 2668, 4254, 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, 4053, 12, 2890, 16, 18448, 16, 380, 1968, 16, 2826, 4333, 4672, 775, 30, 309, 486, 2845, 264, 18, 588, 67, 6011, 12, 20979, 2934, 67, 1672, 30, 1002, 1335, 67, 538, 90, 2668, 4254, 4...
class comment(Special, Invisible, PreBibliographic, TextElement): pass
class comment(Special, Invisible, PreBibliographic, FixedTextElement): pass
def astext(self): return self.get('delimiter', ' ') + TextElement.astext(self)
7bb8263582e31fd45f21b978e0692b20f92c3429 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/7bb8263582e31fd45f21b978e0692b20f92c3429/nodes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3364, 408, 12, 2890, 4672, 327, 365, 18, 588, 2668, 15751, 2187, 296, 8624, 397, 3867, 1046, 18, 689, 408, 12, 2890, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3364, 408, 12, 2890, 4672, 327, 365, 18, 588, 2668, 15751, 2187, 296, 8624, 397, 3867, 1046, 18, 689, 408, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
start = stop - daysback * 86400
start = stop - (daysback + 1) * 86400
def render (self): self.perm.assert_permission(perm.TIMELINE_VIEW)
61f640d719225682dff5ae3e7bd7295a56ae1ab7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/61f640d719225682dff5ae3e7bd7295a56ae1ab7/Timeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 261, 2890, 4672, 365, 18, 12160, 18, 11231, 67, 9827, 12, 12160, 18, 4684, 5997, 67, 12145, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 261, 2890, 4672, 365, 18, 12160, 18, 11231, 67, 9827, 12, 12160, 18, 4684, 5997, 67, 12145, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
formatted_tag_value (tag.name, tag.value)))
formatted_tag_value(tag.name, tag.value)))
def execute_tag_command(objs, db, tags, options): tags = form_tag_value_pairs(tags) actions = { 'id': db.tag_object_by_id, 'about': db.tag_object_by_about, } for obj in objs: description = describe_by_mode(obj.specifier, obj.mode) for tag in tags: o = actions[obj.mode](obj.specifier, tag.name, tag.value) if o == 0: if ...
e75848841ac96982524448e932e12fd6ff9cbe0c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12637/e75848841ac96982524448e932e12fd6ff9cbe0c/fdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 67, 2692, 67, 3076, 12, 18093, 16, 1319, 16, 2342, 16, 702, 4672, 2342, 273, 646, 67, 2692, 67, 1132, 67, 11545, 12, 4156, 13, 4209, 273, 288, 296, 350, 4278, 1319, 18, 2692, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 67, 2692, 67, 3076, 12, 18093, 16, 1319, 16, 2342, 16, 702, 4672, 2342, 273, 646, 67, 2692, 67, 1132, 67, 11545, 12, 4156, 13, 4209, 273, 288, 296, 350, 4278, 1319, 18, 2692, 6...
def set_primary_key(self, person, commit = True): """ Set the primary key for a person
if self['key_type'] == 'ssh': good_ssh_key = r'^.*(?:ssh-dss|ssh-rsa)[ ]+[A-Za-z0-9+/=]+(?: .*)?$' if not re.match(good_ssh_key, key, re.IGNORECASE): raise PLCInvalidArgument, "Invalid SSH version 2 public key" def blacklist(self, commit = True): """ Permanently blacklist key (and all other identical keys), ...
def set_primary_key(self, person, commit = True):
6a15f46cfce003d21ee8ba0bee213df66250e60e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7598/6a15f46cfce003d21ee8ba0bee213df66250e60e/Keys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 8258, 67, 856, 12, 2890, 16, 6175, 16, 3294, 273, 1053, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 8258, 67, 856, 12, 2890, 16, 6175, 16, 3294, 273, 1053, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def Schema(self): """Return a (wrapped) schema instance for this object instance.""" return ImplicitAcquisitionWrapper(self.schema, self) klass.Schema = Schema
klass.Schema = lambda self: \ ImplicitAcquisitionWrapper(self.schema, self)
def Schema(self): """Return a (wrapped) schema instance for this object instance.""" return ImplicitAcquisitionWrapper(self.schema, self)
32203e1b1de0c1244dd931df27856fa3c337e722 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/32203e1b1de0c1244dd931df27856fa3c337e722/ClassGen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4611, 12, 2890, 4672, 3536, 990, 279, 261, 18704, 13, 1963, 791, 364, 333, 733, 791, 12123, 327, 26142, 9988, 22094, 3611, 12, 2890, 18, 4821, 16, 365, 13, 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, 0, 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, 4611, 12, 2890, 4672, 3536, 990, 279, 261, 18704, 13, 1963, 791, 364, 333, 733, 791, 12123, 327, 26142, 9988, 22094, 3611, 12, 2890, 18, 4821, 16, 365, 13, 2, -100, -100, -100, -100, -...
_cs_matrix.__add__(self, other, self.colind, other.colind, csrplcsr, csr_matrix)
if isscalarlike(other): raise NotImplementedError, 'adding a scalar to a CSR matrix ' \ 'is not yet supported' elif isspmatrix(other): other = other.tocsr() if (other.shape != self.shape): raise ValueError, "inconsistent shapes" indptr, colind, data = csrplcsr(self.shape[0], other.shape[1], \ self.indptr, self.colind...
def __add__(self, other): _cs_matrix.__add__(self, other, self.colind, other.colind, csrplcsr, csr_matrix)
68509c21665a282972955c9c541c98c796ab1d7d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12971/68509c21665a282972955c9c541c98c796ab1d7d/sparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1289, 972, 12, 2890, 16, 1308, 4672, 389, 2143, 67, 5667, 16186, 1289, 972, 12, 2890, 16, 1308, 16, 365, 18, 1293, 728, 16, 1308, 18, 1293, 728, 16, 13271, 412, 21653, 16, 13271,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1289, 972, 12, 2890, 16, 1308, 4672, 389, 2143, 67, 5667, 16186, 1289, 972, 12, 2890, 16, 1308, 16, 365, 18, 1293, 728, 16, 1308, 18, 1293, 728, 16, 13271, 412, 21653, 16, 13271,...
return {"href": dispatch.translate(request, request.path_info, view_mode='translate', item=item, match_names=[]),
return {"href": dispatch.translate(request, store.pootle_path, view_mode='translate', item=item, match_names=[]),
def get_edit_link(request, store, item): """gets a link to edit the given item, if the user has permission""" if check_permission("translate", request) or check_permission("suggest", request): # l10n: verb return {"href": dispatch.translate(request, request.path_info, view_mode='translate', item=item, match_names=[]), ...
8ad0d2bb47f229fa39aa69769fb87a0dcffcc06a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11388/8ad0d2bb47f229fa39aa69769fb87a0dcffcc06a/translate_page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4619, 67, 1232, 12, 2293, 16, 1707, 16, 761, 4672, 3536, 14665, 279, 1692, 358, 3874, 326, 864, 761, 16, 309, 326, 729, 711, 4132, 8395, 309, 866, 67, 9827, 2932, 13929, 3113,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4619, 67, 1232, 12, 2293, 16, 1707, 16, 761, 4672, 3536, 14665, 279, 1692, 358, 3874, 326, 864, 761, 16, 309, 326, 729, 711, 4132, 8395, 309, 866, 67, 9827, 2932, 13929, 3113,...
newlist.append(dep_listcleanup(x))
newlist=newlist+dep_listcleanup(x)
def dep_listcleanup(deplist): "remove unnecessary clutter from deplists. Remove multiple list levels, empty lists" newlist=[] if (len(deplist)==1): #remove multiple-depth lists if (type(deplist[0])==types.ListType): for x in deplist[0]: if type(x)==types.ListType: if len(x)!=0: newlist.append(dep_listcleanup(x)) else:...
a8789037609a39bb6d8ae43c09ccb514fdb75a5e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9957/a8789037609a39bb6d8ae43c09ccb514fdb75a5e/portage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 67, 1098, 16732, 12, 323, 17842, 4672, 315, 4479, 19908, 927, 18220, 628, 443, 412, 1486, 18, 225, 3581, 3229, 666, 7575, 16, 1008, 6035, 6, 394, 1098, 33, 8526, 309, 261, 1897, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 67, 1098, 16732, 12, 323, 17842, 4672, 315, 4479, 19908, 927, 18220, 628, 443, 412, 1486, 18, 225, 3581, 3229, 666, 7575, 16, 1008, 6035, 6, 394, 1098, 33, 8526, 309, 261, 1897, ...
assert self._jmim._n_z.value != 0
assert self._m._n_z.value != 0
def getCostJacobian(self, independent_variables, mask=None): """ Returns the jacobian for the cost function with respect to the independent variable independent_variable. @param independent_variable: A mask consisting of the independent variables (JMI_DER_X etc.) requested. @todo: independent_variable should not be a ...
733964346bd705d3e3fa78795693f8a99289c936 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7711/733964346bd705d3e3fa78795693f8a99289c936/shooting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 669, 46, 1077, 26968, 12, 2890, 16, 14807, 67, 7528, 16, 3066, 33, 7036, 4672, 3536, 2860, 326, 20138, 26968, 364, 326, 6991, 445, 598, 8762, 358, 326, 14807, 2190, 14807, 67, 6105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 669, 46, 1077, 26968, 12, 2890, 16, 14807, 67, 7528, 16, 3066, 33, 7036, 4672, 3536, 2860, 326, 20138, 26968, 364, 326, 6991, 445, 598, 8762, 358, 326, 14807, 2190, 14807, 67, 6105...
else:
elif corpse or target.char.dead:
def bandage_response( char, args, target ): corpse = None if target.item: if validCorpseTarget( char, target.item ): corpse = target.item else: return elif target.char and not validCharTarget( char, target.char ): return elif not target.char: char.socket.sysmessage( 'You have to target either a corpse or a creature....
55626ceda289ce3b06a7a2cc2739b870afcb3658 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/55626ceda289ce3b06a7a2cc2739b870afcb3658/bandages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8937, 410, 67, 2740, 12, 1149, 16, 833, 16, 1018, 262, 30, 1858, 84, 307, 273, 599, 225, 309, 1018, 18, 1726, 30, 309, 923, 6217, 84, 307, 2326, 12, 1149, 16, 1018, 18, 1726, 262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8937, 410, 67, 2740, 12, 1149, 16, 833, 16, 1018, 262, 30, 1858, 84, 307, 273, 599, 225, 309, 1018, 18, 1726, 30, 309, 923, 6217, 84, 307, 2326, 12, 1149, 16, 1018, 18, 1726, 262, ...
s = md5.new()
def dgst(file): import md5 BUFSIZE = 1024*1024 s = md5.new() f = open(file, 'r') while 1: buf = f.read(BUFSIZE) if not buf: break s.update(buf) return s.hexdigest() f.close()
c10ce4993b5e2520615e603402c626935a51ca6d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3890/c10ce4993b5e2520615e603402c626935a51ca6d/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14938, 334, 12, 768, 4672, 1930, 3481, 25, 10937, 42, 4574, 273, 6250, 14, 2163, 3247, 284, 273, 1696, 12, 768, 16, 296, 86, 6134, 1323, 404, 30, 1681, 273, 284, 18, 896, 12, 3000, 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, 14938, 334, 12, 768, 4672, 1930, 3481, 25, 10937, 42, 4574, 273, 6250, 14, 2163, 3247, 284, 273, 1696, 12, 768, 16, 296, 86, 6134, 1323, 404, 30, 1681, 273, 284, 18, 896, 12, 3000, 4...
if allParam[-3] != '': for i in range(len(allParam[3])): summary.write('<th>TDT%d</th>'%(i+1))
if len(allParam[-8]) > 0: for p in allParam[-8]: summary.write('<th>%s:TDT</th>'%p)
def writeReport(content, allParam, results): ''' write a HTML file. The parts for each population has been written but we need a summary table. ''' print "Writing a report (saved in summary.htm )" try: summary = open(outputDir + "/summary.htm", 'w') except: raise exceptions.IOError("Can not open a summary file : " + ou...
e0cab91969e23e758e89e48147a21abfafa168f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/401/e0cab91969e23e758e89e48147a21abfafa168f7/simuComplexDisease.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 4820, 12, 1745, 16, 777, 786, 16, 1686, 4672, 9163, 1045, 279, 3982, 585, 18, 1021, 2140, 364, 1517, 11209, 711, 2118, 5941, 1496, 732, 1608, 279, 4916, 1014, 18, 9163, 1172, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 4820, 12, 1745, 16, 777, 786, 16, 1686, 4672, 9163, 1045, 279, 3982, 585, 18, 1021, 2140, 364, 1517, 11209, 711, 2118, 5941, 1496, 732, 1608, 279, 4916, 1014, 18, 9163, 1172, 315, ...
dest = os.path.dirname(os.path.join('share', mo))
dest = os.path.dirname(mo)
def _compile_po_files(self): i18nfiles = [] mo_files = glob.glob("share/locale/*/LC_MESSAGES/zero-install.mo") assert mo_files for mo in mo_files: dest = os.path.dirname(os.path.join('share', mo)) i18nfiles.append((dest, [mo])) return i18nfiles
1bb5a3e91b8190d26e3380dade1ffcf84b690e09 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10543/1bb5a3e91b8190d26e3380dade1ffcf84b690e09/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11100, 67, 1631, 67, 2354, 12, 2890, 4672, 277, 2643, 82, 2354, 273, 5378, 7344, 67, 2354, 273, 4715, 18, 10581, 2932, 14419, 19, 6339, 19, 5549, 13394, 67, 26195, 19, 7124, 17, 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, 389, 11100, 67, 1631, 67, 2354, 12, 2890, 4672, 277, 2643, 82, 2354, 273, 5378, 7344, 67, 2354, 273, 4715, 18, 10581, 2932, 14419, 19, 6339, 19, 5549, 13394, 67, 26195, 19, 7124, 17, 5...
self._value[1] = 0
else: self._value[0] = 0 self._value[1] = 0
def increment(self): # Check if Minutes maxed out if self._value[1] == 59: # Check if Hours not maxed out if self._value[0] < 23: # Increment Hour, reset Minutes to 0 self._value[0] += 1 self._value[1] = 0 else: # Increment Minutes self._value[1] += 1 # Trigger change self.changed()
a4fd5bddb0f8c1b05b963cb8af9692f6c89f3dab /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/a4fd5bddb0f8c1b05b963cb8af9692f6c89f3dab/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5504, 12, 2890, 4672, 468, 2073, 309, 5444, 993, 943, 329, 596, 309, 365, 6315, 1132, 63, 21, 65, 422, 14995, 30, 468, 2073, 309, 670, 4390, 486, 943, 329, 596, 309, 365, 6315, 1132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5504, 12, 2890, 4672, 468, 2073, 309, 5444, 993, 943, 329, 596, 309, 365, 6315, 1132, 63, 21, 65, 422, 14995, 30, 468, 2073, 309, 670, 4390, 486, 943, 329, 596, 309, 365, 6315, 1132, ...
contentType=contentType, extraHeaders=extraHeaders)
contentType=contentType)
def _putItem(self, item): """ putItem should publish an item and return etag/date, etc. """
9407bec8d667ad0d61415abd978106b23f8daadc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/9407bec8d667ad0d61415abd978106b23f8daadc/Sharing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 458, 1180, 12, 2890, 16, 761, 4672, 3536, 1378, 1180, 1410, 3808, 392, 761, 471, 327, 13655, 19, 712, 16, 5527, 18, 3536, 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, 389, 458, 1180, 12, 2890, 16, 761, 4672, 3536, 1378, 1180, 1410, 3808, 392, 761, 471, 327, 13655, 19, 712, 16, 5527, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
updatefiledate(dstfile);
updatefiledate(dstfile)
def CopyFile(dstfile,srcfile): if (dstfile[-1]=='/'): dstdir = dstfile fnl = srcfile.rfind("/") if (fnl < 0): fn = srcfile else: fn = srcfile[fnl+1:] dstfile = dstdir + fn; if (older(dstfile,srcfile)): global VERBOSE if VERBOSE >= 1: print "Copying "+srcfile+" -> "+dstfile+"..." WriteFile(dstfile,ReadFile(srcfile)) upd...
aa9700942409f59dfc63d4542d0bad0a01230726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/aa9700942409f59dfc63d4542d0bad0a01230726/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 812, 12, 11057, 768, 16, 4816, 768, 4672, 309, 261, 11057, 768, 18919, 21, 65, 18920, 2473, 4672, 3046, 1214, 273, 3046, 768, 2295, 80, 273, 1705, 768, 18, 86, 4720, 2932, 4898, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 812, 12, 11057, 768, 16, 4816, 768, 4672, 309, 261, 11057, 768, 18919, 21, 65, 18920, 2473, 4672, 3046, 1214, 273, 3046, 768, 2295, 80, 273, 1705, 768, 18, 86, 4720, 2932, 4898, ...
size = event.GetSize()
size = self.GetClientSize()
def OnSize(self, event): if not wx.GetApp().ignoreSynchronizeWidget: size = event.GetSize() widthMinusLastColumn = 0
f21edc0009ce00e11db682294e1d907846620696 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/f21edc0009ce00e11db682294e1d907846620696/ControlBlocks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1225, 12, 2890, 16, 871, 4672, 309, 486, 7075, 18, 967, 3371, 7675, 6185, 19298, 554, 4609, 30, 225, 963, 273, 365, 18, 967, 1227, 1225, 1435, 1835, 18434, 3024, 1494, 273, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1225, 12, 2890, 16, 871, 4672, 309, 486, 7075, 18, 967, 3371, 7675, 6185, 19298, 554, 4609, 30, 225, 963, 273, 365, 18, 967, 1227, 1225, 1435, 1835, 18434, 3024, 1494, 273, 374, ...
desc += '\nThanks,\n' + 'Project Manager\n' + (case_data.project_id and case_data.project_id.manager and case_data.project_id.manager.name or False)
desc += '\nThanks,\n' + 'Project Manager\n' + (case_data.project_id and case_data.project_id.manager and case_data.project_id.manager.name or False)
def write(self, cr, uid, ids, vals, context={}): res = super(crm_case, self).write(cr, uid, ids, vals, context={}) cr.commit() case_data = self.browse(cr, uid, ids[0], context) desc = '''Hello ,\n\n The case is updated for the project: %s\n\nModified Datas are:\n''' %(str(case_data.project_id.name),) for val in vals: ...
f8ec4f89689a756078255f7916fa988130b61f35 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/f8ec4f89689a756078255f7916fa988130b61f35/portal_project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 5773, 16, 819, 12938, 4672, 400, 273, 2240, 12, 3353, 81, 67, 3593, 16, 365, 2934, 2626, 12, 3353, 16, 4555, 16, 3258, 16, 5773, 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, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 5773, 16, 819, 12938, 4672, 400, 273, 2240, 12, 3353, 81, 67, 3593, 16, 365, 2934, 2626, 12, 3353, 16, 4555, 16, 3258, 16, 5773, 16,...
self.nswindow = MiroWindow.alloc() self.nswindow.initWithContentRect_styleMask_backing_defer_(
self.nswindow = MiroWindow.alloc().initWithContentRect_styleMask_backing_defer_(
def __init__(self, title, rect): signals.SignalEmitter.__init__(self) self.create_signal('active-change') self.create_signal('will-close') self.create_signal('did-move') self.create_signal('key-press') self.create_signal('show') self.create_signal('hide') self.nswindow = MiroWindow.alloc() self.nswindow.initWithContent...
f74389cbeb9da396207a408647cca07d2a36476b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/f74389cbeb9da396207a408647cca07d2a36476b/window.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2077, 16, 4917, 4672, 11505, 18, 11208, 13476, 16186, 2738, 972, 12, 2890, 13, 365, 18, 2640, 67, 10420, 2668, 3535, 17, 3427, 6134, 365, 18, 2640, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2077, 16, 4917, 4672, 11505, 18, 11208, 13476, 16186, 2738, 972, 12, 2890, 13, 365, 18, 2640, 67, 10420, 2668, 3535, 17, 3427, 6134, 365, 18, 2640, 67, 1...
if self.vsts_path == None or self.lcov_converter_path == None:
if self.tools_path == None: logging.error('Could not locate Visual Studio Team Server tools')
def SetUp(self, binaries): """Set up the platform specific environment and instrument the binaries for coverage.
bc410f64b906bf3a5ca7721d73b3632fcccaeae2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9392/bc410f64b906bf3a5ca7721d73b3632fcccaeae2/coverage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1211, 12, 2890, 16, 4158, 5646, 4672, 3536, 694, 731, 326, 4072, 2923, 3330, 471, 10353, 326, 4158, 5646, 364, 11196, 18, 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, 0, 0, 0, 0, 0, 0, 0, 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, 1000, 1211, 12, 2890, 16, 4158, 5646, 4672, 3536, 694, 731, 326, 4072, 2923, 3330, 471, 10353, 326, 4158, 5646, 364, 11196, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if self._norm is None: self._norm=sqrt(sum(self._ar*self._ar)) return self._norm
return sqrt(sum(self._ar*self._ar))
def norm(self): "Return vector norm" if self._norm is None: # Avoid expensive sqrts in future # calls of norm self._norm=sqrt(sum(self._ar*self._ar)) return self._norm
1361533b7b7846e8edc2806567abeb60f5403418 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/1361533b7b7846e8edc2806567abeb60f5403418/Vector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4651, 12, 2890, 4672, 315, 990, 3806, 4651, 6, 309, 365, 6315, 7959, 353, 599, 30, 468, 17843, 19326, 4744, 86, 3428, 316, 3563, 468, 4097, 434, 4651, 365, 6315, 7959, 33, 24492, 12, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4651, 12, 2890, 4672, 315, 990, 3806, 4651, 6, 309, 365, 6315, 7959, 353, 599, 30, 468, 17843, 19326, 4744, 86, 3428, 316, 3563, 468, 4097, 434, 4651, 365, 6315, 7959, 33, 24492, 12, 1...
print ' -- Type definition %s' % (type_en,)
def _resolve (self): if self.isResolved(): return self
5e29b056ef2ca88b50949689acf08579a173ceff /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/5e29b056ef2ca88b50949689acf08579a173ceff/structures.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10828, 261, 2890, 4672, 309, 365, 18, 291, 12793, 13332, 327, 365, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 389, 10828, 261, 2890, 4672, 309, 365, 18, 291, 12793, 13332, 327, 365, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
return len(item.children) > 0
if item is nil: return len(self.model) > 0 else: return len(item.children) > 0
def outlineView_isItemExpandable_(self, view, item): return len(item.children) > 0
01824131141f410abd6bc17db9f3edc70d4e607f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/01824131141f410abd6bc17db9f3edc70d4e607f/tablemodel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16363, 1767, 67, 291, 1180, 12271, 429, 67, 12, 2890, 16, 1476, 16, 761, 4672, 327, 562, 12, 1726, 18, 5906, 13, 405, 374, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16363, 1767, 67, 291, 1180, 12271, 429, 67, 12, 2890, 16, 1476, 16, 761, 4672, 327, 562, 12, 1726, 18, 5906, 13, 405, 374, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
gnOptList=[_("Geonames in EXIF keywords + HTML sumarize in IPTC caption"),
gnOptList=[_("Geonames in EXIF keywords + HTML summary in IPTC caption"),
def __init__(self,parent, title): """Initialize the main frame""" global bkg wx.Frame.__init__(self, parent, -1, title="GPicSync",size=(1000,600)) self.tcam_l="00:00:00" self.tgps_l="00:00:00" self.log=False self.stop=False self.interpolation=False self.picDir="" self.utcOffset="0" self.backup=True self.picDirDefault=...
524ce0d18ebeb0a911ad3d1f70bfa5f1de97911c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11453/524ce0d18ebeb0a911ad3d1f70bfa5f1de97911c/gpicsync-GUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 16, 2077, 4672, 3536, 7520, 326, 2774, 2623, 8395, 2552, 324, 14931, 225, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 982, 16, 300, 21, 16, 207...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2938, 16, 2077, 4672, 3536, 7520, 326, 2774, 2623, 8395, 2552, 324, 14931, 225, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 982, 16, 300, 21, 16, 207...
def fl_set_xyplot_key(ob, id, key): """ fl_set_xyplot_key(ob, id, key) """ _fl_set_xyplot_key(ob, id, key)
def fl_set_xyplot_key(obj, id, key): """ fl_set_xyplot_key(obj, id, key) """ _fl_set_xyplot_key(obj, id, key)
def fl_set_xyplot_key(ob, id, key): """ fl_set_xyplot_key(ob, id, key) """ _fl_set_xyplot_key(ob, id, key)
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, 67, 1698, 4032, 67, 856, 12, 2603, 16, 612, 16, 498, 4672, 3536, 1183, 67, 542, 67, 1698, 4032, 67, 856, 12, 2603, 16, 612, 16, 498, 13, 3536, 225, 389, 2242, 67, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 1698, 4032, 67, 856, 12, 2603, 16, 612, 16, 498, 4672, 3536, 1183, 67, 542, 67, 1698, 4032, 67, 856, 12, 2603, 16, 612, 16, 498, 13, 3536, 225, 389, 2242, 67, 54...
EMR_UNKNOWN.__init__(self)
_EMR_UNKNOWN.__init__(self)
def __init__(self): EMR_UNKNOWN.__init__(self)
688318604ffe18a54bb261a3bde4bf6e1784a8de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8136/688318604ffe18a54bb261a3bde4bf6e1784a8de/pyemf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 7141, 54, 67, 14737, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 7141, 54, 67, 14737, 16186, 2738, 972, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
print "AddSlice(%s)" % name, slice_id = AddSlice(admin, name, {'url': url, 'description': description})
slice_fields = random_slice() print "AddSlice", slice_id = AddSlice(admin, slice_fields)
def unicmp(a, b, encoding = "utf-8"): """ When connected directly to the DB, values are returned as raw 8-bit strings that may need to be decoded (as UTF-8 by default) in order to compare them against expected Python Unicode strings. """ is8bit = re.compile("[\x80-\xff]").search if isinstance(a, str) and is8bit(a): a ...
f51dbe12c30f8473b083ea86b3dade41e56f4615 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7598/f51dbe12c30f8473b083ea86b3dade41e56f4615/Test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 335, 1291, 12, 69, 16, 324, 16, 2688, 273, 315, 3158, 17, 28, 6, 4672, 3536, 5203, 5840, 5122, 358, 326, 2383, 16, 924, 854, 2106, 487, 1831, 1725, 17, 3682, 2064, 716, 2026, 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, 640, 335, 1291, 12, 69, 16, 324, 16, 2688, 273, 315, 3158, 17, 28, 6, 4672, 3536, 5203, 5840, 5122, 358, 326, 2383, 16, 924, 854, 2106, 487, 1831, 1725, 17, 3682, 2064, 716, 2026, 16...
if not Fatal and len(ResourceNodes) == 1: if not resource.IsWorkingCorrectly(ResourceNodes[0]): result.append("Resource " + repr(resource) + " not operating properly.")
if not self.CM.HasQuorum() and len(ResourceNodes) != 0: result.append("Resource " + repr(resource) + " active without Quorum: " + repr(ResourceNodes)) elif len(ResourceNodes) == 0 and self.CM.HasQuorum(): result.append("Resource " + repr(resource) + " not served anywhere.") elif len(ResourceNodes) > 1: result...
def _doaudit(self): '''Check to see if all resources are running in exactly one place in the cluster.
fe96223aad24cf390affab7866cc7e4142055f84 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5112/fe96223aad24cf390affab7866cc7e4142055f84/CTSaudits.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 17413, 12, 2890, 4672, 9163, 1564, 358, 2621, 309, 777, 2703, 854, 3549, 316, 8950, 1245, 3166, 316, 326, 2855, 18, 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, 0, 0, 0, 0, 0, 0, 0, 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, 2896, 17413, 12, 2890, 4672, 9163, 1564, 358, 2621, 309, 777, 2703, 854, 3549, 316, 8950, 1245, 3166, 316, 326, 2855, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
par = ' : ' + ','.join(['%s:=%s'%(a,b) for a,b in params.items()])
par = ' : ' + ','.join(['%s:=%s'%(a,self(b)) for a,b in params.items()])
def function_call(self, function, args=[], params={}, nvals=1): if not isinstance(args, list): args = [args] for i in range(len(args)): if not isinstance(args[i], ExpectElement): args[i] = self(args[i]) nvals = int(nvals) if len(params) == 0: par = '' else: par = ' : ' + ','.join(['%s:=%s'%(a,b) for a,b in params.items...
03798e397e86354a195fc0d72f8388f8dfbe54cb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/03798e397e86354a195fc0d72f8388f8dfbe54cb/magma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 22850, 6487, 859, 28793, 290, 4524, 33, 21, 4672, 309, 486, 1549, 12, 1968, 16, 666, 4672, 833, 273, 306, 1968, 65, 364, 277, 316, 1048, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 22850, 6487, 859, 28793, 290, 4524, 33, 21, 4672, 309, 486, 1549, 12, 1968, 16, 666, 4672, 833, 273, 306, 1968, 65, 364, 277, 316, 1048, 12...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 390) else quickfix.StringField.__init__(self, 390, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 890, 9349, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 890, 9349, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 9...
self.name = name self.description = description self.value = value
self.name = _prelude.prelude_option_get_longopt(option) self.instantiable = bool(_prelude.prelude_option_get_flags(option) & _prelude.ALLOW_MULTIPLE_CALL) if self.name.find("[") != -1: self.instance = True m = re.compile("(\w+)\[(\w+)\]").match(self.name) self.instantiable_name = m.group(1) self.instance_name = m.group...
def __init__(self, parent, name, description, value): self.parent = parent self.name = name self.description = description self.value = value self.options = [ ] nodes = [ name ] while parent: nodes.insert(0, parent.name) parent = parent.parent self.path = ".".join(nodes)
cd1da66868e748e65faa498ebd346bf8a3a2b7a7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11628/cd1da66868e748e65faa498ebd346bf8a3a2b7a7/prelude.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 508, 16, 2477, 16, 460, 4672, 365, 18, 2938, 273, 982, 365, 18, 529, 273, 389, 1484, 80, 1317, 18, 1484, 80, 1317, 67, 3482, 67, 588, 67, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 982, 16, 508, 16, 2477, 16, 460, 4672, 365, 18, 2938, 273, 982, 365, 18, 529, 273, 389, 1484, 80, 1317, 18, 1484, 80, 1317, 67, 3482, 67, 588, 67, 57...
self.SetBackgroundColour(group.colour) self.SetForegroundColour(wxBLACK)
def __init__(self, parent, cursor, tagSize, group, pnlStyle):# = wxSIMPLE_BORDER): wxPanel.__init__(self, parent, -1, size = wxSize(tagSize, tagSize), style = pnlStyle) self.Show(false) self.group = group self.SetBackgroundColour(group.colour) self.SetForegroundColour(wxBLACK) self.SetCursor(wxStockCursor(cursor)) self...
2dfc26470222dc7c48c18810d65dc6cd09f6688b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/2dfc26470222dc7c48c18810d65dc6cd09f6688b/SelectionTags.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 3347, 16, 1047, 1225, 16, 1041, 16, 28861, 2885, 4672, 7, 273, 7075, 31669, 900, 67, 38, 7954, 4672, 7075, 5537, 16186, 2738, 972, 12, 2890, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 3347, 16, 1047, 1225, 16, 1041, 16, 28861, 2885, 4672, 7, 273, 7075, 31669, 900, 67, 38, 7954, 4672, 7075, 5537, 16186, 2738, 972, 12, 2890, 16,...
files = ['$(OPT)', config_c, frozen_c, frozenmain_c] + \ addfiles + libs + \
files = ['$(OPT)', config_c, frozen_c] + \ supp_sources + addfiles + libs + \
def main(): # overridable context prefix = PREFIX # settable with -p option extensions = [] path = sys.path # output files frozen_c = 'frozen.c' config_c = 'config.c' target = 'a.out' # normally derived from script name makefile = 'Makefile' # parse command line try: opts, args = getopt.getopt(sys.argv[1:], 'e:p:'...
150316ee2e7db3d0ad633f2dbe53a066add49e45 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/150316ee2e7db3d0ad633f2dbe53a066add49e45/freeze.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 5713, 27621, 819, 1633, 273, 17154, 1082, 202, 7, 444, 2121, 598, 300, 84, 1456, 4418, 273, 5378, 589, 273, 2589, 18, 803, 225, 468, 876, 1390, 12810, 67, 71, 273, 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, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 5713, 27621, 819, 1633, 273, 17154, 1082, 202, 7, 444, 2121, 598, 300, 84, 1456, 4418, 273, 5378, 589, 273, 2589, 18, 803, 225, 468, 876, 1390, 12810, 67, 71, 273, 29...
lastOnBranch = newVersion
lastOnBranch = version
def nextVersion(repos, troveName, versionStr, troveFlavor, currentBranch, binary = True, sourceName = None): """ Calculates the version to use for a newly built trove which is about to be added to the repository. @param repos: repository the trove will be part of @type repos: repository.AbstractRepository @param trove...
cc4b5c05e36be79b28349e09e7b35e426c335795 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/cc4b5c05e36be79b28349e09e7b35e426c335795/helper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 1444, 12, 15564, 16, 23432, 537, 461, 16, 1177, 1585, 16, 23432, 537, 2340, 9444, 16, 783, 7108, 16, 3112, 273, 1053, 16, 28337, 273, 599, 4672, 3536, 26128, 326, 1177, 358, 999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 1444, 12, 15564, 16, 23432, 537, 461, 16, 1177, 1585, 16, 23432, 537, 2340, 9444, 16, 783, 7108, 16, 3112, 273, 1053, 16, 28337, 273, 599, 4672, 3536, 26128, 326, 1177, 358, 999, ...
result = jobDB.getJobAttributes(job,['JDL','Priority','Status'])
result = jobDB.getJobAttributes(job,['SystemPriority','Status'])
def findMatchInQueue (self, classAdAgent, queueID): """ Find the highest priority job in the Task Queue with queueID matching the classAdAgent requirements """
01ec48096a4898a90e8c548b22f6f8b762bc621c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12864/01ec48096a4898a90e8c548b22f6f8b762bc621c/MatcherHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 2060, 382, 3183, 261, 2890, 16, 667, 1871, 3630, 16, 2389, 734, 4672, 3536, 225, 4163, 326, 9742, 4394, 1719, 316, 326, 3837, 7530, 598, 2389, 734, 3607, 326, 667, 1871, 3630, 8433...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 2060, 382, 3183, 261, 2890, 16, 667, 1871, 3630, 16, 2389, 734, 4672, 3536, 225, 4163, 326, 9742, 4394, 1719, 316, 326, 3837, 7530, 598, 2389, 734, 3607, 326, 667, 1871, 3630, 8433...
def by_site(self, site=None):
def by_site(self, site=None, **kwargs):
def by_site(self, site=None): if not site: site = Site.objects.get_current() site = site.id
50b559d680a7cd213d3aee4406cb14f993d478d9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/171/50b559d680a7cd213d3aee4406cb14f993d478d9/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 635, 67, 4256, 12, 2890, 16, 2834, 33, 7036, 16, 2826, 4333, 4672, 309, 486, 2834, 30, 2834, 273, 9063, 18, 6911, 18, 588, 67, 2972, 1435, 225, 2834, 273, 2834, 18, 350, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 635, 67, 4256, 12, 2890, 16, 2834, 33, 7036, 16, 2826, 4333, 4672, 309, 486, 2834, 30, 2834, 273, 9063, 18, 6911, 18, 588, 67, 2972, 1435, 225, 2834, 273, 2834, 18, 350, 2, -100, -10...
else: return "picture.py?ID=%s&size=%s" % (ID, size)
def link_picture(ID, size=None): 'return a link to a picture, optionally thumbnailed' if size: return "picture.py?ID=%s" % ID else: return "picture.py?ID=%s&size=%s" % (ID, size)
f983f2488d2484ba86f646cb0c65e3dd3e7b36bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8821/f983f2488d2484ba86f646cb0c65e3dd3e7b36bd/lib_link.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 67, 21126, 12, 734, 16, 963, 33, 7036, 4672, 296, 2463, 279, 1692, 358, 279, 15406, 16, 8771, 11156, 82, 1708, 11, 309, 963, 30, 327, 315, 21126, 18, 2074, 35, 734, 5095, 87, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 67, 21126, 12, 734, 16, 963, 33, 7036, 4672, 296, 2463, 279, 1692, 358, 279, 15406, 16, 8771, 11156, 82, 1708, 11, 309, 963, 30, 327, 315, 21126, 18, 2074, 35, 734, 5095, 87, 6...
return ''
return ''
def __str__(self): if not self.object._context: return self.name
f16cf978ff88ce3b744db58016d29e38fb92872c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/f16cf978ff88ce3b744db58016d29e38fb92872c/report_sxw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 309, 486, 365, 18, 1612, 6315, 2472, 30, 327, 365, 18, 529, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 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, 701, 972, 12, 2890, 4672, 309, 486, 365, 18, 1612, 6315, 2472, 30, 327, 365, 18, 529, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if os.readlink(root).startswith(mp.root): pl.append( root[len('/proc/'):-len('/root')] )
try: if os.readlink(root).startswith(mp.root): pl.append( root[len('/proc/'):-len('/root')] ) except OSError, e: if e.errno == 2: continue
def umount(mp, mounts): if not mp in mounts: dbg("src=%s dest=%s root=%s not mounted" % (mp.src, mp.dest, mp.root)) return while mp in mounts: mounts.remove( mp ) fp = mp.root.pjoin(mp.dest) if cmd('umount %s' % fp, raise_exception=False) != 0: warn('Unmount of %s failed.' % fp) warn('Killing any processes still runn...
215a58bcd254ecce7ab89250d01fafd46cdea24a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13627/215a58bcd254ecce7ab89250d01fafd46cdea24a/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9570, 592, 12, 1291, 16, 19399, 4672, 309, 486, 6749, 316, 19399, 30, 28966, 2932, 4816, 5095, 87, 1570, 5095, 87, 1365, 5095, 87, 486, 20919, 6, 738, 261, 1291, 18, 4816, 16, 6749, 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, 9570, 592, 12, 1291, 16, 19399, 4672, 309, 486, 6749, 316, 19399, 30, 28966, 2932, 4816, 5095, 87, 1570, 5095, 87, 1365, 5095, 87, 486, 20919, 6, 738, 261, 1291, 18, 4816, 16, 6749, 18...
return _has( op, values2, value1 )
values2 = values2.GetList( op, value1 ) for v in value1: if v not in values2: return 0 return 1
def _one_of( op, value1, values2, _has = _has ): return _has( op, values2, value1 ) #~ if __debug__: #~ if len( value1 ) != 1: #~ _Error("Must be a non-list option") #~ return value1[0] in values2.GetList( op, value1 )
1afeb62010e6e221e256dafff674f7c94958fce2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5931/1afeb62010e6e221e256dafff674f7c94958fce2/options.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 377, 389, 476, 67, 792, 12, 1061, 16, 460, 21, 16, 924, 22, 16, 389, 5332, 273, 389, 5332, 262, 30, 327, 389, 5332, 12, 1061, 16, 924, 22, 16, 460, 21, 262, 225, 468, 98, 309, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 377, 389, 476, 67, 792, 12, 1061, 16, 460, 21, 16, 924, 22, 16, 389, 5332, 273, 389, 5332, 262, 30, 327, 389, 5332, 12, 1061, 16, 924, 22, 16, 460, 21, 262, 225, 468, 98, 309, 10...
errStr = "ReplicaManager.replicateAndRegister: Failed to get size registered for LFN."
errStr = "ReplicaManager.__initializeReplication: Failed to get size for LFN."
def __initializeReplication(self,lfn,destSE,): ########################################################### # Check that the destination storage element is sane and resolve its name destStorageElement = StorageElement(destSE) if not destStorageElement.isValid()['Value']: errStr = "ReplicaManager.replicateAndRegister: Fa...
e8a6375e5f8805958dacbec0f1a4c6f0cfc1b690 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12864/e8a6375e5f8805958dacbec0f1a4c6f0cfc1b690/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 11160, 8309, 12, 2890, 16, 80, 4293, 16, 10488, 1090, 16, 4672, 19709, 5516, 3228, 1189, 468, 2073, 716, 326, 2929, 2502, 930, 353, 30426, 471, 2245, 2097, 508, 1570, 3245, 1046, 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, 1001, 11160, 8309, 12, 2890, 16, 80, 4293, 16, 10488, 1090, 16, 4672, 19709, 5516, 3228, 1189, 468, 2073, 716, 326, 2929, 2502, 930, 353, 30426, 471, 2245, 2097, 508, 1570, 3245, 1046, 2...
f.write(command)
f.write(command.replace("%p", "$$.%p"))
def CreateBrowserWrapper(self, command, logfiles): """The program being run invokes Python or something else that can't stand to be valgrinded, and also invokes the Chrome browser. Set an environment variable to tell the program to prefix the Chrome commandline with a magic wrapper. Build the magic wrapper here. """ ...
32f13524408684115e887b83166090e18418b679 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/32f13524408684115e887b83166090e18418b679/valgrind_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 9132, 3611, 12, 2890, 16, 1296, 16, 613, 2354, 4672, 3536, 1986, 5402, 3832, 1086, 18058, 6600, 578, 5943, 469, 716, 848, 1404, 12842, 358, 506, 1244, 3197, 267, 785, 16, 471, 2546...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9132, 3611, 12, 2890, 16, 1296, 16, 613, 2354, 4672, 3536, 1986, 5402, 3832, 1086, 18058, 6600, 578, 5943, 469, 716, 848, 1404, 12842, 358, 506, 1244, 3197, 267, 785, 16, 471, 2546...
stdout.write("Measuring shear2. Will write to '%s'\n" \
stdout.write("Measuring shear2. Will write to \n'%s'\n" \
def run_split(self): try: files=self.stat['output_files']
5484630f57054956277cf06d557bd0dfd8869220 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6617/5484630f57054956277cf06d557bd0dfd8869220/wlpipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 4939, 12, 2890, 4672, 775, 30, 1390, 33, 2890, 18, 5642, 3292, 2844, 67, 2354, 3546, 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, 1086, 67, 4939, 12, 2890, 4672, 775, 30, 1390, 33, 2890, 18, 5642, 3292, 2844, 67, 2354, 3546, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if self.is_total: print "%sLeft Team Goals Distribution:" % (header) for line in self.dump_score_map(indent, self.left_score_map) : print line print print "%sRight Team Goals Distribution:" % (header) for line in self.dump_score_map(indent, self.right_score_map) : print line print print "%sDiff Goals Distribution:" % (...
print "%sLeft Team Goals Distribution:" % (header) for line in self.dump_score_map(indent, self.left_score_map) : print line print print "%sRight Team Goals Distribution:" % (header) for line in self.dump_score_map(indent, self.right_score_map) : print line print print "%sDiff Goals Distribution:" % (header) for line i...
def dump(self, indent): if self.count <= 0: print "%sCount: %d" % (header, self.count) return
2de7dc9c2b01f64ae003edf0798f21745ad80d56 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/600/2de7dc9c2b01f64ae003edf0798f21745ad80d56/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 12, 2890, 16, 3504, 4672, 309, 365, 18, 1883, 1648, 374, 30, 1172, 2213, 87, 1380, 30, 738, 72, 6, 738, 261, 3374, 16, 365, 18, 1883, 13, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4657, 12, 2890, 16, 3504, 4672, 309, 365, 18, 1883, 1648, 374, 30, 1172, 2213, 87, 1380, 30, 738, 72, 6, 738, 261, 3374, 16, 365, 18, 1883, 13, 327, 2, -100, -100, -100, -100, -100, ...
"Unselects any atom that has a bondpoint."\
"Deselects any atom that is a neighbor of a non-picked atom or has a bondpoint."\
def createWhatsThis(self): ############################################## # File Toolbar ############################################## #### Open File #### fileOpenText = "<u><b>Open File</b></u> (Ctrl + O)</b></p><br> "\ "<p><img source=\"fileopen\"><br> "\ "Opens a new file."\ "</p>" QMimeSourceFactory.default...
a545a1b0d64dcd162d6904da8c5dd2bf4cfe4c7a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/a545a1b0d64dcd162d6904da8c5dd2bf4cfe4c7a/whatsthis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
'illegal value in %-th argument of internal syev'%(-info)
'illegal value in %-th argument of internal syev'%(-info)
def eigh(a,lower=1,eigvals_only=0,overwrite_a=0): """ Solve real symmetric or complex hermitian eigenvalue problem. Inputs: a -- A hermitian N x N matrix. lower -- values in a are read from lower triangle [1: UPLO='L' (default) / 0: UPLO='U'] eigvals_only -- don't compute eigenvectors. overwrite_a ...
cd400c1c2f5100b19fcf298f15e60d171a9932cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/cd400c1c2f5100b19fcf298f15e60d171a9932cb/decomp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 2031, 12, 69, 16, 8167, 33, 21, 16, 22663, 4524, 67, 3700, 33, 20, 16, 19274, 67, 69, 33, 20, 4672, 3536, 348, 5390, 2863, 15108, 578, 7233, 366, 1035, 305, 2779, 16719, 1132, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 2031, 12, 69, 16, 8167, 33, 21, 16, 22663, 4524, 67, 3700, 33, 20, 16, 19274, 67, 69, 33, 20, 4672, 3536, 348, 5390, 2863, 15108, 578, 7233, 366, 1035, 305, 2779, 16719, 1132, 6...
module = imp.new_module(name)
def bench_cache(import_, repeat, number): """Measure the time it takes to pull from sys.modules.""" name = '<benchmark import>' with util.uncache(name): module = imp.new_module(name) sys.modules[name] = module runs = [] for x in range(repeat): start_time = timeit.default_timer() for y in range(number): import_(name) en...
2b0aa4e1c6561dbe76219c072b52f2db13e0aa6f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/2b0aa4e1c6561dbe76219c072b52f2db13e0aa6f/benchmark.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22499, 67, 2493, 12, 5666, 67, 16, 7666, 16, 1300, 4672, 3536, 7197, 326, 813, 518, 5530, 358, 6892, 628, 2589, 18, 6400, 12123, 508, 273, 2368, 70, 9737, 1930, 1870, 598, 1709, 18, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22499, 67, 2493, 12, 5666, 67, 16, 7666, 16, 1300, 4672, 3536, 7197, 326, 813, 518, 5530, 358, 6892, 628, 2589, 18, 6400, 12123, 508, 273, 2368, 70, 9737, 1930, 1870, 598, 1709, 18, 55...
path = path.replace('/', os.sep)
path = self._absnorm(path)
def should_not_exist(self, path, msg=None): """Fails if the given path (file or directory) exists.
4e92df2860c270b97129fb5577b1caec2faab8a2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6988/4e92df2860c270b97129fb5577b1caec2faab8a2/OperatingSystem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1410, 67, 902, 67, 7398, 12, 2890, 16, 589, 16, 1234, 33, 7036, 4672, 3536, 30800, 309, 326, 864, 589, 261, 768, 578, 1867, 13, 1704, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1410, 67, 902, 67, 7398, 12, 2890, 16, 589, 16, 1234, 33, 7036, 4672, 3536, 30800, 309, 326, 864, 589, 261, 768, 578, 1867, 13, 1704, 18, 2, -100, -100, -100, -100, -100, -100, -100, ...
wx.CallAfter(self.slider.SetValue,(0,))
wx.CallAfter(self.slider.SetValue,0)
def SetItem(self, item, play = True): self.item = item if DEBUG: print >>sys.stderr,"embedplay: Telling player to play",item.getPath(),currentThread().getName() self.mediactrl.Load(item.getPath()) self.update = True wx.CallAfter(self.slider.SetValue,(0,)) if self.timer is None: self.timer = wx.Timer(self) self.Bind(wx...
3b83d07a1feca5b7d2c6ef220946520ac8c053be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9686/3b83d07a1feca5b7d2c6ef220946520ac8c053be/EmbeddedPlayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1180, 12, 2890, 16, 761, 16, 6599, 273, 1053, 4672, 365, 18, 1726, 273, 761, 309, 6369, 30, 1172, 1671, 9499, 18, 11241, 10837, 8483, 1601, 30, 29860, 310, 7291, 358, 6599, 3113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1180, 12, 2890, 16, 761, 16, 6599, 273, 1053, 4672, 365, 18, 1726, 273, 761, 309, 6369, 30, 1172, 1671, 9499, 18, 11241, 10837, 8483, 1601, 30, 29860, 310, 7291, 358, 6599, 3113, ...
def report(types = [], notifyFunc = None, dConfigParam = []):
def report(types = [], prefix = '', notifyFunc = None, dConfigParam = []): """ This is a decorator generating function. Use is similar to a @decorator, except you must be sure to call it as a function. It actually returns the decorator which is then used to transform your decorated function. Confusing at first, I know...
def report(types = [], notifyFunc = None, dConfigParam = []): def decorator(f): return f try: if not __dev__: return decorator except NameError,e: return decorator def decorator(f): def wrap(*args,**kwargs): aargs = args kkwargs = kwargs rArgs = [`x`+', ' for x in args] + [ x + ' = ' + '%s, ' % `y` for x,y in kwargs.i...
08bb94b419a748e9baa0f1ca8b24676bb1e14d7e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7242/08bb94b419a748e9baa0f1ca8b24676bb1e14d7e/PythonUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2605, 12, 2352, 273, 5378, 16, 1633, 273, 10226, 5066, 2622, 273, 599, 16, 302, 809, 786, 273, 5378, 4672, 3536, 1220, 353, 279, 7367, 12516, 445, 18, 225, 2672, 353, 7281, 358, 279, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2605, 12, 2352, 273, 5378, 16, 1633, 273, 10226, 5066, 2622, 273, 599, 16, 302, 809, 786, 273, 5378, 4672, 3536, 1220, 353, 279, 7367, 12516, 445, 18, 225, 2672, 353, 7281, 358, 279, 6...
None, [cty.POINTER(FL_OBJECT), cty.c_int],
None, [cty.POINTER(FL_OBJECT), cty.c_int],
def fl_set_slider_size(ob, size): """ fl_set_slider_size(ob, size) """ _fl_set_slider_size(ob, size)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 28372, 67, 1467, 12, 947, 16, 963, 4672, 3536, 1183, 67, 542, 67, 28372, 67, 1467, 12, 947, 16, 963, 13, 3536, 225, 389, 2242, 67, 542, 67, 28372, 67, 1467, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 28372, 67, 1467, 12, 947, 16, 963, 4672, 3536, 1183, 67, 542, 67, 28372, 67, 1467, 12, 947, 16, 963, 13, 3536, 225, 389, 2242, 67, 542, 67, 28372, 67, 1467, 12, ...
def __init__(self, dictionary, files, offset1, offset2, article_offset, length): self.files = files
def __init__(self, dictionary, file, offset1, offset2, article_offset, length): self.file = file
def __init__(self, dictionary, files, offset1, offset2, article_offset, length): self.files = files self.offset1 = offset1 self.offset2 = offset2 self.article_offset = article_offset self.length = length self.dictionary = dictionary
eb44c367d03b2e2bdc9f627ebb131b64fa4ecc98 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14305/eb44c367d03b2e2bdc9f627ebb131b64fa4ecc98/dictionary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3880, 16, 585, 16, 1384, 21, 16, 1384, 22, 16, 7559, 67, 3348, 16, 769, 4672, 365, 18, 768, 273, 585, 365, 18, 3348, 21, 273, 1384, 21, 365, 18, 3348...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3880, 16, 585, 16, 1384, 21, 16, 1384, 22, 16, 7559, 67, 3348, 16, 769, 4672, 365, 18, 768, 273, 585, 365, 18, 3348, 21, 273, 1384, 21, 365, 18, 3348...
const('ababcabc').find('b', i, j) * 100)
const('ababcabc').find(const('b'), i, j) * 100)
def fn(i, j): assert i >= 0 assert j >= 0 return (const('ababcabc').find(const('abc'), i, j) + const('ababcabc').find('b', i, j) * 100)
83951699039faddb08834f85d7de7fefff625b72 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6934/83951699039faddb08834f85d7de7fefff625b72/test_rstr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2295, 12, 77, 16, 525, 4672, 1815, 277, 1545, 374, 1815, 525, 1545, 374, 327, 261, 10248, 2668, 378, 18947, 18947, 16063, 4720, 12, 10248, 2668, 18947, 19899, 277, 16, 525, 13, 397, 1866...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2295, 12, 77, 16, 525, 4672, 1815, 277, 1545, 374, 1815, 525, 1545, 374, 327, 261, 10248, 2668, 378, 18947, 18947, 16063, 4720, 12, 10248, 2668, 18947, 19899, 277, 16, 525, 13, 397, 1866...
d = error_dialog(self.window, _('Error reading file'),
d = error_dialog(self.parent(), _('Error reading file'),
def select_cover(self): files = choose_images(self, 'change cover dialog', _('Choose cover for ') + unicode(self.title.text())) if not files: return _file = files[0] if _file: _file = os.path.abspath(_file) if not os.access(_file, os.R_OK): d = error_dialog(self.window, _('Cannot read'), _('You do not have permission t...
a5f2c1fbb1f429acbd11ca56eb1d3025914e10da /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/a5f2c1fbb1f429acbd11ca56eb1d3025914e10da/metadata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 67, 3165, 12, 2890, 4672, 1390, 273, 9876, 67, 7369, 12, 2890, 16, 296, 3427, 5590, 6176, 2187, 389, 2668, 24529, 5590, 364, 8624, 397, 5252, 12, 2890, 18, 2649, 18, 955, 1435, 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, 2027, 67, 3165, 12, 2890, 4672, 1390, 273, 9876, 67, 7369, 12, 2890, 16, 296, 3427, 5590, 6176, 2187, 389, 2668, 24529, 5590, 364, 8624, 397, 5252, 12, 2890, 18, 2649, 18, 955, 1435, 3...
ctx.set_ciphers("^$:,;?*'dorothyx")
ctx.set_ciphers("xyzzy")
def test_ciphers(self): ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) ctx.set_ciphers("ALL") ctx.set_ciphers("DEFAULT") with self.assertRaisesRegexp(ssl.SSLError, "No cipher can be selected"): ctx.set_ciphers("^$:,;?*'dorothyx")
471f9296d96adcfa3297fd9d41f0b07f0aab2d75 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/471f9296d96adcfa3297fd9d41f0b07f0aab2d75/test_ssl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3449, 76, 414, 12, 2890, 4672, 1103, 273, 5832, 18, 6745, 1042, 12, 8157, 18, 16850, 67, 9905, 90, 21, 13, 1103, 18, 542, 67, 3449, 76, 414, 2932, 4685, 7923, 1103, 18, 542...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3449, 76, 414, 12, 2890, 4672, 1103, 273, 5832, 18, 6745, 1042, 12, 8157, 18, 16850, 67, 9905, 90, 21, 13, 1103, 18, 542, 67, 3449, 76, 414, 2932, 4685, 7923, 1103, 18, 542...
package_dir = {idlelib:'.'},
package_dir = {idlelib: package_dir},
def _bytecode_filenames(self, files): files = [n for n in files if n.endswith('.py')] return install_lib._bytecode_filenames(self,files)
448165dc450c349b1322045e675e20df1d0322e4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/448165dc450c349b1322045e675e20df1d0322e4/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1637, 16651, 67, 19875, 12, 2890, 16, 1390, 4672, 1390, 273, 306, 82, 364, 290, 316, 1390, 309, 290, 18, 5839, 1918, 2668, 18, 2074, 6134, 65, 327, 3799, 67, 2941, 6315, 1637, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1637, 16651, 67, 19875, 12, 2890, 16, 1390, 4672, 1390, 273, 306, 82, 364, 290, 316, 1390, 309, 290, 18, 5839, 1918, 2668, 18, 2074, 6134, 65, 327, 3799, 67, 2941, 6315, 1637, 166...
"should_run": iinfo.admin_up,
"admin_up": iinfo.admin_up,
def _ComputeClusterData(self): """Compute the generic allocator input data.
1325da74059c5971c0ff0ef1cbd44892de98e9a7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/1325da74059c5971c0ff0ef1cbd44892de98e9a7/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7018, 3629, 751, 12, 2890, 4672, 3536, 7018, 326, 5210, 26673, 810, 501, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7018, 3629, 751, 12, 2890, 4672, 3536, 7018, 326, 5210, 26673, 810, 501, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.resultbuffer1.set_text('')
buf.set_text('')
def enter_callback(self, widget, data = None): '''Submit entrybox text for translation.'''
882d67c8fe0f86c4b7052562c51b41df492db552 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9947/882d67c8fe0f86c4b7052562c51b41df492db552/traduisons.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6103, 67, 3394, 12, 2890, 16, 3604, 16, 501, 273, 599, 4672, 9163, 11620, 1241, 2147, 977, 364, 4794, 1093, 6309, 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, 6103, 67, 3394, 12, 2890, 16, 3604, 16, 501, 273, 599, 4672, 9163, 11620, 1241, 2147, 977, 364, 4794, 1093, 6309, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
_in_subset = lambda subset, node: not subset or node in subset
def _inclusiveNamespacePrefixes(node, context, unsuppressedPrefixes): '''http://www.w3.org/TR/xml-exc-c14n/ InclusiveNamespaces PrefixList parameter, which lists namespace prefixes that are handled in the manner described by the Canonical XML Recommendation''' inclusive = [] if node.prefix: usedPrefixes = ['xmlns:%s' ...
def _utilized(n, node, other_attrs, unsuppressedPrefixes): '''_utilized(n, node, other_attrs, unsuppressedPrefixes) -> boolean Return true if that nodespace is utilized within the node''' if n.startswith('xmlns:'): n = n[6:] elif n.startswith('xmlns'): n = n[5:] if n == node.prefix or n in unsuppressedPrefixes: return...
eac45ef0ae4c46468fce1a5d88da06c712dbb153 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/eac45ef0ae4c46468fce1a5d88da06c712dbb153/c14n.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1367, 1235, 12, 82, 16, 756, 16, 1308, 67, 7039, 16, 640, 2859, 10906, 11700, 4672, 9163, 67, 1367, 1235, 12, 82, 16, 756, 16, 1308, 67, 7039, 16, 640, 2859, 10906, 11700, 13, 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, 389, 1367, 1235, 12, 82, 16, 756, 16, 1308, 67, 7039, 16, 640, 2859, 10906, 11700, 4672, 9163, 67, 1367, 1235, 12, 82, 16, 756, 16, 1308, 67, 7039, 16, 640, 2859, 10906, 11700, 13, 3...
for n in range(11, 21): tc.find('Description
bugs = Bug.objects.filter(project__name= 'Exaile').order_by('last_touched')[10:20] for bug in bugs: tc.find(bug.description)
def testPagination(self): url = 'http://openhatch.org/search/' tc.go(make_twill_url(url)) tc.fv('search_opps', 'language', 'python') tc.submit() for n in range(1, 11): tc.find('Description #%d' % n)
094772caac128f6e1a5efb0c56157196eb1650fc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11976/094772caac128f6e1a5efb0c56157196eb1650fc/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 19224, 12, 2890, 4672, 880, 273, 296, 2505, 2207, 3190, 76, 505, 18, 3341, 19, 3072, 2473, 1715, 18, 3240, 12, 6540, 67, 11246, 737, 67, 718, 12, 718, 3719, 1715, 18, 17679, 2668...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19224, 12, 2890, 4672, 880, 273, 296, 2505, 2207, 3190, 76, 505, 18, 3341, 19, 3072, 2473, 1715, 18, 3240, 12, 6540, 67, 11246, 737, 67, 718, 12, 718, 3719, 1715, 18, 17679, 2668...
self.branch.create_checkout(self.checkout_path, lightweight=True)
rev_id = self.revision and self.branch.get_rev_id(self.revision) self.branch.create_checkout(self.checkout_path, lightweight=True, revision_id=rev_id)
def checkout(self, revision=None): """ Checks out a project in a specific revision """
ccb214485d0f25ca9b49a2eea673353fb777f773 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7871/ccb214485d0f25ca9b49a2eea673353fb777f773/project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13926, 12, 2890, 16, 6350, 33, 7036, 4672, 3536, 13074, 596, 279, 1984, 316, 279, 2923, 6350, 3536, 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, 13926, 12, 2890, 16, 6350, 33, 7036, 4672, 3536, 13074, 596, 279, 1984, 316, 279, 2923, 6350, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.debug_trace("Tag_ubyte")
def Tag_ubyte(self): self.debug_trace("Tag_ubyte") if ( self.getTag( 'ubyte' ) ): self.pack_string = 'B' return 1 return 0
ecf78c969222f7513a2f516b0355728295fb546a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/675/ecf78c969222f7513a2f516b0355728295fb546a/pxlasm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4034, 67, 10340, 736, 12, 2890, 4672, 309, 261, 365, 18, 588, 1805, 12, 296, 10340, 736, 11, 262, 262, 30, 365, 18, 2920, 67, 1080, 273, 296, 38, 11, 327, 404, 327, 374, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4034, 67, 10340, 736, 12, 2890, 4672, 309, 261, 365, 18, 588, 1805, 12, 296, 10340, 736, 11, 262, 262, 30, 365, 18, 2920, 67, 1080, 273, 296, 38, 11, 327, 404, 327, 374, 2, -100, -...
sys.stdout.write(green("ok\n")) else: sys.stdout.write( red("failed") + "\n" )
sys.stdout.write(green("Pass\n")) else: sys.stdout.write( red("Fail") + "\n" )
def checkPython( options, lookForHeaders, lookForLib ): PYTHONINCSEARCHPATH = [ distutils.sysconfig.get_python_inc() + os.path.sep + "Python.h" ] if distutils.sysconfig.get_config_vars().has_key("DESTSHARED"): PYTHONLIBSEARCHPATH = [ distutils.sysconfig.get_config_vars()["DESTSHARED"] + os.path.sep + "libpython*" ] els...
d941256082445e4067ba7bbfd19725f6d2fd0a35 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/d941256082445e4067ba7bbfd19725f6d2fd0a35/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 15774, 12, 702, 16, 2324, 1290, 3121, 16, 2324, 1290, 5664, 262, 30, 12191, 20131, 23213, 17251, 4211, 273, 306, 2411, 5471, 18, 9499, 1425, 18, 588, 67, 8103, 67, 9523, 1435, 397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15774, 12, 702, 16, 2324, 1290, 3121, 16, 2324, 1290, 5664, 262, 30, 12191, 20131, 23213, 17251, 4211, 273, 306, 2411, 5471, 18, 9499, 1425, 18, 588, 67, 8103, 67, 9523, 1435, 397, ...
account.password = data['OUTGOING_PASSWORD']
try: waitForDeferred(account.password.encryptPassword(data['OUTGOING_PASSWORD'], window=self)) except password.NoMasterPassword: return
def OnTestOutgoing(self): if not Globals.mailService.isOnline(): return alertOffline(self)
b1d959dcb6ea3064db41fef843c06b239e066a69 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/b1d959dcb6ea3064db41fef843c06b239e066a69/AccountPreferences.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4709, 24866, 12, 2890, 4672, 309, 486, 18901, 1031, 18, 4408, 1179, 18, 291, 16860, 13332, 327, 6881, 23106, 12, 2890, 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, 0, 0, 0, 0, 0, 0, 0, 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, 2755, 4709, 24866, 12, 2890, 4672, 309, 486, 18901, 1031, 18, 4408, 1179, 18, 291, 16860, 13332, 327, 6881, 23106, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
helpString = u'Set logging level to Debug'),
helpString = _(u'Set logging level to Debug')),
def makeVisibleHourMenuItems(parcel): """ Create the 'Visible Hours' submenu. Should look like: Automatic --------- 5 hours 6 hours
043a08a77771b31713425ec3f48a9c0186570e1d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/043a08a77771b31713425ec3f48a9c0186570e1d/menus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 6207, 13433, 4599, 3126, 12, 1065, 2183, 4672, 3536, 1788, 326, 296, 6207, 670, 4390, 11, 27539, 18, 9363, 2324, 3007, 30, 225, 11809, 4941, 300, 788, 1381, 7507, 1666, 7507, 2, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6207, 13433, 4599, 3126, 12, 1065, 2183, 4672, 3536, 1788, 326, 296, 6207, 670, 4390, 11, 27539, 18, 9363, 2324, 3007, 30, 225, 11809, 4941, 300, 788, 1381, 7507, 1666, 7507, 2, -1...
(type1, _("Playlist"), gtk.STOCK_INDEX, self.show_playlist),
(type1, _("Playlist"), 'stock_playlist', self.show_playlist),
def build_toolbar(self): self.toolbar = gtk.Toolbar() self.toolbar.set_style(gtk.TOOLBAR_ICONS) if bool(MINITOOLS.int_value): self.toolbar.set_icon_size(gtk.ICON_SIZE_MENU)
560ed7113c391bf75bc2b42b218360fe9bfb102e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4997/560ed7113c391bf75bc2b42b218360fe9bfb102e/musicbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 18849, 12, 2890, 4672, 365, 18, 18849, 273, 22718, 18, 17907, 1435, 365, 18, 18849, 18, 542, 67, 4060, 12, 4521, 79, 18, 26263, 21908, 67, 21745, 55, 13, 309, 1426, 12, 6236,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18849, 12, 2890, 4672, 365, 18, 18849, 273, 22718, 18, 17907, 1435, 365, 18, 18849, 18, 542, 67, 4060, 12, 4521, 79, 18, 26263, 21908, 67, 21745, 55, 13, 309, 1426, 12, 6236,...
'''
"""
def __getitem__(self, item): ''' return an HTMLProperty instance this now can handle transitive lookups where item is of the form x.y.z ''' #print 'HTMLItem.getitem', (self, item) if item == 'id': return self._nodeid
16a3ebf380b95607b344181655488d818a27791f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1906/16a3ebf380b95607b344181655488d818a27791f/templating.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 761, 4672, 3536, 327, 392, 3982, 1396, 791, 333, 2037, 848, 1640, 30442, 20286, 1625, 761, 353, 434, 326, 646, 619, 18, 93, 18, 94, 3536, 468, 1188, 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, 1001, 31571, 972, 12, 2890, 16, 761, 4672, 3536, 327, 392, 3982, 1396, 791, 333, 2037, 848, 1640, 30442, 20286, 1625, 761, 353, 434, 326, 646, 619, 18, 93, 18, 94, 3536, 468, 1188, 296...
try: raise Exception except: frame = sys.exc_info()[2].tb_frame.f_back
frame = sys._getframe().f_back
def set_continue(self): # Don't stop except at breakpoints or when finished self.stopframe = self.botframe self.returnframe = None self.quitting = 0 if not self.breaks: # no breakpoints; run without debugger overhead sys.settrace(None) try: raise Exception except: frame = sys.exc_info()[2].tb_frame.f_back while frame a...
313a7513b0c5771042d850d70782a2448d1cdcb7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/313a7513b0c5771042d850d70782a2448d1cdcb7/bdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 17143, 12, 2890, 4672, 468, 7615, 1404, 2132, 1335, 622, 23416, 578, 1347, 6708, 365, 18, 5681, 3789, 273, 365, 18, 4819, 3789, 365, 18, 2463, 3789, 273, 599, 365, 18, 27176, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 17143, 12, 2890, 4672, 468, 7615, 1404, 2132, 1335, 622, 23416, 578, 1347, 6708, 365, 18, 5681, 3789, 273, 365, 18, 4819, 3789, 365, 18, 2463, 3789, 273, 599, 365, 18, 27176, ...
k, a, b, a1, b1 = 2L, 4L, 1L, 12L, 4L while 1:
k, a, b, a1, b1 = 2, 4, 1, 12, 4 while True:
def main(): k, a, b, a1, b1 = 2L, 4L, 1L, 12L, 4L while 1: # Next approximation p, q, k = k*k, 2L*k+1L, k+1L a, b, a1, b1 = a1, b1, p*a+q*a1, p*b+q*b1 # Print common digits d, d1 = a//b, a1//b1 while d == d1: output(d) a, a1 = 10L*(a%b), 10L*(a1%b1) d, d1 = a//b, a1//b1
287a3afe3ab72c8fb5543c428ffa39f31e4b015a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/287a3afe3ab72c8fb5543c428ffa39f31e4b015a/pi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 417, 16, 279, 16, 324, 16, 279, 21, 16, 324, 21, 273, 576, 16, 1059, 16, 404, 16, 2593, 16, 1059, 1323, 1053, 30, 468, 4804, 24769, 293, 16, 1043, 16, 417, 273, 417, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 417, 16, 279, 16, 324, 16, 279, 21, 16, 324, 21, 273, 576, 16, 1059, 16, 404, 16, 2593, 16, 1059, 1323, 1053, 30, 468, 4804, 24769, 293, 16, 1043, 16, 417, 273, 417, 1...
return instance._FileField_types.get(self.getName(), 'text/plain')
return instance._FileField_types.get(self.getName(), None)
def getContentType(self, instance): if hasattr(aq_base(instance), '_FileField_types'): return instance._FileField_types.get(self.getName(), 'text/plain') return None
a2a548380985300f23c238b6fe586e2bdc9a3922 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/a2a548380985300f23c238b6fe586e2bdc9a3922/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17470, 12, 2890, 16, 791, 4672, 309, 3859, 12, 69, 85, 67, 1969, 12, 1336, 3631, 2070, 812, 974, 67, 2352, 11, 4672, 327, 791, 6315, 812, 974, 67, 2352, 18, 588, 12, 2890, 18, 17994,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17470, 12, 2890, 16, 791, 4672, 309, 3859, 12, 69, 85, 67, 1969, 12, 1336, 3631, 2070, 812, 974, 67, 2352, 11, 4672, 327, 791, 6315, 812, 974, 67, 2352, 18, 588, 12, 2890, 18, 17994,...
return float(self.get_string(verb, args))
return self.get_string(verb, args)
def get_number(self, verb, args): return float(self.get_string(verb, args))
0be6e344589314abd4d9c0bff4c1c0ba378be52a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3504/0be6e344589314abd4d9c0bff4c1c0ba378be52a/selenium.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2696, 12, 2890, 16, 6405, 16, 833, 4672, 327, 1431, 12, 2890, 18, 588, 67, 1080, 12, 16629, 16, 833, 3719, 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, 336, 67, 2696, 12, 2890, 16, 6405, 16, 833, 4672, 327, 1431, 12, 2890, 18, 588, 67, 1080, 12, 16629, 16, 833, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
index = reg.register_image_threshold(ImageVolume, h, ih, threshold)
index = reg.register_image_threshold(image, h, ih, threshold)
def load_volume(imagedesc, imagename=None, threshold=0.999, debug=0): """ image = load_volume(imagedesc, imagename=None, threshold=0.999, debug=0) --- OR --- image, h, ih, index = load_volume(imagedesc, imagename=None, threshold=0.999, debug=0) gets an image descriptor and optional filename and returns a scaled 8 bi...
a0a06507bdbd3322039b726463a7cc1c63e59774 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12971/a0a06507bdbd3322039b726463a7cc1c63e59774/_registration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 9491, 12, 381, 11349, 742, 16, 8902, 1069, 33, 7036, 16, 5573, 33, 20, 18, 11984, 16, 1198, 33, 20, 4672, 225, 3536, 1316, 273, 1262, 67, 9491, 12, 381, 11349, 742, 16, 890...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 9491, 12, 381, 11349, 742, 16, 8902, 1069, 33, 7036, 16, 5573, 33, 20, 18, 11984, 16, 1198, 33, 20, 4672, 225, 3536, 1316, 273, 1262, 67, 9491, 12, 381, 11349, 742, 16, 890...
sage: sr = mq.SR(10,4,4,4)
sage: sr = mq.SR(10, 4, 4, 4)
def mix_columns(self, d): """ Perform the MixColumns operation on d.
26b5b14a2a46b23848ccefac3b41425cf353e86a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/26b5b14a2a46b23848ccefac3b41425cf353e86a/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6843, 67, 5112, 12, 2890, 16, 302, 4672, 3536, 11217, 326, 31043, 3380, 1674, 603, 302, 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...
[ 1, 1, 1, 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, 6843, 67, 5112, 12, 2890, 16, 302, 4672, 3536, 11217, 326, 31043, 3380, 1674, 603, 302, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
return self.file.read()
return self.blocking_read()
def recv(self): """recv a packet from a tap interface""" return self.file.read()
74c465b6f2a59893d314d13421f568c8966b5e0a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5910/74c465b6f2a59893d314d13421f568c8966b5e0a/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10665, 12, 2890, 4672, 3536, 18334, 279, 4414, 628, 279, 13495, 1560, 8395, 327, 365, 18, 18926, 67, 896, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10665, 12, 2890, 4672, 3536, 18334, 279, 4414, 628, 279, 13495, 1560, 8395, 327, 365, 18, 18926, 67, 896, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
newGroup = Group(pastable.name, assy, None) nodes = list(pastable.members) newNodeList = copied_nodes_for_DND(nodes, autogroup_at_top = False, assy = assy) if not newNodeList: errorMsg = orangemsg("Clipboard item is probably an empty group. "\ "Paste cancelled") return newGroup, errorMsg
nodes = list(pastable.members) newstuff = copied_nodes_for_DND( [pastable], autogroup_at_top = True, assy = assy ) if len(newstuff) == 1: use_new_code = True newGroup = newstuff[0] newNodeList = list(newGroup.members) else: print "bug in fix for bug 2919, falling back to older code " \ "(len is %d, should be 1)" %...
def _pasteGroup(self, groupToPaste, mousePosition = None): """ Paste the given group (and all its members) in the 3D workspace. @param groupToPaste: The group to be pasted in the 3D workspace @type groupToPaste: L{Group} @param mousePosition: These are the coordinates during mouse double click. @type mousePosition: ...
cad6ea7b9ac9426e0555f481ab058c7c8097e403 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/cad6ea7b9ac9426e0555f481ab058c7c8097e403/ops_copy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 29795, 1114, 12, 2890, 16, 1041, 774, 52, 14725, 16, 7644, 2555, 273, 599, 4672, 3536, 453, 14725, 326, 864, 1041, 261, 464, 777, 2097, 4833, 13, 316, 326, 890, 40, 6003, 18, 225,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 29795, 1114, 12, 2890, 16, 1041, 774, 52, 14725, 16, 7644, 2555, 273, 599, 4672, 3536, 453, 14725, 326, 864, 1041, 261, 464, 777, 2097, 4833, 13, 316, 326, 890, 40, 6003, 18, 225,...
lastKeyCount=globalVars.keyCounter
def speakSpelling(text): global beenCanceled if not isinstance(text,basestring) or len(text)==0: return getSynth().speakText(processSymbol("")) if speechMode==speechMode_off: return elif speechMode==speechMode_beeps: tones.beep(config.conf["speech"]["beepSpeechModePitch"],speechMode_beeps_ms) return if isPaused: cancel...
a32e79f2c1f33fa935ca35fbe9d9ee352bb51b5b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9340/a32e79f2c1f33fa935ca35fbe9d9ee352bb51b5b/speech.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 10244, 3389, 1165, 310, 12, 955, 4672, 2552, 2118, 23163, 309, 486, 1549, 12, 955, 16, 18602, 371, 13, 578, 562, 12, 955, 13, 631, 20, 30, 327, 1322, 878, 451, 7675, 87, 10244, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 10244, 3389, 1165, 310, 12, 955, 4672, 2552, 2118, 23163, 309, 486, 1549, 12, 955, 16, 18602, 371, 13, 578, 562, 12, 955, 13, 631, 20, 30, 327, 1322, 878, 451, 7675, 87, 10244, ...
width = float(item.getp('linewidth'))
width = item.getp('linewidth') if width: width = float(width)
def _get_linespecs(self, item): """ Return the line marker, line color, line style, and line width of the item. """ marker = self._markers[item.getp('linemarker')] color = item.getp('linecolor') style = item.getp('linetype') width = float(item.getp('linewidth')) return marker, color, style, width
15f1045399a33d89b18bdcce3e716b415c9a70c4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4727/15f1045399a33d89b18bdcce3e716b415c9a70c4/matplotlib_.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3548, 705, 87, 12, 2890, 16, 761, 4672, 3536, 2000, 326, 980, 5373, 16, 980, 2036, 16, 980, 2154, 16, 471, 980, 1835, 434, 326, 761, 18, 3536, 5373, 273, 365, 6315, 228...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3548, 705, 87, 12, 2890, 16, 761, 4672, 3536, 2000, 326, 980, 5373, 16, 980, 2036, 16, 980, 2154, 16, 471, 980, 1835, 434, 326, 761, 18, 3536, 5373, 273, 365, 6315, 228...
voiceList.Bind(wx.EVT_CHOICE,self.onVoiceChange)
self.voiceList.Bind(wx.EVT_CHOICE,self.onVoiceChange)
def __init__(self,parent,ID,title): wx.Dialog.__init__(self,parent,ID,title) mainSizer=wx.BoxSizer(wx.VERTICAL) settingsSizer=wx.BoxSizer(wx.VERTICAL) voiceListSizer=wx.BoxSizer(wx.HORIZONTAL) voiceListLabel=wx.StaticText(self,-1,label=_("Voice")) voiceListID=wx.NewId() voiceList=wx.Choice(self,voiceListID,name="Voice:...
b670d693246a684fec02acc72945aee58aa471d5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/b670d693246a684fec02acc72945aee58aa471d5/settingsDialogs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 16, 734, 16, 2649, 4672, 7075, 18, 6353, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 734, 16, 2649, 13, 2774, 20512, 33, 27226, 18, 3514, 20512, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 16, 734, 16, 2649, 4672, 7075, 18, 6353, 16186, 2738, 972, 12, 2890, 16, 2938, 16, 734, 16, 2649, 13, 2774, 20512, 33, 27226, 18, 3514, 20512, 12, ...
def signalApp(config, signal = 0):
def runApp(config): global initRun platformType = runtime.platform.getType() register.checkLicenseFile() sys.path.append(config['rundir']) if config['reactor']: if platformType == 'java': from twisted.internet import javareactor javareactor.install() else: from twisted.python.reflect import namedModule namedM...
def signalApp(config, signal = 0): if os.path.exists(config['pidfile']): try: pid = int(open(config['pidfile']).read()) except ValueError: msg = 'Pidfile %s contains non numeric value' sys.exit(msg % config['pidfile']) try: os.kill(pid, signal) except OSError, why: if why[0] == errno.ESRCH: # The pid doesnt exists. if...
d5f1c437a076f0fe17db40d9ab92751c20198dd3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/d5f1c437a076f0fe17db40d9ab92751c20198dd3/twistd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1652, 1086, 3371, 12, 1425, 4672, 2552, 1208, 1997, 4072, 559, 273, 3099, 18, 9898, 18, 588, 559, 1435, 225, 1744, 18, 1893, 13211, 812, 1435, 2589, 18, 803, 18, 6923, 12, 1425, 3292, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1652, 1086, 3371, 12, 1425, 4672, 2552, 1208, 1997, 4072, 559, 273, 3099, 18, 9898, 18, 588, 559, 1435, 225, 1744, 18, 1893, 13211, 812, 1435, 2589, 18, 803, 18, 6923, 12, 1425, 3292, 8...
self._request = kwargs.pop('request', request) self._session = kwargs.pop('session', session)
def __init__(self, formdata=None, *args, **kwargs):
56ebe4742ea394e8d6d068fa503b0165b13297bc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11490/56ebe4742ea394e8d6d068fa503b0165b13297bc/wtf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 30642, 33, 7036, 16, 380, 1968, 16, 2826, 4333, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 30642, 33, 7036, 16, 380, 1968, 16, 2826, 4333, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
(rc,exists) = semanage_fcontext_exists(self.sh, k)
(rc, exists) = semanage_fcontext_exists(self.sh, k)
def __modify(self, target, setype, ftype, serange, seuser): if serange == "" and setype == "" and seuser == "": raise ValueError(_("Requires setype, serange or seuser")) self.validate(target)
8ad29a27255b6eb5a4f8e1083ce9832034f3e205 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7147/8ad29a27255b6eb5a4f8e1083ce9832034f3e205/seobject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 17042, 12, 2890, 16, 1018, 16, 444, 388, 16, 21219, 16, 703, 726, 16, 695, 1355, 4672, 309, 703, 726, 422, 1408, 471, 444, 388, 422, 1408, 471, 695, 1355, 422, 1408, 30, 1002, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17042, 12, 2890, 16, 1018, 16, 444, 388, 16, 21219, 16, 703, 726, 16, 695, 1355, 4672, 309, 703, 726, 422, 1408, 471, 444, 388, 422, 1408, 471, 695, 1355, 422, 1408, 30, 1002, ...
def submitter(request, username, template_name='datagrid/datagrid.html'):
def submitter(request, username, template_name='reviews/datagrid.html'):
def submitter(request, username, template_name='datagrid/datagrid.html'): """ A list of review requests owned by a particular user. """ # Make sure the user exists get_object_or_404(User, username=username) datagrid = ReviewRequestDataGrid(request, ReviewRequest.objects.from_user(username, status=None), _("%s's review...
6f4a0165391879a5d504e61e7331d7c6a1359d77 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1600/6f4a0165391879a5d504e61e7331d7c6a1359d77/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 387, 12, 2293, 16, 2718, 16, 1542, 67, 529, 2218, 266, 7061, 19, 3404, 22239, 18, 2620, 11, 4672, 3536, 432, 666, 434, 10725, 3285, 16199, 635, 279, 6826, 729, 18, 3536, 468, 434...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 387, 12, 2293, 16, 2718, 16, 1542, 67, 529, 2218, 266, 7061, 19, 3404, 22239, 18, 2620, 11, 4672, 3536, 432, 666, 434, 10725, 3285, 16199, 635, 279, 6826, 729, 18, 3536, 468, 434...
print '\t< %s' % line
_mesg('< %s' % line)
def _get_line(self):
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, 588, 67, 1369, 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, 389, 588, 67, 1369, 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,...
if valid( job.runningJob ):
if self.schedObj.valid( job.runningJob ):
def purgeService( self, obj ) : """ purge the service used by the scheduler from job files not available for every scheduler """
1a3feacf31ab5cfa8ad356e1f6a9942eee46cf17 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8886/1a3feacf31ab5cfa8ad356e1f6a9942eee46cf17/Scheduler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11668, 1179, 12, 365, 16, 1081, 262, 294, 3536, 11668, 326, 1156, 1399, 635, 326, 8129, 628, 1719, 1390, 486, 2319, 364, 3614, 8129, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11668, 1179, 12, 365, 16, 1081, 262, 294, 3536, 11668, 326, 1156, 1399, 635, 326, 8129, 628, 1719, 1390, 486, 2319, 364, 3614, 8129, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -1...
def deserialize_via_marshal(string):
def deserialize_via_marshal(astring):
def deserialize_via_marshal(string): """Decompress and deserialize string into a Python object via marshal.""" return marshal.loads(decompress(string))
6f5cceebe9883b7b023922854fabebd034bce5f8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12027/6f5cceebe9883b7b023922854fabebd034bce5f8/dbquery.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1652, 7673, 67, 21985, 67, 3108, 12, 345, 371, 4672, 3536, 17731, 1028, 471, 7673, 533, 1368, 279, 6600, 733, 3970, 10893, 12123, 327, 10893, 18, 17135, 12, 323, 14706, 12, 1080, 3719, 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, 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, 225, 1652, 7673, 67, 21985, 67, 3108, 12, 345, 371, 4672, 3536, 17731, 1028, 471, 7673, 533, 1368, 279, 6600, 733, 3970, 10893, 12123, 327, 10893, 18, 17135, 12, 323, 14706, 12, 1080, 3719, 22...
sys.stdout = sys.__stdout__
sys.stdout = oldstdout
def run( self ): if self.compType in ( DT_REGULAR, DT_INCLUDE ): sys.stdout = cStringIO.StringIO()
6fa10880b9901af667e502aed66e8a283ae4a211 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2304/6fa10880b9901af667e502aed66e8a283ae4a211/Executables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 365, 262, 30, 309, 365, 18, 2919, 559, 316, 261, 10696, 67, 5937, 19545, 16, 10696, 67, 26003, 262, 30, 2589, 18, 10283, 273, 276, 780, 4294, 18, 780, 4294, 1435, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 365, 262, 30, 309, 365, 18, 2919, 559, 316, 261, 10696, 67, 5937, 19545, 16, 10696, 67, 26003, 262, 30, 2589, 18, 10283, 273, 276, 780, 4294, 18, 780, 4294, 1435, 2, -100, ...
ns_rows.append({'cells': ns_cells, 'colspan': colspan})
ns_rows.append({'cells': ns_cells})
def render_namespace(items, times): nitems, iitems = len(items), 0 # blocks = [(nrows, ncols), ..] blocks, table, state = [], [], [] nrows = 0 for time in times[:-1]: cells = [] # add the busy cells for rowspan in state: if rowspan > 0: cells.append(Cell(Cell.busy)) else: cells.append(Cell(Cell.free, content={'start':...
1d613a42339f87a03d37293214879a0488e9bfef /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/1d613a42339f87a03d37293214879a0488e9bfef/gridlayout.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 4937, 12, 3319, 16, 4124, 4672, 290, 3319, 16, 277, 3319, 273, 562, 12, 3319, 3631, 374, 468, 4398, 273, 306, 12, 82, 3870, 16, 21330, 3631, 6116, 65, 4398, 16, 1014, 16, 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, 1743, 67, 4937, 12, 3319, 16, 4124, 4672, 290, 3319, 16, 277, 3319, 273, 562, 12, 3319, 3631, 374, 468, 4398, 273, 306, 12, 82, 3870, 16, 21330, 3631, 6116, 65, 4398, 16, 1014, 16, 9...
info("total files: %d total hunks: %d" % (len(self.source), sum(len(hset) for hset in self.hunks)))
info("total files: %d total hunks: %d" % (len(self.source), sum([len(hset) for hset in self.hunks])))
def parse(self, stream): """ parse unified diff """ self.header = []
b9f25a96dfbac5c292446f7a92c4cb7565eb01ab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11821/b9f25a96dfbac5c292446f7a92c4cb7565eb01ab/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1407, 4672, 3536, 1109, 27136, 3122, 3536, 365, 18, 3374, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1407, 4672, 3536, 1109, 27136, 3122, 3536, 365, 18, 3374, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
childByDefault = addAllDefault else: childByDefault = childByDefault and byDefault
if group.getReason(*troveTup)[0] == ADD_REASON_ADDALL: childByDefault = addAllDefault else: childByDefault = childByDefault or addAllDefault
def _componentMatches(troveName, compList): if ':' not in troveName: return False comp = troveName.split(':', 1)[1] if comp in compList: return comp return False
7d8e833a910bbc8d9eb24619ca6d0e106f9ab550 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8747/7d8e833a910bbc8d9eb24619ca6d0e106f9ab550/grouprecipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4652, 6869, 12, 88, 303, 537, 461, 16, 1161, 682, 4672, 309, 3921, 486, 316, 23432, 537, 461, 30, 327, 1083, 1161, 273, 23432, 537, 461, 18, 4939, 2668, 30, 2187, 404, 25146, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4652, 6869, 12, 88, 303, 537, 461, 16, 1161, 682, 4672, 309, 3921, 486, 316, 23432, 537, 461, 30, 327, 1083, 1161, 273, 23432, 537, 461, 18, 4939, 2668, 30, 2187, 404, 25146, 21, ...
rtype = self._create_type(source_type, options_map, False)
rtype = self._create_type(source_type, options_map, is_param=False, is_retval=True)
def _create_return(self, source_type, options=None): if options is None: options_map = {} else: options_map = self._parse_options(options) rtype = self._create_type(source_type, options_map, False) rtype = self.resolve_param_type(rtype) return_ = Return(rtype) self._handle_generic_param_options(return_, options_map) fo...
2faca8352a05cbf144b3659bd98b6fc5e62d66d4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2770/2faca8352a05cbf144b3659bd98b6fc5e62d66d4/transformer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 67, 2463, 12, 2890, 16, 1084, 67, 723, 16, 702, 33, 7036, 4672, 309, 702, 353, 599, 30, 702, 67, 1458, 273, 2618, 469, 30, 702, 67, 1458, 273, 365, 6315, 2670, 67, 2116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2640, 67, 2463, 12, 2890, 16, 1084, 67, 723, 16, 702, 33, 7036, 4672, 309, 702, 353, 599, 30, 702, 67, 1458, 273, 2618, 469, 30, 702, 67, 1458, 273, 365, 6315, 2670, 67, 2116, ...
? """, join_experiment_tables_to_coinc_table(recovery_table), """
''', recovery_table, ''' ''', join_experiment_tables_to_coinc_table(recovery_table), '''
def create_sim_rec_map_table(connection, simulation_table, recovery_table, ranking_stat): """ Creates a temporary table in the sqlite database called sim_rec_map. This table creates a direct mapping between simulation_ids in the simulation table and coinc_event_ids from the recovery_table, along with a ranking stat fro...
83b535c1c72c071da09fd95ea54958e1521ea1f7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/83b535c1c72c071da09fd95ea54958e1521ea1f7/ligolw_sqlutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 9812, 67, 3927, 67, 1458, 67, 2121, 12, 4071, 16, 14754, 67, 2121, 16, 11044, 67, 2121, 16, 23087, 67, 5642, 4672, 3536, 10210, 279, 6269, 1014, 316, 326, 16184, 2063, 2566, 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, 752, 67, 9812, 67, 3927, 67, 1458, 67, 2121, 12, 4071, 16, 14754, 67, 2121, 16, 11044, 67, 2121, 16, 23087, 67, 5642, 4672, 3536, 10210, 279, 6269, 1014, 316, 326, 16184, 2063, 2566, 3...
pass
e_data = events.data() e_data.window = self e_data.text = "/nick %s" % newnick e_data.network = self.network events.trigger('Input', e_data)
def nick_change(newnick): pass
d0f55c886d8a7de365f537a85572add044d8688f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10693/d0f55c886d8a7de365f537a85572add044d8688f/ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10909, 67, 3427, 12, 2704, 17091, 4672, 425, 67, 892, 273, 2641, 18, 892, 1435, 425, 67, 892, 18, 5668, 273, 365, 425, 67, 892, 18, 955, 273, 2206, 17091, 738, 87, 6, 738, 394, 17091...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10909, 67, 3427, 12, 2704, 17091, 4672, 425, 67, 892, 273, 2641, 18, 892, 1435, 425, 67, 892, 18, 5668, 273, 365, 425, 67, 892, 18, 955, 273, 2206, 17091, 738, 87, 6, 738, 394, 17091...
titlelabel = ui.label(text=_("Title") + ":", x=1) titleentry = ui.entry() titlebutton = ui.button() titlebuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(titlebutton, titlebuttonvbox, titleentry) titlehbox = gtk.HBox() titlehbox.pack_start(titlelabel, False, False, 2) titlehbox.pack_start(titleentry, True,...
titlelabel, titleentry, titlebutton, titlehbox = self._create_label_entry_button_hbox(_("Title")) artistlabel, artistentry, artistbutton, artisthbox = self._create_label_entry_button_hbox(_("Artist")) albumlabel, albumentry, albumbutton, albumhbox = self._create_label_entry_button_hbox(_("Album")) yearlabel, yearentry...
def on_tags_edit(self, files, temp_mpdpaths, music_dir): """Display the editing dialog""" # Try loading module global tagpy if tagpy is None: try: import tagpy # Set default tag encoding to utf8.. fixes some reported bugs. import tagpy.id3v2 as id3v2 id3v2.FrameFactory.instance().setDefaultTextEncoding(tagpy.StringType...
28fcba0e29af1c09d48bf18063cbf8f66985ca38 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2312/28fcba0e29af1c09d48bf18063cbf8f66985ca38/tagedit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 4156, 67, 4619, 12, 2890, 16, 1390, 16, 1906, 67, 1291, 72, 4481, 16, 26225, 67, 1214, 4672, 3536, 4236, 326, 15755, 6176, 8395, 468, 6161, 7153, 1605, 2552, 1047, 2074, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 4156, 67, 4619, 12, 2890, 16, 1390, 16, 1906, 67, 1291, 72, 4481, 16, 26225, 67, 1214, 4672, 3536, 4236, 326, 15755, 6176, 8395, 468, 6161, 7153, 1605, 2552, 1047, 2074, 309, ...