bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static final int getPositionAbove(JTextComponent c, int offset, int x) throws BadLocationException { View rootView = c.getUI().getRootView(c); Rectangle r = c.modelToView(offset); int offs = c.viewToModel(new Point(x, r.y)); int pos = rootView.getNextVisualPositionFrom(offs, ... | public static final int getPositionAbove(JTextComponent c, int offset, int x) throws BadLocationException { View rootView = c.getUI().getRootView(c); Rectangle r = c.modelToView(offset); int offs = c.viewToModel(new Point(x, r.y)); int pos = rootView.getNextVisualPositionFrom(offs, ... | 33,627 |
public static final int getPositionBelow(JTextComponent c, int offset, int x) throws BadLocationException { View rootView = c.getUI().getRootView(c); Rectangle r = c.modelToView(offset); int offs = c.viewToModel(new Point(x, r.y)); int pos = rootView.getNextVisualPositionFrom(offs, ... | public static final int getPositionBelow(JTextComponent c, int offset, int x) throws BadLocationException { View rootView = c.getUI().getRootView(c); Rectangle r = c.modelToView(offset); int offs = c.viewToModel(new Point(x, r.y)); int pos = rootView.getNextVisualPositionFrom(offs, ... | 33,628 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 33,629 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current... | 33,630 |
public void nodeChanged(TreeNode node) { TreeNode parent = node.getParent(); int[] childIndices = new int[1]; childIndices[0] = getIndexOfChild(parent, node); Object[] children = new Object[1]; children[0] = node; fireTreeNodesChanged(this, getPathToRoot(parent), childIndices, children); } | public void nodeChanged(TreeNode node) { TreeNode parent = node.getParent(); int[] childIndices = new int[1]; childIndices[0] = getIndexOfChild(parent, node); Object[] children = new Object[1]; children[0] = node; fireTreeNodesChanged(this, getPathToRoot(node), childIndices, children); } | 33,632 |
public void valueForPathChanged(TreePath path, Object newValue) { if (!path.equals(newValue)) { TreeModelEvent event = new TreeModelEvent(this, path); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].tr... | public void valueForPathChanged(TreePath path, Object newValue) { Object node = path.getLastPathComponent(); if (node instanceof MutableTreeNode) { TreeModelEvent event = new TreeModelEvent(this, path); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listene... | 33,633 |
public void valueForPathChanged(TreePath path, Object newValue) { if (!path.equals(newValue)) { TreeModelEvent event = new TreeModelEvent(this, path); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].tr... | public void valueForPathChanged(TreePath path, Object newValue) { if (!path.equals(newValue)) { TreeModelEvent event = new TreeModelEvent(this, path); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].tr... | 33,634 |
public void valueForPathChanged(TreePath path, Object newValue) { if (!path.equals(newValue)) { TreeModelEvent event = new TreeModelEvent(this, path); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].tr... | public void valueForPathChanged(TreePath path, Object newValue) { if (!path.equals(newValue)) { TreeModelEvent event = new TreeModelEvent(this, path); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].tr... | 33,635 |
public TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children) { super(source); this.path = new TreePath(path); this.childIndices = childIndices; this.children = children; } // TreeModelEvent() | public TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children) { super(source); this.path = new TreePath(path); this.childIndices = childIndices; this.children = children; } // TreeModelEvent() | 33,636 |
public TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children) { super(source); this.path = new TreePath(path); this.childIndices = childIndices; this.children = children; } // TreeModelEvent() | public TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children) { super(source); this.path = new TreePath(path); this.childIndices = childIndices; this.children = children; } // TreeModelEvent() | 33,637 |
public abstract Object getChild(Object parent, int index); | public abstract Object getChild(Object parent, int index); | 33,638 |
public abstract int getChildCount(Object parent); | public abstract int getChildCount(Object parent); | 33,639 |
public abstract int getIndexOfChild(Object parent, Object child); | public abstract int getIndexOfChild(Object parent, Object child); | 33,640 |
public abstract void valueForPathChanged(TreePath path, Object newvalue); | public abstract void valueForPathChanged(TreePath path, Object newvalue); | 33,641 |
public int depth() { return currentDepth; } | public int depth() { int depth = 0; if (stack != null) depth = stack.size(); return depth; } | 33,643 |
public Element first() { // Reset the iterator. currentElement = root; currentDepth = 0; previousItem = null; return root; } | public Element first() { // Reset the iterator. currentElement = root; currentDepth = 0; previousItem = null; return root; } | 33,644 |
public Element previous() { if (currentElement == null || currentElement == root) return null; return previousItem; } | public Element previous() { if (currentElement == null || currentElement == root) return null; return previousItem; } | 33,645 |
protected DoubleWordItem(int kind, int offsetToFP, Register lsb, Register msb) { super(kind, offsetToFP); this.lsb = lsb; this.msb = msb; } | protected DoubleWordItem(int kind, int offsetToFP, Register lsb, Register msb) { super(kind, offsetToFP); this.lsb = lsb; this.msb = msb; } | 33,646 |
final int getCategory() { return 2; } | final int getCategory() { return 2; } | 33,647 |
final int getLsbOffsetToFP() { return super.getOffsetToFP(); } | final int getLsbOffsetToFP() { return super.getOffsetToFP(); } | 33,648 |
final int getMsbOffsetToFP() { return super.getOffsetToFP() + 4; } | final int getMsbOffsetToFP() { return super.getOffsetToFP() + 4; } | 33,649 |
final int getOffsetToFP() { throw new Error("Do not use this"); } | final int getOffsetToFP() { throw new Error("Do not use this"); } | 33,650 |
final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | 33,651 |
final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | 33,652 |
final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | 33,653 |
final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | 33,654 |
final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | 33,655 |
final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | final void loadTo(EmitterContext ec, Register lsb, Register msb) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition(lsb != null, "lsb != n... | 33,656 |
protected abstract void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register lsb, Register msb); | protected abstract void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register lsb, Register msb); | 33,657 |
final void loadToGPR(EmitterContext ec) { if (kind != Kind.REGISTER) { Register lsb = ec.getPool().request(JvmType.INT); if (lsb == null) { ec.getVStack().push(ec); lsb = ec.getPool().request(JvmType.INT); } assertCondition(lsb != null... | final void loadToGPR(EmitterContext ec) { if (kind != Kind.REGISTER) { Register lsb = ec.getPool().request(JvmType.INT); if (lsb == null) { ec.getVStack().push(ec); lsb = ec.getPool().request(JvmType.INT); } assertCondition(lsb != null... | 33,658 |
protected abstract void popFromFPU(AbstractX86Stream os, Register reg, int disp); | protected abstract void popFromFPU(AbstractX86Stream os, Register reg, int disp); | 33,659 |
protected abstract void pushToFPU(AbstractX86Stream os, Register reg, int disp); | protected abstract void pushToFPU(AbstractX86Stream os, Register reg, int disp); | 33,660 |
final void spill(EmitterContext ec, Register reg) { notImplemented(); } | final void spill(EmitterContext ec, Register reg) { notImplemented(); } | 33,661 |
final boolean uses(Register reg) { return ((kind == Kind.REGISTER) && (msb.equals(reg) || lsb.equals(reg))); } | final boolean uses(Register reg) { return ((kind == Kind.REGISTER) && (msb.equals(reg) || lsb.equals(reg))); } | 33,662 |
private boolean checkRS(final BigInteger[] rs, final byte[] digestBytes) { final BigInteger r = rs[0]; final BigInteger s = rs[1]; final BigInteger g = ((DSAPublicKey) publicKey).getParams().getG(); final BigInteger p = ((DSAPublicKey) publicKey).getParams().getP(); final BigInteger q = ((DSAPublicKey... | privatebooleancheckRS(finalBigInteger[]rs,finalbyte[]digestBytes){finalBigIntegerr=rs[0];finalBigIntegers=rs[1];finalBigIntegerg=((DSAPublicKey)publicKey).getParams().getG();finalBigIntegerp=((DSAPublicKey)publicKey).getParams().getP();finalBigIntegerq=((DSAPublicKey)publicKey).getParams().getQ();finalBigIntegery=((DSA... | 33,663 |
private boolean checkRS(final BigInteger[] rs, final byte[] digestBytes) { final BigInteger r = rs[0]; final BigInteger s = rs[1]; final BigInteger g = ((DSAPublicKey) publicKey).getParams().getG(); final BigInteger p = ((DSAPublicKey) publicKey).getParams().getP(); final BigInteger q = ((DSAPublicKey... | privatebooleancheckRS(finalBigInteger[]rs,finalbyte[]digestBytes){finalBigIntegerr=rs[0];finalBigIntegers=rs[1];finalBigIntegerg=((DSAPublicKey)publicKey).getParams().getG();finalBigIntegerp=((DSAPublicKey)publicKey).getParams().getP();finalBigIntegerq=((DSAPublicKey)publicKey).getParams().getQ();finalBigIntegery=((DSA... | 33,664 |
private boolean checkRS(final BigInteger[] rs, final byte[] digestBytes) { final BigInteger r = rs[0]; final BigInteger s = rs[1]; final BigInteger g = ((DSAPublicKey) publicKey).getParams().getG(); final BigInteger p = ((DSAPublicKey) publicKey).getParams().getP(); final BigInteger q = ((DSAPublicKey... | privatebooleancheckRS(finalBigInteger[]rs,finalbyte[]digestBytes){finalBigIntegerr=rs[0];finalBigIntegers=rs[1];finalBigIntegerg=((DSAPublicKey)publicKey).getParams().getG();finalBigIntegerp=((DSAPublicKey)publicKey).getParams().getP();finalBigIntegerq=((DSAPublicKey)publicKey).getParams().getQ();finalBigIntegery=((DSA... | 33,665 |
private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | privateBigInteger[]computeRS(finalbyte[]digestBytes){finalBigIntegerp=((DSAPrivateKey)privateKey).getParams().getP();finalBigIntegerq=((DSAPrivateKey)privateKey).getParams().getQ();finalBigIntegerg=((DSAPrivateKey)privateKey).getParams().getG();finalBigIntegerx=((DSAPrivateKey)privateKey).getX();finalBigIntegerm=newBig... | 33,666 |
private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | private BigInteger[] computeRS(final byte[] digestBytes) final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey) ... | 33,667 |
private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | 33,668 |
private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | private BigInteger[] computeRS(final byte[] digestBytes) final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey) ... | 33,669 |
private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | 33,670 |
private BigInteger[] computeRS(final byte[] digestBytes) { final BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); final BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); final BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); final BigInteger x = ((DSAPrivateKey... | privateBigInteger[]computeRS(finalbyte[]digestBytes){finalBigIntegerp=((DSAPrivateKey)privateKey).getParams().getP();finalBigIntegerq=((DSAPrivateKey)privateKey).getParams().getQ();finalBigIntegerg=((DSAPrivateKey)privateKey).getParams().getG();finalBigIntegerx=((DSAPrivateKey)privateKey).getX();finalBigIntegerm=newBig... | 33,671 |
protected Object generateSignature() throws IllegalStateException { // BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); // BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); // BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); // BigInteger x ... | protected Object generateSignature() throws IllegalStateException { // BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); // BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); // BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); // BigInteger x ... | 33,672 |
protected Object generateSignature() throws IllegalStateException { // BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP(); // BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ(); // BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG(); // BigInteger x ... | protected Object generateSignature() throws IllegalStateException{//BigInteger p = ((DSAPrivateKey) privateKey).getParams().getP();//BigInteger q = ((DSAPrivateKey) privateKey).getParams().getQ();//BigInteger g = ((DSAPrivateKey) privateKey).getParams().getG();//BigInteger x = ((DSAPrivateKey) privateKey).getX();//BigI... | 33,673 |
protected void setupForSigning(PrivateKey k) throws IllegalArgumentException { if (!(k instanceof DSAPrivateKey)) { throw new IllegalArgumentException(); } this.privateKey = k; } | protected void setupForSigning(PrivateKey k) throws IllegalArgumentException { if (!(k instanceof DSAPrivateKey)) { throw new IllegalArgumentException(); } this.privateKey = k; } | 33,674 |
protected void setupForSigning(PrivateKey k) throws IllegalArgumentException { if (!(k instanceof DSAPrivateKey)) { throw new IllegalArgumentException(); } this.privateKey = k; } | protected void setupForSigning(PrivateKey k) throws IllegalArgumentException { if (!(k instanceof DSAPrivateKey)) { throw new IllegalArgumentException(); this.privateKey = k; } | 33,675 |
protected void setupForVerification(PublicKey k) throws IllegalArgumentException { if (!(k instanceof DSAPublicKey)) { throw new IllegalArgumentException(); } this.publicKey = k; } | protected void setupForVerification(PublicKey k) throws IllegalArgumentException { if (!(k instanceof DSAPublicKey)) { throw new IllegalArgumentException(); } this.publicKey = k; } | 33,676 |
protected void setupForVerification(PublicKey k) throws IllegalArgumentException { if (!(k instanceof DSAPublicKey)) { throw new IllegalArgumentException(); } this.publicKey = k; } | protected void setupForVerification(PublicKey k) throws IllegalArgumentException { if (!(k instanceof DSAPublicKey)) { throw new IllegalArgumentException(); this.publicKey = k; } | 33,677 |
public static final BigInteger[] sign(final DSAPrivateKey k, final byte[] h) { final DSSSignature sig = new DSSSignature(); final Map attributes = new HashMap(); attributes.put(ISignature.SIGNER_KEY, k); sig.setupSign(attributes); return sig.computeRS(h); } | publicstaticfinalBigInteger[]sign(finalDSAPrivateKeyk,finalbyte[]h){finalDSSSignaturesig=newDSSSignature();finalMapattributes=newHashMap();attributes.put(ISignature.SIGNER_KEY,k);sig.setupSign(attributes);returnsig.computeRS(h);} | 33,678 |
public static final boolean verify(final DSAPublicKey k, final byte[] h, final BigInteger[] rs) { final DSSSignature sig = new DSSSignature(); final Map attributes = new HashMap(); attributes.put(ISignature.VERIFIER_KEY, k); sig.setupVerify(attributes); return sig.c... | publicstaticfinalbooleanverify(finalDSAPublicKeyk,finalbyte[]h,finalBigInteger[]rs){finalDSSSignaturesig=newDSSSignature();finalMapattributes=newHashMap();attributes.put(ISignature.VERIFIER_KEY,k);sig.setupVerify(attributes);returnsig.checkRS(rs,h);} | 33,679 |
protected boolean verifySignature(Object sig) throws IllegalStateException { final BigInteger[] rs = decodeSignature(sig); // BigInteger r = rs[0]; // BigInteger s = rs[1]; // // BigInteger g = ((DSAPublicKey) publicKey).getParams().getG(); // BigInteger p = ((DSAPublicKey) publ... | protected boolean verifySignature(Object sig) throws IllegalStateException { final BigInteger[] rs = decodeSignature(sig); // BigInteger r = rs[0]; // BigInteger s = rs[1]; // // BigInteger g = ((DSAPublicKey) publicKey).getParams().getG(); // BigInteger p = ((DSAPublicKey) publ... | 33,680 |
protected int getHeightOfTallestLabel() { int tallest = 0; Component label; if (slider.getLabelTable() == null) return 0; for (Enumeration list = slider.getLabelTable().elements(); list.hasMoreElements();) { Object comp = list.nextElement(); if (! (comp instanceof Component)) continue... | Dimension pref; Dimension pref; protectedDimension pref; intDimension pref; getHeightOfTallestLabel()Dimension pref; Dimension pref; {Dimension pref; Dimension pref; Dimension pref; Dimension pref; intDimension pref; tallestDimension pref; =Dimension pref; 0;Dimension pref; Dimension pref; Dimension pref; Dimension pre... | 33,681 |
protected int getHeightOfTallestLabel() { int tallest = 0; Component label; if (slider.getLabelTable() == null) return 0; for (Enumeration list = slider.getLabelTable().elements(); list.hasMoreElements();) { Object comp = list.nextElement(); if (! (comp instanceof Component)) continue... | protected int getHeightOfTallestLabel() { int tallest = 0; Component label; if (slider.getLabelTable() == null) return 0; for (Enumeration list = slider.getLabelTable().elements(); list.hasMoreElements();) { Object comp = list.nextElement(); if (! (comp instanceof Component)) continue... | 33,682 |
protected int getWidthOfWidestLabel() { int widest = 0; Component label; if (slider.getLabelTable() == null) return 0; for (Enumeration list = slider.getLabelTable().elements(); list.hasMoreElements();) { Object comp = list.nextElement(); if (! (comp instanceof Component)) continue; l... | protected int getWidthOfWidestLabel() { int widest = 0; Component label; if (slider.getLabelTable() == null) return 0; for (Enumeration list = slider.getLabelTable().elements(); list.hasMoreElements();) { Object comp = list.nextElement(); if (! (comp instanceof Component)) continue; l... | 33,683 |
public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm... | public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm... | 33,684 |
public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm... | public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm... | 33,685 |
public Parameter(Any an_argument, ParameterMode a_mode) { argument = an_argument; mode = a_mode; } | public Parameter() { argument = an_argument; mode = a_mode; } | 33,688 |
public Parameter(Any an_argument, ParameterMode a_mode) { argument = an_argument; mode = a_mode; } | public Parameter(Any an_argument, ParameterMode a_mode) { argument = an_argument; mode = a_mode; } | 33,689 |
public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | 33,690 |
public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | 33,691 |
public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | 33,692 |
public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | public static Object anewarray(VmMethod currentMethod, VmType vmClass, int elements) throws PragmaUninterruptible { VmType arrCls; try { AbstractVmClassLoader curLoader = currentMethod.getDeclaringClass().getLoader(); arrCls = curLoader.loadClass(vmClass.getArrayClassName(), true); //Screen.debug("an cls{"); ... | 33,693 |
public static VmType resolveClass(VmConstClass classRef) throws PragmaUninterruptible { if (classRef.isResolved()) { return classRef.getResolvedVmClass(); } else { AbstractVmClassLoader curLoader = VmSystem.getContextClassLoader(); String cname = classRef.getClassName(); try { Class cls = curLoader.asClas... | public static VmType resolveClass(VmConstClass classRef) throws PragmaUninterruptible { if (classRef.isResolved()) { return classRef.getResolvedVmClass(); } else { AbstractVmClassLoader curLoader = VmSystem.getContextClassLoader(); String cname = classRef.getClassName(); try { Class cls = curLoader.asClas... | 33,694 |
public static VmMethod resolveMethod(VmMethod currentMethod, VmConstMethodRef methodRef) throws PragmaUninterruptible { if (!methodRef.getConstClass().isResolved()) { resolveClass(methodRef.getConstClass()); } if (methodRef.isResolved()) { return methodRef.getResolvedVmMethod(); } else { VmType vmClass = met... | public static VmMethod resolveMethod(VmMethod currentMethod, VmConstMethodRef methodRef) throws PragmaUninterruptible { if (!methodRef.getConstClass().isResolved()) { resolveClass(methodRef.getConstClass()); } if (methodRef.isResolved()) { return methodRef.getResolvedVmMethod(); } else { VmType vmClass = met... | 33,695 |
addNotify(){ if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); } super.addNotify ();} | addNotify(){ if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); } super.addNotify ();} | 33,696 |
addNotify(){ if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); } super.addNotify ();} | addNotify(){ if (peer != null) { // This choice of toolkit seems unsatisfying, but I'm not sure // what else to do. peer = getToolkit().createCheckboxMenuItem(this); super.addNotify ();} | 33,697 |
public abstract void setState(boolean state); | public abstract void setState(boolean state); | 33,698 |
public final Class getCategory() { return JobName.class; } | public Class getCategory() { return JobName.class; } | 33,699 |
public final String getName() { return "job-name"; } | public String getName() { return "job-name"; } | 33,700 |
protected AccessibleJComboBox(JComboBox component) { super(component); // TODO } // AccessibleJComboBox() | protected AccessibleJComboBox(JComboBox component) { super(component); // TODO } // AccessibleJComboBox() | 33,701 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJComboBox(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJComboBox(this); } // if return accessibleContext; } // getAccessibleContext() | 33,702 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJComboBox(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJComboBox(this); } // if return accessibleContext; } // getAccessibleContext() | 33,703 |
public InvalidParameterSpecException(String msg) { super(msg); } | public InvalidParameterSpecException() { super(msg); } | 33,704 |
public InvalidParameterSpecException(String msg) { super(msg); } | public InvalidParameterSpecException(String msg) { } | 33,705 |
public static TypeCode type() { if (typeCode == null) { TypeCode tshort = Restricted_ORB.Singleton.get_primitive_tc(TCKind.tk_short); typeCode = Restricted_ORB.Singleton.create_alias_tc(id(), "Visibility", tshort); } return typeCode; } | public static TypeCode type() { if (typeCode == null) { TypeCode tshort = OrbRestricted.Singleton.get_primitive_tc(TCKind.tk_short); typeCode = Restricted_ORB.Singleton.create_alias_tc(id(), "Visibility", tshort); } return typeCode; } | 33,706 |
public static TypeCode type() { if (typeCode == null) { TypeCode tshort = Restricted_ORB.Singleton.get_primitive_tc(TCKind.tk_short); typeCode = Restricted_ORB.Singleton.create_alias_tc(id(), "Visibility", tshort); } return typeCode; } | public static TypeCode type() { if (typeCode == null) { TypeCode tshort = Restricted_ORB.Singleton.get_primitive_tc(TCKind.tk_short); typeCode = OrbRestricted.Singleton.create_alias_tc(id(), "Visibility", tshort); } return typeCode; } | 33,707 |
public synchronized void abortGrabbing() { if (grabbing == true) { grabbing = false; ip.removeConsumer(this); } } | public synchronized void abortGrabbing() { if (grabbing == true) { grabbing = false; ip.removeConsumer(this); } } | 33,708 |
public synchronized ColorModel getColorModel() { return dstModel; } | public synchronized ColorModel getColorModel() { return dstModel; } | 33,709 |
public synchronized int getHeight() { return dstHeight; } | public synchronized int getHeight() { return dstHeight; } | 33,710 |
public synchronized Object getPixels() { if (intPixels != null) return intPixels; return pixel_bufferb; } | public synchronized Object getPixels() { if (intPixels != null) return intPixels; return pixel_bufferb; } | 33,711 |
public synchronized int getStatus() { return status; } | public synchronized int getStatus() { return status; } | 33,712 |
public synchronized int getWidth() { return dstWidth; } | public synchronized int getWidth() { return dstWidth; } | 33,713 |
public synchronized void imageComplete(int imageStatus) { grabbing = false; switch (imageStatus) { default : case IMAGEERROR : status |= ImageObserver.ERROR | ImageObserver.ABORT; break; case IMAGEABORTED : status |= ImageObserver.ABORT; break; case STATICIMAGEDONE : status |= ImageObserver.AL... | public synchronized void imageComplete(int imageStatus) { grabbing = false; switch (imageStatus) { default : case IMAGEERROR : status |= ImageObserver.ERROR | ImageObserver.ABORT; break; case IMAGEABORTED : status |= ImageObserver.ABORT; break; case STATICIMAGEDONE : status |= ImageObserver.AL... | 33,714 |
public synchronized void imageComplete(int imageStatus) { grabbing = false; switch (imageStatus) { default : case IMAGEERROR : status |= ImageObserver.ERROR | ImageObserver.ABORT; break; case IMAGEABORTED : status |= ImageObserver.ABORT; break; case STATICIMAGEDONE : status |= ImageObserver.AL... | public synchronized void imageComplete(int imageStatus) { grabbing = false; switch (imageStatus) { default : case IMAGEERROR : status |= ImageObserver.ERROR | ImageObserver.ABORT; break; case IMAGEABORTED : status |= ImageObserver.ABORT; break; case STATICIMAGEDONE : status |= ImageObserver.AL... | 33,715 |
public void setColorModel(ColorModel model) { this.dstModel = model; } | public void setColorModel(ColorModel model) { this.dstModel = model; } | 33,716 |
public void setDimensions(int width, int height) { System.out.println("setDimension " + width + "," + height); if (dstWidth < 0) { dstWidth = width - dstX; } if (dstHeight < 0) { dstHeight = height - dstY; } if (dstWidth <= 0 || dstHeight <= 0) { imageComplete(STATICIMAGEDONE); } else if (intPixels == nul... | public void setDimensions(int width, int height) { System.out.println("setDimension " + width + "," + height); if (dstWidth < 0) { dstWidth = width - dstX; } if (dstHeight < 0) { dstHeight = height - dstY; } if (dstWidth <= 0 || dstHeight <= 0) { imageComplete(STATICIMAGEDONE); } else if (intPixels == nul... | 33,717 |
public void setHints(int flags) { //hints = flags; // FIXME - DO NOT KNOW WHAT TO DO WITH THE HINTS } | public void setHints(int flags) { //hints = flags; // FIXME - DO NOT KNOW WHAT TO DO WITH THE HINTS } | 33,718 |
public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | 33,719 |
public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | 33,720 |
public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | 33,721 |
public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOffset, int srcScansize) { if (srcY < dstY) { final int diff = dstY - srcY; if (diff >= srcH) { return; } srcOffset += srcScansize * diff; srcY += diff; srcH -= diff; } if (srcY + srcH > dstY + dstHe... | 33,722 |
public void setProperties(Hashtable props) { //this.props = props; //FIXME - DO WE NEED THIS } | public void setProperties(Hashtable props) { //this.props = props; //FIXME - DO WE NEED THIS } | 33,723 |
public synchronized void startGrabbing() { if (grabbing == false) { grabbing = true; ip.startProduction(this); } } | public synchronized void startGrabbing() { if (grabbing == false) { grabbing = true; ip.startProduction(this); } } | 33,724 |
public synchronized void startGrabbing() { if (grabbing == false) { grabbing = true; ip.startProduction(this); } } | public synchronized void startGrabbing() { if (grabbing == false) { grabbing = true; ip.startProduction(this); } } | 33,725 |
public synchronized int status() { return getStatus(); } | public synchronized int status() { return getStatus(); } | 33,726 |
public X86BytecodeVisitor(NativeStream outputStream, CompiledMethod cm, boolean isBootstrap, X86CompilerContext context) { this.os = (AbstractX86Stream) outputStream; this.context = context; this.vstack = new VirtualStack(os); final X86RegisterPool pool = new X86RegisterPool(); this.helper = new X86CompilerHelp... | public X86BytecodeVisitor(NativeStream outputStream, CompiledMethod cm, boolean isBootstrap, X86CompilerContext context) { this.os = (AbstractX86Stream) outputStream; this.context = context; this.vstack = new VirtualStack(os); final X86RegisterPool pool = new X86RegisterPool(); this.helper = new X86CompilerHelp... | 33,727 |
private final void assertCondition(boolean cond, String message) { if (!cond) throw new Error("assert failed at addresss " + curAddress + ": " + message); } | private final void assertCondition(boolean cond, String message) { if (!cond) throw new Error("assert failed at addresss " + curAddress + ": " + message); } | 33,728 |
private final void checkBounds(RefItem ref, IntItem index) { final Label ok = new Label(curInstrLabel + "$$cbok"); // CMP length, index assertCondition(ref.isRegister(), "ref must be in a register"); final Register refr = ref.getRegister(); if (index.isConstant()) { os.writeCMP_Const(refr, arrayLengthOffset, in... | private final void checkBounds(RefItem ref, IntItem index) { final Label ok = new Label(curInstrLabel + "$$cbok"); // CMP length, index assertCondition(ref.isRegister(), "ref must be in a register"); final Register refr = ref.getRegister(); if (index.isConstant()) { os.writeCMP_Const(refr, arrayLengthOffset, in... | 33,729 |
private final void dropParameters(VmMethod method, boolean hasSelf) { final int count = method.getNoArguments(); for (int i = count - 1; i >= 0; i--) { final int type = method.getArgumentType(i).getJvmType(); final Item v = vstack.pop(JvmType.TypeToContainingType(type)); v.release1(eContext); } if (hasSelf) ... | private final void dropParameters(VmMethod method, boolean hasSelf) { final int count = method.getNoArguments(); for (int i = count - 1; i >= 0; i--) { final int type = method.getArgumentType(i).getJvmType(); final Item v = vstack.pop(JvmType.TypeToContainingType(type)); v.release1(eContext); } if (hasSelf) ... | 33,730 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.