bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | 9,710 |
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | 9,711 |
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | 9,712 |
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | 9,713 |
public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | public void paintIcon(Component c, Graphics g, int x, int y) { boolean enabled = false; boolean focus = false; if (c != null) { enabled = c.isEnabled(); focus = c.hasFocus(); } // draw the outline if (enabled) g.setColor(MetalLookAndFeel.... | 9,714 |
protected JDialog createDialog(Component parent) throws HeadlessException { Frame toUse = (Frame) SwingUtilities.getAncestorOfClass(Frame.class, parent); if (toUse == null) toUse = SwingUtilities.getOwnerFrame(); JDialog dialog = new JDialog(toUse); setSelectedFile(null); dialog.getContentPane().... | protected JDialog createDialog(Component parent) throws HeadlessException { Frame toUse = (Frame) SwingUtilities.getAncestorOfClass(Frame.class, parent); if (toUse == null) toUse = (Frame) SwingUtilities.getOwnerFrame(null); JDialog dialog = new JDialog(toUse); setSelectedFile(null); dialog.getCo... | 9,715 |
public int showDialog(Component parent, String approveButtonText) throws HeadlessException { JDialog d = createDialog(parent); setApproveButtonText(approveButtonText); setDialogType(CUSTOM_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.... | public int showDialog(Component parent, String approveButtonText) throws HeadlessException { JDialog d = createDialog(parent); setApproveButtonText(approveButtonText); setDialogType(CUSTOM_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.... | 9,716 |
public int showOpenDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); // FIXME: Remove when we get ancestor property d.setTitle("Open"); setDialogType(OPEN_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferre... | public int showOpenDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); // FIXME: Remove when we get ancestor property d.setTitle("Open"); setDialogType(OPEN_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferre... | 9,717 |
public int showSaveDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); setDialogType(SAVE_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferredSize().height); d.show(); return retval; } | public int showSaveDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); setDialogType(SAVE_DIALOG); retval = ERROR_OPTION; Insets i = d.getInsets(); d.setSize(500 + i.top + i.bottom, d.getPreferredSize().height); d.show(); return retval; } | 9,718 |
public String toString() { return "GIOP " + version + ", " + (isBigEndian() ? "Big" : "Little") + " endian, " + getTypeString(message_type) + ", " + message_size + " bytes. "; } | public String toString() { return "GIOP " + version + ", " + (isBigEndian() ? "Big" : "Little") + " endian, " + getTypeString(message_type) + ", " + message_size + " bytes. "; } | 9,719 |
protected void damageLineRange (int line0, int line1, Shape a, Component host) { if (a == null) return; Rectangle rec0 = lineToRect(a, line0); Rectangle rec1 = lineToRect(a, line1); if (rec0 == null || rec1 == null) // something went wrong, repaint the entire host to be safe host.repaint()... | protected void damageLineRange (int line0, int line1, Shape a, Component host) { if (a == null) return; Rectangle rec0 = lineToRect(a, line0); Rectangle rec1 = lineToRect(a, line1); if (rec0 == null || rec1 == null) // something went wrong, repaint the entire host to be safe host.repaint()... | 9,720 |
public int getNativeFD() { return ch.getPlainSocketImpl().getNativeFD(); } | public int getNativeFD() { try { return ch.getVMChannel().getState().getNativeFD(); } catch (IOException ioe) { return 0; } } | 9,723 |
public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log... | public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log... | 9,725 |
public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log... | public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log... | 9,726 |
public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log... | public void read(long devOffset, byte[] dest, int destOffset, int length) throws IOException { if (length == 0) { return; } final int ofsMisAlign = (int)(devOffset % alignment); final int lenMisAlign = (length % alignment); /*log.debug("devOffset =" + devOffset); log.debug("length =" + length); log... | 9,727 |
public String getName() { return (String) getAttribute(NameAttribute); } | public String getName() { return (String) getAttribute(StyleConstants.NameAttribute); } | 9,729 |
protected void blockClose(HTML.Tag t) { printBuffer(); ElementSpec element = new ElementSpec(null, ElementSpec.EndTagType); parseBuffer.addElement(element); printBuffer(); } | protected void blockClose(HTML.Tag t) { printBuffer(); DefaultStyledDocument.ElementSpec element; element = new DefaultStyledDocument.ElementSpec(null, DefaultStyledDocument.ElementSpec.EndTagType); parseBuffer.addElement(element); printBuffer(); } | 9,730 |
protected void blockOpen(HTML.Tag t, MutableAttributeSet attr) { printBuffer(); ElementSpec element = new ElementSpec(attr.copyAttributes(), ElementSpec.StartTagType); parseBuffer.addElement(element); printBuffer(); } | protected void blockOpen(HTML.Tag t, MutableAttributeSet attr) { printBuffer(); DefaultStyledDocument.ElementSpec element; element = new DefaultStyledDocument.ElementSpec(attr.copyAttributes(), DefaultStyledDocument.ElementSpec.StartTagType); parseBuffer.addElement(element); printBuffer(); ... | 9,731 |
public void flush() throws BadLocationException { ElementSpec[] elements = new ElementSpec[parseBuffer.size()]; parseBuffer.copyInto(elements); parseBuffer.removeAllElements(); insert(offset, elements); offset += HTMLDocument.this.getLength() - offset; } | public void flush() throws BadLocationException { DefaultStyledDocument.ElementSpec[] elements; elements = new DefaultStyledDocument.ElementSpec[parseBuffer.size()]; parseBuffer.copyInto(elements); parseBuffer.removeAllElements(); insert(offset, elements); offset += HTMLDocument.this.get... | 9,732 |
public String getName() { return (String) getAttribute(NameAttribute); } | public String getName() { return (String) getAttribute(StyleConstants.NameAttribute); } | 9,733 |
public Element getElement(Element e, Object attribute, Object value) { if (e != null) { if (e.getAttributes().containsAttribute(attribute, value)) return e; int count = e.getElementCount(); for (int j = 0; j < count; j++) { Element child = e.getElemen... | public Element getElement(Element e, Object attribute, Object value) { if (e != null) { if (e.getAttributes().containsAttribute(attribute, value)) return e; int count = e.getElementCount(); for (int j = 0; j < count; j++) { Element child = e.getElemen... | 9,734 |
public JFileChooser() { // TODO } // JFileChooser() | public JFileChooser() { // TODO } // JFileChooser() | 9,735 |
public boolean accept(File file) { return false; // TODO } // accept() | public boolean accept(File file) { return false; // TODO } // accept() | 9,736 |
public void addActionListener(ActionListener listener) { listenerList.add (ActionListener.class, listener); } | public void addActionListener(ActionListener listener) { listenerList.add (ActionListener.class, listener); } | 9,737 |
public void addActionListener(ActionListener listener) { listenerList.add (ActionListener.class, listener); } | public void addActionListener(ActionListener listener) { listenerList.add (ActionListener.class, listener); } | 9,738 |
public void addChoosableFileFilter(FileFilter filter) { // TODO } // addChoosableFileFilter() | public void addChoosableFileFilter(FileFilter filter) { // TODO } // addChoosableFileFilter() | 9,739 |
public void approveSelection() { // TODO } // approveSelection() | public void approveSelection() { // TODO } // approveSelection() | 9,740 |
public void cancelSelection() { // TODO } // cancelSelection() | public void cancelSelection() { // TODO } // cancelSelection() | 9,741 |
public void changeToParentDirectory() { // TODO } // changeToParentDirectory() | public void changeToParentDirectory() { // TODO } // changeToParentDirectory() | 9,742 |
public void ensureFileIsVisible(File file) { // TODO } // ensureFileIsVisible() | public void ensureFileIsVisible(File file) { // TODO } // ensureFileIsVisible() | 9,743 |
protected void fireActionPerformed(String command) { // TODO } // fireActionPerformed() | protected void fireActionPerformed(String command) { // TODO } // fireActionPerformed() | 9,744 |
public FileFilter getAcceptAllFileFilter() { return null; // TODO } // getAcceptAllFileFilter() | public FileFilter getAcceptAllFileFilter() { return null; // TODO } // getAcceptAllFileFilter() | 9,745 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJFileChooser(); return accessibleContext; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJFileChooser(); return accessibleContext; } | 9,746 |
public JComponent getAccessory() { return null; // TODO } // getAccessory() | public JComponent getAccessory() { return null; // TODO } // getAccessory() | 9,747 |
public ActionListener[] getActionListeners() { return (ActionListener[]) listenerList.getListeners (ActionListener.class); } | public ActionListener[] getActionListeners() { return (ActionListener[]) listenerList.getListeners (ActionListener.class); } | 9,748 |
public int getApproveButtonMnemonic() { return 0; // TODO } // getApproveButtonMnemonic() | public int getApproveButtonMnemonic() { return 0; // TODO } // getApproveButtonMnemonic() | 9,749 |
public String getApproveButtonText() { return null; // TODO } // getApproveButtonText() | public String getApproveButtonText() { return null; // TODO } // getApproveButtonText() | 9,750 |
public String getApproveButtonToolTipText() { return null; // TODO } // getApproveButtonToolTipText() | public String getApproveButtonToolTipText() { return null; // TODO } // getApproveButtonToolTipText() | 9,751 |
public FileFilter[] getChoosableFileFilters() { return null; // TODO } // getChoosableFileFilters() | public FileFilter[] getChoosableFileFilters() { return null; // TODO } // getChoosableFileFilters() | 9,752 |
public boolean getControlButtonsAreShown() { return false; // TODO } // getControlButtonsAreShown() | public boolean getControlButtonsAreShown() { return false; // TODO } // getControlButtonsAreShown() | 9,753 |
public File getCurrentDirectory() { return null; // TODO } // getCurrentDirectory() | public File getCurrentDirectory() { return null; // TODO } // getCurrentDirectory() | 9,754 |
public String getDescription(File file) { return null; // TODO } // getDescription() | public String getDescription(File file) { return null; // TODO } // getDescription() | 9,755 |
public String getDialogTitle() { return null; // TODO } // getDialogTitle() | public String getDialogTitle() { return null; // TODO } // getDialogTitle() | 9,756 |
public int getDialogType() { return 0; // TODO } // getDialogType() | public int getDialogType() { return 0; // TODO } // getDialogType() | 9,757 |
public FileFilter getFileFilter() { return null; // TODO } // getFileFilter() | public FileFilter getFileFilter() { return null; // TODO } // getFileFilter() | 9,758 |
public int getFileSelectionMode() { return 0; // TODO } // getFileSelectionMode() | public int getFileSelectionMode() { return 0; // TODO } // getFileSelectionMode() | 9,759 |
public FileSystemView getFileSystemView() { return null; // TODO } // getFileSystemView() | public FileSystemView getFileSystemView() { return null; // TODO } // getFileSystemView() | 9,760 |
public FileView getFileView() { return null; // TODO } // getFileView() | public FileView getFileView() { return null; // TODO } // getFileView() | 9,761 |
public Icon getIcon(File file) { return null; // TODO } // getIcon() | public Icon getIcon(File file) { return null; // TODO } // getIcon() | 9,762 |
public String getName(File file) { return null; // TODO } // getName() | public String getName(File file) { return null; // TODO } // getName() | 9,763 |
public File getSelectedFile() { return null; // TODO } // getSelectedFile() | public File getSelectedFile() { return null; // TODO } // getSelectedFile() | 9,764 |
public File[] getSelectedFiles() { return null; // TODO } // getSelectedFiles() | public File[] getSelectedFiles() { return null; // TODO } // getSelectedFiles() | 9,765 |
public String getTypeDescription(File file) { return null; // TODO } // getTypeDescription() | public String getTypeDescription(File file) { return null; // TODO } // getTypeDescription() | 9,766 |
public FileChooserUI getUI() { return (FileChooserUI) ui; } // getUI() | public FileChooserUI getUI() { return (FileChooserUI) ui; } // getUI() | 9,767 |
public FileChooserUI getUI() { return (FileChooserUI) ui; } // getUI() | public FileChooserUI getUI() { return (FileChooserUI) ui; } // getUI() | 9,768 |
public String getUIClassID() { return uiClassID; } // getUIClassID() | public String getUIClassID() { return uiClassID; } // getUIClassID() | 9,769 |
public boolean isAcceptAllFileFilterUsed() { return false; // TODO } // isAcceptAllFileFilterUsed() | public boolean isAcceptAllFileFilterUsed() { return false; // TODO } // isAcceptAllFileFilterUsed() | 9,770 |
public boolean isDirectorySelectionEnabled() { return false; // TODO } // isDirectorySelectionEnabled() | public boolean isDirectorySelectionEnabled() { return false; // TODO } // isDirectorySelectionEnabled() | 9,771 |
public boolean isFileHidingEnabled() { return false; // TODO } // isFileHidingEnabled() | public boolean isFileHidingEnabled() { return false; // TODO } // isFileHidingEnabled() | 9,772 |
public boolean isFileSelectionEnabled() { return false; // TODO } // isFileSelectionEnabled() | public boolean isFileSelectionEnabled() { return false; // TODO } // isFileSelectionEnabled() | 9,773 |
public boolean isMultiSelectionEnabled() { return false; // TODO } // isMultiSelectionEnabled() | public boolean isMultiSelectionEnabled() { return false; // TODO } // isMultiSelectionEnabled() | 9,774 |
public boolean isTraversable(File file) { return false; // TODO } // isTraversable() | public boolean isTraversable(File file) { return false; // TODO } // isTraversable() | 9,775 |
protected String paramString() { return null; // TODO } // paramString() | protected String paramString() { return null; // TODO } // paramString() | 9,776 |
public void removeActionListener(ActionListener listener) { listenerList.remove (ActionListener.class, listener); } | public void removeActionListener(ActionListener listener) { listenerList.remove (ActionListener.class, listener); } | 9,777 |
public void removeActionListener(ActionListener listener) { listenerList.remove (ActionListener.class, listener); } | public void removeActionListener(ActionListener listener) { listenerList.remove (ActionListener.class, listener); } | 9,778 |
public boolean removeChoosableFileFilter(FileFilter filter) { return false; // TODO } // removeChoosableFileFilter() | public boolean removeChoosableFileFilter(FileFilter filter) { return false; // TODO } // removeChoosableFileFilter() | 9,779 |
public void rescanCurrentDirectory() { // TODO } // rescanCurrentDirectory() | public void rescanCurrentDirectory() { // TODO } // rescanCurrentDirectory() | 9,780 |
public void resetChoosableFileFilters() { // TODO } // resetChoosableFileFilters() | public void resetChoosableFileFilters() { // TODO } // resetChoosableFileFilters() | 9,781 |
public void setAcceptAllFileFilterUsed(boolean value) { // TODO } // setAcceptAllFileFilterUsed() | public void setAcceptAllFileFilterUsed(boolean value) { // TODO } // setAcceptAllFileFilterUsed() | 9,782 |
public void setAccessory(JComponent accessory) { // TODO } // setAccessory() | public void setAccessory(JComponent accessory) { // TODO } // setAccessory() | 9,783 |
public void setApproveButtonMnemonic(int mnemonic) { // TODO } // setApproveButtonMnemonic() | public void setApproveButtonMnemonic(int mnemonic) { // TODO } // setApproveButtonMnemonic() | 9,784 |
public void setApproveButtonText(String text) { // TODO } // setApproveButtonText() | public void setApproveButtonText(String text) { // TODO } // setApproveButtonText() | 9,785 |
public void setApproveButtonToolTipText(String text) { // TODO } // setApproveButtonToolTipText() | public void setApproveButtonToolTipText(String text) { // TODO } // setApproveButtonToolTipText() | 9,786 |
public void setControlButtonsAreShown(boolean value) { // TODO } // setControlButtonsAreShown() | public void setControlButtonsAreShown(boolean value) { // TODO } // setControlButtonsAreShown() | 9,787 |
public void setCurrentDirectory(File directory) { // TODO } // setCurrentDirectory() | public void setCurrentDirectory(File directory) { // TODO } // setCurrentDirectory() | 9,788 |
public void setDialogTitle(String title) { // TODO } // setDialogTitle() | public void setDialogTitle(String title) { // TODO } // setDialogTitle() | 9,789 |
public void setDialogType(int type) { // TODO } // setDialogType() | public void setDialogType(int type) { // TODO } // setDialogType() | 9,790 |
public void setFileFilter(FileFilter filter) { // TODO } // setFileFilter() | public void setFileFilter(FileFilter filter) { // TODO } // setFileFilter() | 9,791 |
public void setFileHidingEnabled(boolean enabled) { // TODO } // setFileHidingEnabled() | public void setFileHidingEnabled(boolean enabled) { // TODO } // setFileHidingEnabled() | 9,792 |
public void setFileSelectionMode(int mode) { // TODO } // setFileSelectionMode() | public void setFileSelectionMode(int mode) { // TODO } // setFileSelectionMode() | 9,793 |
public void setFileSystemView(FileSystemView fsv) { // TODO } // setFileSystemView() | public void setFileSystemView(FileSystemView fsv) { // TODO } // setFileSystemView() | 9,794 |
public void setFileView(FileView view) { // TODO } // setFileView() | public void setFileView(FileView view) { // TODO } // setFileView() | 9,795 |
public void setMultiSelectionEnabled(boolean enabled) { // TODO } // setMultiSelectionEnabled() | public void setMultiSelectionEnabled(boolean enabled) { // TODO } // setMultiSelectionEnabled() | 9,796 |
public void setSelectedFile(File file) { // TODO } // setSelectedFile() | public void setSelectedFile(File file) { // TODO } // setSelectedFile() | 9,797 |
public void setSelectedFiles(File[] files) { // TODO } // setSelectedFiles() | public void setSelectedFiles(File[] files) { // TODO } // setSelectedFiles() | 9,798 |
protected void setup(FileSystemView view) { // TODO } // setup() | protected void setup(FileSystemView view) { // TODO } // setup() | 9,799 |
public int showDialog(Component parent, String approveButtonText) { return CANCEL_OPTION; // TODO } // showDialog() | public int showDialog(Component parent, String approveButtonText) { return CANCEL_OPTION; // TODO } // showDialog() | 9,800 |
public int showOpenDialog(Component parent) { return CANCEL_OPTION; // TODO } // showOpenDialog() | public int showOpenDialog(Component parent) { return CANCEL_OPTION; // TODO } // showOpenDialog() | 9,801 |
public int showSaveDialog(Component parent) { return CANCEL_OPTION; // TODO } // showSaveDialog() | public int showSaveDialog(Component parent) { return CANCEL_OPTION; // TODO } // showSaveDialog() | 9,802 |
public void updateUI() { setUI((FileChooserUI) UIManager.get(this)); invalidate(); } // updateUI() | public void updateUI() { setUI((FileChooserUI) UIManager.get(this)); invalidate(); } // updateUI() | 9,803 |
private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | 9,804 |
private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | 9,805 |
private void doRenameVariables(IRBasicBlock block) { System.out.println("\ndoRenameVariables block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); Operand[] refs = q.getReferencedOps(); if (refs != null) { int n = refs.length; for (int i=0; i<n; ... | private void doRenameVariables(IRBasicBlock block) { System.out.println("\ndoRenameVariables block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); Operand[] refs = q.getReferencedOps(); if (refs != null) { int n = refs.length; for (int i=0; i<n; ... | 9,806 |
private void placePhiFunctions() { System.out.println("\nplacePhiFunctions"); for (int i=0; i<bblocks.length; i+=1) { IRBasicBlock b = bblocks[i]; BootableArrayList defList = b.getDefList(); for (int j=0; j<defList.size(); j+=1) { Variable def = (Variable) defList.get(j); List df = b.getDominanceFrontier... | private void placePhiFunctions() { System.out.println("\nplacePhiFunctions"); for (int i=0; i<bblocks.length; i+=1) { IRBasicBlock b = bblocks[i]; BootableArrayList defList = b.getDefList(); for (int j=0; j<defList.size(); j+=1) { Variable def = (Variable) defList.get(j); List df = b.getDominanceFrontier... | 9,807 |
private void popVariables(IRBasicBlock block) { System.out.println("\npopVariables block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof AssignQuad) { AssignQuad aq = (AssignQuad) q; SSAStack st = getStack(aq.getLHS()); st.pop()... | private void popVariables(IRBasicBlock block) { System.out.println("\npopVariables block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof AssignQuad) { AssignQuad aq = (AssignQuad) q; SSAStack st = getStack(aq.getLHS()); st.pop()... | 9,808 |
private void renameVariables(IRBasicBlock block) { System.out.println("\nrenameVariables block: " + block); doRenameVariables(block); Iterator it = block.getSuccessors().iterator(); while (it.hasNext()) { IRBasicBlock b = (IRBasicBlock) it.next(); rewritePhiParams(b); } it = block.getDominatedBlocks().iterat... | private void renameVariables(IRBasicBlock block) { System.out.println("\nrenameVariables block: " + block); doRenameVariables(block); Iterator it = block.getSuccessors().iterator(); while (it.hasNext()) { IRBasicBlock b = (IRBasicBlock) it.next(); rewritePhiParams(b); } it = block.getDominatedBlocks().iterat... | 9,809 |
private void rewritePhiParams(IRBasicBlock block) { if (block == null) { return; } System.out.println("\nrewritePhiParams block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof PhiAssignQuad) { PhiAssignQuad aq = (PhiAssignQuad) q;... | private void rewritePhiParams(IRBasicBlock block) { if (block == null) { return; } System.out.println("\nrewritePhiParams block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof PhiAssignQuad) { PhiAssignQuad aq = (PhiAssignQuad) q;... | 9,810 |
private void rewritePhiParams(IRBasicBlock block) { if (block == null) { return; } System.out.println("\nrewritePhiParams block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof PhiAssignQuad) { PhiAssignQuad aq = (PhiAssignQuad) q;... | private void rewritePhiParams(IRBasicBlock block) { if (block == null) { return; } System.out.println("\nrewritePhiParams block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof PhiAssignQuad) { PhiAssignQuad aq = (PhiAssignQuad) q;... | 9,811 |
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ... | public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ... | 9,812 |
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ... | public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ... | 9,813 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.