bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public synchronized String getRedoPresentationName() { return null; // TODO } // getRedoPresentationName() | public synchronized String getRedoPresentationName() { return null; // TODO } // getRedoPresentationName() | 26,714 |
public synchronized String getUndoOrRedoPresentationName() { return null; // TODO } // getUndoOrRedoPresentationName() | public synchronized String getUndoOrRedoPresentationName() { return null; // TODO } // getUndoOrRedoPresentationName() | 26,715 |
public synchronized String getUndoPresentationName() { return null; // TODO } // getUndoPresentationName() | public synchronized String getUndoPresentationName() { return null; // TODO } // getUndoPresentationName() | 26,716 |
public synchronized void redo() throws CannotRedoException { // TODO } // redo() | public synchronized void redo() throws CannotRedoException { // TODO } // redo() | 26,717 |
protected void redoTo(UndoableEdit value0) throws CannotRedoException { // TODO } // redoTo() | protected void redoTo(UndoableEdit value0) throws CannotRedoException { // TODO } // redoTo() | 26,718 |
public synchronized void setLimit(int value0) { // TODO } // setLimit() | public synchronized void setLimit(int value0) { // TODO } // setLimit() | 26,719 |
public String toString() { return null; // TODO } // toString() | public String toString() { return null; // TODO } // toString() | 26,720 |
protected void trimEdits(int value0, int value1) { // TODO } // trimEdits() | protected void trimEdits(int value0, int value1) { // TODO } // trimEdits() | 26,721 |
protected void trimForLimit() { // TODO } // trimForLimit() | protected void trimForLimit() { // TODO } // trimForLimit() | 26,722 |
public synchronized void undo() throws CannotUndoException { // TODO } // undo() | public synchronized void undo() throws CannotUndoException { // TODO } // undo() | 26,723 |
public synchronized void undoOrRedo() throws CannotRedoException, CannotUndoException { // TODO } // undoOrRedo() | public synchronized void undoOrRedo() throws CannotRedoException, CannotUndoException { // TODO } // undoOrRedo() | 26,724 |
protected void undoTo(UndoableEdit value0) throws CannotUndoException { // TODO } // undoTo() | protected void undoTo(UndoableEdit value0) throws CannotUndoException { // TODO } // undoTo() | 26,725 |
public void undoableEditHappened(UndoableEditEvent value0) { // TODO } // undoableEditHappened() | public void undoableEditHappened(UndoableEditEvent value0) { // TODO } // undoableEditHappened() | 26,726 |
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 26,727 |
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 26,728 |
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 26,729 |
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 26,730 |
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 26,731 |
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 26,732 |
public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | public boolean addEdit(UndoableEdit anEdit) { // Variables UndoableEdit lastEdit; if (inProgress == true) { // Get Last Edit lastEdit = lastEdit(); // Check for null if (lastEdit != null) { if (lastEdit.addEdit(anEdit) == false) { if (lastEdit.replaceEdit(anEdit) == false) { edits.add(anEdit); ... | 26,733 |
public boolean canRedo() { if (isInProgress() == true || super.canRedo() == false) { return false; } return true; } // canRedo() | public boolean canRedo() { if (isInProgress() == true || super.canRedo() == false) { return false; } return true; } // canRedo() | 26,734 |
public boolean canUndo() { if (isInProgress() == true || super.canUndo() == false) { return false; } return true; } // canUndo() | public boolean canUndo() { if (isInProgress() == true || super.canUndo() == false) { return false; } return true; } // canUndo() | 26,735 |
public void end() { inProgress = false; } // end() | public void end() { inProgress = false; } // end() | 26,736 |
public String getRedoPresentationName() { if (edits.size() == 0) { return super.getRedoPresentationName(); } else { return lastEdit().getRedoPresentationName(); } } // getRedoPresentationName() | public String getRedoPresentationName() { if (edits.size() == 0) { return super.getRedoPresentationName(); } else { return lastEdit().getRedoPresentationName(); } } // getRedoPresentationName() | 26,737 |
public String getUndoPresentationName() { if (edits.size() == 0) { return super.getUndoPresentationName(); } else { return lastEdit().getUndoPresentationName(); } } // getUndoPresentationName() | public String getUndoPresentationName() { if (edits.size() == 0) { return super.getUndoPresentationName(); } else { return lastEdit().getUndoPresentationName(); } } // getUndoPresentationName() | 26,738 |
public void redo() throws CannotRedoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); current.redo(); } // for: index } // redo() | public void redo() throws CannotRedoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); current.redo(); } // for: index } // redo() | 26,739 |
public void redo() throws CannotRedoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); current.redo(); } // for: index } // redo() | public void redo() throws CannotRedoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); current.redo(); } // for: index } // redo() | 26,740 |
public String toString() { return null; // TODO } // toString() | public String toString() { return null; // TODO } // toString() | 26,741 |
public void undo() throws CannotUndoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = edits.size() - 1; index >= 0; index--) { current = (UndoableEdit) edits.elementAt(index); current.undo(); } // for: index } // undo() | public void undo() throws CannotUndoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = edits.size() - 1; index >= 0; index--) { current = (UndoableEdit) edits.elementAt(index); current.undo(); } // for: index } // undo() | 26,742 |
public void undo() throws CannotUndoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = edits.size() - 1; index >= 0; index--) { current = (UndoableEdit) edits.elementAt(index); current.undo(); } // for: index } // undo() | public void undo() throws CannotUndoException { // Variables int index; UndoableEdit current; // Loop through all contained UndoableEdits for (index = edits.size() - 1; index >= 0; index--) { current = (UndoableEdit) edits.elementAt(index); current.undo(); } // for: index } // undo() | 26,743 |
public Object getNextValue (); | public Object getNextValue (); | 26,744 |
public Object getPreviousValue (); | public Object getPreviousValue (); | 26,745 |
public Object getValue (); | public Object getValue (); | 26,746 |
void setValue (Object value); | void setValue (Object value); | 26,747 |
public REMatch getMatch(Object input, int index) { return getMatch(input,index,0); } | public REMatch getMatch(Object input, int index) { return getMatch(input,index,0); } | 26,749 |
public String substituteAll(Object input,String replace,int index) { return substituteAll(input,replace,index,0); } | public String substituteAll(Object input,String replace,int index) { return substituteAll(input,replace,index,0); } | 26,750 |
public String substitute(Object input,String replace,int index) { return substitute(input,replace,index,0); } | public String substitute(Object input,String replace,int index) { return substitute(input,replace,index,0); } | 26,751 |
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAKey)) { return false; } DSAKey that = (DSAKey) obj; return p.equals(that.getParams().getP()) && q.equals(that.getParams().getQ()) && g.equals(that.getParams... | public boolean equals(Object obj) if (obj == null) return false; } if (!(obj instanceof DSAKey)) return false; } DSAKey that = (DSAKey) obj; return p.equals(that.getParams().getP()) && q.equals(that.getParams().getQ()) && g.equals(that.getParams().get... | 26,752 |
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAKey)) { return false; } DSAKey that = (DSAKey) obj; return p.equals(that.getParams().getP()) && q.equals(that.getParams().getQ()) && g.equals(that.getParams... | public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAKey)) { return false; } DSAKey that = (DSAKey) obj; return p.equals(that.getParams().getP()) && q.equals(that.getParams().getQ()) && g.equals(that.getParams... | 26,753 |
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAKey)) { return false; } DSAKey that = (DSAKey) obj; return p.equals(that.getParams().getP()) && q.equals(that.getParams().getQ()) && g.equals(that.getParams... | public boolean equals(Object obj) { if (obj == null) { return false; if (!(obj instanceof DSAKey)) { return false; DSAKey that = (DSAKey) obj; return p.equals(that.getParams().getP()) && q.equals(that.getParams().getQ()) && g.equals(that.getParams()... | 26,754 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder().append(ls) .append("defaultFormat=").append(defaultFormat).append(",").append(ls) .append("p=0x").append(p.toString(16)).append(",").append(ls) ... | public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder().append(ls) .append("defaultFormat=").append(defaultFormat).append(",").append(ls) .append("p=0x").append(p.toString(16)).append(",").append(ls) ... | 26,755 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder().append(ls) .append("defaultFormat=").append(defaultFormat).append(",").append(ls) .append("p=0x").append(p.toString(16)).append(",").append(ls) ... | public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder().append(ls) .append("defaultFormat=").append(defaultFormat).append(",").append(ls) .append("p=0x").append(p.toString(16)).append(",").append(ls) ... | 26,756 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder().append(ls) .append("defaultFormat=").append(defaultFormat).append(",").append(ls) .append("p=0x").append(p.toString(16)).append(",").append(ls) ... | publicStringtoString(){if(str==null){Stringls=SystemProperties.getProperty("line.separator");str=newStringBuilder().append(ls).append("defaultFormat=").append(defaultFormat).append(",").append(ls).append("p=0x").append(p.toString(16)).append(",").append(ls).append("q=0x").append(q.toString(16)).append(",").append(ls).a... | 26,757 |
public CharsetEncoder newEncoder () { return new UTF_16Encoder (this, UTF_16Encoder.BIG_ENDIAN, true); } | public CharsetEncoder newEncoder () { return new UTF_16Encoder (this, UTF_16Encoder.BIG_ENDIAN, true); } | 26,758 |
public static final CertificateFactory getInstance(String type) throws CertificateException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, p[i]); } catch (CertificateException ignored) { ... | public static final CertificateFactory getInstance(String type) throws CertificateException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, p[i]); } catch (CertificateException e) { ... | 26,759 |
public AccessibleRelationSet getAccessibleRelationSet() { return null; // TODO } | public AccessibleRelationSet getAccessibleRelationSet() { return super.getAccessibleRelationSet(); // TODO } | 26,761 |
public void setBorderPainted(boolean b) { if (borderPainted == b) return; boolean old = borderPainted; borderPainted = b; firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } | publicvoidsetBorderPainted(booleanb){if(borderPainted==b)return;booleanold=borderPainted;borderPainted=b;firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY,old,b);revalidate();repaint();} | 26,762 |
public static Image createDisabledImage(Image src) { return Toolkit.getDefaultToolkit().createImage( new FilteredImageSource(src.getSource(), new GrayFilter(false, 100))); } | public static Image createDisabledImage(Image src) { return Toolkit.getDefaultToolkit().createImage( new FilteredImageSource(src.getSource(), new GrayFilter(false, 100))); } | 26,763 |
public ImageIcon(Image image) { this(image, null); } | public ImageIcon(Image image) { this(image, null); } | 26,764 |
public static char toUpperCase(char ch) { // Signedness doesn't matter, as result is cast back to char. return (char) (ch + upper[readChar(ch) >> 7]); } | public static char toUpperCase(char ch) { // Signedness doesn't matter, as result is cast back to char. return (char) (upper[0][readCodePoint((int)ch) >>> 7] + ch); } | 26,765 |
public static ServiceContext read(cdrInput istream) { int id = istream.read_ulong(); switch (id) { case cxCodeSet.ID : cxCodeSet codeset = new cxCodeSet(); codeset.readContext(istream); return codeset; default : ServiceContext ctx = new ServiceContext(); ... | public static ServiceContext read(cdrInput istream) { int id = istream.read_ulong(); switch (id) { case cxCodeSet.ID: cxCodeSet codeset = new cxCodeSet(); codeset.readContext(istream); return codeset; default : ServiceContext ctx = new ServiceContext(); ... | 26,766 |
public static ServiceContext read(cdrInput istream) { int id = istream.read_ulong(); switch (id) { case cxCodeSet.ID : cxCodeSet codeset = new cxCodeSet(); codeset.readContext(istream); return codeset; default : ServiceContext ctx = new ServiceContext(); ... | public static ServiceContext read(cdrInput istream) { int id = istream.read_ulong(); switch (id) { case cxCodeSet.ID : cxCodeSet codeset = new cxCodeSet(); codeset.readContext(istream); return codeset; default: ServiceContext ctx = new ServiceContext(); ... | 26,767 |
public static ServiceContext[] readSequence(cdrInput istream) { int size = istream.read_long(); ServiceContext[] value = new gnu.CORBA.GIOP.ServiceContext[ size ]; for (int i = 0; i < value.length; i++) value [ i ] = read(istream); return value; } | public static ServiceContext[] readSequence(cdrInput istream) { int size = istream.read_long(); ServiceContext[] value = new gnu.CORBA.GIOP.ServiceContext[size]; for (int i = 0; i < value.length; i++) value [ i ] = read(istream); return value; } | 26,768 |
public static ServiceContext[] readSequence(cdrInput istream) { int size = istream.read_long(); ServiceContext[] value = new gnu.CORBA.GIOP.ServiceContext[ size ]; for (int i = 0; i < value.length; i++) value [ i ] = read(istream); return value; } | public static ServiceContext[] readSequence(cdrInput istream) { int size = istream.read_long(); ServiceContext[] value = new gnu.CORBA.GIOP.ServiceContext[ size ]; for (int i = 0; i < value.length; i++) value[i] = read(istream); return value; } | 26,769 |
public String toString() { return "ctx "+context_id+", size "+context_data.length; } | public String toString() { return "ctx " + context_id + ", size " + context_data.length; } | 26,770 |
public static void writeSequence(cdrOutput ostream, ServiceContext[] value) { ostream.write_long(value.length); for (int i = 0; i < value.length; i++) value [ i ].write(ostream); } | public static void writeSequence(cdrOutput ostream, ServiceContext[] value) { ostream.write_long(value.length); for (int i = 0; i < value.length; i++) value[i].write(ostream); } | 26,771 |
public BAD_INV_ORDER(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | public BAD_INV_ORDER(String message) { super(reason, minor, completed); } | 26,772 |
public BAD_INV_ORDER(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | public BAD_INV_ORDER(String reason, int minor, CompletionStatus completed) { super(message, 0, CompletionStatus.COMPLETED_NO); } | 26,773 |
public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException(); // FIXME: How can an int be greater than Integer.MAX_VALUE? // FIXME: How do we identify an unsupported data type? this.dataType = dataType; this.width = w; this.height = h; this.numB... | public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException(); // FIXME: How can an int be greater than Integer.MAX_VALUE? // FIXME: How do we identify an unsupported data type? this.dataType = dataType; this.width = w; this.height = h; this.numB... | 26,774 |
public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException(); // FIXME: How can an int be greater than Integer.MAX_VALUE? // FIXME: How do we identify an unsupported data type? this.dataType = dataType; this.width = w; this.height = h; this.numB... | public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException(); // FIXME: How can an int be greater than Integer.MAX_VALUE? // FIXME: How do we identify an unsupported data type? this.dataType = dataType; this.width = w; this.height = h; this.numB... | 26,775 |
public final int getDataType() { return dataType; } | public final int getDataType() { return dataType; } | 26,776 |
public abstract void setDataElements(int x, int y, Object obj, DataBuffer data); | public abstract void setDataElements(int x, int y, Object obj, DataBuffer data); | 26,777 |
public void setPixel(int x, int y, int[] iArray, DataBuffer data) { for (int b = 0; b < numBands; b++) { setSample(x, y, b, iArray[b], data); } } | public void setPixel(int x, int y, int[] iArray, DataBuffer data) { for (int b = 0; b < numBands; b++) { setSample(x, y, b, iArray[b], data); } } | 26,778 |
public void setPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int inOffset = 0; int[] pixel = new int[numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { System.arraycopy(iArray, inOffset, pixel, 0, numBands); setPixel(xx, yy, pixel, data); inOffs... | public void setPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int inOffset = 0; int[] pixel = new int[numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { System.arraycopy(iArray, inOffset, pixel, 0, numBands); setPixel(xx, yy, pixel, data); inOffs... | 26,779 |
public void setPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int inOffset = 0; int[] pixel = new int[numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { System.arraycopy(iArray, inOffset, pixel, 0, numBands); setPixel(xx, yy, pixel, data); inOffs... | public void setPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) { int inOffset = 0; int[] pixel = new int[numBands]; for (int yy = y; yy < (y + h); yy++) { for (int xx = x; xx < (x + w); xx++) { System.arraycopy(iArray, inOffset, pixel, 0, numBands); setPixel(xx, yy, pixel, data); inOffs... | 26,780 |
public abstract void setSample(int x, int y, int b, int s, DataBuffer data); | public abstract void setSample(int x, int y, int b, int s, DataBuffer data); | 26,781 |
public void setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { //int size = w * h; int inOffset = 0; for (int yy = y; yy < (y + h); yy++) for (int xx = x; xx < (x + w); xx++) setSample(xx, yy, b, iArray[inOffset++], data); } | public void setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { //int size = w * h; int inOffset = 0; for (int yy = y; yy < (y + h); yy++) for (int xx = x; xx < (x + w); xx++) setSample(xx, yy, b, iArray[inOffset++], data); } | 26,782 |
public void setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { //int size = w * h; int inOffset = 0; for (int yy = y; yy < (y + h); yy++) for (int xx = x; xx < (x + w); xx++) setSample(xx, yy, b, iArray[inOffset++], data); } | public void setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { //int size = w * h; int inOffset = 0; for (int yy = y; yy < (y + h); yy++) for (int xx = x; xx < (x + w); xx++) setSample(xx, yy, b, iArray[inOffset++], data); } | 26,783 |
private static Monitor installInflatedLock(Object k) { Monitor m = null; Word monAddr = null; final Address kPtr = ObjectReference.fromObject(k).toAddress(); final Address statusPtr = kPtr.add(ObjectLayout.FLAGS_SLOT * Address.size()); for (;;) { final Wo... | private static Monitor installInflatedLock(Object k) { Monitor m = null; Word monAddr = null; final Address kPtr = ObjectReference.fromObject(k).toAddress(); final Address statusPtr = kPtr.add(ObjectLayout.FLAGS_SLOT * Address.size()); for (;;) { final Wo... | 26,784 |
public IllegalMonitorStateException(String s) { super(s); } | public IllegalMonitorStateException() { super(s); } | 26,785 |
public IllegalMonitorStateException(String s) { super(s); } | public IllegalMonitorStateException(String s) { } | 26,786 |
public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; mutex.unlock(); } else if (lockCount <= 0) { lockCount = 0; ... | public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; mutex.unlock(); } else if (lockCount <= 0) { lockCount = 0; ... | 26,787 |
public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; mutex.unlock(); } else if (lockCount <= 0) { lockCount = 0; ... | public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount <= 0) { lockCount = 0; exMsg = "Monit... | 26,788 |
public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; mutex.unlock(); } else if (lockCount <= 0) { lockCount = 0; ... | public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount <= 0) { lockCount = 0; exMsg = "Monit... | 26,789 |
public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; mutex.unlock(); } else if (lockCount <= 0) { lockCount = 0; ... | public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount <= 0) { lockCount = 0; exMsg = "Monit... | 26,790 |
public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; mutex.unlock(); } else if (lockCount <= 0) { lockCount = 0; ... | public final void exit() { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; mutex.unlock(); } else if (lockCount <= 0) { lockCount = 0; ... | 26,791 |
final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | 26,792 |
final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | 26,793 |
final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | 26,794 |
final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | final void Notify(boolean all) { String exMsg = null; mutex.lock(); if (owner != VmMagic.currentProcessor().currentThread) { exMsg = "Current thread is not the owner of this monitor"; } else if (lockCount == 0) { exMsg = "Monitor is not locked"; } els... | 26,795 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,796 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,797 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,798 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,799 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,800 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,801 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | if (timeout > 0) { lock(); try { notifyQueue.remove(current); } finally { unlock(); } } if (timeout > 0) { lock(); try { notifyQueue.remove(current); } finally { unlock(); } } public final void Wait(long timeout) throws InterruptedException {if (timeout > 0) { lock(); try { notifyQueue.remove(current)... | 26,802 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,803 |
public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 26,804 |
public InvalidName(String why) { super(why); } | public InvalidName() { super(why); } | 26,805 |
public InvalidName(String why) { super(why); } | public InvalidName(String why) { } | 26,806 |
TransformerImpl(TransformerFactoryImpl factory, Stylesheet stylesheet, Properties outputProperties) throws TransformerConfigurationException { this.factory = factory; uriResolver = factory.userResolver; errorListener = factory.userListener; this.stylesheet = styleshee... | TransformerImpl(TransformerFactoryImpl factory, Stylesheet stylesheet, Properties outputProperties) throws TransformerConfigurationException { this.factory = factory; uriResolver = factory.userResolver; errorListener = factory.userListener; this.stylesheet = styleshee... | 26,807 |
public void clearParameters() { if (stylesheet != null) { stylesheet.bindings.pop(false); stylesheet.bindings.push(false); } } | public void clearParameters() { if (stylesheet != null) { stylesheet.bindings.pop(false); stylesheet.bindings.push(false); } } | 26,808 |
public Object getParameter(String name) { if (stylesheet != null) { return stylesheet.bindings.get(name, null, 1, 1); } return null; } | public Object getParameter(String name) { if (stylesheet != null) { return stylesheet.bindings.get(new QName(null, name), null, 1, 1); } return null; } | 26,809 |
public void setParameter(String name, Object value) { if (stylesheet != null) { stylesheet.bindings.set(name, value, false); } } | public void setParameter(String name, Object value) { if (stylesheet != null) { stylesheet.bindings.set(new QName(null, name), value, Bindings.PARAM); } } | 26,810 |
void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | void push(int type) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | 26,811 |
void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | void push(boolean global) { switch (type) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | 26,812 |
void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | 26,813 |
void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | void pop(int type) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | 26,815 |
void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | void pop(boolean global) { switch (type) { variables.removeFirst(); } else { parameters.removeFirst(); } } | 26,816 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.