bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Image getImage() { if (imageIcon == null) return null; else return imageIcon.getImage(); }
public Image getImage() { if (imageIcon == null) return null; else return imageIcon.getImage(); }
34,131
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) return null; try { return new URL(url.toString()); } catch (MalformedURLException e) { // The URL is malformed - no image. return null; } }
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) return null; try { return new URL(url.toString()); } catch (MalformedURLException e) { // The URL is malformed - no image. return null; } }
34,132
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) return null; try { return new URL(url.toString()); } catch (MalformedURLException e) { // The URL is malformed - no image. return null; } }
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) return null; try { url = new URL(base, src); } catch (MalformedURLException e) { // The URL is malformed - no image. return null; } }
34,133
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) return null; try { return new URL(url.toString()); } catch (MalformedURLException e) { // The URL is malformed - no image. return null; } }
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) return null; try { return new URL(url.toString()); } catch (MalformedURLException ex) { // The URL is malformed - no image. return null; } }
34,134
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) return null; try { return new URL(url.toString()); } catch (MalformedURLException e) { // The URL is malformed - no image. return null; } }
public URL getImageURL() { Object url = getAttributes().getAttribute(Attribute.SRC); if (url == null) try { return new URL(url.toString()); } catch (MalformedURLException e) { // The URL is malformed - no image. } }
34,135
public float getPreferredSpan(int axis) { AttributeSet attrs = getAttributes(); Image image = getImage(); if (axis == View.X_AXIS) { Object w = attrs.getAttribute(Attribute.WIDTH); if (w != null) return Integer.parseInt(w.toString()); else if (image != null) r...
public float getPreferredSpan(int axis) { AttributeSet attrs = getAttributes(); Image image = getImage(); if (axis == View.X_AXIS) { Object w = attrs.getAttribute(Attribute.WIDTH); if (w != null) return Integer.parseInt(w.toString()); else if (image != null) r...
34,137
public float getPreferredSpan(int axis) { AttributeSet attrs = getAttributes(); Image image = getImage(); if (axis == View.X_AXIS) { Object w = attrs.getAttribute(Attribute.WIDTH); if (w != null) return Integer.parseInt(w.toString()); else if (image != null) r...
public float getPreferredSpan(int axis) { AttributeSet attrs = getAttributes(); Image image = getImage(); if (axis == View.X_AXIS) { Object w = attrs.getAttribute(Attribute.WIDTH); if (w != null) return Integer.parseInt(w.toString()); else if (image != null) r...
34,138
protected StyleSheet getStyleSheet() { Document d = getElement().getDocument(); if (d instanceof HTMLDocument) return ((HTMLDocument) d).getStyleSheet(); else return null; }
protected StyleSheet getStyleSheet() { Document d = getElement().getDocument(); if (d instanceof HTMLDocument) return ((HTMLDocument) d).getStyleSheet(); else return null; }
34,139
public void paint(Graphics g, Shape bounds) { Rectangle r = bounds.getBounds(); if (imageIcon == null) { // Loading image on demand, rendering the loading icon so far. reloadImage(true); // The reloadImage sets the imageIcon, unless the URL is broken // or malformed. ...
public void paint(Graphics g, Shape bounds) { Rectangle r = bounds.getBounds(); if (imageIcon == null) { // Loading image on demand, rendering the loading icon so far. reloadImage(true); // The reloadImage sets the imageIcon, unless the URL is broken // or malformed. ...
34,140
public void paint(Graphics g, Shape bounds) { Rectangle r = bounds.getBounds(); if (imageIcon == null) { // Loading image on demand, rendering the loading icon so far. reloadImage(true); // The reloadImage sets the imageIcon, unless the URL is broken // or malformed. ...
public void paint(Graphics g, Shape bounds) { Rectangle r = bounds.getBounds(); if (imageIcon == null) { // Loading image on demand, rendering the loading icon so far. reloadImage(true); // The reloadImage sets the imageIcon, unless the URL is broken // or malformed. ...
34,141
public void paint(Graphics g, Shape bounds) { Rectangle r = bounds.getBounds(); if (imageIcon == null) { // Loading image on demand, rendering the loading icon so far. reloadImage(true); // The reloadImage sets the imageIcon, unless the URL is broken // or malformed. ...
public void paint(Graphics g, Shape bounds) { Rectangle r = bounds.getBounds(); if (imageIcon == null) { // Loading image on demand, rendering the loading icon so far. reloadImage(true); // The reloadImage sets the imageIcon, unless the URL is broken // or malformed. ...
34,142
void reloadImage(boolean itsTime) { URL url = getImageURL(); if (url == null) imageState = (byte) MediaTracker.ERRORED; else if (!(loadOnDemand && !itsTime)) imageIcon = new ImageIcon(url); else imageState = (byte) MediaTracker.LOADING; }
private void reloadImage() { URL url = getImageURL(); if (url == null) imageState = (byte) MediaTracker.ERRORED; else if (!(loadOnDemand && !itsTime)) imageIcon = new ImageIcon(url); else imageState = (byte) MediaTracker.LOADING; }
34,143
void reloadImage(boolean itsTime) { URL url = getImageURL(); if (url == null) imageState = (byte) MediaTracker.ERRORED; else if (!(loadOnDemand && !itsTime)) imageIcon = new ImageIcon(url); else imageState = (byte) MediaTracker.LOADING; }
void reloadImage(boolean itsTime) { URL url = getImageURL(); if (url == null) imageState = (byte) MediaTracker.ERRORED; else if (!(loadOnDemand && !itsTime)) imageIcon = new ImageIcon(url); else imageState = (byte) MediaTracker.LOADING; }
34,144
protected void setPropertiesFromAttributes() { // In the current implementation, nothing is cached yet, unless the image // itself. imageIcon = null; }
protected void setPropertiesFromAttributes() { // In the current implementation, nothing is cached yet, unless the image // itself. AttributeSet atts = getAttributes(); StyleSheet ss = getStyleSheet(); float emBase = ss.getEMBase(atts); float exBase = ss.getEXBase(atts); spans[X_AXIS] = (Length) atts.getAttri...
34,145
public void setSize(float width, float height) { if (imageIcon == null) reloadImage(false); }
public void setSize(float width, float height) { if (imageIcon == null) reloadImage(false); }
34,146
public void write(OutputStream out) throws IOException { ByteBuffer buf = ByteBuffer.allocate(SIZE); buf.putShort(0, bfType); // ID buf.putInt(2, (int)(bfSize & (0xFFFFFFFF))); // size buf.putInt(6, 0); // 4 reserved bytes set to zero buf.putInt(2, (int)(bfOffBits & (0xFFFFFFFF))); // size out.write(buf.array()); ...
public void write(OutputStream out) throws IOException { ByteBuffer buf = ByteBuffer.allocate(SIZE); buf.putShort(0, bfType); // ID buf.putInt(2, (int)(bfSize & (0xFFFFFFFF))); // size buf.putInt(6, 0); // 4 reserved bytes set to zero buf.putInt(2, (int)(bfOffBits & (0xFFFFFFFF))); // size out.write(buf.array()); ...
34,147
public void write(OutputStream out) throws IOException { ByteBuffer buf = ByteBuffer.allocate(SIZE); buf.putShort(0, bfType); // ID buf.putInt(2, (int)(bfSize & (0xFFFFFFFF))); // size buf.putInt(6, 0); // 4 reserved bytes set to zero buf.putInt(2, (int)(bfOffBits & (0xFFFFFFFF))); // size out.write(buf.array()); ...
public void write(OutputStream out) throws IOException { ByteBuffer buf = ByteBuffer.allocate(SIZE); buf.putShort(0, bfType); // ID buf.putInt(2, (int)(bfSize & (0xFFFFFFFF))); // size buf.putInt(6, 0); // 4 reserved bytes set to zero buf.putInt(7, (int)(bfOffBits & (0xFFFFFFFF))); // size out.write(buf.array()); ...
34,148
static Object getValue(Attribute att, String v) { Object o; if (att == Attribute.FONT_SIZE) o = new FontSize(v); else if (att == Attribute.FONT_WEIGHT) o = new FontWeight(v); else if (att == Attribute.FONT_STYLE) o = new FontStyle(v); else if (att == Attribute.COLOR || att == Attribute....
static Object getValue(Attribute att, String v) { Object o; if (att == Attribute.FONT_SIZE) o = new FontSize(v); else if (att == Attribute.FONT_WEIGHT) o = new FontWeight(v); else if (att == Attribute.FONT_STYLE) o = new FontStyle(v); else if (att == Attribute.COLOR || att == Attribute....
34,149
static Object getValue(Attribute att, String v) { Object o; if (att == Attribute.FONT_SIZE) o = new FontSize(v); else if (att == Attribute.FONT_WEIGHT) o = new FontWeight(v); else if (att == Attribute.FONT_STYLE) o = new FontStyle(v); else if (att == Attribute.COLOR || att == Attribute....
static Object getValue(Attribute att, String v) { Object o; if (att == Attribute.FONT_SIZE) o = new FontSize(v); else if (att == Attribute.FONT_WEIGHT) o = new FontWeight(v); else if (att == Attribute.FONT_STYLE) o = new FontStyle(v); else if (att == Attribute.COLOR || att == Attribute....
34,150
public String toString() { Iterator itr = iterator(); StringBuffer r = new StringBuffer("["); for (int pos = size(); pos > 0; pos--) { r.append(itr.next()); if (pos > 1) r.append(", "); } r.append("]"); return r.toString(); }
public String toString() { Iterator itr = iterator(); StringBuffer r = new StringBuffer("["); boolean hasNext = itr.hasNext(); while (hasNext) { r.append(itr.next()); if (pos > 1) r.append(", "); } r.append("]"); return r.toString(); }
34,153
public String toString() { Iterator itr = iterator(); StringBuffer r = new StringBuffer("["); for (int pos = size(); pos > 0; pos--) { r.append(itr.next()); if (pos > 1) r.append(", "); } r.append("]"); return r.toString(); }
public String toString() { Iterator itr = iterator(); StringBuffer r = new StringBuffer("["); for (int pos = size(); pos > 0; pos--) { r.append(itr.next()); if (pos > 1) r.append(", "); } r.append("]"); return r.toString(); }
34,154
public void setEnabled(boolean enabled) { setEnabled(enabled); }
public void setEnabled(boolean enabled) { super.setEnabled(enabled); }
34,155
public void addColumn(TableColumn value0) { // TODO }
public void addColumn(TableColumn col) { // TODO }
34,156
public void addColumn(TableColumn value0) { // TODO }
tableColumns.add(col); invalidateWidthCache(); tableColumns.add(col); invalidateWidthCache(); publictableColumns.add(col); invalidateWidthCache(); voidtableColumns.add(col); invalidateWidthCache(); addColumn(TableColumntableColumns.add(col); invalidateWidthCache(); value0)tableColumns.add(col); invalidateWidthCache(); ...
34,157
public void addColumnModelListener(TableColumnModelListener value0) { // TODO }
public void addColumnModelListener(TableColumnModelListener listener) { // TODO }
34,158
public void addColumnModelListener(TableColumnModelListener value0) { // TODO }
listenerList.add(TableColumnModelListener.class, listener); listenerList.add(TableColumnModelListener.class, listener); publiclistenerList.add(TableColumnModelListener.class, listener); voidlistenerList.add(TableColumnModelListener.class, listener); addColumnModelListener(TableColumnModelListenerlistenerList.add(TableC...
34,159
protected void fireColumnSelectionChanged(ListSelectionEvent value0) { // TODO }
protected void fireColumnSelectionChanged(ListSelectionEvent evt) { // TODO }
34,160
protected void fireColumnSelectionChanged(ListSelectionEvent value0) { // TODO }
EventListener [] listeners = getListeners(TableColumnModelListener.class); for (int i = 0; i < listeners.length; ++i) ((TableColumnModelListener)listeners[i]).columnSelectionChanged(evt); EventListener [] listeners = getListeners(TableColumnModelListener.class); for (int i = 0; i < listeners.length; ++i) ((TableColumnM...
34,161
public TableColumn getColumn(int value0) { return null; // TODO }
public TableColumn getColumn(int i) { return null; // TODO }
34,162
public TableColumn getColumn(int value0) { return null; // TODO }
public TableColumn getColumn(int value0) { return (TableColumn) tableColumns.get(i); // TODO }
34,163
public int getColumnCount() { return 0; // TODO }
public int getColumnCount() { return tableColumns.size(); // TODO }
34,164
public int getColumnIndex(Object value0) { return 0; // TODO }
public int getColumnIndex(Object obj) { return 0; // TODO }
34,165
public int getColumnIndex(Object value0) { return 0; // TODO }
public int getColumnIndex(Object value0) { return tableColumns.indexOf(obj, 0); // TODO }
34,166
public int getColumnIndexAtX(int value0) { return 0; // TODO }
public int getColumnIndexAtX(int x) { return 0; // TODO }
34,167
public int getColumnIndexAtX(int value0) { return 0; // TODO }
public int getColumnIndexAtX(int value0) { for (int i = 0; i < tableColumns.size(); ++i) { int w = ((TableColumn)tableColumns.get(i)).getWidth(); if (0 <= x && x < w) return i; else x -= w; } return -1; // TODO }
34,168
public int getColumnMargin() { return 0; // TODO }
public int getColumnMargin() { return columnMargin; // TODO }
34,169
public boolean getColumnSelectionAllowed() { return false; // TODO }
public boolean getColumnSelectionAllowed() { return columnSelectionAllowed; // TODO }
34,170
public Enumeration getColumns() { return null; // TODO }
public Enumeration getColumns() { return tableColumns.elements(); // TODO }
34,171
public EventListener[] getListeners(Class value0) { return null; // TODO }
public EventListener[] getListeners(Class klass) { return null; // TODO }
34,172
public EventListener[] getListeners(Class value0) { return null; // TODO }
public EventListener[] getListeners(Class value0) { return listenerList.getListeners(klass); // TODO }
34,173
public int getTotalColumnWidth() { return 0; // TODO }
public int getTotalColumnWidth() { if (totalColumnWidth == -1) recalcWidthCache(); return totalColumnWidth; // TODO }
34,174
private void invalidateWidthCache() { // TODO }
totalColumnWidth = -1; totalColumnWidth = -1; privatetotalColumnWidth = -1; voidtotalColumnWidth = -1; invalidateWidthCache()totalColumnWidth = -1; totalColumnWidth = -1; { //totalColumnWidth = -1; TODOtotalColumnWidth = -1; totalColumnWidth = -1; }
34,175
public void moveColumn(int value0, int value1) { // TODO }
public void moveColumn(int i, int j) { // TODO }
34,176
public void moveColumn(int value0, int value1) { // TODO }
Object tmp = tableColumns.get(i); tableColumns.set(i, tableColumns.get(j)); tableColumns.set(j, tmp); Object tmp = tableColumns.get(i); tableColumns.set(i, tableColumns.get(j)); tableColumns.set(j, tmp); publicObject tmp = tableColumns.get(i); tableColumns.set(i, tableColumns.get(j)); tableColumns.set(j, tmp); voidObje...
34,177
protected void recalcWidthCache() { // TODO }
if (totalColumnWidth == -1) { totalColumnWidth = 0; for (int i = 0; i < tableColumns.size(); ++i) { totalColumnWidth += ((TableColumn)tableColumns.get(i)).getWidth(); } } if (totalColumnWidth == -1) { totalColumnWidth = 0; for (int i = 0; i < tableColumns.size(); ++i) { totalColumnWidth += ((TableColumn)tableColumns.ge...
34,178
public void removeColumn(TableColumn value0) { // TODO }
public void removeColumn(TableColumn col) { // TODO }
34,179
public void removeColumn(TableColumn value0) { // TODO }
tableColumns.remove(col); invalidateWidthCache(); tableColumns.remove(col); invalidateWidthCache(); publictableColumns.remove(col); invalidateWidthCache(); voidtableColumns.remove(col); invalidateWidthCache(); removeColumn(TableColumntableColumns.remove(col); invalidateWidthCache(); value0)tableColumns.remove(col); inv...
34,180
public void removeColumnModelListener(TableColumnModelListener value0) { // TODO }
public void removeColumnModelListener(TableColumnModelListener listener) { // TODO }
34,181
public void removeColumnModelListener(TableColumnModelListener value0) { // TODO }
listenerList.remove(TableColumnModelListener.class, listener); listenerList.remove(TableColumnModelListener.class, listener); publiclistenerList.remove(TableColumnModelListener.class, listener); voidlistenerList.remove(TableColumnModelListener.class, listener); removeColumnModelListener(TableColumnModelListenerlistener...
34,182
public void setColumnMargin(int value0) { // TODO }
public void setColumnMargin(int m) { // TODO }
34,183
public void setColumnMargin(int value0) { // TODO }
columnMargin = m; columnMargin = m; publiccolumnMargin = m; voidcolumnMargin = m; setColumnMargin(intcolumnMargin = m; value0)columnMargin = m; columnMargin = m; { //columnMargin = m; TODOcolumnMargin = m; columnMargin = m; }
34,184
public void setColumnSelectionAllowed(boolean value0) { // TODO }
public void setColumnSelectionAllowed(boolean a) { // TODO }
34,185
public void setColumnSelectionAllowed(boolean value0) { // TODO }
columnSelectionAllowed = a; columnSelectionAllowed = a; publiccolumnSelectionAllowed = a; voidcolumnSelectionAllowed = a; setColumnSelectionAllowed(booleancolumnSelectionAllowed = a; value0)columnSelectionAllowed = a; columnSelectionAllowed = a; { //columnSelectionAllowed = a; TODOcolumnSelectionAllowed = a; columnSel...
34,186
public void valueChanged(ListSelectionEvent value0) { // TODO }
fireColumnSelectionChanged(value0); fireColumnSelectionChanged(value0); publicfireColumnSelectionChanged(value0); voidfireColumnSelectionChanged(value0); valueChanged(ListSelectionEventfireColumnSelectionChanged(value0); value0)fireColumnSelectionChanged(value0); fireColumnSelectionChanged(value0); { //fireColumnSelec...
34,187
public final Class getCategory() { return OutputDeviceAssigned.class; }
public Class getCategory() { return OutputDeviceAssigned.class; }
34,188
public final String getName() { return "output-device-assigned"; }
public String getName() { return "output-device-assigned"; }
34,189
public i82371AB_ACPI_SMBusControler(PCIDevice device) { this.device = device; // gets the IO registers address base from the PCI configuration register // see paragraph 7.3 in chipset specification int dword = device.readConfigWord(0x90); int base = dword & 0xFFF0; // see 7.1.127 in specification for clearing the...
public i82371AB_ACPI_SMBusControler(PCIDevice device) { this.device = device; // gets the IO registers address base from the PCI configuration register // see paragraph 7.3 in chipset specification int dword = device.readConfigWord(0x90); int base = dword & 0xFFF0; // see 7.1.127 in specification for clearing the...
34,190
public i82371AB_ACPI_SMBusControler(PCIDevice device) { this.device = device; // gets the IO registers address base from the PCI configuration register // see paragraph 7.3 in chipset specification int dword = device.readConfigWord(0x90); int base = dword & 0xFFF0; // see 7.1.127 in specification for clearing the...
public i82371AB_ACPI_SMBusControler(PCIDevice device) { this.device = device; // gets the IO registers address base from the PCI configuration register // see paragraph 7.3 in chipset specification int dword = device.readConfigWord(0x90); int base = dword & 0xFFF0; // see 7.1.127 in specification for clearing the...
34,191
public View create (Element elem) { // subclasses have to implement this to get this functionality return null; }
public View create(Element elem) { // subclasses have to implement this to get this functionality return null; }
34,192
public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException { return 0; }
public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException { return 0; }
34,193
public Dimension getPreferredSize(JComponent c) { JTextComponent b = (JTextComponent) c; View v = getRootView(b); float w = v.getPreferredSpan(View.X_AXIS); float h = v.getPreferredSpan(View.Y_AXIS); return new Dimension((int)w, (int) h); }
public Dimension getPreferredSize(JComponent c) { JTextComponent b = (JTextComponent) c; View v = getRootView(b); float w = v.getPreferredSpan(View.X_AXIS); float h = v.getPreferredSpan(View.Y_AXIS); return new Dimension((int) w, (int) h); }
34,194
public void installUI(final JComponent c) { super.installUI(c); textColor = new Color(0,0,0); disabledTextColor = new Color(130, 130, 130); normalBackgroundColor = new Color(192,192,192); }
public void installUI(final JComponent c) { super.installUI(c); textColor = new Color(0,0,0); disabledTextColor = new Color(130, 130, 130); normalBackgroundColor = new Color(192,192,192); }
34,195
public void installUI(final JComponent c) { super.installUI(c); textColor = new Color(0,0,0); disabledTextColor = new Color(130, 130, 130); normalBackgroundColor = new Color(192,192,192); }
public void installUI(final JComponent c) { super.installUI(c); textColor = new Color(0,0,0); disabledTextColor = new Color(130, 130, 130); normalBackgroundColor = new Color(192, 192, 192); }
34,196
public Window getActiveWindow() { // XXX Need an easy way to test if this thread is in the context of the // global focus owner, to avoid creating the exception in the first place. try { return getGlobalActiveWindow(); } catch (SecurityException e) { return null; } }
public Window getActiveWindow() { // XXX Need an easy way to test if this thread is in the context of the // global focus owner, to avoid creating the exception in the first place. try { return getGlobalActiveWindow(); } catch (SecurityException e) { return null; } }
34,197
public abstract void toBack();
public abstract void toBack();
34,198
public abstract void toFront();
public abstract void toFront();
34,199
void setInputEncoding(String encoding) throws IOException { if (encoding.equals(inputEncoding)) return; if ("UTF-16".equalsIgnoreCase(encoding) && inputEncoding.startsWith("UTF-16")) return; if (reader != null) throw new UnsupportedEncodingException("document...
void setInputEncoding(String encoding) throws IOException { if (encoding.equals(inputEncoding)) return; if ("UTF-16".equalsIgnoreCase(encoding) && inputEncoding.startsWith("UTF-16")) return; if (encodingDetected) throw new UnsupportedEncodingException("docume...
34,202
public static boolean isChar(int c) { return (c >= 0x20 && c < 0xd800) || (c >= 0xe00 && c < 0xfffd) || // NB exclude 0xfffd (c >= 0x10000 && c < 0x110000) || c == 0xa || c == 0x9 || c == 0xd; }
public static boolean isChar(int c) { return (c >= 0x20 && c < 0xd800) || (c >= 0xe00 && c < 0xfffe) || // NB exclude 0xfffd (c >= 0x10000 && c < 0x110000) || c == 0xa || c == 0x9 || c == 0xd; }
34,203
public static boolean isXML11Char(int c) { return ((c >= 0x0001 && c <= 0xD7FF) || (c >= 0xE000 && c < 0xFFFD) || // NB exclude 0xfffd (c >= 0x10000 && c <= 0x10FFFF)); }
public static boolean isXML11Char(int c) { return ((c >= 0x0001 && c <= 0xD7FF) || (c >= 0xE000 && c < 0xFFFE) || // NB exclude 0xfffd (c >= 0x10000 && c <= 0x10FFFF)); }
34,204
public void restoreState(Hashtable state);
public void restoreState(Hashtable state);
34,205
public void storeState(Hashtable state);
public void storeState(Hashtable state);
34,206
public Graphics getGraphics() { /* final Component parent = targetComponent.getParent(); if (parent != null) { final int x = peerComponent.getX(); final int y = peerComponent.getY(); final int width = peerComponent.getWidth(); final int height = peerC...
public Graphics getGraphics() { /* final Component parent = targetComponent.getParent(); if (parent != null) { final int x = peerComponent.getX(); final int y = peerComponent.getY(); final int width = peerComponent.getWidth(); final int height = peerC...
34,207
public final boolean equals(Object obj) { // InetSocketAddress objects are equal when addr and port are equal. // The hostname may differ. if (obj instanceof InetSocketAddress) { InetSocketAddress sa = (InetSocketAddress) obj; if (addr == null && sa.addr != null) return false; else if (addr == null &...
public final boolean equals(Object obj) { // InetSocketAddress objects are equal when addr and port are equal. // The hostname may differ. if (obj instanceof InetSocketAddress) { InetSocketAddress sa = (InetSocketAddress) obj; if (addr == null && sa.addr != null) return false; else if (addr == null &...
34,208
public InvalidName(String why) { super(why); }
public InvalidName() { super(why); }
34,211
public InvalidName(String why) { super(why); }
public InvalidName(String why) { }
34,212
public final void initialize(VmClassLoader loader) { if (context == null) { context = new X86CompilerContext(loader); } }
public final void initialize(VmClassLoader loader) { if (context == null) { context = new X86CompilerContext(loader); } }
34,213
public DefaultHeapManager(VmClassLoader loader, HeapHelper helper, VmStatics statics) throws ClassNotFoundException { super(helper); this.writeBarrier = new DefaultWriteBarrier(helper); this.firstHeap = new VmDefaultHeap(this); this.currentHeap = firstHeap; this.defaultHeapClass = (VmNormalClass)loader.loadClass...
public DefaultHeapManager(VmClassLoader loader, HeapHelper helper, VmStatics statics) throws ClassNotFoundException { super(helper); this.writeBarrier = new DefaultWriteBarrier(helper); this.firstHeap = new VmDefaultHeap(this); this.currentHeap = firstHeap; this.defaultHeapClass = (VmNormalClass)loader.loadClass...
34,214
public void dumpStatistics(PrintStream out) { out.println("WriteBarrier: " + writeBarrier.toString()); }
public void dumpStatistics(PrintStream out) { out.println("WriteBarrier: " + writeBarrier.toString()); }
34,216
public byte[] getFontTable (int sfntTag);
public byte[] getFontTable (int sfntTag);
34,218
public int getFontTableSize (int sfntTag);
public int getFontTableSize (int sfntTag);
34,219
public int getVersion ();
public int getVersion ();
34,220
public Variable peek() { int n = stack.size(); // This deals with cases where there are excessive phis (unpruned SSA) if (n <= 0) { if (variable instanceof MethodArgument) { return variable; } else { return null; } } Variable var = (Variable) stack.get(n - 1); return var; }
public Variable peek() { int n = stack.size(); // This deals with cases where there are excessive phis (unpruned SSA) if (n <= 0) { if (variable instanceof MethodArgument) { return variable; } else { return null; } } Variable var = (Variable) stack.get(n - 1); return var; }
34,222
public PhiAssignQuad(IRBasicBlock dfb, int lhsIndex) { this(dfb.getStartPC(), dfb, lhsIndex); }
public PhiAssignQuad(IRBasicBlock dfb, int lhsIndex) { this(dfb.getStartPC(), dfb, lhsIndex); }
34,223
public void add(PhiAssignQuad paq) { if (!quads.contains(paq)) { addDef(paq); quads.add(0, paq); } }
public void add(PhiAssignQuad paq) { if (!quads.contains(paq)) { addDef(paq); quads.add(0, paq); } }
34,224
private final void emmitINT() { int addr = getAddressingMode(1); switch (addr) { case C_ADDR: stream.writeINT(getInt(0)); break; default: reportAddressingError(INT_ISN, addr); } }
private final void emmitINT() { int addr = getAddressingMode(1); switch (addr) { case C_ADDR: stream.writeINT(getInt(0)); break; default: reportAddressingError(INT_ISN, addr); } }
34,228
public LanceCore( LanceDriver driver, ResourceOwner owner, PCIDevice device, Flags flags) throws ResourceNotFreeException, DriverException { this.driver = driver; this.flags = (LanceFlags) flags; final PCIDeviceConfig config = device.getConfig(); final int irq = config.getInterruptLine(); final PCIBaseAddres...
public LanceCore( LanceDriver driver, ResourceOwner owner, PCIDevice device, Flags flags) throws ResourceNotFreeException, DriverException { this.driver = driver; this.flags = (LanceFlags) flags; final PCIDeviceConfig config = device.getConfig(); final int irq = config.getInterruptLine(); final PCIBaseAddres...
34,234
public void handleInterrupt(int irq) { while ((io.getCSR(0) & CSR0_INTR) != 0) { final int csr0 = io.getCSR(0); final int csr3 = io.getCSR(3); final int csr4 = io.getCSR(4); final int csr5 = io.getCSR(5); io.setCSR(0, csr0); io.setCSR(4, csr4); io.setCSR(5, csr5); // check if interrupt is due to Initi...
public void handleInterrupt(int irq) { while ((io.getCSR(0) & CSR0_INTR) != 0) { final int csr0 = io.getCSR(0); final int csr3 = io.getCSR(3); final int csr4 = io.getCSR(4); final int csr5 = io.getCSR(5); io.setCSR(0, csr0); io.setCSR(4, csr4); io.setCSR(5, csr5); // check if interrupt is due to Initi...
34,235
public IIOInvalidTreeException(String message, /*Node*/ Object offendingNode) { super(message); this.offendingNode = offendingNode; }
public IIOInvalidTreeException(String message, Node offendingNode) { super(message); this.offendingNode = offendingNode; }
34,236
public /*Node*/ Object getOffendingNode() { return offendingNode; }
public Node getOffendingNode() { return offendingNode; }
34,237
public void setViewSize(Dimension newSize) { viewSize = newSize; Component view = getView(); if (view != null) view.setSize(newSize); fireStateChanged(); }
public void setViewSize(Dimension newSize) { viewSize = newSize; Component view = getView(); if (view != null) view.setSize(viewSize); isViewSizeSet = true; fireStateChanged(); }
34,240
public ReplyHeader() { service_context = new ServiceContext[] { cxCodeSet.STANDARD }; }
public ReplyHeader() { service_context = new ServiceContext[] { CodeSetServiceContext.STANDARD }; }
34,241
public void read(cdrInput in) { request_id = in.read_ulong(); reply_status = in.read_ulong(); service_context = gnu.CORBA.GIOP.ServiceContext.readSequence(in); in.setCodeSet(cxCodeSet.find(service_context)); }
public void read(AbstractCdrInput in) { request_id = in.read_ulong(); reply_status = in.read_ulong(); service_context = gnu.CORBA.GIOP.ServiceContext.readSequence(in); in.setCodeSet(cxCodeSet.find(service_context)); }
34,242
public void read(cdrInput in) { request_id = in.read_ulong(); reply_status = in.read_ulong(); service_context = gnu.CORBA.GIOP.ServiceContext.readSequence(in); in.setCodeSet(cxCodeSet.find(service_context)); }
public void read(cdrInput in) { request_id = in.read_ulong(); reply_status = in.read_ulong(); service_context = gnu.CORBA.GIOP.ServiceContext.readSequence(in); in.setCodeSet(CodeSetServiceContext.find(service_context)); }
34,243
public void write(cdrOutput out) { out.write_ulong(request_id); out.write_ulong(reply_status); gnu.CORBA.GIOP.ServiceContext.writeSequence(out, service_context); out.setCodeSet(cxCodeSet.find(service_context)); }
public void write(AbstractCdrOutput out) { out.write_ulong(request_id); out.write_ulong(reply_status); gnu.CORBA.GIOP.ServiceContext.writeSequence(out, service_context); out.setCodeSet(cxCodeSet.find(service_context)); }
34,244
public void write(cdrOutput out) { out.write_ulong(request_id); out.write_ulong(reply_status); gnu.CORBA.GIOP.ServiceContext.writeSequence(out, service_context); out.setCodeSet(cxCodeSet.find(service_context)); }
public void write(cdrOutput out) { out.write_ulong(request_id); out.write_ulong(reply_status); gnu.CORBA.GIOP.ServiceContext.writeSequence(out, service_context); out.setCodeSet(CodeSetServiceContext.find(service_context)); }
34,245
public final Class getCategory() { return JobImpressions.class; }
public Class getCategory() { return JobImpressions.class; }
34,246
public final String getName() { return "job-impressions"; }
public String getName() { return "job-impressions"; }
34,247
public Object cloneWithSource(Object source) { return null; // TODO } // cloneWithSource()
public Object cloneWithSource(Object source) { return null; // TODO } // cloneWithSource()
34,248
public Dimension getMinimumSize(Component c) { return getMeasurements(c).getMinimumSize(); }
public Dimension getMinimumSize(Component c) { Insets i = getBorderInsets(c); Dimension minSize = new Dimension(i.left + i.right, i.top + i.bottom); Font font = getFont(c); FontMetrics fm = c.getFontMetrics(font); int titleWidth = fm.stringWidth(getTitle()); switch (getTitlePosition()) { case ABOVE_TOP: case BELO...
34,249
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins...
34,250