rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
self.breaks[filename] = [] | self.breaks[filename] = [] | def set_internal_breakpoint(self, filename, lineno, temporary=0, cond = None): if not self.breaks.has_key(filename): self.breaks[filename] = [] list = self.breaks[filename] if not lineno in list: list.append(lineno) | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py |
list.append(lineno) | list.append(lineno) | def set_internal_breakpoint(self, filename, lineno, temporary=0, cond = None): if not self.breaks.has_key(filename): self.breaks[filename] = [] list = self.breaks[filename] if not lineno in list: list.append(lineno) | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py |
return 'That line does not exist!' | return 'That line does not exist!' | def set_break(self, filename, lineno, temporary=0, cond = None): import linecache # Import as late as possible line = linecache.getline(filename, lineno) if not line: return 'That line does not exist!' self.set_internal_breakpoint(filename, lineno, temporary, cond) return bdb.Breakpoint(filename, lineno, temporary, con... | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py |
def interaction(self, frame, info=None): self.frame = frame code = frame.f_code file = code.co_filename base = os.path.basename(file) lineno = frame.f_lineno | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
self.sb.error.SetDimensions(rect.x+2, rect.y+2, | self.sb.error.SetDimensions(rect.x+2, rect.y+2, | def interaction(self, frame, info=None): self.frame = frame code = frame.f_code file = code.co_filename base = os.path.basename(file) lineno = frame.f_lineno | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py |
def interaction(self, frame, info=None): self.frame = frame code = frame.f_code file = code.co_filename base = os.path.basename(file) lineno = frame.f_lineno | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
def interaction(self, frame, info=None): self.frame = frame code = frame.f_code file = code.co_filename base = os.path.basename(file) lineno = frame.f_lineno | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
def selectSourceLine(self): if self.stackView.stack and self.isSourceTracing(): stack = self.stackView.stack frame, lineno = stack[len(stack)-1] try: modname = frame.f_globals['__name__'] except: return code = frame.f_code filename = code.co_filename | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
def selectSourceLine(self): if self.stackView.stack and self.isSourceTracing(): stack = self.stackView.stack frame, lineno = stack[len(stack)-1] try: modname = frame.f_globals['__name__'] except: return code = frame.f_code filename = code.co_filename | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
def enableTools(self, enable = true): | def enableTools(self, enable = true): | def enableTools(self, enable = true): self.toolbar.EnableTool(self.runId, enable) self.toolbar.EnableTool(self.stepId, enable) self.toolbar.EnableTool(self.overId, enable) self.toolbar.EnableTool(self.outId, enable) self.toolbar.EnableTool(self.stopId, enable) | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py |
def enableTools(self, enable = true): self.toolbar.EnableTool(self.runId, enable) self.toolbar.EnableTool(self.stepId, enable) self.toolbar.EnableTool(self.overId, enable) self.toolbar.EnableTool(self.outId, enable) self.toolbar.EnableTool(self.stopId, enable) | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
return self.toolbar.GetToolState(self.sourceTraceId) | return self.toolbar.GetToolState(self.sourceTraceId) | def isSourceTracing(self): return self.toolbar.GetToolState(self.sourceTraceId) | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py |
return self.toolbar.GetToolState(self.debugBrowseId) | return self.toolbar.GetToolState(self.debugBrowseId) def isInShellNamepace(self): return self.toolbar.GetToolState(self.shellNamespaceId) | def isDebugBrowsing(self): return self.toolbar.GetToolState(self.debugBrowseId) | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py |
def OnStop(self, event): wxPhonyApp.inMainLoop = false self.set_quit() self.model.editor.clearAllStepPoints() self.stackView.load_stack([]) | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
def OnCloseWindow(self, event): try: if self.interacting: # XXX mmm self.OnStop(None) self.locs.destroy() self.globs.destroy() self.breakpts.destroy() self.watches.destroy() self.model.editor.debugger = None | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | ||
def OnDebugNamespace(self, event): print 'OnDebugNamespace', self.isInShellNamepace() | def OnCloseWindow(self, event): try: if self.interacting: # XXX mmm self.OnStop(None) self.locs.destroy() self.globs.destroy() self.breakpts.destroy() self.watches.destroy() self.model.editor.debugger = None | 872f754eafee36b7b9b20954604570707e5cd36c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/872f754eafee36b7b9b20954604570707e5cd36c/Debugger.py | |
Preferences.IS.registerImage('Images/Modules/JavaModule.png', getJavaModuleData()) Preferences.IS.registerImage('Images/Palette/JavaPalette.png', getJavaPaletteData()) | Preferences.IS.registerImage('Images/Modules/Java_s.png', getJavaModuleData()) Preferences.IS.registerImage('Images/Palette/Java.png', getJavaPaletteData()) | def getJavaModuleData(): return \ | e01ce6194ed4f3cb4f346d4ab9fbbfdffab7a0c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/e01ce6194ed4f3cb4f346d4ab9fbbfdffab7a0c3/JavaSupport.plug-in.py |
tbs = errout.updateCtrls((), outls, 'CVS Results', '', err) | tbs = errout.updateCtrls((), outls, 'CVS Result', '', err) | def doCvsCmd(self, cmd, cvsDir, stdinput='', cvsOutput='output window'): # Repaint background wxYield() | 68610443cd7e736548f8870b29b781156595a679 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/68610443cd7e736548f8870b29b781156595a679/CVSExplorer.py |
def __init__(self, parent, editor): self.notebookStyle = 0 self.tracebackImgIdx = 0 self.tracebackText = 'Tracebacks' self.outputImgIdx = 1 self.outputText = 'Output' self.errorsImgIdx = 2 self.errorsText = 'Errors' self.diffPage = None self.diffImgIdx = 3 | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py | ||
'Images/CVSPics/Diff.png'): | 'Images/CvsPics/Diff.png'): | def __init__(self, parent, editor): self.notebookStyle = 0 self.tracebackImgIdx = 0 self.tracebackText = 'Tracebacks' self.outputImgIdx = 1 self.outputText = 'Output' self.errorsImgIdx = 2 self.errorsText = 'Errors' self.diffPage = None self.diffImgIdx = 3 | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py |
def __init__(self, parent, editor): self.notebookStyle = 0 self.tracebackImgIdx = 0 self.tracebackText = 'Tracebacks' self.outputImgIdx = 1 self.outputText = 'Output' self.errorsImgIdx = 2 self.errorsText = 'Errors' self.diffPage = None self.diffImgIdx = 3 | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py | ||
def updateCtrls(self, errorList, outputList=None, rootName='Error', runningDir='', errRaw=None): self.runningDir = runningDir self.tracebackType = rootName tree = self.errorStackTC tree.DeleteAllItems() rtTI = tree.AddRoot(rootName+'s') parsedTracebacks = 0 for err in errorList: if err.error and err.stack: errTI = tree... | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py | ||
if parsedTracebacks: | if parsedTracebacks: | def updateCtrls(self, errorList, outputList=None, rootName='Error', runningDir='', errRaw=None): self.runningDir = runningDir self.tracebackType = rootName tree = self.errorStackTC tree.DeleteAllItems() rtTI = tree.AddRoot(rootName+'s') parsedTracebacks = 0 for err in errorList: if err.error and err.stack: errTI = tree... | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py |
def updateCtrls(self, errorList, outputList=None, rootName='Error', runningDir='', errRaw=None): self.runningDir = runningDir self.tracebackType = rootName tree = self.errorStackTC tree.DeleteAllItems() rtTI = tree.AddRoot(rootName+'s') parsedTracebacks = 0 for err in errorList: if err.error and err.stack: errTI = tree... | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py | ||
def appendToTextCtrl(self, tc, txt, TEXTCTRL_MAXLEN=30000, TEXTCTRL_GOODLEN=20000): # Before appending to the output, remove old data. cursz = tc.GetLastPosition() newsz = cursz + len(txt) if newsz >= TEXTCTRL_MAXLEN: olddata = tc.GetValue()[newsz - TEXTCTRL_GOODLEN:] tc.SetValue(olddata) tc.SetFocus() tc.AppendText(tx... | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py | ||
def appendToTextCtrl(self, tc, txt, TEXTCTRL_MAXLEN=30000, TEXTCTRL_GOODLEN=20000): # Before appending to the output, remove old data. cursz = tc.GetLastPosition() newsz = cursz + len(txt) if newsz >= TEXTCTRL_MAXLEN: olddata = tc.GetValue()[newsz - TEXTCTRL_GOODLEN:] tc.SetValue(olddata) tc.SetFocus() tc.AppendText(tx... | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py | ||
self.diffPage = wxStyledTextCtrl(self.notebook1, -1, | self.diffPage = wxStyledTextCtrl(self.notebook1, -1, | def displayDiff(self, diffResult): if not self.diffPage: self.diffPage = wxStyledTextCtrl(self.notebook1, -1, style=wxSUNKEN_BORDER|wxCLIP_CHILDREN) self.diffPage.SetMarginWidth(1, 0) self.diffPage.SetLexer(wxSTC_LEX_DIFF) self.diffPage.StyleClearAll() for num, style in ( (2, 'fore:#FFFFCC,back:#000000,bold'), #diff (3... | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py |
self.notebook1.AddPage(strText='Diffs', bSelect=not not diffResult, | self.notebook1.AddPage(strText='Diffs', bSelect=not not diffResult, | def displayDiff(self, diffResult): if not self.diffPage: self.diffPage = wxStyledTextCtrl(self.notebook1, -1, style=wxSUNKEN_BORDER|wxCLIP_CHILDREN) self.diffPage.SetMarginWidth(1, 0) self.diffPage.SetLexer(wxSTC_LEX_DIFF) self.diffPage.StyleClearAll() for num, style in ( (2, 'fore:#FFFFCC,back:#000000,bold'), #diff (3... | 7fdd0ef709cbe80071c5b93bd489bc28c9945c90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/7fdd0ef709cbe80071c5b93bd489bc28c9945c90/ErrorStackFrm.py |
aMessage = "Displaying information about " +`len(self._methodList)` +" methods." +`self._working` | aMessage = u"Displaying information about " +`len(self._methodList)` +" methods." +`self._working` | def setStatusTextFieldMessage_(self, aMessage): """ Sets the contents of the statusTextField to aMessage and forces the field's contents to be redisplayed. """ if not aMessage: aMessage = "Displaying information about " +`len(self._methodList)` +" methods." +`self._working` self.statusTextField.performSelectorOnMainThr... | 27149324dca76b2e96f0b7cbac2ca9d089589c8d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2688/27149324dca76b2e96f0b7cbac2ca9d089589c8d/EYETestWindowControllerClass.py |
"setStringValue:", aMessage, YES) | "setStringValue:", unicode(aMessage), 0) | def setStatusTextFieldMessage_(self, aMessage): """ Sets the contents of the statusTextField to aMessage and forces the field's contents to be redisplayed. """ if not aMessage: aMessage = "Displaying information about " +`len(self._methodList)` +" methods." +`self._working` self.statusTextField.performSelectorOnMainThr... | 27149324dca76b2e96f0b7cbac2ca9d089589c8d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2688/27149324dca76b2e96f0b7cbac2ca9d089589c8d/EYETestWindowControllerClass.py |
def getMethods(self, url): pool = NSAutoreleasePool.alloc().init() self._methodList =[] self._OrigList=[] self.startWorking() # Start Process indicator filelist =GlobDirectoryWalker(url, "*.m") for filename in filelist: self.receiveMethods(filename) self.stopWorking() del pool if self._windowIsClosing: return #self.set... | 27149324dca76b2e96f0b7cbac2ca9d089589c8d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2688/27149324dca76b2e96f0b7cbac2ca9d089589c8d/EYETestWindowControllerClass.py | ||
""" finds out if a message is attached to a variable, returns a tuple with variable and position, position will be -1 if attached to varible, -2 if attached to allowed message, if its attached to a colon the position of the colon will be returned, -3 means error""" anc = anchorPattern.search(line[:i+1]) if anc: kol = f... | """ finds out if a message is attached to a variable, returns a tuple with variable and position, position will be -1 if attached to varible, -2 if attached to allowed message, if its attached to a colon the position of the colon will be returned, -3 means error""" anc = anchorPattern.search(line[:i+1]) if anc: kol = f... | def assigned(line,i): """ finds out if a message is attached to a variable, returns a tuple with variable and position, position will be -1 if attached to varible, -2 if attached to allowed message, if its attached to a colon the position of the colon will be returned, -3 means error""" anc = anchorPattern.search(line[... | a0506c4402787aca4c10ba0d781b8058becc377d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2688/a0506c4402787aca4c10ba0d781b8058becc377d/hbalance.py |
return (objectPattern.search(line[i:]).group(1), line[:anc.end()].rfind(",") ) elif c=="return" or c =="(": a = objectPattern.search(line[i:]) if a: return a.group(1), line[:anc.end()].rfind("return") return "return", i else: if not objectPattern.search(line[i:]): return (line,-3) return objectPattern.search(line[i:]).... | elif ob: if anc.group(2): return (ob.group(1), anc.start() + len(map( anc.group, (1,2,3) ) )) return (ob.group(1), anc.start() + len(map( anc.group, (1,2,3) ) ) ) elif c==",": kol = findMatchingCol(line,line[:anc.end()].rfind(",")) anchor = colAnchorPattern.search(line[:kol+1]) if anchor: if partOfAllowed(anchor.group(... | def assigned(line,i): """ finds out if a message is attached to a variable, returns a tuple with variable and position, position will be -1 if attached to varible, -2 if attached to allowed message, if its attached to a colon the position of the colon will be returned, -3 means error""" anc = anchorPattern.search(line[... | a0506c4402787aca4c10ba0d781b8058becc377d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2688/a0506c4402787aca4c10ba0d781b8058becc377d/hbalance.py |
filename = "/Users/joachimmartensson/Projects/RRSpreadSheet/Source/RRPosition.m" maine(filename) | filelist =GlobDirectoryWalker(".", "*.m") for filename in filelist: if filename.find("Controller.m")==-1: print filename maine(filename) | def dumpProfileStats(): import hotshot.stats global profData print "dump profiling data" stats = hotshot.stats.load(profData) stats.sort_stats("cumulative") stats.print_stats() | a0506c4402787aca4c10ba0d781b8058becc377d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2688/a0506c4402787aca4c10ba0d781b8058becc377d/hbalance.py |
if invalid_decls: | if False in invalid_decls: | def __ensure_attribute( self, name ): invalid_decls = filter( lambda d: not hasattr( d, name ), self.decls ) if invalid_decls: raise RuntimeError( "Not all declarations have '%s' attribute." % name ) | df21b326fb688931d02b61222a2dc492d2a69ad6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/df21b326fb688931d02b61222a2dc492d2a69ad6/mdecl_wrapper.py |
self.__needs_flushed = bool( self.__cache ) | self.__needs_flushed = not bool( self.__cache ) | def __init__( self, name ): cache_base_t.__init__( self ) self.__name = name self.__cache = self.__load( self.__name ) self.__needs_flushed = bool( self.__cache ) # If empty then we need to flush for entry in self.__cache.itervalues(): # Clear hit flags entry.was_hit = False | 6b9d99ada149bce5a57e5f351ba25abdd12b07de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/6b9d99ada149bce5a57e5f351ba25abdd12b07de/declarations_cache.py |
if '.' in self.__inst.name or '$' in self.__inst.name: new_name = self.__inst.parent.name if templates.is_instantiation( new_name ): new_name = templates.name( new_name ) self.__inst.name = new_name | if '.' in decl.name or '$' in decl.name: decl.name = new_name | def visit_class(self ): self.__link_members() #GCC-XML sometimes generates constructors with names that does not match #class name. I think this is because those constructors are compiler #generated. I need to find out more about this and to talk with Brad for decl in self.__inst.declarations: if not isinstance( decl, ... | cd6425fef6a86f7f5de2b6c7a25054cbf4365e72 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/cd6425fef6a86f7f5de2b6c7a25054cbf4365e72/linker.py |
self.__dict__['decls'] = decls | self.__dict__['declarations'] = decls | def __init__( self, decls ): """@param decls: list of declarations to operate on. @type decls: list of L{declaration wrappers<decl_wrapper_t>} """ object.__init__( self ) self.__dict__['decls'] = decls | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
return bool( self.decls ) | return bool( self.declarations ) | def __nonzero__( self ): return bool( self.decls ) | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
return len( self.decls ) | return len( self.declarations ) | def __len__( self ): """returns the number of declarations""" return len( self.decls ) | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
return self.decls[index] | return self.declarations[index] | def __getitem__( self, index ): """provides access to declaration""" return self.decls[index] | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
return iter(self.decls) | return iter(self.declarations) | def __iter__( self ): return iter(self.decls) | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
invalid_decls = filter( lambda d: not hasattr( d, name ), self.decls ) if False in invalid_decls: | invalid_decls = filter( lambda d: not hasattr( d, name ), self.declarations ) if invalid_decls: | def __ensure_attribute( self, name ): invalid_decls = filter( lambda d: not hasattr( d, name ), self.decls ) if False in invalid_decls: raise RuntimeError( "Not all declarations have '%s' attribute." % name ) | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
for d in self.decls: | for d in self.declarations: | def __setattr__( self, name, value ): """Updates the value of attribute on all declarations. @param name: name of attribute @param value: new value of attribute """ self.__ensure_attribute( name ) for d in self.decls: setattr( d, name, value ) | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
return call_redirector_t( name, self.decls ) | return call_redirector_t( name, self.declarations ) | def __getattr__( self, name ): """@param name: name of method """ return call_redirector_t( name, self.decls ) | 5304bf5ef089c5cb9aaa062c848d96c7930651a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/5304bf5ef089c5cb9aaa062c848d96c7930651a5/mdecl_wrapper.py |
items = [ self._sorted_list( self.arguments ) | items = [ self.arguments | def _get__cmp__items( self ): """implementation details""" items = [ self._sorted_list( self.arguments ) , self.return_type , self.has_extern , self._sorted_list( self.exceptions ) ] items.extend( self._get__cmp__call_items() ) return items | ab471c4f1c60395d29074158127bba5b4baecacb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/ab471c4f1c60395d29074158127bba5b4baecacb/calldef.py |
def _set_arguments(self, arguments): self._arguments = arguments arguments = property( _get_arguments, _set_arguments | arguments = property( _get_arguments | def _set_arguments(self, arguments): self._arguments = arguments | ab471c4f1c60395d29074158127bba5b4baecacb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/ab471c4f1c60395d29074158127bba5b4baecacb/calldef.py |
utils.logger.info( 'running query: %s and <user defined function>' % str( matcher ) ) | utils.logger.debug( 'running query: %s and <user defined function>' % str( matcher ) ) | def __create_matcher( self, match_class, **keywds ): matcher_args = keywds.copy() del matcher_args['function'] del matcher_args['recursive'] if matcher_args.has_key('allow_empty'): del matcher_args['allow_empty'] | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'running query: %s' % str( matcher ) ) | utils.logger.debug( 'running query: %s' % str( matcher ) ) | def __create_matcher( self, match_class, **keywds ): matcher_args = keywds.copy() del matcher_args['function'] del matcher_args['recursive'] if matcher_args.has_key('allow_empty'): del matcher_args['allow_empty'] | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'running non optimized query - optimization has not been done' ) | utils.logger.debug( 'running non optimized query - optimization has not been done' ) | def __findout_range( self, name, decl_type, recursive ): if not self._optimized: utils.logger.info( 'running non optimized query - optimization has not been done' ) decls = self.declarations if recursive: decls = algorithm.make_flatten( self.declarations ) return decls | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'query has been optimized on type and name' ) | utils.logger.debug( 'query has been optimized on type and name' ) | def __findout_range( self, name, decl_type, recursive ): if not self._optimized: utils.logger.info( 'running non optimized query - optimization has not been done' ) decls = self.declarations if recursive: decls = algorithm.make_flatten( self.declarations ) return decls | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'non recursive query has been optimized on type and name' ) | utils.logger.debug( 'non recursive query has been optimized on type and name' ) | def __findout_range( self, name, decl_type, recursive ): if not self._optimized: utils.logger.info( 'running non optimized query - optimization has not been done' ) decls = self.declarations if recursive: decls = algorithm.make_flatten( self.declarations ) return decls | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'query has been optimized on type' ) | utils.logger.debug( 'query has been optimized on type' ) | def __findout_range( self, name, decl_type, recursive ): if not self._optimized: utils.logger.info( 'running non optimized query - optimization has not been done' ) decls = self.declarations if recursive: decls = algorithm.make_flatten( self.declarations ) return decls | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'non recursive query has been optimized on type' ) | utils.logger.debug( 'non recursive query has been optimized on type' ) | def __findout_range( self, name, decl_type, recursive ): if not self._optimized: utils.logger.info( 'running non optimized query - optimization has not been done' ) decls = self.declarations if recursive: decls = algorithm.make_flatten( self.declarations ) return decls | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'query has not been optimized ( hint: query does not contain type and/or name )' ) | utils.logger.debug( 'query has not been optimized ( hint: query does not contain type and/or name )' ) | def __findout_range( self, name, decl_type, recursive ): if not self._optimized: utils.logger.info( 'running non optimized query - optimization has not been done' ) decls = self.declarations if recursive: decls = algorithm.make_flatten( self.declarations ) return decls | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'non recursive query has not been optimized ( hint: query does not contain type and/or name )' ) | utils.logger.debug( 'non recursive query has not been optimized ( hint: query does not contain type and/or name )' ) | def __findout_range( self, name, decl_type, recursive ): if not self._optimized: utils.logger.info( 'running non optimized query - optimization has not been done' ) decls = self.declarations if recursive: decls = algorithm.make_flatten( self.declarations ) return decls | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'find single query execution - started' ) | utils.logger.debug( 'find single query execution - started' ) | def _find_single( self, match_class, **keywds ): utils.logger.info( 'find single query execution - started' ) start_time = time.clock() norm_keywds = self.__normalize_args( **keywds ) matcher = self.__create_matcher( match_class, **norm_keywds ) dtype = self.__findout_decl_type( match_class, **norm_keywds ) recursive_ ... | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'find single query execution - done( %f seconds )' % ( time.clock() - start_time ) ) | utils.logger.debug( 'find single query execution - done( %f seconds )' % ( time.clock() - start_time ) ) | def _find_single( self, match_class, **keywds ): utils.logger.info( 'find single query execution - started' ) start_time = time.clock() norm_keywds = self.__normalize_args( **keywds ) matcher = self.__create_matcher( match_class, **norm_keywds ) dtype = self.__findout_decl_type( match_class, **norm_keywds ) recursive_ ... | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( 'find all query execution - started' ) | utils.logger.debug( 'find all query execution - started' ) | def _find_multiple( self, match_class, **keywds ): utils.logger.info( 'find all query execution - started' ) start_time = time.clock() norm_keywds = self.__normalize_args( **keywds ) matcher = self.__create_matcher( match_class, **norm_keywds ) dtype = self.__findout_decl_type( match_class, **norm_keywds ) recursive_ =... | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
utils.logger.info( '%d declaration(s) that match query' % len(mfound) ) utils.logger.info( 'find single query execution - done( %f seconds )' | utils.logger.debug( '%d declaration(s) that match query' % len(mfound) ) utils.logger.debug( 'find single query execution - done( %f seconds )' | def _find_multiple( self, match_class, **keywds ): utils.logger.info( 'find all query execution - started' ) start_time = time.clock() norm_keywds = self.__normalize_args( **keywds ) matcher = self.__create_matcher( match_class, **norm_keywds ) dtype = self.__findout_decl_type( match_class, **norm_keywds ) recursive_ =... | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
enums = enumerations | enums = enumerations | def enumerations( self, name=None, function=None, header_dir=None, header_file=None, recursive=None, allow_empty=None ): return self._find_multiple( self._impl_matchers[ scopedef_t.enumeration ] , name=name , function=function , decl_type=self._impl_decl_types[ scopedef_t.enumeration ] , header_dir=header_dir , header_... | 420149f2642ab48ea7ca588594f35e1e04160a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/420149f2642ab48ea7ca588594f35e1e04160a38/scopedef.py |
defines a mapping between funcdamental type name and its synonym to the instance | defines a mapping between fundamental type name and its synonym to the instance | def __init__( self ): java_fundamental_t.__init__( self, jboolean_t.JNAME ) | 25e432f301c3b0b7387ad9982531b1b95d45c1ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/25e432f301c3b0b7387ad9982531b1b95d45c1ee/cpptypes.py |
operator.name = 'operator' + operator.name | if 'new' in operator.name or 'delete' in operator.name: operator.name = 'operator ' + operator.name else: operator.name = 'operator' + operator.name | def __read_free_operator(self, attrs ): operator = self.__decl_factory.create_free_operator() self.__read_member_function( operator, attrs ) operator.name = 'operator' + operator.name return operator | 2ffc8c8e16413e672fb85b4871ecc5adbfcfcdb6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/2ffc8c8e16413e672fb85b4871ecc5adbfcfcdb6/scanner.py |
, allow_empty=allow_empty) | , allow_empty=allow_empty) def __getitem__(self, name_or_function): """ Allow simple name based find of decls. Internally just calls decls() method. @param name_or_function Name of decl to lookup or finder function. """ return self.decls(name_or_function) | , decl_type=self._impl_decl_types[ scopedef_t.typedef ] | 9919c4bf61f92453bfc1ff1a1b0c5c7141832638 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/9919c4bf61f92453bfc1ff1a1b0c5c7141832638/scopedef.py |
elif sys.platform == 'linux2': | elif sys.platform == 'linux2' or sys.platform == 'darwin': | def __raise_on_wrong_settings(self): if not os.path.isfile( self.__config.gccxml_path ): if sys.platform == 'win32': gccxml_name = 'gccxml' + '.exe' environment_var_delimiter = ';' elif sys.platform == 'linux2': gccxml_name = 'gccxml' environment_var_delimiter = ':' else: raise RuntimeError( 'unable to find out locatio... | fab785a480bc695e9ef047429f814629eafc6c41 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/fab785a480bc695e9ef047429f814629eafc6c41/source_reader.py |
if 'win' in sys.platform: | if 'win32' in sys.platform: | def __create_command_line(self, file, xmlfile): assert isinstance( self.__config, config.config_t ) #returns cmd = [] #first is gccxml executable if 'win' in sys.platform: cmd.append( '"%s"' % os.path.normpath( self.__config.gccxml_path ) ) else: cmd.append( '%s' % os.path.normpath( self.__config.gccxml_path ) ) #seco... | fab785a480bc695e9ef047429f814629eafc6c41 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/fab785a480bc695e9ef047429f814629eafc6c41/source_reader.py |
if 'win' in sys.platform : | if 'win32' in sys.platform : | def __create_command_line(self, file, xmlfile): assert isinstance( self.__config, config.config_t ) #returns cmd = [] #first is gccxml executable if 'win' in sys.platform: cmd.append( '"%s"' % os.path.normpath( self.__config.gccxml_path ) ) else: cmd.append( '%s' % os.path.normpath( self.__config.gccxml_path ) ) #seco... | fab785a480bc695e9ef047429f814629eafc6c41 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/fab785a480bc695e9ef047429f814629eafc6c41/source_reader.py |
type = remove_alias( type ) return remove_cv( type ).decl_string in decl_strings | if isinstance( type, types.StringTypes ): return type in decl_strings else: type = remove_alias( type ) return remove_cv( type ).decl_string in decl_strings | def is_std_string( type ): decl_strings = [ '::std::basic_string<char,std::char_traits<char>,std::allocator<char> >' , '::std::basic_string<char, std::char_traits<char>, std::allocator<char> >' , '::std::string' ] type = remove_alias( type ) return remove_cv( type ).decl_string in decl_strings | 0f8b0b9895f5f59bf9da6bd3a32f30c488462f77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7398/0f8b0b9895f5f59bf9da6bd3a32f30c488462f77/type_traits.py |
symcodes.append(j, i) | symcodes.append((j, i)) | def _update_keymap(self, first_keycode, count): | 94fbc2cde06189e48074638493d7cd2fb1833565 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/94fbc2cde06189e48074638493d7cd2fb1833565/display.py |
self.request_queue.append(request, wait_for_response) | self.request_queue.append((request, wait_for_response)) | def send_request(self, request, wait_for_response): | 4311677fae513f085dabaf26c82f38e31519464d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/4311677fae513f085dabaf26c82f38e31519464d/display.py |
raise BadDataError('Invalid property data format %s' % format) | raise BadDataError('Invalid property data format %d' % format) | def pack_value(self, value): | 4249d4b4f32c4ec1076f1ffbe6d632da12c3a484 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/4249d4b4f32c4ec1076f1ffbe6d632da12c3a484/rq.py |
request.PolSegment(display = self.display, onerror = onerror, drawable = self.id, gc = gc, segments = [(x1, y1, x2, y2)]) | request.PolySegment(display = self.display, onerror = onerror, drawable = self.id, gc = gc, segments = [(x1, y1, x2, y2)]) | def line(self, gc, x1, y1, x2, y2, onerror = None): | 13867db826fb4f0e67c0d8eeabe4cd2d0a91ebfd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/13867db826fb4f0e67c0d8eeabe4cd2d0a91ebfd/drawable.py |
self.get_waiting_request(e.sequence_number) | self.get_waiting_request((e.sequence_number - 1) % 65536) | def parse_event_response(self, etype): | e286f28cf1e139fc29e8cfde8cc311211086e3ce /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/e286f28cf1e139fc29e8cfde8cc311211086e3ce/display.py |
self.default_screen = max(self.default_screen, len(self.info.roots) - 1) | self.default_screen = min(self.default_screen, len(self.info.roots) - 1) | def __init__(self, display = None): | 7bac5b30c44ffc13c231c4631a571ad422f781a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/7bac5b30c44ffc13c231c4631a571ad422f781a8/display.py |
return map(lambda x: x[1], self._keymap_syms[keysym]) | return map(lambda x: (x[1], x[0]), self._keymap_syms[keysym]) | def keysym_to_keycodes(self, keysym): | 80f735cdc64cf9832b6079c69a006032251351c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/80f735cdc64cf9832b6079c69a006032251351c1/display.py |
for keysym, code in self._keymap_syms.items(): if code >= first_keycode and code < lastcode: symcodes = self._keymap_syms[keysym] i = 0 while i < len(symcodes): if symcodes[i][1] == code: del symcodes[i] else: i = i + 1 | for keysym, codes in self._keymap_syms.items(): i = 0 while i < len(codes): code = codes[i][1] if code >= first_keycode and code < lastcode: del codes[i] else: i = i + 1 | def _update_keymap(self, first_keycode, count): | 80f735cdc64cf9832b6079c69a006032251351c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/80f735cdc64cf9832b6079c69a006032251351c1/display.py |
i = first_keycode | code = first_keycode | def _update_keymap(self, first_keycode, count): | 80f735cdc64cf9832b6079c69a006032251351c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/80f735cdc64cf9832b6079c69a006032251351c1/display.py |
j = 0 | index = 0 | def _update_keymap(self, first_keycode, count): | 80f735cdc64cf9832b6079c69a006032251351c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/80f735cdc64cf9832b6079c69a006032251351c1/display.py |
symcodes.append((j, i)) | symcodes.append((index, code)) | def _update_keymap(self, first_keycode, count): | 80f735cdc64cf9832b6079c69a006032251351c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/80f735cdc64cf9832b6079c69a006032251351c1/display.py |
self._keymap_syms[sym] = [(j, i)] | self._keymap_syms[sym] = [(index, code)] | def _update_keymap(self, first_keycode, count): | 80f735cdc64cf9832b6079c69a006032251351c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/80f735cdc64cf9832b6079c69a006032251351c1/display.py |
j = j + 1 i = i + 1 | index = index + 1 code = code + 1 | def _update_keymap(self, first_keycode, count): | 80f735cdc64cf9832b6079c69a006032251351c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/80f735cdc64cf9832b6079c69a006032251351c1/display.py |
self._update_keymap(evt.first_keycode, evt.count) | if evt.request == X.MappingKeyboard: self._update_keymap(evt.first_keycode, evt.count) | def refresh_keyboard_mapping(self, evt): """This method should be called once when a MappingNotify event is received, to update the keymap cache. evt should be the event object.""" | 435ffe862c8b107003d1a52c49c6728e8d41c424 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/435ffe862c8b107003d1a52c49c6728e8d41c424/display.py |
self._update_keymap(self, evt.first_keycode, evt.count) | self._update_keymap(evt.first_keycode, evt.count) | def refresh_keyboard_mapping(self, evt): | b2bae4da480e8d42a225f2782ec4eec11f101e77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/b2bae4da480e8d42a225f2782ec4eec11f101e77/display.py |
def next_event(self): | 8f61cb7bcd7259212b8a90d75082e83e798bd4ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/8f61cb7bcd7259212b8a90d75082e83e798bd4ec/display.py | ||
def send_and_recv(self, flush = None, event = None, request = None, recv = None): | 8f61cb7bcd7259212b8a90d75082e83e798bd4ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/8f61cb7bcd7259212b8a90d75082e83e798bd4ec/display.py | ||
def send_and_recv(self, flush = None, event = None, request = None, recv = None): | 8f61cb7bcd7259212b8a90d75082e83e798bd4ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/8f61cb7bcd7259212b8a90d75082e83e798bd4ec/display.py | ||
def send_and_recv(self, flush = None, event = None, request = None, recv = None): | 8f61cb7bcd7259212b8a90d75082e83e798bd4ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/8f61cb7bcd7259212b8a90d75082e83e798bd4ec/display.py | ||
if recv: | if recv or flush: | def send_and_recv(self, flush = None, event = None, request = None, recv = None): | 8f61cb7bcd7259212b8a90d75082e83e798bd4ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/8f61cb7bcd7259212b8a90d75082e83e798bd4ec/display.py |
def send_and_recv(self, flush = None, event = None, request = None, recv = None): | 8f61cb7bcd7259212b8a90d75082e83e798bd4ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/8f61cb7bcd7259212b8a90d75082e83e798bd4ec/display.py | ||
fcntl.fcntl(s.fileno(), FCNTL.F_SETFD, FCNTL.FD_CLOEXEC) | fcntl.fcntl(s.fileno(), F_SETFD, FD_CLOEXEC) | def get_socket(dname, host, dno): try: # If hostname (or IP) is provided, use TCP socket if host: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((host, 6000 + dno)) # Else use Unix socket else: s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) s.connect('/tmp/.X11-unix/X%d' % dno) except socket.er... | 6efd3fb5a0db0a31f74be70b614def50ccda7c50 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/6efd3fb5a0db0a31f74be70b614def50ccda7c50/unix_connect.py |
rq.Card8('key_click_percent,'), rq.Card8('bell_percent,'), | rq.Card8('key_click_percent'), rq.Card8('bell_percent'), | def __len__(self): | bf8082d6cb9d7c21342d8fd6db7288ae0d87a3a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8084/bf8082d6cb9d7c21342d8fd6db7288ae0d87a3a0/request.py |
BaseSolver.initialize(self. application) | BaseSolver.initialize(self, application) | def initialize(self, application): BaseSolver.initialize(self. application) | aa4626f744e32a6aa1d2dcb2b363e0409f5e1d9f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/aa4626f744e32a6aa1d2dcb2b363e0409f5e1d9f/Solver.py |
__id__ = "$Id: Solver.py,v 1.18 2003/09/09 21:04:45 tan2 Exp $" | __id__ = "$Id: Solver.py,v 1.19 2003/09/26 21:54:11 ces74 Exp $" | def setProperties(self): | aa4626f744e32a6aa1d2dcb2b363e0409f5e1d9f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/aa4626f744e32a6aa1d2dcb2b363e0409f5e1d9f/Solver.py |
filename = '%s.cap%d.%d' % (prefix, i, step) | filename = '%s.cap%02d.%d' % (prefix, i, step) | def write(self, filename, grid): fp = file(filename, 'w') header = '%d x %d x %d\n' % (grid['nox'], grid['noy'], grid['noz']) #print header fp.write(header) | 7394a1a7cc8638c44007def2406b3cae596bf1bb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/7394a1a7cc8638c44007def2406b3cae596bf1bb/combine.py |
__inventory__ = [ | inventory = [ | def setProperties(self): import CitcomS.Regional as Regional | 56411a54e2ec61698a13a8dd24193e3597947fd8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/56411a54e2ec61698a13a8dd24193e3597947fd8/IC.py |
__id__ = "$Id: IC.py,v 1.3 2003/07/23 05:29:58 ces74 Exp $" | __id__ = "$Id: IC.py,v 1.4 2003/07/23 19:00:17 tan2 Exp $" | def setProperties(self): import CitcomS.Regional as Regional | 56411a54e2ec61698a13a8dd24193e3597947fd8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/56411a54e2ec61698a13a8dd24193e3597947fd8/IC.py |
__id__ = "$Id: __init__.py,v 1.1 2003/08/28 23:04:19 ces74 Exp $" | __id__ = "$Id: __init__.py,v 1.2 2003/08/28 23:12:43 ces74 Exp $" | def controller(name="controller"): return Controller(name) | 65333133fad0095f92ed74731a81ee7540eec4d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/65333133fad0095f92ed74731a81ee7540eec4d1/__init__.py |
print 'in output.py' | def setProperties(self): print 'in output.py' from CitcomSLib import Output_set_properties Output_set_properties(self.all_variables, self.inventory) return | 45534b217c50cb3309632642bf5b939e6133e6cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/45534b217c50cb3309632642bf5b939e6133e6cb/Output.py | |
ic.initTemperature = self.coupler.initTemperature | ic.initTemperature = self.exchanger.initTemperature | def launch(self, application): BaseSolver.launch(self, application) | e56a8d94a0056279ecfb931dbae06831c99611e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/e56a8d94a0056279ecfb931dbae06831c99611e0/Solver.py |
__id__ = "$Id: Solver.py,v 1.33 2003/11/28 22:17:26 tan2 Exp $" | __id__ = "$Id: Solver.py,v 1.34 2003/12/24 22:46:56 ces74 Exp $" | def setProperties(self): self.CitcomModule.Solver_set_properties(self.all_variables, self.inventory) | e56a8d94a0056279ecfb931dbae06831c99611e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/e56a8d94a0056279ecfb931dbae06831c99611e0/Solver.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.