bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Collection engineGenerateCertificates(InputStream inStream) throws CertificateException { LinkedList certs = new LinkedList(); while (true) { try { certs.add(generateCert(inStream)); } catch (EOFException eof) { break; } ... | public Collection engineGenerateCertificates(InputStream inStream) throws CertificateException { LinkedList certs = new LinkedList(); while (true) { try { certs.add(generateCert(inStream)); } catch (EOFException eof) { break; } ... | 30,469 |
public static double getFlatnessSq(double x1, double y1, double cx1, double cy1, double cx2, double cy2, double x2, double y2) { // XXX Implement. throw new Error("not implemented"); } | public static double getFlatnessSq(double x1, double y1, double cx1, double cy1, double cx2, double cy2, double x2, double y2) { // XXX Implement. return Math.max(Line2D.ptSegDistSq(x1, y1, x2, y2, cx1, cy1), Line2D.ptSegDistSq(x1, y1, x2, ... | 30,472 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current = 0; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public... | 30,473 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current >= 2; } public vo... | 30,474 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | 30,475 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | 30,476 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | 30,477 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | 30,478 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | 30,479 |
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public voi... | 30,480 |
public int currentSegment(float[] coords) { if (current == 0) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) ... | public int currentSegment(float[] coords) { int result; switch (current) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current... | 30,481 |
public int currentSegment(float[] coords) { if (current == 0) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) ... | public int currentSegment(float[] coords) { if (current == 0) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) ... | 30,482 |
public int currentSegment(float[] coords) { if (current == 0) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) ... | public int currentSegment(float[] coords) { if (current == 0) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) ... | 30,483 |
public boolean isDone() { return current < 2; } | public boolean isDone() { return current >= 2; } | 30,484 |
public void subdivide(CubicCurve2D l, CubicCurve2D r) { if (l == null) l = new CubicCurve2D.Double(); if (r == null) r = new CubicCurve2D.Double(); // Use empty slots at end to share single array. double[] d = new double[] { getX1(), getY1(), getCtrlX1(), getCtrlY1(), ... | public void subdivide(CubicCurve2D left, CubicCurve2D right) { if (l == null) l = new CubicCurve2D.Double(); if (r == null) r = new CubicCurve2D.Double(); // Use empty slots at end to share single array. double[] d = new double[] { getX1(), getY1(), getCtrlX1(), getCtrlY1(), ... | 30,485 |
public void subdivide(CubicCurve2D l, CubicCurve2D r) { if (l == null) l = new CubicCurve2D.Double(); if (r == null) r = new CubicCurve2D.Double(); // Use empty slots at end to share single array. double[] d = new double[] { getX1(), getY1(), getCtrlX1(), getCtrlY1(), ... | public void subdivide(CubicCurve2D l, CubicCurve2D r) { if (l == null) l = new CubicCurve2D.Double(); if (r == null) r = new CubicCurve2D.Double(); // Use empty slots at end to share single array. double[] d = new double[] { getX1(), getY1(), getCtrlX1(), getCtrlY1(), ... | 30,486 |
public void subdivide(CubicCurve2D l, CubicCurve2D r) { if (l == null) l = new CubicCurve2D.Double(); if (r == null) r = new CubicCurve2D.Double(); // Use empty slots at end to share single array. double[] d = new double[] { getX1(), getY1(), getCtrlX1(), getCtrlY1(), ... | public void subdivide(CubicCurve2D l, CubicCurve2D r) { if (l == null) l = new CubicCurve2D.Double(); if (r == null) r = new CubicCurve2D.Double(); // Use empty slots at end to share single array. double[] d = new double[] { getX1(), getY1(), getCtrlX1(), getCtrlY1(), ... | 30,487 |
public static int solveQuadratic(double[] eqn, double[] res) { // Taken from poly/solve_quadratic.c in the GNU Scientific Library // (GSL), cvs revision 1.7 of 2003-07-26. For the original source, // see http://www.gnu.org/software/gsl/ // // Brian Gough, the author of that code, has granted the //... | public static int solveQuadratic(double[] eqn) { // Taken from poly/solve_quadratic.c in the GNU Scientific Library // (GSL), cvs revision 1.7 of 2003-07-26. For the original source, // see http://www.gnu.org/software/gsl/ // // Brian Gough, the author of that code, has granted the // permission to... | 30,488 |
public static int solveQuadratic(double[] eqn, double[] res) { // Taken from poly/solve_quadratic.c in the GNU Scientific Library // (GSL), cvs revision 1.7 of 2003-07-26. For the original source, // see http://www.gnu.org/software/gsl/ // // Brian Gough, the author of that code, has granted the //... | public static int solveQuadratic(double[] eqn, double[] res) { // Taken from poly/solve_quadratic.c in the GNU Scientific Library // (GSL), cvs revision 1.7 of 2003-07-26. For the original source, // see http://www.gnu.org/software/gsl/ // // Brian Gough, the author of that code, has granted the //... | 30,489 |
public static TypeCode type() { ORB orb = Restricted_ORB.Singleton; return orb.create_alias_tc(id(), "FieldName", orb.create_string_tc(0)); } | public static TypeCode type() { ORB orb = OrbRestricted.Singleton; return orb.create_alias_tc(id(), "FieldName", orb.create_string_tc(0)); } | 30,492 |
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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 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); Icon currentIcon = null; if (m.isSelected() && m.isEnabled()) currentIc... | 30,493 |
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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 30,494 |
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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 30,495 |
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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 30,496 |
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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 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); Icon currentIcon = null; if (b.isSelected() && b.isEnabled()) currentIc... | 30,497 |
private boolean deflateFast(boolean flush, boolean finish) { if (lookahead < MIN_LOOKAHEAD && !flush) return false; while (lookahead >= MIN_LOOKAHEAD || flush) { if (lookahead == 0) { /* We are flushing everything */ huffman.flushBlock(window, blockStart, strstart - blockStart, fin... | private boolean deflateFast(boolean flush, boolean finish) { if (lookahead < MIN_LOOKAHEAD && !flush) return false; while (lookahead >= MIN_LOOKAHEAD || flush) { if (lookahead == 0) { /* We are flushing everything */ huffman.flushBlock(window, blockStart, strstart - blockStart, fin... | 30,498 |
public Point2D getPoint2D (Point2D srcPt, Point2D dstPt) { return transform.transform (srcPt, dstPt); } | public final Point2D getPoint2D (Point2D srcPt, Point2D dstPt) { return transform.transform (srcPt, dstPt); } | 30,500 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color savedColor = g.getColor(); if (c.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlShadow()); g.drawLine(x, y, x + w - 1, ... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color savedColor = g.getColor(); if (c.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlShadow()); g.drawLine(x, y, x + w - 1, ... | 30,501 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color savedColor = g.getColor(); if (c.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlShadow()); g.drawLine(x, y, x + w - 1, ... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color savedColor = g.getColor(); if (c.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlShadow()); g.drawLine(x, y, x + w - 1, ... | 30,502 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color savedColor = g.getColor(); if (c.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlShadow()); g.drawLine(x, y, x + w - 1, ... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color savedColor = g.getColor(); if (c.isEnabled()) g.setColor(MetalLookAndFeel.getControlDarkShadow()); else g.setColor(MetalLookAndFeel.getControlShadow()); g.drawLine(x, y, x + w - 1, ... | 30,503 |
public MetalComboBoxEditor() { super(); editor.setBorder(new MetalComboBoxEditorBorder()); } | public MetalComboBoxEditor() { editor = new JTextField("", 9); editor.setBorder(new MetalComboBoxEditorBorder()); } | 30,504 |
public static String setProperty(String key, String value) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPermission(new PropertyPermission(key, "write")); return (String) properties.setProperty(key, value); } | public static String setProperty(String key, String value) { SecurityManager sm = SecurityManager.current; // Be thread-safe. if (sm != null) sm.checkPermission(new PropertyPermission(key, "write")); return (String) properties.setProperty(key, value); } | 30,506 |
public static String setProperty(String key, String value) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPermission(new PropertyPermission(key, "write")); return (String) properties.setProperty(key, value); } | public static String setProperty(String key, String value) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPermission(new PropertyPermission(key, "write")); return SystemProperties.setProperty(key, value); } | 30,507 |
public final Class getCategory() { return JobKOctetsProcessed.class; } | public Class getCategory() { return JobKOctetsProcessed.class; } | 30,508 |
public final String getName() { return "job-k-octets-processed"; } | public String getName() { return "job-k-octets-processed"; } | 30,509 |
private void distributeSpillResizing(TableColumn[] cols, int spill, TableColumn resizeIt) { int average = spill / (cols.length-1); for (int i = 0; i < cols.length; i++) { if (cols[i] != null && !cols[i].equals(resizeIt)) cols[i].setWidth(cols[i].getPre... | private void distributeSpillResizing(TableColumn[] cols, int spill, TableColumn resizeIt) { int average = 0; if (cols.length != 1) average = spill / (cols.length-1); for (int i = 0; i < cols.length; i++) { if (cols[i] != null && !cols[i].equals(resizeIt)) ... | 30,510 |
public int getNativeFD() { return ((SocketChannelImpl) ch).getNativeFD(); } | public int getNativeFD() { NIOSocket socket = (NIOSocket) ((SocketChannelImpl) ch).socket(); return socket.getPlainSocketImpl().getNativeFD(); } | 30,512 |
public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ... | public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ... | 30,513 |
public int deflate(byte[] output, int offset, int length) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int lev... | public int deflate(byte[] output) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int level_flags = (level - 1) >... | 30,515 |
public int deflate(byte[] output, int offset, int length) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int lev... | public int deflate(byte[] output, int offset, int length) { int origLength = length; if (state == CLOSED_STATE) throw new IllegalStateException("Deflater closed"); if (state < BUSY_STATE) { /* output header */ int header = (DEFLATED + ((DeflaterConstants.MAX_WBITS - 8) << 4)) << 8; int lev... | 30,516 |
public void setInput(byte[] input, int off, int len) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | public void setInput(byte[] input) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | 30,517 |
public void setInput(byte[] input, int off, int len) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | public void setInput(byte[] input, int off, int len) { if ((state & IS_FINISHING) != 0) throw new IllegalStateException("finish()/end() already called"); engine.setInput(input, off, len); } | 30,518 |
public void actionPerformed(ActionEvent event) { // FIXME: Implement me. Tookit.getSystemClipboard should be used // for that. } | getTextComponent(event).copy(); getTextComponent(event).copy(); public void actionPerformed(ActionEvent event)getTextComponent(event).copy(); getTextComponent(event).copy(); {getTextComponent(event).copy(); getTextComponent(event).copy(); getTextComponent(event).copy(); // FIXME: Implement me. Tookit.getSystemClipboard... | 30,519 |
public void actionPerformed(ActionEvent event) { // FIXME: Implement me. Tookit.getSystemClipboard should be used // for that. } | getTextComponent(event).cut(); getTextComponent(event).cut(); public void actionPerformed(ActionEvent event)getTextComponent(event).cut(); getTextComponent(event).cut(); {getTextComponent(event).cut(); getTextComponent(event).cut(); getTextComponent(event).cut(); // FIXME: Implement me. Tookit.getSystemClipboard should... | 30,520 |
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent... | public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent... | 30,521 |
public void actionPerformed(ActionEvent event) { // FIXME: Implement this. } | JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); publicJTextComponent t = getTextComponen... | 30,522 |
public void actionPerformed(ActionEvent event) { // FIXME: Implement me. Tookit.getSystemClipboard should be used // for that. } | getTextComponent(event).paste(); getTextComponent(event).paste(); public void actionPerformed(ActionEvent event)getTextComponent(event).paste(); getTextComponent(event).paste(); {getTextComponent(event).paste(); getTextComponent(event).paste(); getTextComponent(event).paste(); // FIXME: Implement me. Tookit.getSystemCl... | 30,523 |
public boolean equals(Object other) { ProxyType pt = (ProxyType) other; if (loader != pt.loader || interfaces.length != pt.interfaces.length) return false; return sameTypes(interfaces, pt.interfaces); } | public boolean equals(Object other) { ProxyType pt = (ProxyType) other; if (loader != pt.loader || interfaces.length != pt.interfaces.length) return false; for (int i = 0; i < interfaces.length; i++) if (interfaces[i] != pt.interfaces[i]) return false; return true; } | 30,524 |
public JIFileSystem(Device device, boolean readOnly) throws FileSystemException { if (readOnly==false){ throw new FileSystemException("JIFS can not be created as writable..."); } this.device = device; try { rootDir = new JIFSDirectory(this.device.getId(), true); } catch ( IOException e){ e.printStackTrace()... | public JIFileSystem(Device device, boolean readOnly) throws FileSystemException { if (readOnly==false){ throw new FileSystemException("JIFS can not be created as writable..."); } this.device = device; try { rootDir = new JIFSDirectory(this.device.getId(), true); } catch ( IOException e){ e.printStackTrace()... | 30,525 |
public TRANSIENT(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | public TRANSIENT(String message) { super(reason, minor, completed); } | 30,526 |
public TRANSIENT(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | public TRANSIENT(String reason, int minor, CompletionStatus completed) { super(message, 0, CompletionStatus.COMPLETED_NO); } | 30,527 |
public TypeCode _type() { return new fixedTypeCode(value); } | public TypeCode _type() { return new FixedTypeCode(value); } | 30,528 |
public static NamingContextExt extract(Any a) { try { return ((NamingContextExtHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("NamingContextExt expected"); } } | public static NamingContextExt extract(Any a) { try { return ((NamingContextExtHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("NamingContextExt expected"); bad.initCause(ex); throw bad; } } | 30,529 |
public _NamingContextExtStub(Delegate delegate) { super(delegate); } | public _NamingContextExtStub() { super(delegate); } | 30,530 |
public _NamingContextExtStub(Delegate delegate) { super(delegate); } | public _NamingContextExtStub(Delegate delegate) { super(); } | 30,531 |
public static long currentTimeMillis() { if (rtcIncrement == 0) { final long rtcTime = RTCUtils.getTime(); if (rtcTime == 0L) { // We don't have an RTC service yet, return an invalid, // but for now good enough value return currentTimeMillis; } else { rtcIncrement = rtcTime - currentTimeMillis; } ... | public static long currentTimeMillis() { if (rtcIncrement == 0) { final long rtcTime = RTCUtils.getTime(); if (rtcTime == 0L) { // We don't have an RTC service yet, return an invalid, // but for now good enough value return currentTimeMillis; } else { rtcIncrement = rtcTime - currentTimeMillis; } ... | 30,532 |
public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null"); return null; } final VmProcessor proc = Unsafe.getCurrentProcessor(); fi... | public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null"); return null; } final VmProcessor proc = Unsafe.getCurrentProcessor(); fi... | 30,533 |
public static Class forName(String className) throws ClassNotFoundException { return getContextClassLoader().loadClass(className, true).asClass(); } | public static Class forName(String className) throws ClassNotFoundException { return getContextClassLoader().loadClass(className, true).asClass(); } | 30,534 |
protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | 30,535 |
protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | 30,536 |
protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | 30,537 |
public static VmClassLoader getSystemClassLoader() { return systemLoader; } | public static VmClassLoader getSystemClassLoader() { return systemLoader; } | 30,538 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 30,539 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 30,540 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 30,541 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 30,542 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 30,543 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 30,544 |
public int getNativeFD() { return ((ServerSocketChannelImpl) ch).getNativeFD(); } | public int getNativeFD() { NIOServerSocket socket = (NIOServerSocket) ((ServerSocketChannelImpl) ch).socket(); return socket.getPlainSocketImpl().getNativeFD(); } | 30,545 |
public AccessibleAWTMenuItem() { super(); } | protected AccessibleAWTMenuItem() { super(); } | 30,548 |
public AccessibleJTextComponent(JTextComponent component) { super(component); // TODO } // AccessibleJTextComponent() | public AccessibleJTextComponent(JTextComponent component) { super(component); // TODO } // AccessibleJTextComponent() | 30,549 |
public void caretUpdate(CaretEvent value0) { // TODO } // caretUpdate() | public void caretUpdate(CaretEvent value0) { // TODO } // caretUpdate() | 30,550 |
public void caretUpdate(CaretEvent value0) { // TODO } // caretUpdate() | public void caretUpdate(CaretEvent value0) { // TODO } // caretUpdate() | 30,551 |
public void changedUpdate(DocumentEvent value0) { // TODO } // changedUpdate() | public void changedUpdate(DocumentEvent value0) { // TODO } // changedUpdate() | 30,552 |
public void changedUpdate(DocumentEvent value0) { // TODO } // changedUpdate() | public void changedUpdate(DocumentEvent value0) { // TODO } // changedUpdate() | 30,553 |
public AccessibleRole getAccessibleRole() { return null; // TODO } // getAccessibleRole() | public AccessibleRole getAccessibleRole() { return null; // TODO } // getAccessibleRole() | 30,554 |
public AccessibleRole getAccessibleRole() { return null; // TODO } // getAccessibleRole() | public AccessibleRole getAccessibleRole() { return null; // TODO } // getAccessibleRole() | 30,555 |
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet() | public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet() | 30,556 |
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet() | public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet() | 30,557 |
public AccessibleText getAccessibleText() { return null; // TODO } // getAccessibleText() | public AccessibleText getAccessibleText() { return null; // TODO } // getAccessibleText() | 30,558 |
public AccessibleText getAccessibleText() { return null; // TODO } // getAccessibleText() | public AccessibleText getAccessibleText() { return null; // TODO } // getAccessibleText() | 30,559 |
public String getAfterIndex(int value0, int value1) { return null; // TODO } // getAfterIndex() | public String getAfterIndex(int value0, int value1) { return null; // TODO } // getAfterIndex() | 30,560 |
public String getAfterIndex(int value0, int value1) { return null; // TODO } // getAfterIndex() | public String getAfterIndex(int value0, int value1) { return null; // TODO } // getAfterIndex() | 30,561 |
public String getAtIndex(int value0, int value1) { return null; // TODO } // getAtIndex() | public String getAtIndex(int value0, int value1) { return null; // TODO } // getAtIndex() | 30,562 |
public String getAtIndex(int value0, int value1) { return null; // TODO } // getAtIndex() | public String getAtIndex(int value0, int value1) { return null; // TODO } // getAtIndex() | 30,563 |
public String getBeforeIndex(int value0, int value1) { return null; // TODO } // getBeforeIndex() | public String getBeforeIndex(int value0, int value1) { return null; // TODO } // getBeforeIndex() | 30,564 |
public String getBeforeIndex(int value0, int value1) { return null; // TODO } // getBeforeIndex() | public String getBeforeIndex(int value0, int value1) { return null; // TODO } // getBeforeIndex() | 30,565 |
public int getCaretPosition() { return 0; // TODO } // getCaretPosition() | public int getCaretPosition() { return 0; // TODO } // getCaretPosition() | 30,566 |
public int getCaretPosition() { return 0; // TODO } // getCaretPosition() | public int getCaretPosition() { return 0; // TODO } // getCaretPosition() | 30,567 |
public int getCharCount() { return 0; // TODO } // getCharCount() | public int getCharCount() { return 0; // TODO } // getCharCount() | 30,568 |
public int getCharCount() { return 0; // TODO } // getCharCount() | public int getCharCount() { return 0; // TODO } // getCharCount() | 30,569 |
public AttributeSet getCharacterAttribute(int value0) { return null; // TODO } // getCharacterAttribute() | public AttributeSet getCharacterAttribute(int value0) { return null; // TODO } // getCharacterAttribute() | 30,570 |
public AttributeSet getCharacterAttribute(int value0) { return null; // TODO } // getCharacterAttribute() | public AttributeSet getCharacterAttribute(int value0) { return null; // TODO } // getCharacterAttribute() | 30,571 |
public Rectangle getCharacterBounds(int value0) { return null; // TODO } // getCharacterBounds() | public Rectangle getCharacterBounds(int value0) { return null; // TODO } // getCharacterBounds() | 30,572 |
public Rectangle getCharacterBounds(int value0) { return null; // TODO } // getCharacterBounds() | public Rectangle getCharacterBounds(int value0) { return null; // TODO } // getCharacterBounds() | 30,573 |
public int getIndexAtPoint(Point value0) { return 0; // TODO } // getIndexAtPoint() | public int getIndexAtPoint(Point value0) { return 0; // TODO } // getIndexAtPoint() | 30,574 |
public int getIndexAtPoint(Point value0) { return 0; // TODO } // getIndexAtPoint() | public int getIndexAtPoint(Point value0) { return 0; // TODO } // getIndexAtPoint() | 30,575 |
Rectangle getRootEditorRect() { return null; // TODO } // getRootEditorRect() | Rectangle getRootEditorRect() { return null; // TODO } // getRootEditorRect() | 30,576 |
public String getSelectedText() { return null; // TODO } // getSelectedText() | public String getSelectedText() { return null; // TODO } // getSelectedText() | 30,577 |
public String getSelectedText() { return null; // TODO } // getSelectedText() | public String getSelectedText() { return null; // TODO } // getSelectedText() | 30,578 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.