bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public abstract void setPrintable(Printable printable); | public abstract void setPrintable(Printable printable); | 35,103 |
public abstract PageFormat validatePage(PageFormat page); | public abstract PageFormat validatePage(PageFormat page); | 35,104 |
public Object getNextValue() { Number num; if (value instanceof Double) num = new Double(value.doubleValue() + stepSize.doubleValue()); else if (value instanceof Float) num = new Double(value.floatValue() + stepSize.floatValue()); else if (value instanceof Long) num = new Long(value.longVa... | public Object getNextValue() { Number num; if (value instanceof Double) num = new Double(value.doubleValue() + stepSize.doubleValue()); else if (value instanceof Float) num = new Double(value.floatValue() + stepSize.floatValue()); else if (value instanceof Long) num = new Long(value.longVa... | 35,105 |
public Object getPreviousValue() { Number num; if (value instanceof Double) num = new Double(value.doubleValue() - stepSize.doubleValue()); else if (value instanceof Float) num = new Double(value.floatValue() - stepSize.floatValue()); else if (value instanceof Long) num = new Long(value.lo... | public Object getPreviousValue() { Number num; if (value instanceof Double) num = new Double(value.doubleValue() - stepSize.doubleValue()); else if (value instanceof Float) num = new Double(value.floatValue() - stepSize.floatValue()); else if (value instanceof Long) num = new Long(value.lo... | 35,106 |
protected Graphics getComponentGraphics(Graphics g) { Graphics g2 = g.create(); g2.setFont(this.getFont()); g2.setColor(this.getForeground()); return g2; } | protected Graphics getComponentGraphics(Graphics g) { Graphics g2 = g.create(); g2.setFont(this.getFont()); g2.setColor(this.getForeground()); return g2; } | 35,107 |
public Dimension getPreferredSize() { Dimension prefSize = null; if (preferredSize != null) prefSize = preferredSize; if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) prefSize = s; } if (prefSize == null) prefSize = super.getPreferredSize(); // make sure ... | public Dimension getPreferredSize() { Dimension prefSize = null; if (preferredSize != null) prefSize = preferredSize; if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) prefSize = s; } if (prefSize == null) prefSize = super.getPreferredSize(); // make sure ... | 35,109 |
public DataBufferByte(int size, int numBanks) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; } | public DataBufferByte(int size) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; } | 35,111 |
public DataBufferByte(int size, int numBanks) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; } | public DataBufferByte(int size, int numBanks) { super(TYPE_BYTE, size, numBanks); bankData = new byte[numBanks][size]; data = bankData[0]; } | 35,112 |
public DataBufferUShort(int size, int numBanks) { super(TYPE_USHORT, size, numBanks); bankData = new short[numBanks][size]; data = bankData[0]; } | public DataBufferUShort(int size) { super(TYPE_USHORT, size, numBanks); bankData = new short[numBanks][size]; data = bankData[0]; } | 35,113 |
public DataBufferUShort(int size, int numBanks) { super(TYPE_USHORT, size, numBanks); bankData = new short[numBanks][size]; data = bankData[0]; } | public DataBufferUShort(int size, int numBanks) { super(TYPE_USHORT, size, numBanks); bankData = new short[numBanks][size]; data = bankData[0]; } | 35,114 |
void removePropertyChangeListener(PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener(listener); } | public void removePropertyChangeListener(PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener(listener); } | 35,115 |
protected void doResolve(AbstractVmClassLoader clc) { if (vmClass == null) { final String name = getClassName(); try { vmClass = clc.loadClass(name, true); } catch (ClassNotFoundException ex) { throw (NoClassDefFoundError)new NoClassDefFoundError(name).initCause(ex); } } } | protected void doResolve(AbstractVmClassLoader clc) { if (vmClass == null) { final String name = getClassName(); try { vmClass = clc.loadClass(name, true); } catch (ClassNotFoundException ex) { throw (NoClassDefFoundError)new NoClassDefFoundError(name).initCause(ex); } } } | 35,118 |
public void updateUI() { setUI((MenuBarUI) UIManager.getUI(this)); invalidate(); } | public void updateUI() { setUI((MenuBarUI) UIManager.getUI(this)); } | 35,120 |
public abstract void addPropertyChangeListener(PropertyChangeListener l); | public abstract void addPropertyChangeListener(PropertyChangeListener l); | 35,121 |
public abstract void removePropertyChangeListener(PropertyChangeListener l); | public abstract void removePropertyChangeListener(PropertyChangeListener l); | 35,122 |
public abstract void setObject(Object bean); | public abstract void setObject(Object bean); | 35,123 |
public RadeonVgaState(boolean hasCRTC2, RadeonVgaIO io) { this.common = new RadeonCommonRegs(); this.crtc = new RadeonCrtcRegs(); this.fp = new RadeonFpRegs(); this.pll = new RadeonPllRegs(false); this.pll2 = hasCRTC2 ? new RadeonPllRegs(true) : null; saveFromVGA(io); } | public RadeonVgaState(boolean hasCRTC2, RadeonVgaIO io) { this.common = new RadeonCommonRegs(); this.crtc = new RadeonCrtcRegs(); this.fp = new RadeonFpRegs(); this.pll = new RadeonPllRegs(false); saveFromVGA(io); } | 35,124 |
public Object clone() { OID oid = new OID(); oid.components = this.components; oid.strRep = this.strRep; return oid; } | public Object clone() { OID oid = new OID(); oid.components = this.components; oid.strRep = this.strRep; return oid; } | 35,126 |
public static TypeCode type() { ORB orb = Restricted_ORB.Singleton; return orb.create_alias_tc(id(), "Istring", orb.create_string_tc(0)); } | public static TypeCode type() { ORB orb = OrbRestricted.Singleton; return orb.create_alias_tc(id(), "Istring", orb.create_string_tc(0)); } | 35,127 |
private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | private static int writeString(OutputStream out, int tag, String str) throws IOException { byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: ... | 35,128 |
private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | 35,129 |
private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | 35,130 |
private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | 35,131 |
private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | private static int writeString(OutputStream out, int tag, String str) throws IOException { Charset charset = null; byte[] b = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case... | 35,132 |
void endDragging(MouseEvent e) { header.setDraggedColumn(null); // Return if the mouse have left the header area while pressed. if (e == null) { header.repaint(draggingHeaderRect); draggingHeaderRect = null; return; } else draggingHeaderRect = null; ... | void endDragging(MouseEvent e) { header.setDraggedColumn(null); // Return if the mouse have left the header area while pressed. if (e == null) { header.repaint(draggingHeaderRect); draggingHeaderRect = null; return; } else draggingHeaderRect = null; ... | 35,133 |
void endDragging(MouseEvent e) { header.setDraggedColumn(null); // Return if the mouse have left the header area while pressed. if (e == null) { header.repaint(draggingHeaderRect); draggingHeaderRect = null; return; } else draggingHeaderRect = null; ... | void endDragging(MouseEvent e) { header.setDraggedColumn(null); // Return if the mouse have left the header area while pressed. if (e == null) { header.repaint(draggingHeaderRect); draggingHeaderRect = null; return; } else draggingHeaderRect = null; ... | 35,134 |
void endDragging(MouseEvent e) { header.setDraggedColumn(null); // Return if the mouse have left the header area while pressed. if (e == null) { header.repaint(draggingHeaderRect); draggingHeaderRect = null; return; } else draggingHeaderRect = null; ... | void endDragging(MouseEvent e) { header.setDraggedColumn(null); // Return if the mouse have left the header area while pressed. if (e == null) { header.repaint(draggingHeaderRect); draggingHeaderRect = null; return; } else draggingHeaderRect = null; ... | 35,135 |
public void mouseExited(MouseEvent e) { if (header.getResizingColumn() != null && header.getResizingAllowed()) endResizing(); if (header.getDraggedColumn() != null && header.getReorderingAllowed()) endDragging(null); } | public void mouseExited(MouseEvent e) { if (header.getResizingColumn() != null && header.getResizingAllowed()) endResizing(); if (header.getDraggedColumn() != null && header.getReorderingAllowed()) endDragging(null); } | 35,136 |
public WritableRaster createWritableTranslatedChild(int childMinX, int childMinY) { // This mirrors the code from the super class int tcx = sampleModelTranslateX - minX + childMinX; int tcy = sampleModelTranslateY - minY + childMinY; return new WritableRaster(sampleModel, dataBuffer, new Rectangle(childMinX, child... | public WritableRaster createWritableTranslatedChild(int childMinX, int childMinY) { // This mirrors the code from the super class int tcx = sampleModelTranslateX - minX + childMinX; int tcy = sampleModelTranslateY - minY + childMinY; return new WritableRaster(sampleModel, dataBuffer, new Rectangle(childMinX, child... | 35,137 |
public WritableRaster createWritableTranslatedChild(int childMinX, int childMinY) { // This mirrors the code from the super class int tcx = sampleModelTranslateX - minX + childMinX; int tcy = sampleModelTranslateY - minY + childMinY; return new WritableRaster(sampleModel, dataBuffer, new Rectangle(childMinX, child... | public WritableRaster createWritableTranslatedChild(int childMinX, int childMinY) { // This mirrors the code from the super class int tcx = sampleModelTranslateX - minX + childMinX; int tcy = sampleModelTranslateY - minY + childMinY; return new WritableRaster(sampleModel, dataBuffer, new Rectangle(childMinX, child... | 35,138 |
public WritableRaster getWritableParent() { return (WritableRaster) getParent(); } | public WritableRaster getWritableParent() { return (WritableRaster) getParent(); } | 35,139 |
public void setRect(Raster srcRaster) { setRect(srcRaster, 0, 0); } | public void setRect(Raster srcRaster) { setRect(srcRaster, 0, 0); } | 35,140 |
public void setSamples(int x, int y, int w, int h, int b, int[] iArray) { sampleModel.setSamples(x - sampleModelTranslateX, y - sampleModelTranslateY, w, h, b, iArray, dataBuffer); } | public void setSamples(int x, int y, int w, int h, int b, int[] iArray) { sampleModel.setSamples(x - sampleModelTranslateX, y - sampleModelTranslateY, w, h, b, iArray, dataBuffer); } | 35,141 |
private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | private static String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO64... | 35,142 |
private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | private String makeString(int tag, byte[] value) throws IOException { switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRING: case GENERAL_S... | 35,143 |
private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | 35,144 |
private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | 35,145 |
private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | 35,146 |
private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | private String makeString(int tag, byte[] value) throws IOException { Charset charset = null; switch (tag & 0x1F) { case NUMERIC_STRING: case PRINTABLE_STRING: case T61_STRING: case VIDEOTEX_STRING: case IA5_STRING: case GRAPHIC_STRING: case ISO646_STRIN... | 35,147 |
protected String paramString() { return "JToolBar"; } // paramString() | protected String paramString() { return "JToolBar"; } // paramString() | 35,148 |
public Edit(Element e, int i, Element[] removed, Element[] added) { this.e = e; this.index = i; this.removed = removed; this.added = added; } | public Edit(Element e, int i, Element[] removed, Element[] added) { this.e = e; this.index = i; this.removed = removed; this.added = added; } | 35,149 |
protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl... | protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl... | 35,150 |
protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl... | protected void changeUpdate() { // Split up the element at the start offset if necessary. Element el = getCharacterElement(offset); Element[] res = split(el, offset, 0); BranchElement par = (BranchElement) el.getParentElement(); if (res[1] != null) { int index = par.getEl... | 35,151 |
public void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent ev) { if (length == 0) return; this.offset = offset; this.length = length; this.endOffset = offset + length; documentEvent = ev; // Push the root and the paragraph at off... | public void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent ev) { if (length == 0) return; this.offset = offset; this.length = length; this.endOffset = offset + length; documentEvent = ev; // Push the root and the paragraph at off... | 35,152 |
public void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent ev) { if (length == 0) return; this.offset = offset; this.length = length; this.endOffset = offset + length; documentEvent = ev; // Push the root and the paragraph at off... | public void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent ev) { if (length == 0) return; this.offset = offset; this.length = length; this.endOffset = offset + length; documentEvent = ev; // Push the root and the paragraph at off... | 35,153 |
private void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a JoinPrevious insertion //... | private void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a JoinPrevious insertion //... | 35,154 |
private void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a JoinPrevious insertion //... | private void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinPreviousDirection) { // The mauve tests to this class show that a JoinPrevious insertion //... | 35,155 |
private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | 35,156 |
private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | 35,157 |
private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | 35,158 |
private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | 35,159 |
private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | private void insertFracture(ElementSpec tag) { // This is the parent of the paragraph about to be fractured. We will // create a new child of this parent. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); // This is the o... | 35,160 |
private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ... | private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ... | 35,161 |
private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ... | private Element insertParagraph(BranchElement par, int offset) { Element current = par.getElement(par.getElementIndex(offset)); Element[] res = split(current, offset, 0); int index = par.getElementIndex(offset); Element ret; if (res[1] != null) { Element[] removed; ... | 35,162 |
protected void insertUpdate(ElementSpec[] data) { if (data[0].getType() == ElementSpec.EndTagType) { // fracture deepest child here BranchElement paragraph = (BranchElement) elementStack.peek(); Element curr = paragraph.getParentElement(); int index = curr.getEleme... | protected void insertUpdate(ElementSpec[] data) { int i = 0; if (data[0].getType() == ElementSpec.ContentType) { // fracture deepest child here BranchElement paragraph = (BranchElement) elementStack.peek(); Element curr = paragraph.getParentElement(); int index = c... | 35,163 |
protected void insertUpdate(ElementSpec[] data) { if (data[0].getType() == ElementSpec.EndTagType) { // fracture deepest child here BranchElement paragraph = (BranchElement) elementStack.peek(); Element curr = paragraph.getParentElement(); int index = curr.getEleme... | protected void insertUpdate(ElementSpec[] data) { if (data[0].getType() == ElementSpec.EndTagType) { // fracture deepest child here BranchElement paragraph = (BranchElement) elementStack.peek(); Element curr = paragraph.getParentElement(); int index = curr.getEleme... | 35,164 |
protected void insertUpdate(ElementSpec[] data) { if (data[0].getType() == ElementSpec.EndTagType) { // fracture deepest child here BranchElement paragraph = (BranchElement) elementStack.peek(); Element curr = paragraph.getParentElement(); int index = curr.getEleme... | protected void insertUpdate(ElementSpec[] data) { if (data[0].getType() == ElementSpec.EndTagType) { // fracture deepest child here BranchElement paragraph = (BranchElement) elementStack.peek(); Element curr = paragraph.getParentElement(); int index = curr.getEleme... | 35,165 |
protected void removeUpdate() { int startParagraph = root.getElementIndex(offset); int endParagraph = root.getElementIndex(offset + length); Element[] empty = new Element[0]; int removeStart = -1; int removeEnd = -1; for (int i = startParagraph; i < endParagraph; i++) { ... | protected void removeUpdate() { int startParagraph = root.getElementIndex(offset); int endParagraph = root.getElementIndex(offset + length); Element[] empty = new Element[0]; int removeStart = -1; int removeEnd = -1; for (int i = startParagraph; i < endParagraph; i++) { ... | 35,167 |
protected void removeUpdate() { int startParagraph = root.getElementIndex(offset); int endParagraph = root.getElementIndex(offset + length); Element[] empty = new Element[0]; int removeStart = -1; int removeEnd = -1; for (int i = startParagraph; i < endParagraph; i++) { ... | protected void removeUpdate() { int startParagraph = root.getElementIndex(offset); int endParagraph = root.getElementIndex(offset + length); Element[] empty = new Element[0]; int removeStart = -1; int removeEnd = -1; for (int i = startParagraph; i < endParagraph; i++) { ... | 35,168 |
protected void removeUpdate() { int startParagraph = root.getElementIndex(offset); int endParagraph = root.getElementIndex(offset + length); Element[] empty = new Element[0]; int removeStart = -1; int removeEnd = -1; for (int i = startParagraph; i < endParagraph; i++) { ... | protected void removeUpdate() { int startParagraph = root.getElementIndex(offset); int endParagraph = root.getElementIndex(offset + length); Element[] empty = new Element[0]; int removeStart = -1; int removeEnd = -1; for (int i = startParagraph; i < endParagraph; i++) { ... | 35,169 |
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | 35,170 |
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | 35,171 |
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | 35,172 |
private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | 35,173 |
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 35,174 |
protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 35,175 |
public ElementChange getChange(Element elem) { return (ElementChange) changes.get(elem); } | public DocumentEvent.ElementChange getChange(Element elem) { return (ElementChange) changes.get(elem); } | 35,176 |
public ElementChange getChange(Element elem) { return (ElementChange) changes.get(elem); } | public ElementChange getChange(Element elem) { return (DocumentEvent.ElementChange) changes.get(elem); } | 35,177 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | 35,178 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | 35,179 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | 35,180 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now ... | 35,181 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | 35,182 |
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool[... | 35,183 |
private char classInfo(String name) { char index = utf8Info(name); char[] c = {7, (char) (index >> 8), (char) (index & 0xff)}; return poolIndex(new String(c)); } | private char classInfo(String name) { char index = utf8Info(name); char[] c = {7, (char) (index >> 8), (char) (index & 0xff)}; return poolIndex(new String(c)); } | 35,184 |
private char classInfo(String name) { char index = utf8Info(name); char[] c = {7, (char) (index >> 8), (char) (index & 0xff)}; return poolIndex(new String(c)); } | private char classInfo(String name) { char index = utf8Info(name); char[] c = { 7, (char) (index >> 8), (char) (index & 0xff) }; return poolIndex(new String(c)); } | 35,185 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,186 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,187 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,188 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,189 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,190 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,191 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,192 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,193 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,194 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,195 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,196 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,197 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,198 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,199 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,200 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,201 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,202 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,203 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,204 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,205 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,206 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,207 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,208 |
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; //... | 35,209 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.