bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
28,193
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
28,194
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
28,195
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
public static double ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) { double pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2); double x, y; if (pd2 == 0) { // Points are coincident. x = x1; y = y2; } else { double u = ((px - x1) * (x2 - x1) + (py - y1) * (y2 - y1)) / pd2; ...
28,196
public final Class getCategory() { return JobKOctets.class; }
public Class getCategory() { return JobKOctets.class; }
28,197
public final String getName() { return "job-k-octets"; }
public String getName() { return "job-k-octets"; }
28,198
public Icon getDisabledIcon() { //FIXME: We should be gray-scaling the active icon and then returning it if (disabledIcon == null && activeIcon instanceof ImageIcon) setDisabledIcon(activeIcon); return disabledIcon; }
publicIcongetDisabledIcon(){//FIXME:Weshouldbegray-scalingtheactiveiconandthenreturningitif(disabledIcon==null&&activeIconinstanceofImageIcon)setDisabledIcon(activeIcon);returndisabledIcon;}
28,199
public Icon getDisabledIcon() { //FIXME: We should be gray-scaling the active icon and then returning it if (disabledIcon == null && activeIcon instanceof ImageIcon) setDisabledIcon(activeIcon); return disabledIcon; }
public Icon getDisabledIcon() { //FIXME: We should be gray-scaling the active icon and then returning it if (disabledIcon == null && activeIcon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage())); return disabledIcon; }
28,200
public void setDisplayedMnemonic(char aChar) { if (aChar != mnemonicKey) { char oldKey = mnemonicKey; mnemonicKey = aChar; firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, oldKey, mnemonicKey); if (labelText != null) setDisplayedMnemonicIndex(labelText.indexOf(mnemonicKey)); ...
public void setDisplayedMnemonic(int key) { if (aChar != mnemonicKey) { char oldKey = mnemonicKey; mnemonicKey = aChar; firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, oldKey, mnemonicKey); if (labelText != null) setDisplayedMnemonicIndex(labelText.indexOf(mnemonicKey)); } ...
28,201
public void setDisplayedMnemonic(char aChar) { if (aChar != mnemonicKey) { char oldKey = mnemonicKey; mnemonicKey = aChar; firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, oldKey, mnemonicKey); if (labelText != null) setDisplayedMnemonicIndex(labelText.indexOf(mnemonicKey)); ...
public void setDisplayedMnemonic(char aChar) { if (aChar != mnemonicKey) { char oldKey = mnemonicKey; mnemonicKey = aChar; firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, oldKey, mnemonicKey); if (labelText != null) setDisplayedMnemonicIndex(labelText.indexOf(mnemonicKey)); ...
28,202
public void mouseClicked(MouseEvent e) { Point p = e.getPoint(); int row = table.rowAtPoint(p); int col = table.columnAtPoint(p); if (table.isCellEditable(row, col)) { // If the cell editor is the default editor, we request the // number of the required clicks from i...
public void mouseClicked(MouseEvent e) { Point p = e.getPoint(); int row = table.rowAtPoint(p); int col = table.columnAtPoint(p); if (table.isCellEditable(row, col)) { // If the cell editor is the default editor, we request the // number of the required clicks from i...
28,203
protected void installDefaults() { LookAndFeel.installColorsAndFont(table, "Table.background", "Table.foreground", "Table.font"); table.setGridColor(UIManager.getColor("Table.gridColor")); table.setSelectionForeground(UIManager.getColor("Table.selectionForeground")); ...
protected void installDefaults() { LookAndFeel.installColorsAndFont(table, "Table.background", "Table.foreground", "Table.font"); table.setGridColor(UIManager.getColor("Table.gridColor")); table.setSelectionForeground(UIManager.getColor("Table.selectionForeground")); ...
28,204
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(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
publicvoidpaint(Graphicsgfx,JComponentignored){intncols=table.getColumnCount();intnrows=table.getRowCount();if(nrows==0||ncols==0)return;Rectangleclip=gfx.getClipBounds();//Determinetherangeofcellsthatarewithintheclipbounds.Pointp1=newPoint(clip.x,clip.y);intc0=table.columnAtPoint(p1);if(c0==-1)c0=0;intr0=table.rowAtPo...
28,206
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(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
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(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
28,207
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(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
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(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
28,208
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(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
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(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
28,209
public Object get(KeyStroke keystroke) { Object result = inputMap.get(keystroke); if (result == null) result = parent.get(keystroke); return result; }
public Object get(KeyStroke keystroke) { Object result = inputMap.get(keystroke); if (result == null) result = parent.get(keystroke); return result; }
28,211
public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { // TODO } // paintComponent()
public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { // TODO } // paintComponent()
28,212
public InvocationTargetException(Throwable targetException) { this(targetException, null); }
protected InvocationTargetException() { this(targetException, null); }
28,213
public InvocationTargetException(Throwable targetException) { this(targetException, null); }
public InvocationTargetException(Throwable targetException) { this(null, null); }
28,214
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHA...
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHA...
28,215
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHA...
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHA...
28,216
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, start...
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, start...
28,217
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, start...
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, start...
28,218
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REM...
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REM...
28,219
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REM...
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REM...
28,220
public static TaggedProfile read(InputStream input) { TaggedProfile value = new TaggedProfile(); value.tag = input.read_long(); if (input instanceof cdrBufInput) { // Highly probable. value.profile_data = ((cdrBufInput) input).read_sequence(); } else { value.profile_da...
public static TaggedProfile read(InputStream input) { TaggedProfile value = new TaggedProfile(); value.tag = input.read_long(); if (input instanceof BufferredCdrInput) { // Highly probable. value.profile_data = ((cdrBufInput) input).read_sequence(); } else { value.prof...
28,221
public static TaggedProfile read(InputStream input) { TaggedProfile value = new TaggedProfile(); value.tag = input.read_long(); if (input instanceof cdrBufInput) { // Highly probable. value.profile_data = ((cdrBufInput) input).read_sequence(); } else { value.profile_da...
public static TaggedProfile read(InputStream input) { TaggedProfile value = new TaggedProfile(); value.tag = input.read_long(); if (input instanceof cdrBufInput) { // Highly probable. value.profile_data = ((BufferredCdrInput) input).read_sequence(); } else { value.prof...
28,222
public static void write(OutputStream output, TaggedProfile value) { output.write_long(value.tag); if (output instanceof cdrBufOutput) { // Highly probable. output.write_long(value.profile_data.length); try { output.write(value.profile_data); } catc...
public static void write(OutputStream output, TaggedProfile value) { output.write_long(value.tag); if (output instanceof BufferedCdrOutput) { // Highly probable. output.write_long(value.profile_data.length); try { output.write(value.profile_data); } ...
28,223
public TaggedProfileHolder(TaggedProfile initialValue) { value = initialValue; }
public TaggedProfileHolder() { value = initialValue; }
28,224
public TaggedProfileHolder(TaggedProfile initialValue) { value = initialValue; }
public TaggedProfileHolder(TaggedProfile initialValue) { }
28,225
public static Color convertValue(String value) { Color color; String val1 = value.toLowerCase(); if (val1.charAt(0) != '#') val1 = (String) COLOR_MAP.get(val1); if (val1 != null) { String hexVal = val1.substring(1); int rgb = Integer.parseInt(hexVal, 16); color = new Color(...
public static Color convertValue(String value) { Color color; String val1 = value.toLowerCase(); if (val1.charAt(0) != '#') val1 = (String) COLOR_MAP.get(val1); if (val1 != null) { String hexVal = val1.substring(1).trim(); try { int rgb = Integer.parseInt(hexVal, 16); color...
28,226
public LinkageError(String s) { super(s); }
public LinkageError(String s) { super(s); }
28,228
public InvalidNameException (String msg) { super (msg); }
public InvalidNameException () { super (msg); }
28,229
public InvalidNameException (String msg) { super (msg); }
public InvalidNameException (String msg) { super (); }
28,230
private final int incRefCount() { final boolean initialize; final int rc; synchronized (initCloseLock) { refCount++; rc = refCount; initialize = (refCount == 1); } log.debug("refCount.inc=" + rc); if (initialize) { final JNodeFrameBufferDevice dev = (JNodeFrameBufferDevice) GraphicsEnvironment .getLo...
private final int incRefCount() { final boolean initialize; final int rc; synchronized (initCloseLock) { refCount++; rc = refCount; initialize = (refCount == 1); } log.debug("refCount.inc=" + rc); if (initialize) { final JNodeFrameBufferDevice dev = (JNodeFrameBufferDevice) GraphicsEnvironment .getLo...
28,231
public Image getScaledInstance(int width, int height, int flags) { ImageFilter filter; switch (flags) { case SCALE_DEFAULT: case SCALE_FAST: case SCALE_REPLICATE: filter = new ReplicateScaleFilter(width, height); break; case SCALE_AREA_AVERAGING: filter = new AreaAveragingScaleFilter(wid...
public Image getScaledInstance(int width, int height, int flags) { ImageFilter filter; switch (flags) { case SCALE_DEFAULT: case SCALE_FAST: case SCALE_REPLICATE: filter = new ReplicateScaleFilter(width, height); break; case SCALE_AREA_AVERAGING: filter = new AreaAveragingScaleFilter(wid...
28,232
public abstract void addConsumer(ImageConsumer ic);
public abstract void addConsumer(ImageConsumer ic);
28,233
public abstract boolean isConsumer(ImageConsumer ic);
public abstract boolean isConsumer(ImageConsumer ic);
28,234
public abstract void removeConsumer(ImageConsumer ic);
public abstract void removeConsumer(ImageConsumer ic);
28,235
public abstract void requestTopDownLeftRightResend(ImageConsumer ic);
public abstract void requestTopDownLeftRightResend(ImageConsumer ic);
28,236
public abstract void startProduction(ImageConsumer ic);
public abstract void startProduction(ImageConsumer ic);
28,237
public abstract void imageComplete(int status);
public abstract void imageComplete(int status);
28,238
public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault(); }
public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault(); }
28,239
public MouseHandler(Device fbDevice, Dimension screenSize) { HardwareCursorAPI hwCursor = null; Device pointerDevice = null; PointerAPI pointerAPI = null; try { hwCursor = (HardwareCursorAPI) fbDevice .getAPI(HardwareCursorAPI.class); } catch (ApiNotFoundException ex) { log.info("No hardware-cursor found ...
public MouseHandler(Device fbDevice, Dimension screenSize) { HardwareCursorAPI hwCursor = null; Device pointerDevice = null; PointerAPI pointerAPI = null; try { hwCursor = (HardwareCursorAPI) fbDevice .getAPI(HardwareCursorAPI.class); } catch (ApiNotFoundException ex) { log.info("No hardware-cursor found ...
28,240
public static final BigInteger sign(final PrivateKey K, final BigInteger m) { try { return RSADP((RSAPrivateKey) K, m); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "message representative out of range"); ...
public static final BigInteger sign(final PrivateKey K, final BigInteger m) { try { return RSADP((RSAPrivateKey) K, m); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "message representative out of range"); ...
28,241
public static final byte[] I2OSP(final BigInteger s, final int k) { byte[] result = s.toByteArray(); if (result.length < k) { final byte[] newResult = new byte[k]; System.arraycopy(result, 0, newResult, k - result.length, result.length); result = newResult; } else if (result.l...
public static final byte[] I2OSP(final BigInteger s, final int k) byte[] result = s.toByteArray(); if (result.length < k) final byte[] newResult = new byte[k]; System.arraycopy(result, 0, newResult, k - result.length, result.length); result = newResult; } else if (result.lengt...
28,242
public static final byte[] I2OSP(final BigInteger s, final int k) { byte[] result = s.toByteArray(); if (result.length < k) { final byte[] newResult = new byte[k]; System.arraycopy(result, 0, newResult, k - result.length, result.length); result = newResult; } else if (result.l...
public static final byte[] I2OSP(final BigInteger s, final int k) { byte[] result = s.toByteArray(); if (result.length < k) { final byte[] newResult = new byte[k]; System.arraycopy(result, 0, newResult, k - result.length, result.length); result = newResult; else if (result.len...
28,243
public static final BigInteger verify(final PublicKey K, final BigInteger s) { try { return RSAEP((RSAPublicKey) K, s); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "signature representative out of range"); ...
public static final BigInteger verify(final PublicKey K, final BigInteger s) { try { return RSAEP((RSAPublicKey) K, s); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "signature representative out of range"); ...
28,244
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
28,245
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
28,246
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
28,247
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
28,248
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
28,249
public Iterator<FSEntry> iterator() throws IOException { return new Iterator<FSEntry>() { int offset = 0; final EntryRecord parent = ISO9660Directory.this.entry .getCDFSentry(); final byte[] buffer = parent.getExtentData(); public boolean hasNext...
public Iterator<FSEntry> iterator() throws IOException { return new Iterator<FSEntry>() { int offset = 0; final EntryRecord parent = ISO9660Directory.this.entry .getCDFSentry(); final byte[] buffer = parent.getExtentData(); public boolean hasNext...
28,250
public Iterator<FSEntry> iterator() throws IOException { return new Iterator<FSEntry>() { int offset = 0; final EntryRecord parent = ISO9660Directory.this.entry .getCDFSentry(); final byte[] buffer = parent.getExtentData(); public boolean hasNext...
public Iterator<FSEntry> iterator() throws IOException { return new Iterator<FSEntry>() { int offset = 0; final EntryRecord parent = ISO9660Directory.this.entry .getCDFSentry(); final byte[] buffer = parent.getExtentData(); public boolean hasNext...
28,251
public boolean hasNext() { return ((offset < buffer.length) && (buffer[ offset] > 0)); }
public boolean hasNext() { return ((offset < buffer.length) && LittleEndian.getUInt8(buffer, offset) > 0); }
28,252
public abstract void dispose();
public abstract void dispose();
28,253
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); ButtonModel m = b.getModel(); Icon currentIcon = null; if (m.isSelected()...
publicvoidpaint(Graphicsg,JComponentc){AbstractButtonb=(AbstractButton)c;Rectangletr=newRectangle();Rectangleir=newRectangle();Rectanglevr=newRectangle();Fontf=c.getFont();g.setFont(f);ButtonModelm=b.getModel();IconcurrentIcon=null;if(m.isSelected()&&m.isEnabled())currentIcon=b.getSelectedIcon();elseif(!m.isSelected()&...
28,254
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); ButtonModel m = b.getModel(); Icon currentIcon = null; if (m.isSelected()...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); ButtonModel m = b.getModel(); Icon currentIcon = null; if (m.isSelected()...
28,255
protected String getPropertyPrefix() { return "ToggleButton"; }
protected String getPropertyPrefix() { return "ToggleButton."; }
28,256
public Dimension getMinimumSize(int s) { return null; }
public Dimension getMinimumSize(int s) { return getMinimumSize(); }
28,257
public Dimension getPreferredSize(int s) { return null; }
public Dimension getPreferredSize(int s) { return getPreferredSize(); }
28,258
public String getItem(int index) { return ((String) items.elementAt(index)); }
public String getItem(int index) { return ((String) items.elementAt(index)); }
28,259
public int getItemCount() { return (items.size()); }
public int getItemCount() { return (items.size()); }
28,260
public abstract void addItem(String item, int index);
public abstract void addItem(String item, int index);
28,261
public abstract void clear();
public abstract void clear();
28,262
public abstract void setMultipleSelections(boolean multi);
public abstract void setMultipleSelections(boolean multi);
28,263
static final void applicationProcessorMain() { final VmX86Processor cpu = (VmX86Processor) current(); BootLog.info("Starting Application Processor " + cpu.getId()); // First force a load of CPUID cpu.getCPUID(); // Detect and start logical CPU's try { detectAndst...
static final void applicationProcessorMain() { final VmX86Processor cpu = (VmX86Processor) current(); Unsafe.debug("Starting Application Processor " + cpu.getIdString()); // First force a load of CPUID cpu.getCPUID(); // Detect and start logical CPU's try { detec...
28,264
static final void applicationProcessorMain() { final VmX86Processor cpu = (VmX86Processor) current(); BootLog.info("Starting Application Processor " + cpu.getId()); // First force a load of CPUID cpu.getCPUID(); // Detect and start logical CPU's try { detectAndst...
Unsafe.debug("Running normal threads on " + cpu.getIdString()); cpu.getIdleThread().run(); Unsafe.debug("Running normal threads on " + cpu.getIdString()); cpu.getIdleThread().run(); Unsafe.debug("Running normal threads on " + cpu.getIdString()); cpu.getIdleThread().run(); Unsafe.debug("Running normal threads on...
28,265
static final void detectAndstartLogicalProcessors(ResourceManager rm) throws ResourceNotFreeException { final VmX86Processor cpu = (VmX86Processor) current(); if (cpu.logical) { return; } final X86CpuID cpuid = (X86CpuID) cpu.getCPUID(); if (!cpuid.hasFeature...
static final void detectAndstartLogicalProcessors(ResourceManager rm) throws ResourceNotFreeException { final VmX86Processor cpu = (VmX86Processor) current(); if (cpu.logical) { return; } final X86CpuID cpuid = (X86CpuID) cpu.getCPUID(); if (!cpuid.hasFeature...
28,266
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
28,268
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
28,269
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
28,270
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
28,271
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
28,272
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
28,273
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
28,274
public final boolean hasFeature(int feature) { return ((this.features & feature) == feature); }
public final boolean hasFeature(int feature) { return ((this.features & feature) == feature); }
28,276
public VmProcessor createProcessor(int id, VmStatics statics) { return new VmX86Processor(id, this, statics, null); }
public VmProcessor createProcessor(int id, VmStatics statics) { return new VmX86Processor(id, this, statics, null); }
28,277
final void initX86Processor(VmX86Processor cpu) { cpu.setApic(localAPIC); super.addProcessor(cpu); }
final void initX86Processor(VmX86Processor cpu) { cpu.setApic(localAPIC); super.addProcessor(cpu); }
28,278
public abstract void childResized(int width, int height);
public abstract void childResized(int width, int height);
28,279
public abstract int getHScrollbarHeight();
public abstract int getHScrollbarHeight();
28,280
public abstract int getVScrollbarWidth();
public abstract int getVScrollbarWidth();
28,281
public abstract void setScrollPosition(int h, int v);
public abstract void setScrollPosition(int h, int v);
28,282
public abstract void setUnitIncrement(Adjustable item, int inc);
public abstract void setUnitIncrement(Adjustable item, int inc);
28,283
public abstract void setValue(Adjustable item, int value);
public abstract void setValue(Adjustable item, int value);
28,284
public void mouseEntered(MouseEvent event) { if (currentComponent != null && getContentPaneDeepestComponent(event) == currentComponent) return; currentPoint = event.getPoint(); currentComponent = (Component) event.getSource(); if (exitTimer.isRunning()) { exitTimer.stop(); showTip...
public void mouseEntered(MouseEvent event) { if (currentComponent != null && getContentPaneDeepestComponent(event) == currentComponent) return; currentPoint = event.getPoint(); currentComponent = (Component) event.getSource(); if (exitTimer.isRunning()) { exitTimer.stop(); showTip...
28,285
public int getDelay() { return (int)interval; }
public int getDelay() { return delay; }
28,286
public JToolTip createToolTip() { if (toolTip == null) toolTip = new JToolTip(toolTipText); return toolTip; }
public JToolTip createToolTip() { if (toolTip == null) { toolTip = new JToolTip(); toolTip.setTipText(toolTipText); } return toolTip; }
28,287
public Popup getPopup(Component owner, Component contents, int x, int y) { return new Popup.JWindowPopup(owner, contents, x, y); }
public Popup getPopup(Component owner, Component contents, int x, int y) { Popup popup = null; boolean lightweightEnabled = true; if (contents instanceof JPopupMenu) { JPopupMenu menu = (JPopupMenu) contents; lightweightEnabled = menu.isLightWeightPopupEnabled(); } JRootPane root = S...
28,288
private static synchronized HashMap timezones() { if (timezones0 == null) { HashMap timezones = new HashMap(); timezones0 = timezones; TimeZone tz; // Automatically generated by scripts/timezones.pl // XXX - Should we read this data from a file? tz = new SimpleTimeZone(-11000 * 3600, "MIT"); timezones0....
static synchronized HashMap timezones() { if (timezones0 == null) { HashMap timezones = new HashMap(); timezones0 = timezones; TimeZone tz; // Automatically generated by scripts/timezones.pl // XXX - Should we read this data from a file? tz = new SimpleTimeZone(-11000 * 3600, "MIT"); timezones0.put("MIT...
28,289
public String[] [] getZoneStrings () { return zoneStrings; }
public String[] [] getZoneStrings () { return zoneStrings; }
28,290
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (! path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension...
28,291
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
28,292
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
28,293
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
28,294
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
28,295
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
28,296
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
28,297