bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,524 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,525 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,526 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,527 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,528 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,529 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,530 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 33,531 |
public void removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) { // The default implementation does nothing. } | if (alloc == null) { fv.layoutChanged(X_AXIS); fv.layoutChanged(Y_AXIS); } else { Component host = fv.getContainer(); if (host != null) host.repaint(alloc.x, alloc.y, alloc.width, alloc.height); } if (alloc == null) { fv.layoutChanged(X_AXIS); fv.layoutChanged(Y_AXIS); } else { Component host = fv.getContainer(); if (h... | 33,532 |
LogicalView(Element el, int axis) { super(el, axis); } | LogicalView(Element el) { super(el, axis); } | 33,533 |
LogicalView(Element el, int axis) { super(el, axis); } | LogicalView(Element el, int axis) { super(el); } | 33,534 |
public FlowView(Element element, int axis) { super(element, axis); strategy = sharedStrategy; layoutDirty = true; } | public FlowView(Element element, int axis) { super(element, axis); strategy = sharedStrategy; layoutSpan = Short.MAX_VALUE; } | 33,535 |
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { SizeRequirements res = r; if (res == null) res = new SizeRequirements(); res.minimum = (int) layoutPool.getMinimumSpan(axis); res.preferred = Math.max(... | protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { SizeRequirements res = r; if (res == null) res = new SizeRequirements(); res.minimum = (int) layoutPool.getMinimumSpan(axis); res.preferred = Math.max(... | 33,536 |
public void changedUpdate(DocumentEvent changes, Shape a, ViewFactory vf) { layoutPool.changedUpdate(changes, a, vf); strategy.changedUpdate(this, changes, getInsideAllocation(a)); layoutDirty = true; } | public void changedUpdate(DocumentEvent changes, Shape a, ViewFactory vf) { layoutPool.changedUpdate(changes, a, vf); strategy.changedUpdate(this, changes, getInsideAllocation(a)); } | 33,537 |
public int getFlowStart(int index) { return getLeftInset(); // TODO: Is this correct? } | public int getFlowStart(int index) { return 0; // TODO: Is this correct? } | 33,538 |
public void insertUpdate(DocumentEvent changes, Shape a, ViewFactory vf) { // First we must send the insertUpdate to the logical view so it can // be updated accordingly. layoutPool.insertUpdate(changes, a, vf); strategy.insertUpdate(this, changes, getInsideAllocation(a)); layoutDirty = true; } | public void insertUpdate(DocumentEvent changes, Shape a, ViewFactory vf) { // First we must send the insertUpdate to the logical view so it can // be updated accordingly. layoutPool.insertUpdate(changes, a, vf); strategy.insertUpdate(this, changes, getInsideAllocation(a)); } | 33,539 |
protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | 33,540 |
protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | 33,541 |
protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | 33,542 |
protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | protected void layout(int width, int height) { int flowAxis = getFlowAxis(); if (flowAxis == X_AXIS) { if (layoutSpan != width) { layoutChanged(Y_AXIS); layoutSpan = width; } } else { if (layoutSpan != height) { layoutChanged(X... | 33,543 |
protected void loadChildren(ViewFactory vf) { if (layoutPool == null) { layoutPool = new LogicalView(getElement(), getAxis()); layoutPool.setParent(this); } } | protected void loadChildren(ViewFactory vf) { if (layoutPool == null) { layoutPool = new LogicalView(getElement(), getAxis()); layoutPool.setParent(this); } } | 33,544 |
public void removeUpdate(DocumentEvent changes, Shape a, ViewFactory vf) { layoutPool.removeUpdate(changes, a, vf); strategy.removeUpdate(this, changes, getInsideAllocation(a)); layoutDirty = true; } | public void removeUpdate(DocumentEvent changes, Shape a, ViewFactory vf) { layoutPool.removeUpdate(changes, a, vf); strategy.removeUpdate(this, changes, getInsideAllocation(a)); } | 33,546 |
public void layoutChanged(int axis) { switch (axis) { case X_AXIS: xLayoutValid = false; break; case Y_AXIS: yLayoutValid = false; break; default: throw new IllegalArgumentException("Invalid axis parameter."); } } | public void layoutChanged(int axis) { switch (axis) { case X_AXIS: xLayoutValid = false; break; case Y_AXIS: yLayoutValid = false; break; default: throw new IllegalArgumentException("Invalid axis parameter."); } } | 33,547 |
public void layoutChanged(int axis) { switch (axis) { case X_AXIS: xLayoutValid = false; break; case Y_AXIS: yLayoutValid = false; break; default: throw new IllegalArgumentException("Invalid axis parameter."); } } | public void layoutChanged(int axis) { switch (axis) { case X_AXIS: xLayoutValid = false; break; case Y_AXIS: yLayoutValid = false; break; default: throw new IllegalArgumentException("Invalid axis parameter."); layoutValid[axis] = false; } | 33,548 |
protected void layout(int width, int height) { baselineLayout(width, X_AXIS, offsetsX, spansX); baselineLayout(height, Y_AXIS, offsetsY, spansY); } | protected void layout(int width, int height) { baselineLayout(width, X_AXIS, offsetsX, spansX); baselineLayout(height, Y_AXIS, offsetsY, spansY); } | 33,549 |
protected boolean isLayoutValid(int axis) { boolean valid = false; switch (axis) { case X_AXIS: valid = xLayoutValid; break; case Y_AXIS: valid = yLayoutValid; break; default: throw new IllegalArgumentException("Invalid axis parameter."); } return ... | protected boolean isLayoutValid(int axis) { boolean valid = false; switch (axis) { case X_AXIS: valid = xLayoutValid; break; case Y_AXIS: valid = yLayoutValid; break; default: throw new IllegalArgumentException("Invalid axis parameter."); } return ... | 33,550 |
protected boolean isLayoutValid(int axis) { boolean valid = false; switch (axis) { case X_AXIS: valid = xLayoutValid; break; case Y_AXIS: valid = yLayoutValid; break; default: throw new IllegalArgumentException("Invalid axis parameter."); } return ... | protected boolean isLayoutValid(int axis) { boolean valid = false; switch (axis) { case X_AXIS: valid = xLayoutValid; break; case Y_AXIS: valid = yLayoutValid; break; default: throw new IllegalArgumentException("Invalid axis parameter."); } return ... | 33,551 |
public void insert(MenuItem item, int index) { if (index < 0) throw new IllegalArgumentException("Index is less than zero"); items.insertElementAt(item, index); MenuPeer mp = (MenuPeer) getPeer(); // FIXME: Need to add a peer method here. // if (mp != null) // mp.insertItem(item, index); } | public void insert(MenuItem item, int index) { if (index < 0) throw new IllegalArgumentException("Index is less than zero"); items.insertElementAt(item, index); MenuPeer mp = (MenuPeer) getPeer(); // FIXME: Need to add a peer method here. // if (mp != null) // mp.insertItem(item, index); } | 33,552 |
public void insert(MenuItem item, int index) { if (index < 0) throw new IllegalArgumentException("Index is less than zero"); items.insertElementAt(item, index); MenuPeer mp = (MenuPeer) getPeer(); // FIXME: Need to add a peer method here. // if (mp != null) // mp.insertItem(item, index); } | public void insert(MenuItem item, int index) { if (index < 0) throw new IllegalArgumentException("Index is less than zero"); items.insertElementAt(item, index); MenuPeer mp = (MenuPeer) getPeer(); // FIXME: Need to add a peer method here. // if (mp != null) // mp.insertItem(item, index); } | 33,553 |
public void insert(MenuItem item, int index) { if (index < 0) throw new IllegalArgumentException("Index is less than zero"); items.insertElementAt(item, index); MenuPeer mp = (MenuPeer) getPeer(); // FIXME: Need to add a peer method here. // if (mp != null) // mp.insertItem(item, index); } | public void insert(MenuItem item, int index) { if (index < 0) throw new IllegalArgumentException("Index is less than zero"); items.insertElementAt(item, index); MenuPeer mp = (MenuPeer) getPeer(); // FIXME: Need to add a peer method here. // if (mp != null) // mp.insertItem(item, index); } | 33,554 |
public void insertSeparator(int index) { insert(separator, index); } | public void insertSeparator(int index) { insert(separator, index); } | 33,555 |
public boolean isTearOff() { return (isTearOff); } | public boolean isTearOff() { return (isTearOff); } | 33,556 |
public String paramString() { return (",isTearOff=" + isTearOff + ",isHelpMenu=" + isHelpMenu + super.paramString()); } | public String paramString() { return (",isTearOff=" + isTearOff + ",isHelpMenu=" + isHelpMenu + super.paramString()); } | 33,557 |
public synchronized void remove(int index) { items.removeElementAt(index); MenuPeer mp = (MenuPeer) getPeer(); if (mp != null) mp.delItem(index); } | public synchronized void remove(int index) { items.removeElementAt(index); MenuPeer mp = (MenuPeer) getPeer(); if (mp != null) mp.delItem(index); } | 33,558 |
public synchronized void remove(int index) { items.removeElementAt(index); MenuPeer mp = (MenuPeer) getPeer(); if (mp != null) mp.delItem(index); } | public synchronized void remove(int index) { items.removeElementAt(index); MenuPeer mp = (MenuPeer) getPeer(); if (mp != null) mp.delItem(index); } | 33,559 |
public synchronized void remove(int index) { items.removeElementAt(index); MenuPeer mp = (MenuPeer) getPeer(); if (mp != null) mp.delItem(index); } | public synchronized void remove(int index) { items.removeElementAt(index); MenuPeer mp = (MenuPeer) getPeer(); if (mp != null) mp.delItem(index); } | 33,560 |
public synchronized void removeAll() { int count = getItemCount(); for (int i = 0; i < count; i++) { // We must always remove item 0. remove(0); } } | public synchronized void removeAll() { int count = getItemCount(); for (int i = 0; i < count; i++) { // We must always remove item 0. remove(0); } } | 33,561 |
public synchronized void removeAll() { int count = getItemCount(); for (int i = 0; i < count; i++) { // We must always remove item 0. remove(0); } } | public synchronized void removeAll() { int count = getItemCount(); for (int i = 0; i < count; i++) { // We must always remove item 0. remove(0); } } | 33,562 |
public synchronized void removeAll() { int count = getItemCount(); for (int i = 0; i < count; i++) { // We must always remove item 0. remove(0); } } | public synchronized void removeAll() { int count = getItemCount(); for (int i = 0; i < count; i++) { // We must always remove item 0. remove(0); } } | 33,563 |
public void removeNotify() { super.removeNotify(); } | public void removeNotify() { super.removeNotify(); } | 33,564 |
protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | 33,566 |
public Component locate(int x, int y) { synchronized (getTreeLock ()) { if (!contains (x, y)) return null; for (int i = 0; i < ncomponents; ++i) { // Ignore invisible children... if (!component[i].isVisible ()) continue; int x2 = x... | public Component locate(int x, int y) { synchronized (getTreeLock ()) { if (!contains (x, y)) return null; for (int i = 0; i < ncomponents; ++i) { // Ignore invisible children... if (!component[i].isVisible ()) continue; int x2 = x... | 33,567 |
public Component locate(int x, int y) { synchronized (getTreeLock ()) { if (!contains (x, y)) return null; for (int i = 0; i < ncomponents; ++i) { // Ignore invisible children... if (!component[i].isVisible ()) continue; int x2 = x... | public Component locate(int x, int y) { synchronized (getTreeLock ()) { if (!contains (x, y)) return null; for (int i = 0; i < ncomponents; ++i) { // Ignore invisible children... if (!component[i].isVisible ()) continue; int x2 = x... | 33,568 |
public ActivationGroupID(ActivationSystem system) { this.system = system; } | public ActivationGroupID(ActivationSystem aSystem) { this.system = system; } | 33,570 |
public ActivationGroupID(ActivationSystem system) { this.system = system; } | public ActivationGroupID(ActivationSystem system) { system = aSystem; uid = new UID(); } | 33,571 |
public PolicyError(String a_details, short a_reason) { super(a_details); reason = a_reason; } | public PolicyError() { super(a_details); reason = a_reason; } | 33,572 |
public PolicyError(String a_details, short a_reason) { super(a_details); reason = a_reason; } | public PolicyError(String a_details, short a_reason) { super(a_details); reason = a_reason; } | 33,573 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 33,574 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | 33,575 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | 33,576 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | 33,577 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | 33,578 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 33,579 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 33,580 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 33,581 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 33,582 |
public JProgressBar(int minimum, int maximum) { this(minimum, maximum, HORIZONTAL); } | public JProgressBar() { this(minimum, maximum, HORIZONTAL); } | 33,583 |
public JProgressBar(int minimum, int maximum) { this(minimum, maximum, HORIZONTAL); } | public JProgressBar(int minimum, int maximum) { this(0, 100, HORIZONTAL); } | 33,584 |
public JOptionPane(Object message, int messageType) { this(message, messageType, DEFAULT_OPTION, null, null, null); } | public JOptionPane() { this(message, messageType, DEFAULT_OPTION, null, null, null); } | 33,585 |
public JOptionPane(Object message, int messageType) { this(message, messageType, DEFAULT_OPTION, null, null, null); } | public JOptionPane(Object message, int messageType) { this("JOptionPane message", PLAIN_MESSAGE, DEFAULT_OPTION, null, null, null); } | 33,586 |
public Object put(Object key, Object value) { Object old; if (value != null) old = super.put(key, value); else old = super.remove(key); if (key instanceof String && old != value) firePropertyChange((String) key, old, value); return old; } | public Object put(Object key, Object value) { Object old; if (value != null) old = super.put(key, value); else old = super.remove(key); if (key instanceof String && old != value) firePropertyChange((String) key, old, value); return old; } | 33,587 |
public void putDefaults(Object[] entries) { for (int i = 0; (2 * i + 1) < entries.length; ++i) { super.put(entries[2 * i], entries[2 * i + 1]); } firePropertyChange("UIDefaults", null, null); } | public void putDefaults(Object[] entries) { for (int i = 0; (2 * i + 1) < entries.length; ++i) { checkAndPut(entries[2 * i], entries[2 * i + 1]); } firePropertyChange("UIDefaults", null, null); } | 33,588 |
private final void detectDeadlock() throws UninterruptiblePragma { if (threadState == WAITING) { walkWaitingThreads(this); } } | private final void detectDeadlock() throws UninterruptiblePragma { if (threadState == WAITING) { walkWaitingThreads(this); } } | 33,589 |
private final void doStop() { final VmProcessor proc = VmMagic.currentProcessor(); final VmThread current = proc.getCurrentThread(); proc.getScheduler().unregisterThread(this); // Go into low level stuff proc.disableReschedule(true); this.threadState = STOPPED; ... | private final void doStop() { final VmProcessor proc = VmMagic.currentProcessor(); final VmThread current = proc.getCurrentThread(); proc.getScheduler().unregisterThread(this); // Go into low level stuff proc.disableReschedule(true); this.threadState = STOPPED; ... | 33,590 |
public final String getThreadStateName() { return STATE_NAMES[ threadState]; } | public final String getThreadStateName() { return STATE_NAMES[threadState]; } | 33,591 |
public final void interrupt() throws UninterruptiblePragma { // Set interrupted state this.interrupted = true; // Add to scheduler queue final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { switch (threadState) { cas... | public final void interrupt() { // Set interrupted state this.interrupted = true; // Add to scheduler queue final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { switch (threadState) { case ASLEEP: case WAI... | 33,592 |
public final void interrupt() throws UninterruptiblePragma { // Set interrupted state this.interrupted = true; // Add to scheduler queue final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { switch (threadState) { cas... | public final void interrupt() throws UninterruptiblePragma { // Set interrupted state this.interrupted = true; // Add to scheduler queue final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { switch (threadState) { cas... | 33,593 |
public final boolean isAlive() { switch (threadState) { case CREATED: return false; case RUNNING: case SUSPENDED: case WAITING: case ASLEEP: case YIELDING: return !stopping; case STOPPED: case DESTROYED: return false; ... | public final boolean isAlive() { switch (threadState) { case CREATED: return false; case RUNNING: case SUSPENDED: case WAITING_ENTER: case WAITING_NOTIFY: case WAITING_NOTIFY_TIMEOUT: case ASLEEP: case YIELDING: return !stopping; case STO... | 33,594 |
public final boolean isWaiting() { return (threadState == WAITING); } | public final boolean isWaiting() { return ((threadState >= WAITING_ENTER) && (threadState <= WAITING_NOTIFY_TIMEOUT)); } | 33,595 |
final void prepareWait(Monitor monitor) throws UninterruptiblePragma { // Keep this order of assignments! this.waitForMonitor = monitor; this.threadState = WAITING; } | final void prepareWait(Monitor monitor, int waitState) { // Keep this order of assignments! this.waitForMonitor = monitor; this.threadState = WAITING; } | 33,596 |
final void prepareWait(Monitor monitor) throws UninterruptiblePragma { // Keep this order of assignments! this.waitForMonitor = monitor; this.threadState = WAITING; } | final void prepareWait(Monitor monitor) throws UninterruptiblePragma { // Keep this order of assignments! this.waitForMonitor = monitor; this.threadState = waitState; } | 33,597 |
public void setPriority(int priority) { checkAccess(); if ((priority < Thread.MIN_PRIORITY) || (priority > Thread.MAX_PRIORITY)) { throw new IllegalArgumentException( "Invalid priority"); } if (asThread() instanceof SystemThread) { this.priority = priori... | public void setPriority(int priority) { checkAccess(); if ((priority < Thread.MIN_PRIORITY) || (priority > Thread.MAX_PRIORITY)) { throw new IllegalArgumentException( "Invalid priority"); } if (asThread() instanceof SystemThread) { this.priority = priori... | 33,598 |
public final void sleep(long millis, int nanos) throws InterruptedException { if (currentThread() != this) { return; } if (threadState != RUNNING) { return; } // Test interrupted status if (this.interrupted) { this.interrupted = false; throw new I... | public final void sleep(long millis, int nanos) throws InterruptedException { if (currentThread() != this) { return; } if (threadState != RUNNING) { return; } // Test interrupted status if (this.interrupted) { this.interrupted = false; throw new I... | 33,599 |
public final void start() { switch (threadState) { case CREATED: { //Screen.debug("thread.start"); final VmScheduler scheduler = VmMagic.currentProcessor().getScheduler(); stack = VmSystem.allocStack(stackSize); Unsafe.initThread(t... | public final void start() { switch (threadState) { case CREATED: { //Screen.debug("thread.start"); final VmScheduler scheduler = VmMagic.currentProcessor().getScheduler(); stack = VmSystem.allocStack(stackSize); Unsafe.initThread(t... | 33,600 |
public final void start() { switch (threadState) { case CREATED: { //Screen.debug("thread.start"); final VmScheduler scheduler = VmMagic.currentProcessor().getScheduler(); stack = VmSystem.allocStack(stackSize); Unsafe.initThread(t... | public final void start() { switch (threadState) { case CREATED: { //Screen.debug("thread.start"); final VmScheduler scheduler = VmMagic.currentProcessor().getScheduler(); stack = VmSystem.allocStack(stackSize); Unsafe.initThread(t... | 33,601 |
public final void stop(Throwable ex) throws UninterruptiblePragma { this.stopping = true; if (javaThread != null) { javaThread.onExit(); // Notify joining threads synchronized(javaThread){ javaThread.notifyAll(); } } // Do the lo... | public final void stop(Throwable ex) throws UninterruptiblePragma { this.stopping = true; if (javaThread != null) { javaThread.onExit(); // Notify joining threads synchronized (javaThread) { javaThread.notifyAll(); } } // Do the ... | 33,602 |
public String toString() { if (javaThread != null) { return "%" + javaThread.getName() + ", st" + STATE_NAMES[ threadState] + "%"; } else { return "%@null@, st" + threadState + "%"; } } | public String toString() { if (javaThread != null) { return "%" + javaThread.getName() + ", st" + STATE_NAMES[threadState] + "%"; } else { return "%@null@, st" + threadState + "%"; } } | 33,603 |
final void unsecureResume() { final VmProcessor proc = VmMagic.currentProcessor(); if (threadState == SUSPENDED) { threadState = RUNNING; // FIXME make multi cpu safe proc.getScheduler().addToReadyQueue(this, false, "thread.unsecureResume"); } } | final void unsecureResume() { final VmProcessor proc = VmMagic.currentProcessor(); if (threadState == SUSPENDED) { threadState = RUNNING; // FIXME make multi cpu safe proc.getScheduler().addToReadyQueue(this, false, "thread.unsecureResume"); } } | 33,604 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,605 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,606 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,607 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,608 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,609 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,610 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,611 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,612 |
final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | final void verifyState() throws UninterruptiblePragma { switch (threadState) { case CREATED: if (queueEntry.isInUse()) { throw new Error( "Created thread cannot have an inuse queueEntry"); } if (sleepQueueEntry.isInUse()) { throw new Error( "... | 33,613 |
public abstract boolean visit(ObjectVisitor visitor, VmHeapManager heapManager); | public abstract boolean visit(ObjectVisitor visitor, VmHeapManager heapManager); | 33,614 |
final void wakeUpByScheduler() { switch (threadState) { case ASLEEP: case RUNNING: case YIELDING: { // Do nothing } break; case WAITING: { final Monitor mon = this.waitForMonitor; mon.removeTh... | final void wakeUpByScheduler() { switch (threadState) { case ASLEEP: case RUNNING: case YIELDING: { // Do nothing } break; case WAITING: { final Monitor mon = this.waitForMonitor; mon.removeTh... | 33,615 |
final void wakeUpByScheduler() { switch (threadState) { case ASLEEP: case RUNNING: case YIELDING: { // Do nothing } break; case WAITING: { final Monitor mon = this.waitForMonitor; mon.removeTh... | final void wakeUpByScheduler() { switch (threadState) { case ASLEEP: case RUNNING: case YIELDING: { // Do nothing } break; case WAITING: { final Monitor mon = this.waitForMonitor; mon.removeTh... | 33,616 |
final void wakeUpByScheduler() { switch (threadState) { case ASLEEP: case RUNNING: case YIELDING: { // Do nothing } break; case WAITING: { final Monitor mon = this.waitForMonitor; mon.removeTh... | final void wakeUpByScheduler() { switch (threadState) { case ASLEEP: case RUNNING: case YIELDING: { // Do nothing } break; case WAITING: { final Monitor mon = this.waitForMonitor; mon.removeTh... | 33,617 |
final void wakeupAfterMonitor(Monitor monitor) { if (this.threadState == WAITING) { final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { this.threadState = RUNNING; proc.getScheduler().addToReadyQueue(this, fal... | final void wakeupAfterMonitor(Monitor monitor) { if (isWaiting()) { final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { this.threadState = RUNNING; proc.getScheduler().addToReadyQueue(this, false, "thread.wake... | 33,618 |
final void wakeupAfterMonitor(Monitor monitor) { if (this.threadState == WAITING) { final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { this.threadState = RUNNING; proc.getScheduler().addToReadyQueue(this, fal... | final void wakeupAfterMonitor(Monitor monitor) { if (this.threadState == WAITING) { final VmProcessor proc = VmMagic.currentProcessor(); proc.disableReschedule(true); try { this.threadState = RUNNING; proc.getScheduler().addToReadyQueue(this, fal... | 33,619 |
private final void walkWaitingThreads(VmThread thread) throws UninterruptiblePragma { if (thread == null) { return; } final Monitor waitForMonitor = thread.waitForMonitor; if (waitForMonitor == null) { return; } final VmThread owner = waitForMonitor.ge... | private final void walkWaitingThreads(VmThread thread) { if (thread == null) { return; } final Monitor waitForMonitor = thread.waitForMonitor; if (waitForMonitor == null) { return; } final VmThread owner = waitForMonitor.getOwner(); if (owner ==... | 33,620 |
private final void walkWaitingThreads(VmThread thread) throws UninterruptiblePragma { if (thread == null) { return; } final Monitor waitForMonitor = thread.waitForMonitor; if (waitForMonitor == null) { return; } final VmThread owner = waitForMonitor.ge... | private final void walkWaitingThreads(VmThread thread) throws UninterruptiblePragma { if (thread == null) { return; } final Monitor waitForMonitor = thread.waitForMonitor; if (waitForMonitor == null) { return; } final VmThread owner = waitForMonitor.ge... | 33,621 |
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); try { Streamable s = an_any.extract_Streamable(); Object members = s.getClass().getField("value").get(s); checkArrayValid(members); Any member; St... | public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); try { Streamable s = an_any.extract_Streamable(); Object members = s.getClass().getField("value").get(s); checkArrayValid(members); Any member; St... | 33,622 |
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); try { Streamable s = an_any.extract_Streamable(); Object members = s.getClass().getField("value").get(s); checkArrayValid(members); Any member; St... | public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); try { Streamable s = an_any.extract_Streamable(); Object members = s.getClass().getField("value").get(s); checkArrayValid(members); Any member; St... | 33,623 |
public Any to_any() { try { Streamable memberHolder = holderFactory.createHolder(official_components); if (memberHolder == null) memberHolder = holderFactory.createHolder(final_components); Class memberHolderClass = memberHolder.getClass(); Class memberClass = me... | public Any to_any() { try { Streamable memberHolder = HolderLocator.createHolder(official_components); if (memberHolder == null) memberHolder = holderFactory.createHolder(final_components); Class memberHolderClass = memberHolder.getClass(); Class memberClass = me... | 33,624 |
public Any to_any() { try { Streamable memberHolder = holderFactory.createHolder(official_components); if (memberHolder == null) memberHolder = holderFactory.createHolder(final_components); Class memberHolderClass = memberHolder.getClass(); Class memberClass = me... | public Any to_any() { try { Streamable memberHolder = holderFactory.createHolder(official_components); if (memberHolder == null) memberHolder = HolderLocator.createHolder(final_components); Class memberHolderClass = memberHolder.getClass(); Class memberClass = me... | 33,625 |
public Any to_any() { try { Streamable memberHolder = holderFactory.createHolder(official_components); if (memberHolder == null) memberHolder = holderFactory.createHolder(final_components); Class memberHolderClass = memberHolder.getClass(); Class memberClass = me... | public Any to_any() { try { Streamable memberHolder = holderFactory.createHolder(official_components); if (memberHolder == null) memberHolder = holderFactory.createHolder(final_components); Class memberHolderClass = memberHolder.getClass(); Class memberClass = me... | 33,626 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.