rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
public void setPopupSize(int x, int y) { | public void setPopupSize(Dimension size) { | public void setPopupSize(int x, int y) { // TODO } // setPopupSize() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JPopupMenu.java/buggy/core/src/classpath/javax/javax/swing/JPopupMenu.java |
{ | public Object get(int index) { if (elements == null) { throw new IndexOutOfBoundsException("list is empty"); } if (index < 0 || index >= elements.length) { throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3a66fbdd7aa8ebdfaab43610332f1a4d60081b57/SimpleList.java/buggy/core/src/classpath/gnu/gnu/java/security/util/SimpleList.java | |
} | public Object get(int index) { if (elements == null) { throw new IndexOutOfBoundsException("list is empty"); } if (index < 0 || index >= elements.length) { throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3a66fbdd7aa8ebdfaab43610332f1a4d60081b57/SimpleList.java/buggy/core/src/classpath/gnu/gnu/java/security/util/SimpleList.java | |
{ throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); } | throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); | public Object get(int index) { if (elements == null) { throw new IndexOutOfBoundsException("list is empty"); } if (index < 0 || index >= elements.length) { throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3a66fbdd7aa8ebdfaab43610332f1a4d60081b57/SimpleList.java/buggy/core/src/classpath/gnu/gnu/java/security/util/SimpleList.java |
public String[] _ids() | public final String[] _ids() | public String[] _ids() { return ids; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/_PolicyImplBase.java/clean/core/src/classpath/gnu/gnu/CORBA/_PolicyImplBase.java |
public OutputStream _invoke(String method, InputStream input, | public final OutputStream _invoke(String method, InputStream input, | public OutputStream _invoke(String method, InputStream input, ResponseHandler rh ) { OutputStream output = null; if (method.equals("destroy")) { // The "destroy" has been invoked. destroy(); output = rh.createReply(); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/_PolicyImplBase.java/clean/core/src/classpath/gnu/gnu/CORBA/_PolicyImplBase.java |
output.write_Object(returns); | output.write_Object(this); | public OutputStream _invoke(String method, InputStream input, ResponseHandler rh ) { OutputStream output = null; if (method.equals("destroy")) { // The "destroy" has been invoked. destroy(); output = rh.createReply(); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/_PolicyImplBase.java/clean/core/src/classpath/gnu/gnu/CORBA/_PolicyImplBase.java |
else if (method.equals("value")) { output = rh.createReply(); output.write_long(policyCode); } | public OutputStream _invoke(String method, InputStream input, ResponseHandler rh ) { OutputStream output = null; if (method.equals("destroy")) { // The "destroy" has been invoked. destroy(); output = rh.createReply(); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/_PolicyImplBase.java/clean/core/src/classpath/gnu/gnu/CORBA/_PolicyImplBase.java | |
public abstract short getShort (int index); | public abstract short getShort (); | public abstract short getShort (int index); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/ByteBuffer.java/buggy/core/src/classpath/java/java/nio/ByteBuffer.java |
public final ByteBuffer order (ByteOrder endian) | public final ByteOrder order () | public final ByteBuffer order (ByteOrder endian) { this.endian = endian; return this; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/ByteBuffer.java/buggy/core/src/classpath/java/java/nio/ByteBuffer.java |
this.endian = endian; return this; | return endian; | public final ByteBuffer order (ByteOrder endian) { this.endian = endian; return this; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/ByteBuffer.java/buggy/core/src/classpath/java/java/nio/ByteBuffer.java |
public Manifest(InputStream in) throws IOException | public Manifest() | public Manifest(InputStream in) throws IOException { this(); read(in); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Manifest.java/buggy/core/src/classpath/java/java/util/jar/Manifest.java |
this(); read(in); | mainAttr = new Attributes(); entries = new Hashtable(); | public Manifest(InputStream in) throws IOException { this(); read(in); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Manifest.java/buggy/core/src/classpath/java/java/util/jar/Manifest.java |
public ObjectNotActive(String why) | public ObjectNotActive() | public ObjectNotActive(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/ObjectNotActive.java/buggy/core/src/classpath/org/org/omg/PortableServer/POAPackage/ObjectNotActive.java |
super(why); | public ObjectNotActive(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/ObjectNotActive.java/buggy/core/src/classpath/org/org/omg/PortableServer/POAPackage/ObjectNotActive.java | |
if (event.getType() == TableModelEvent.INSERT || event.getType() == TableModelEvent.DELETE) revalidate(); | public void tableChanged (TableModelEvent event) { // update the column model from the table model if the structure has // changed and the flag autoCreateColumnsFromModel is set if ((event.getFirstRow() ==TableModelEvent.HEADER_ROW) && autoCreateColumnsFromModel) createDefaultColumnsFromModel(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
public Component getTableCellEditorComponent(JTable table, | Component getTableCellEditorComponent(JTable table, | public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/TableCellEditor.java/buggy/core/src/classpath/javax/javax/swing/table/TableCellEditor.java |
public abstract double get (); | public DoubleBuffer get (double[] dst, int offset, int length) { checkArraySize(dst.length, offset, length); checkForUnderflow(length); for (int i = offset; i < offset + length; i++) { dst [i] = get (); } return this; } | public abstract double get (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/DoubleBuffer.java/buggy/core/src/classpath/java/java/nio/DoubleBuffer.java |
public abstract DoubleBuffer put (double b); | public DoubleBuffer put (DoubleBuffer src) { if (src == this) throw new IllegalArgumentException (); checkForOverflow(src.remaining ()); if (src.remaining () > 0) { double[] toPut = new double [src.remaining ()]; src.get (toPut); put (toPut); } return this; } | public abstract DoubleBuffer put (double b); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/DoubleBuffer.java/buggy/core/src/classpath/java/java/nio/DoubleBuffer.java |
public int checkImage(Image image, int width, int height, ImageObserver observer) | public int checkImage(Image image, ImageObserver observer) | public int checkImage(Image image, int width, int height, ImageObserver observer) { if (peer != null) return peer.checkImage(image, width, height, observer); return getToolkit().checkImage(image, width, height, observer); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Component.java/clean/core/src/classpath/java/java/awt/Component.java |
if (peer != null) return peer.checkImage(image, width, height, observer); return getToolkit().checkImage(image, width, height, observer); | return checkImage(image, -1, -1, observer); | public int checkImage(Image image, int width, int height, ImageObserver observer) { if (peer != null) return peer.checkImage(image, width, height, observer); return getToolkit().checkImage(image, width, height, observer); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Component.java/clean/core/src/classpath/java/java/awt/Component.java |
public PropertyChangeListener[] getPropertyChangeListeners(String property) | public PropertyChangeListener[] getPropertyChangeListeners() | public PropertyChangeListener[] getPropertyChangeListeners(String property) { return changeSupport == null ? new PropertyChangeListener[0] : changeSupport.getPropertyChangeListeners(property); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Component.java/clean/core/src/classpath/java/java/awt/Component.java |
: changeSupport.getPropertyChangeListeners(property); | : changeSupport.getPropertyChangeListeners(); | public PropertyChangeListener[] getPropertyChangeListeners(String property) { return changeSupport == null ? new PropertyChangeListener[0] : changeSupport.getPropertyChangeListeners(property); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Component.java/clean/core/src/classpath/java/java/awt/Component.java |
if (this.x == x && this.y == y && this.width == width && this.height == height) | if (this.x == x && this.y == y && this.width == width && this.height == height) | public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Component.java/clean/core/src/classpath/java/java/awt/Component.java |
invalidate (); | invalidate(); | public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Component.java/clean/core/src/classpath/java/java/awt/Component.java |
else if (e instanceof AdjustmentEvent) { AdjustmentEvent ae = (AdjustmentEvent) e; int type = ae.getAdjustmentType(); int oldType; if (type == AdjustmentEvent.BLOCK_DECREMENT) oldType = Event.SCROLL_PAGE_UP; else if (type == AdjustmentEvent.BLOCK_INCREMENT) oldType = Event.SCROLL_PAGE_DOWN; else if (type == AdjustmentE... | static Event translateEvent (AWTEvent e) { Object target = e.getSource (); Event translated = null; if (e instanceof InputEvent) { InputEvent ie = (InputEvent) e; long when = ie.getWhen (); int oldID = 0; int id = e.getID (); int oldMods = 0; int mods = ie.getM... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Component.java/clean/core/src/classpath/java/java/awt/Component.java | |
void createBuffers(int x, BufferCapabilities capabilities) throws AWTException; | void createBuffers(int numBuffers, BufferCapabilities caps) throws AWTException; | void createBuffers(int x, BufferCapabilities capabilities) throws AWTException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public IllegalComponentStateException(String message) | public IllegalComponentStateException() | public IllegalComponentStateException(String message) { super(message); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/IllegalComponentStateException.java/buggy/core/src/classpath/java/java/awt/IllegalComponentStateException.java |
super(message); | public IllegalComponentStateException(String message) { super(message); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/IllegalComponentStateException.java/buggy/core/src/classpath/java/java/awt/IllegalComponentStateException.java | |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { System.out.println("HMMMMM, abstract-border.paintBorder"); } | public void paintBorder (Component c, Graphics g, int x, int y, int width, int height) { /* A previous version of Classpath had emitted a warning when * this method was called. The warning was removed because it is * perfectly legal for a subclass to not override the paintBorder * method. An example would be EmptyBorde... | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { System.out.println("HMMMMM, abstract-border.paintBorder"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractBorder.java/buggy/core/src/classpath/javax/javax/swing/border/AbstractBorder.java |
public Insets getMargin() { return margin; } | public Insets getMargin() { return margin; } | public Insets getMargin() { return margin; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
void setContentPane(Container contentPane) | public void setContentPane(Container contentPane) | void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JWindow.java/buggy/core/src/classpath/javax/javax/swing/JWindow.java |
static JRootPane getRootPane(Component a) { if (a instanceof JRootPane) return (JRootPane) a; a = a.getParent(); if (a != null) { return getRootPane(a); } return null; } | public static JRootPane getRootPane(Component comp) { if (comp instanceof RootPaneContainer) return ((RootPaneContainer)comp).getRootPane(); else return (JRootPane) getAncestorOfClass(JRootPane.class, comp); } | static JRootPane getRootPane(Component a) { if (a instanceof JRootPane) return (JRootPane) a; a = a.getParent(); if (a != null) { return getRootPane(a); } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/SwingUtilities.java/buggy/core/src/classpath/javax/javax/swing/SwingUtilities.java |
public void addPropertyChangeListener(PropertyChangeListener listener); | void addPropertyChangeListener(PropertyChangeListener listener); | public void addPropertyChangeListener(PropertyChangeListener listener); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/Action.java/buggy/core/src/classpath/javax/javax/swing/Action.java |
Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right, size.height - insets.bottom - insets.top); | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java | |
int x = 0; | int x = insets.left; | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
int cy = 0; if (height > size.height) | int cy = insets.top; if (height > innerSize.height) | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
height = size.height; | height = innerSize.height; | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
cy = (int) ((size.height - height) * comp.getAlignmentY()); | cy = (int) ((innerSize.height - height) * comp.getAlignmentY()); | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
int y = 0; | int y = insets.top; | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
int cx = 0; if (width > size.width) | int cx = insets.left; if (width > innerSize.width) | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
width = size.width; | width = innerSize.width; | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
cx = (int) ((size.width - width) * comp.getAlignmentX()); | cx = (int) ((innerSize.width - width) * comp.getAlignmentX()); | public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { int x = 0; for (int index = 0; index < children.length... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
int x = 0; int y = 0; | Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; | public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); int x = 0; int y = 0; Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { // sum up preferred widths of components, find maximum o... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
int x = 0; int y = 0; | Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); int x = 0; int y = 0; Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { // sum up preferred widths of components, find maximum of prefer... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
int x = 0; int y = 0; | Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); int x = 0; int y = 0; Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { // sum up preferred widths of components, find maximum... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java |
return "JRadioButton"; | return super.paramString(); | protected String paramString() { return "JRadioButton"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JRadioButton.java/buggy/core/src/classpath/javax/javax/swing/JRadioButton.java |
public JToggleButton (String text, Icon icon, boolean selected) | public JToggleButton() | public JToggleButton (String text, Icon icon, boolean selected) { super(text, icon); horizontalAlignment = LEADING; setModel(new ToggleButtonModel()); model.setSelected(selected); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/JToggleButton.java/buggy/core/src/classpath/javax/javax/swing/JToggleButton.java |
super(text, icon); horizontalAlignment = LEADING; setModel(new ToggleButtonModel()); model.setSelected(selected); | this(null, null, false); | public JToggleButton (String text, Icon icon, boolean selected) { super(text, icon); horizontalAlignment = LEADING; setModel(new ToggleButtonModel()); model.setSelected(selected); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/JToggleButton.java/buggy/core/src/classpath/javax/javax/swing/JToggleButton.java |
int index2 = Collections.binarySearch(positions, new GapContentPosition(endOffset)); | void adjustPositionsInRange(int offset, int length, int incr) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
if (index2 < 0) index2 = -(index2 + 1); | void adjustPositionsInRange(int offset, int length, int incr) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
if (i.nextIndex() > index2) | GapContentPosition p = (GapContentPosition) i.next(); if (p.mark > endOffset) | void adjustPositionsInRange(int offset, int length, int incr) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
GapContentPosition p = (GapContentPosition) i.next(); | void adjustPositionsInRange(int offset, int length, int incr) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
int index2 = Collections.binarySearch(positions, new GapContentPosition(endOffset)); | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector res = v; if (res == null) res = new Vector(); else res.clear(); int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(of... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
if (index2 < 0) index2 = -(index2 + 1); | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector res = v; if (res == null) res = new Vector(); else res.clear(); int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(of... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
if (i.nextIndex() > index2) | GapContentPosition p = (GapContentPosition) i.next(); if (p.mark > endOffset) | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector res = v; if (res == null) res = new Vector(); else res.clear(); int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(of... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
GapContentPosition p = (GapContentPosition) i.next(); | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector res = v; if (res == null) res = new Vector(); else res.clear(); int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(of... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
replace(where, 0, str.toCharArray(), str.length()); | replace(where, 0, str.toCharArray(), strLen); | public UndoableEdit insertString(int where, String str) throws BadLocationException { // check arguments int length = length(); int strLen = str.length(); if (where >= length) throw new BadLocationException("the where argument cannot be greater" + " than the content length", where); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
return null; | return new UndoInsertString(where, strLen); | public UndoableEdit insertString(int where, String str) throws BadLocationException { // check arguments int length = length(); int strLen = str.length(); if (where >= length) throw new BadLocationException("the where argument cannot be greater" + " than the content length", where); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
return null; | return new UndoRemove(where, removedText); | public UndoableEdit remove(int where, int nitems) throws BadLocationException { // check arguments int length = length(); if (where >= length) throw new BadLocationException("the where argument cannot be greater" + " than the content length", where); if ((where + nitems) > length) thro... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
int index2 = Collections.binarySearch(positions, new GapContentPosition(endOffset)); | void setPositionsInRange(int offset, int length, int value) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
if (index2 < 0) index2 = -(index2 + 1); | void setPositionsInRange(int offset, int length, int value) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
if (i.nextIndex() > index2) | GapContentPosition p = (GapContentPosition) i.next(); if (p.mark > endOffset) | void setPositionsInRange(int offset, int length, int value) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
GapContentPosition p = (GapContentPosition) i.next(); | void setPositionsInRange(int offset, int length, int value) { int endOffset = offset + length; int index1 = Collections.binarySearch(positions, new GapContentPosition(offset)); int index2 = Collections.binarySearch(positions, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java | |
public ListIterator<E> listIterator(final int index) | public ListIterator<E> listIterator() | public ListIterator<E> listIterator(final int index) { if (index < 0 || index > size()) throw new IndexOutOfBoundsException("Index: " + index + ", Size:" + size()); return new ListIterator<E>() { private int knownMod = modCount; private int position = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/AbstractList.java/buggy/core/src/classpath/5.0/java/util/AbstractList.java |
if (index < 0 || index > size()) throw new IndexOutOfBoundsException("Index: " + index + ", Size:" + size()); return new ListIterator<E>() { private int knownMod = modCount; private int position = index; private int lastReturned = -1; private int size = size(); /** * Checks for modifications made to the list from * ... | return listIterator(0); | public ListIterator<E> listIterator(final int index) { if (index < 0 || index > size()) throw new IndexOutOfBoundsException("Index: " + index + ", Size:" + size()); return new ListIterator<E>() { private int knownMod = modCount; private int position = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/AbstractList.java/buggy/core/src/classpath/5.0/java/util/AbstractList.java |
len = withParams.size(); | len = withParams != null ? withParams.size() : 0; | TemplateNode clone(Stylesheet stylesheet) { int len = sortKeys != null ? sortKeys.size() : 0; List sortKeys2 = new ArrayList(len); for (int i = 0; i < len; i++) sortKeys2.add(((Key) sortKeys.get(i)).clone(stylesheet)); len = withParams.size(); List withParams2 = new ArrayList(len); for (int ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bfc868d8eca62bee7fa0aac5a51ae6c3bbaa7e55/ApplyTemplatesNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ApplyTemplatesNode.java |
{ | public boolean references(QName var) { if (children != null && children.references(var)) { return true; } if (next != null && next.references(var)) { return true; } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
} | public boolean references(QName var) { if (children != null && children.references(var)) { return true; } if (next != null && next.references(var)) { return true; } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
{ | public boolean references(QName var) { if (children != null && children.references(var)) { return true; } if (next != null && next.references(var)) { return true; } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
} | public boolean references(QName var) { if (children != null && children.references(var)) { return true; } if (next != null && next.references(var)) { return true; } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
protected DocumentBuilder() { } | protected DocumentBuilder() { } | protected DocumentBuilder() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/DocumentBuilder.java/buggy/core/src/classpath/javax/javax/xml/parsers/DocumentBuilder.java |
public abstract DOMImplementation getDOMImplementation (); | public abstract DOMImplementation getDOMImplementation(); | public abstract DOMImplementation getDOMImplementation (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/DocumentBuilder.java/buggy/core/src/classpath/javax/javax/xml/parsers/DocumentBuilder.java |
final private void debug(String s) | private void debug(String s) | final private void debug(String s) { if (Configuration.DEBUG) System.out.println(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/FormatCharacterIterator.java/clean/core/src/classpath/gnu/gnu/java/text/FormatCharacterIterator.java |
final private void dumpTable() | private void dumpTable() | final private void dumpTable() { int start_range = 0; if (!Configuration.DEBUG) return; System.out.println("Dumping internal table:"); for (int i = 0; i < ranges.length; i++) { System.out.print("\t" + start_range + " => " + ranges[i] + ":"); if (attributes[i] == null) System.out.println("... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/FormatCharacterIterator.java/clean/core/src/classpath/gnu/gnu/java/text/FormatCharacterIterator.java |
getAttributes(); | Map getAttributes(); | getAttributes(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java |
public int getRGB(Object inData) | public int getRGB(int pixel) | public int getRGB(Object inData) { return ((getAlpha(inData) & 0xff) << 24) | (( getRed(inData) & 0xff) << 16) | ((getGreen(inData) & 0xff) << 8) | (( getBlue(inData) & 0xff) << 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ColorModel.java/buggy/core/src/classpath/java/java/awt/image/ColorModel.java |
((getAlpha(inData) & 0xff) << 24) | (( getRed(inData) & 0xff) << 16) | ((getGreen(inData) & 0xff) << 8) | (( getBlue(inData) & 0xff) << 0); | ((getAlpha(pixel) & 0xff) << 24) | (( getRed(pixel) & 0xff) << 16) | ((getGreen(pixel) & 0xff) << 8) | (( getBlue(pixel) & 0xff) << 0); | public int getRGB(Object inData) { return ((getAlpha(inData) & 0xff) << 24) | (( getRed(inData) & 0xff) << 16) | ((getGreen(inData) & 0xff) << 8) | (( getBlue(inData) & 0xff) << 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ColorModel.java/buggy/core/src/classpath/java/java/awt/image/ColorModel.java |
MessageNode(TemplateNode children, TemplateNode next, boolean terminate) | MessageNode(boolean terminate) | MessageNode(TemplateNode children, TemplateNode next, boolean terminate) { super(children, next); this.terminate = terminate; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/MessageNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/MessageNode.java |
super(children, next); | MessageNode(TemplateNode children, TemplateNode next, boolean terminate) { super(children, next); this.terminate = terminate; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/MessageNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/MessageNode.java | |
return new MessageNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), terminate); | TemplateNode ret = new MessageNode(terminate); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; | TemplateNode clone(Stylesheet stylesheet) { return new MessageNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), terminate); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/MessageNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/MessageNode.java |
this.setSize(this.getPreferredSize()); | public void remove(int index) { super.remove(index); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.BOTH; constraints.weightx = 100.0; constraints.weighty = 100.0; Component[] items = getComponents(); for (int i = index; i < items.length; i++) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JPopupMenu.java/clean/core/src/classpath/javax/javax/swing/JPopupMenu.java | |
if (! (obj instanceof DateFormat)) | if (!(obj instanceof DateFormat)) | public boolean equals (Object obj) { if (! (obj instanceof DateFormat)) return false; DateFormat d = (DateFormat) obj; return calendar.equals(d.calendar) && numberFormat.equals(d.numberFormat); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DateFormat.java/buggy/core/src/classpath/java/java/text/DateFormat.java |
return calendar.equals(d.calendar) && numberFormat.equals(d.numberFormat); | return numberFormat.equals(d.numberFormat); | public boolean equals (Object obj) { if (! (obj instanceof DateFormat)) return false; DateFormat d = (DateFormat) obj; return calendar.equals(d.calendar) && numberFormat.equals(d.numberFormat); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DateFormat.java/buggy/core/src/classpath/java/java/text/DateFormat.java |
int hash = calendar.hashCode(); | public int hashCode () { int hash = calendar.hashCode(); if (numberFormat != null) hash ^= numberFormat.hashCode(); return hash; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DateFormat.java/buggy/core/src/classpath/java/java/text/DateFormat.java | |
hash ^= numberFormat.hashCode(); return hash; | return numberFormat.hashCode(); else return 0; | public int hashCode () { int hash = calendar.hashCode(); if (numberFormat != null) hash ^= numberFormat.hashCode(); return hash; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DateFormat.java/buggy/core/src/classpath/java/java/text/DateFormat.java |
return (o instanceof Calendar) && getTimeInMillis() == ((Calendar) o).getTimeInMillis(); | if (! (o instanceof Calendar)) return false; Calendar cal = (Calendar) o; if (getTimeInMillis() == ((Calendar) o).getTimeInMillis() && cal.getFirstDayOfWeek() == getFirstDayOfWeek() && cal.isLenient() == isLenient() && cal.getMinimalDaysInFirstWeek() == getMinimalDaysInFirstWeek()) { TimeZone self = getTimeZone(); Time... | public boolean equals(Object o) { return (o instanceof Calendar) && getTimeInMillis() == ((Calendar) o).getTimeInMillis(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
return (int) ((time & 0xffffffffL) ^ (time >> 32)); | int val = (int) ((time & 0xffffffffL) ^ (time >> 32)); val += (getFirstDayOfWeek() + (isLenient() ? 1230 : 1237) + getMinimalDaysInFirstWeek()); TimeZone self = getTimeZone(); if (self != null) val ^= self.hashCode(); return val; | public int hashCode() { long time = getTimeInMillis(); return (int) ((time & 0xffffffffL) ^ (time >> 32)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public void copy(int srcMemPtr, int destMemPtr, int size) { testMemPtr(srcMemPtr, size); testMemPtr(destMemPtr, size); | public void copy(int srcMemPtr, int destMemPtr, int length) { testMemPtr(srcMemPtr, length); testMemPtr(destMemPtr, length); final Extent size = Extent.fromIntZeroExtend(length); | public void copy(int srcMemPtr, int destMemPtr, int size) { testMemPtr(srcMemPtr, size); testMemPtr(destMemPtr, size); Unsafe.copy(start.add(srcMemPtr), start.add(destMemPtr), size); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, length); | final Extent size = Extent.fromIntZeroExtend(length); Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, size); | public void getBytes(int memPtr, byte[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, length * 2); | final Extent size = Extent.fromIntZeroExtend(length * 2); Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, size); | public void getChars(int memPtr, char[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, length * 8); | final Extent size = Extent.fromIntZeroExtend(length * 8); Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, size); | public void getDoubles(int memPtr, double[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, length * 4); | final Extent size = Extent.fromIntZeroExtend(length); Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, size); | public void getInts(int memPtr, int[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.le... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, length * 8); | final Extent size = Extent.fromIntZeroExtend(length * 8); Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, size); | public void getLongs(int memPtr, long[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, length * 2); | final Extent size = Extent.fromIntZeroExtend(length * 2); Unsafe.copy(start.add(Offset.fromIntZeroExtend(memPtr)), dstPtr, size); | public void getShorts(int memPtr, short[] dst, int dstOfs, int length) { if (dstOfs < 0) { throw new IndexOutOfBoundsException("dstOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (dstOfs + length > dst.length) { throw new IndexOutOfBoundsException("dstOfs + length > ds... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(srcPtr, start.add(dstPtr), length); | final Extent size = Extent.fromIntZeroExtend(length); Unsafe.copy(srcPtr, start.add(dstPtr), size); | public void setBytes(byte[] src, int srcOfs, int dstPtr, int length) { if (srcOfs < 0) { throw new IndexOutOfBoundsException("srcOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (srcOfs + length > src.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(srcPtr, start.add(dstPtr), length * 2); | final Extent size = Extent.fromIntZeroExtend(length * 2); Unsafe.copy(srcPtr, start.add(dstPtr), size); | public void setChars(char[] src, int srcOfs, int dstPtr, int length) { if (srcOfs < 0) { throw new IndexOutOfBoundsException("srcOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (srcOfs + length > src.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(srcPtr, start.add(dstPtr), length * 8); | final Extent size = Extent.fromIntZeroExtend(length * 8); Unsafe.copy(srcPtr, start.add(dstPtr), size); | public void setDoubles(double[] src, int srcOfs, int dstPtr, int length) { if (srcOfs < 0) { throw new IndexOutOfBoundsException("srcOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (srcOfs + length > src.length) { throw new IndexOutOfBoundsException("dstOfs + length > ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(srcPtr, start.add(dstPtr), length * 4); | final Extent size = Extent.fromIntZeroExtend(length * 4); Unsafe.copy(srcPtr, start.add(dstPtr), size); | public void setFloats(float[] src, int srcOfs, int dstPtr, int length) { if (srcOfs < 0) { throw new IndexOutOfBoundsException("srcOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (srcOfs + length > src.length) { throw new IndexOutOfBoundsException("dstOfs + length > ds... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Unsafe.copy(srcPtr, start.add(dstPtr), length * 4); | final Extent size = Extent.fromIntZeroExtend(length * 4); Unsafe.copy(srcPtr, start.add(dstPtr), size); | public void setInts(int[] src, int srcOfs, int dstPtr, int length) { if (srcOfs < 0) { throw new IndexOutOfBoundsException("srcOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (srcOfs + length > src.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst.le... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.