bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.g...
private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.g...
10,739
StackTraceElement(String fileName, int lineNumber, String className, String methodName, boolean isNative) { this.fileName = fileName; this.lineNumber = lineNumber; this.className = className; this.methodName = methodName; this.isNative = isNative; }
StackTraceElement(String fileName, int lineNumber, String className, String methodName, boolean isNative) { this.fileName = fileName; this.lineNumber = lineNumber; this.declaringClass = className; this.methodName = methodName; this.isNative = isNative; }
10,740
public boolean equals(Object o) { if (! (o instanceof StackTraceElement)) return false; StackTraceElement e = (StackTraceElement) o; return equals(fileName, e.fileName) && lineNumber == e.lineNumber && equals(className, e.className) && equals(methodName, e.methodName); }
public boolean equals(Object o) { if (! (o instanceof StackTraceElement)) return false; StackTraceElement e = (StackTraceElement) o; return equals(fileName, e.fileName) && lineNumber == e.lineNumber && equals(declaringClass, e.declaringClass) && equals(methodName, e.methodName); }
10,741
public String getClassName() { return className; }
public String getClassName() { return declaringClass; }
10,742
public int hashCode() { return hashCode(fileName) ^ lineNumber ^ hashCode(className) ^ hashCode(methodName); }
public int hashCode() { return hashCode(fileName) ^ lineNumber ^ hashCode(declaringClass) ^ hashCode(methodName); }
10,743
public String toString() { StringBuffer sb = new StringBuffer(); if (className != null) { sb.append(className); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append(" ("); if (fileName != null) sb.append(fileName)...
public String toString() { StringBuffer sb = new StringBuffer(); if (declaringClass != null) { sb.append(className); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append(" ("); if (fileName != null) sb.append(file...
10,744
public String toString() { StringBuffer sb = new StringBuffer(); if (className != null) { sb.append(className); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append(" ("); if (fileName != null) sb.append(fileName)...
public String toString() { StringBuffer sb = new StringBuffer(); if (className != null) { sb.append(declaringClass); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append(" ("); if (fileName != null) sb.append(file...
10,745
public int read() throws IOException { byte buf[] = new byte [1]; int bytes_read = read(buf, 0, 1); if (bytes_read == -1) return -1; return buf[0] & 0xFF; }
public int read() throws IOException { byte buf[] = new byte [1]; int bytes_read = read(buf, 0, 1); if (bytes_read == -1) return -1; return buf[0] & 0xFF; }
10,747
public void write(int b) throws IOException { byte buf[] = { (byte) b }; write(buf, 0, 1); }
public void write(int b) throws IOException { byte buf[] = { (byte) b }; write(buf, 0, 1); }
10,748
protected synchronized void accept(SocketImpl impl) throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
protected synchronized void accept(SocketImpl impl) throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
10,749
protected int available() throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
protected int available() throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
10,750
protected synchronized void bind(InetAddress addr, int port) throws IOException { // @vm-specific no natives throw new SocketException("Not implemented"); }
protected synchronized void bind(InetAddress addr, int port) throws IOException { // @vm-specific no natives throw new SocketException("Not implemented"); }
10,751
protected void close() throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
protected void close() throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
10,752
protected synchronized void connect(String host, int port) throws IOException { connect(InetAddress.getByName(host), port); }
protected synchronized void connect(String hostname, int port) throws IOException { connect(InetAddress.getByName(host), port); }
10,753
protected synchronized void connect(String host, int port) throws IOException { connect(InetAddress.getByName(host), port); }
protected synchronized void connect(String host, int port) throws IOException { connect(InetAddress.getByName(hostname), port); }
10,754
protected synchronized InputStream getInputStream() throws IOException { if (in == null) in = new SocketInputStream(); return in; }
protected synchronized InputStream getInputStream() throws IOException { if (in == null) in = new SocketInputStream(); return in; }
10,755
public Object getOption(int optID) throws SocketException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
public Object getOption(int optID) throws SocketException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
10,756
protected synchronized OutputStream getOutputStream() throws IOException { if (out == null) out = new SocketOutputStream(); return out; }
protected synchronized OutputStream getOutputStream() throws IOException { if (out == null) out = new SocketOutputStream(); return out; }
10,757
protected synchronized void listen(int queuelen) throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
protected synchronized void listen(int queuelen) throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
10,758
public void sendUrgentData(int data) { throw new InternalError ("PlainSocketImpl::sendUrgentData not implemented"); }
public void sendUrgentData(int data) throws IOException { throw new InternalError ("PlainSocketImpl::sendUrgentData not implemented"); }
10,759
public void sendUrgentData(int data) { throw new InternalError ("PlainSocketImpl::sendUrgentData not implemented"); }
public void sendUrgentData(int data) { impl.sendUrgentData(data); }
10,760
public void setOption(int optID, Object value) throws SocketException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
public void setOption(int optID, Object value) throws SocketException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); }
10,761
public void shutdownInput() { // @vm-specific no natives //TODO implement me throw new InternalError ("PlainSocketImpl::shutdownInput not implemented"); }
public void shutdownInput() throws IOException { // @vm-specific no natives //TODO implement me throw new InternalError ("PlainSocketImpl::shutdownInput not implemented"); }
10,762
public void shutdownInput() { // @vm-specific no natives //TODO implement me throw new InternalError ("PlainSocketImpl::shutdownInput not implemented"); }
public void shutdownInput() { // @vm-specific no natives //TODO implement me impl.shutdownInput(); }
10,763
public void shutdownOutput() throws IOException { // @vm-specific no natives //TODO implement me throw new InternalError ("PlainSocketImpl::shutdownOutput not implemented"); }
public void shutdownOutput() throws IOException { // @vm-specific no natives //TODO implement me impl.shutdownOutput(); }
10,764
protected void propertyChange(PropertyChangeEvent event) { // Does nothing by default. }
if (event.getPropertyName().equals("editable")) { if (textComponent.isEditable()) textComponent.setBackground(background); else textComponent.setBackground(inactiveBackground); } if (event.getPropertyName().equals("editable")) { if (textComponent.isEditable()) textComponent.setBackground(background); else textComponent...
10,765
protected void addImpl(Component comp, Object constraints, int index) { // If we're in the initialization stage use super.add. Here we add the // rootPane as well as the title bar and other stuff. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp,constraints, in...
protected void addImpl(Component comp, Object constraints, int index) { // If we're in the initialization stage use super.add. Here we add the // rootPane as well as the title bar and other stuff. // Otherwise pass the add onto the content pane. if (isRootPaneCheckingEnabled()) getContentPane().add(comp,...
10,766
protected void addImpl(Component comp, Object constraints, int index) { // If we're in the initialization stage use super.add. Here we add the // rootPane as well as the title bar and other stuff. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp,constraints, in...
protected void addImpl(Component comp, Object constraints, int index) { // If we're in the initialization stage use super.add. Here we add the // rootPane as well as the title bar and other stuff. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp,constraints, in...
10,767
protected String paramString() { return "JInternalFrame"; }
protected String paramString() { return super.paramString(); }
10,768
public void reshape(int x, int y, int width, int height) { super.reshape(x, y, width, height); invalidate(); doLayout(); }
public void reshape(int x, int y, int width, int height) { super.reshape(x, y, width, height); invalidate(); doLayout(); }
10,769
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()...
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()...
10,770
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()...
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()...
10,771
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()...
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()...
10,772
public IRBasicBlock(int address) { this(address, -1, false); }
public IRBasicBlock(int address) { this(address, -1, false); }
10,775
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,776
public static long getFatOffset(BootSector bs, int fatNr) { long sectSize = bs.getBytesPerSector(); long sectsPerFat = bs.getSectorsPerFat(); long resSects = bs.getNrReservedSectors(); long offset = resSects * sectSize; if (fatNr > 0) { offset += (fatNr-1) * sectsPerFat * sectSize; } return offset; }
public static long getFatOffset(BootSector bs, int fatNr) { long sectSize = bs.getBytesPerSector(); long sectsPerFat = bs.getSectorsPerFat(); long resSects = bs.getNrReservedSectors(); long offset = resSects * sectSize; if (fatNr > 0) { offset += (fatNr-1) * sectsPerFat * sectSize; } return offset; }
10,777
public void updateDirty() { //LDC - 12/02/2003 - check if we must repaint it if (drawing == false) return; //LDC - 18/02/2003 - only update the screen when the window is showing if (this.gui.isShowing()) { Rectangle r = new Rectangle(dirty); // update the image updateImage(r); } ...
public void updateDirty() { //LDC - 12/02/2003 - check if we must repaint it if (drawing == false) return; //LDC - 18/02/2003 - only update the screen when the window is showing if (this.gui.isShowing()) { Rectangle r = new Rectangle(dirty); // update the image updateImage(r); } ...
10,778
public void updateDirty() { //LDC - 12/02/2003 - check if we must repaint it if (drawing == false) return; //LDC - 18/02/2003 - only update the screen when the window is showing if (this.gui.isShowing()) { Rectangle r = new Rectangle(dirty); // update the image updateImage(r); } ...
public void updateDirty() { //LDC - 12/02/2003 - check if we must repaint it if (drawing == false) return; //LDC - 18/02/2003 - only update the screen when the window is showing if (this.gui.isShowing()) { Rectangle r = new Rectangle(dirty); // update the image updateImage(r); } ...
10,779
public BlockElement (Element parent, AttributeSet a) { super (parent, a); }
public BlockElement (Element parent, AttributeSet a) { super(parent, a); }
10,780
protected void blockOpen(HTML.Tag t, MutableAttributeSet attr) { printBuffer(); DefaultStyledDocument.ElementSpec element; attr.addAttribute(StyleConstants.NameAttribute, t); element = new DefaultStyledDocument.ElementSpec(attr, DefaultStyledDocument.ElementSpec.StartTagType); parseBuf...
protected void blockOpen(HTML.Tag t, MutableAttributeSet attr) { printBuffer(); DefaultStyledDocument.ElementSpec element; attr.addAttribute(StyleConstants.NameAttribute, t); element = new DefaultStyledDocument.ElementSpec(attr, DefaultStyledDocument.ElementSpec.StartTagType); parseBuf...
10,781
protected AbstractElement createDefaultRoot() { AttributeContext ctx = getAttributeContext(); // Create html element. AttributeSet atts = ctx.getEmptySet(); atts = ctx.addAttribute(atts, StyleConstants.NameAttribute, HTML.Tag.HTML); BranchElement html = (BranchElement) createBranchElement(null, atts);...
protected AbstractElement createDefaultRoot() { AbstractDocument.AttributeContext ctx = getAttributeContext(); // Create html element. AttributeSet atts = ctx.getEmptySet(); atts = ctx.addAttribute(atts, StyleConstants.NameAttribute, HTML.Tag.HTML); BranchElement html = (BranchElement) createBranchEle...
10,782
public void mouseClicked(MouseEvent e) { }
public void mouseClicked(MouseEvent e) { }
10,783
public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); }
public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); }
10,784
public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); }
public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); }
10,785
public void mouseEntered(MouseEvent e) { }
public void mouseEntered(MouseEvent e) { }
10,786
public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); //if control is pressed and the cell is already selected, deselect it if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begi...
public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); //if control is pressed and the cell is already selected, deselect it if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begi...
10,787
public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); //if control is pressed and the cell is already selected, deselect it if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begi...
public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); //if control is pressed and the cell is already selected, deselect it if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begi...
10,788
public void mouseReleased(MouseEvent e) { begin = null; curr = null; }
public void mouseReleased(MouseEvent e) { begin = null; curr = null; }
10,790
public void mouseReleased(MouseEvent e) { begin = null; curr = null; }
public void mouseReleased(MouseEvent e) { begin = null; curr = null; }
10,791
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
10,792
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
10,793
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
10,794
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
10,795
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
10,796
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c...
10,797
protected FocusListener createFocusListener() { return new FocusHandler(); }
protected FocusListener createFocusListener() { return new FocusHandler(); }
10,798
protected MouseInputListener createMouseInputListener() { return new MouseInputHandler(); }
protected MouseInputListener createMouseInputListener() { return new MouseInputHandler(); }
10,799
public Dimension getMaximumSize(JComponent comp) { return getPreferredSize(comp); }
public Dimension getMaximumSize(JComponent comp) { return getPreferredSize(comp); }
10,800
public Dimension getMinimumSize(JComponent comp) { return getPreferredSize(comp); }
public Dimension getMinimumSize(JComponent comp) { return getPreferredSize(comp); }
10,801
public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); }
public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); }
10,802
public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); }
public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); }
10,803
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl...
10,804
protected void installKeyboardActions() { }
protected void installKeyboardActions() { }
10,805
public void installUI(JComponent comp) { table = (JTable)comp; focusListener = createFocusListener(); keyListener = createKeyListener(); mouseInputListener = createMouseInputListener(); installDefaults(); installKeyboardActions(); installListeners(); }
public void installUI(JComponent comp) { table = (JTable)comp; focusListener = createFocusListener(); mouseInputListener = createMouseInputListener(); installDefaults(); installKeyboardActions(); installListeners(); }
10,806
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
publicvoidpaint(Graphicsgfx,JComponentignored){intncols=table.getColumnCount();intnrows=table.getRowCount();if(nrows==0||ncols==0)return;Rectangleclip=gfx.getClipBounds();TableColumnModelcols=table.getColumnModel();intheight=table.getRowHeight();intx0=0,y0=0;intx=x0;inty=y0;Dimensiongap=table.getIntercellSpacing();inty...
10,807
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm...
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\""); writeOutAttribute(outputstream, getCount().toString()); writeOut(outputstream, "\""); writeOut(outputstream, ">"); ...
10,808
public static void main(String[] args) throws NameNotFoundException { Help.Info info = HELP_INFO; // defaults to print own help ParsedArguments cmdLine = HELP_INFO.parse(args); if (PARAM_COMMAND.isSet(cmdLine)) try { String cmd = ARG_COMMAND.getValue(cmdLine); Class clazz = null; try { ...
public static void main(String[] args) throws NameNotFoundException { Help.Info info = HELP_INFO; // defaults to print own help ParsedArguments cmdLine = HELP_INFO.parse(args); if (PARAM_COMMAND.isSet(cmdLine)) try { String cmd = ARG_COMMAND.getValue(cmdLine); Class clazz = null; try { ...
10,809
public void writeADD(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 0); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 0); write32(imm32); } }
public void writeADD(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 0); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 0); write32(imm32); } }
10,810
public final void writeAND(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 4); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 4); write32(imm32); } }
public final void writeAND(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 4); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 4); write32(imm32); } }
10,811
public void writeCMP(GPR reg1, int disp, GPR reg2) { testSize(reg1, mode.getSize()); testSize(reg2, mode.getSize()); write1bOpcodeModRM(0x39, reg2.getSize(), reg1, disp, reg2.getNr()); }
public void writeCMP(GPR reg1, int disp, GPR reg2) { testSize(reg1, mode.getSize()); testSize(reg2, mode.getSize()); write1bOpcodeModRM(0x39, reg2.getSize(), reg1, disp, reg2.getNr()); }
10,812
public final void writeCMP_Const(GPR reg, int imm32) { testSize(reg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, reg.getSize(), reg, 7); write8(imm32); } else { write1bOpcodeModRR(0x81, reg.getSize(), reg, 7); write32(imm32); } }
public final void writeCMP_Const(GPR reg, int imm32) { testSize(reg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, reg.getSize(), reg, 7); write8(imm32); } else { write1bOpcodeModRR(0x81, reg.getSize(), reg, 7); write32(imm32); } }
10,813
public final void writeDEC(GPR dstReg) { testSize(dstReg, mode.getSize()); if (code32) { write8(0x48 + dstReg.getNr()); } else { write1bOpcodeModRR(0xFF, dstReg.getSize(), dstReg, 1); } }
public final void writeDEC(GPR dstReg) { testSize(dstReg, mode.getSize()); if (code32) { write8(0x48 + dstReg.getNr()); } else { write1bOpcodeModRR(0xFF, dstReg.getSize(), dstReg, 1); } }
10,814
public final void writeINC(GPR dstReg) { testSize(dstReg, mode.getSize()); if (code32) { write8(0x40 + dstReg.getNr()); } else { write1bOpcodeModRR(0xFF, dstReg.getSize(), dstReg, 0); } }
public final void writeINC(GPR dstReg) { testSize(dstReg, mode.getSize()); if (code32) { write8(0x40 + dstReg.getNr()); } else { write1bOpcodeModRR(0xFF, dstReg.getSize(), dstReg, 0); } }
10,815
public final void writeMOV(int operandSize, GPR dstReg, int dstDisp, GPR srcReg) { testSize(dstReg, mode.getSize()); testSize(srcReg, mode.getSize()); testDst(dstReg, dstDisp); final int opcode; switch (operandSize) { case X86Constants.BITS8: opcode = 0x88; break; case X86Constants.BITS16: o...
public final void writeMOV(int operandSize, GPR dstReg, int dstDisp, GPR srcReg) { testSize(dstReg, mode.getSize()); testSize(srcReg, mode.getSize()); testDst(dstReg, dstDisp); final int opcode; switch (operandSize) { case X86Constants.BITS8: opcode = 0x88; break; case X86Constants.BITS16: o...
10,816
public final void writeMOV_Const(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); testSize(dstReg, BITS32 | BITS64); if (dstReg.getSize() == BITS32) { write1bOpcodeReg(0xB8, dstReg); write32(imm32); } else { writeMOV_Const(dstReg, (long) imm32); } }
public final void writeMOV_Const(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); testSize(dstReg, BITS32 | BITS64); if (dstReg.getSize() == BITS32) { write1bOpcodeReg(0xB8, dstReg); write32(imm32); } else { writeMOV_Const(dstReg, (long) imm32); } }
10,817
public final void writeNEG(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xf7, dstReg.getSize(), dstReg, 3); }
public final void writeNEG(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xf7, dstReg.getSize(), dstReg, 3); }
10,818
public void writeOR(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 1); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 1); write32(imm32); } }
public void writeOR(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 1); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 1); write32(imm32); } }
10,819
public final void writePOP(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeReg(0x58, dstReg); }
public final void writePOP(GPR dstReg) { testSize(dstReg, BITS32 | BITS64); write1bOpcodeReg(0x58, dstReg); }
10,820
public final void writeSHR(GPR dstReg, int imm8) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xc1, dstReg.getSize(), dstReg, 5); write8(imm8); }
public final void writeSHR(GPR dstReg, int imm8) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xc1, dstReg.getSize(), dstReg, 5); write8(imm8); }
10,821
public final void writeSHR_CL(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xd3, dstReg.getSize(), dstReg, 5); }
public final void writeSHR_CL(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xd3, dstReg.getSize(), dstReg, 5); }
10,822
public final void writeSUB(GPR reg, int imm32) { testSize(reg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, reg.getSize(), reg, 5); write8(imm32); } else { write1bOpcodeModRR(0x81, reg.getSize(), reg, 5); write32(imm32); } }
public final void writeSUB(GPR reg, int imm32) { testSize(reg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, reg.getSize(), reg, 5); write8(imm32); } else { write1bOpcodeModRR(0x81, reg.getSize(), reg, 5); write32(imm32); } }
10,823
public final void writeTEST(GPR reg, int imm32) { testSize(reg, mode.getSize()); write1bOpcodeModRR(0xF7, reg.getSize(), reg, 0); write32(imm32); }
public final void writeTEST(GPR reg, int imm32) { testSize(reg, mode.getSize()); write1bOpcodeModRR(0xF7, reg.getSize(), reg, 0); write32(imm32); }
10,824
public void writeXOR(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 6); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 6); write32(imm32); } }
public void writeXOR(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 6); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 6); write32(imm32); } }
10,825
public static int vmMain() throws PragmaUninterruptible, PragmaLoadStatics { //return 15; try { Unsafe.debug("Starting JNode\n"); final long start = VmSystem.currentKernelMillis(); Unsafe.debug("VmSystem.initialize\n"); VmSystem.initialize(); // Load the plugins from the initjar BootLog.info("Loading ini...
public static int vmMain() throws PragmaUninterruptible, PragmaLoadStatics { //return 15; try { Unsafe.debug("Starting JNode\n"); final long start = VmSystem.currentKernelMillis(); Unsafe.debug("VmSystem.initialize\n"); VmSystem.initialize(); // Load the plugins from the initjar BootLog.info("Loading ini...
10,826
public static int vmMain() throws PragmaUninterruptible, PragmaLoadStatics { //return 15; try { Unsafe.debug("Starting JNode\n"); final long start = VmSystem.currentKernelMillis(); Unsafe.debug("VmSystem.initialize\n"); VmSystem.initialize(); // Load the plugins from the initjar BootLog.info("Loading ini...
public static int vmMain() throws PragmaUninterruptible, PragmaLoadStatics { //return 15; try { Unsafe.debug("Starting JNode\n"); final long start = VmSystem.currentKernelMillis(); Unsafe.debug("VmSystem.initialize\n"); VmSystem.initialize(); // Load the plugins from the initjar BootLog.info("Loading ini...
10,827
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,828
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,829
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalToolBarUI(); return instance; }
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalToolBarUI(); return instance; }
10,830
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return...
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return...
10,831
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return...
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return...
10,832
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return...
public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return...
10,833
public SwingCanvasPeer(Canvas canvas) { SwingToolkit.add(canvas, this); SwingToolkit.copyAwtProperties(canvas, this); }
public SwingCanvasPeer(Canvas canvas) { SwingToolkit.add(canvas, this); SwingToolkit.copyAwtProperties(canvas, this); }
10,834
public boolean canDetermineObscurity() { return false; }
public boolean canDetermineObscurity() { return false; }
10,835
public void coalescePaintEvent(PaintEvent e) { System.err.println(e); }
public void coalescePaintEvent(PaintEvent e) { System.err.println(e); }
10,836
public void createBuffers(int x, BufferCapabilities bufferCapabilities) { }
public void createBuffers(int x, BufferCapabilities bufferCapabilities) { }
10,837
public void destroyBuffers() { }
public void destroyBuffers() { }
10,838
public void dispose() { }
public void dispose() { }
10,839
public void flip(BufferCapabilities.FlipContents flipContents) { }
public void flip(BufferCapabilities.FlipContents flipContents) { }
10,840
public Image getBackBuffer() { return null; }
public Image getBackBuffer() { return null; }
10,841
public void handleEvent(AWTEvent e) { //System.err.println(e); }
public void handleEvent(AWTEvent e) { //System.err.println(e); }
10,842