bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | 34,672 |
private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | 34,673 |
private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | 34,674 |
private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | 34,675 |
private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | private int[] getDayOfYear(int year) { if (isSet[MONTH]) { int dayOfYear; if (fields[MONTH] > FEBRUARY) { // The months after February are regular: // 9 is an offset found by try and error. dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5; if (isLeapYear(year)) dayOfYear++; } else ... | 34,676 |
public int getGreatestMinimum(int field) { if (field == WEEK_OF_YEAR) return 1; return minimums[field]; } | public int getGreatestMinimum(int field) { if (field == WEEK_OF_YEAR) return 1; return minimums[field]; } | 34,677 |
public final Date getGregorianChange() { return new Date(gregorianCutover); } | public final Date getGregorianChange() { return new Date(gregorianCutover); } | 34,678 |
public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | 34,679 |
public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | 34,680 |
public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | 34,681 |
public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | 34,682 |
public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | public int getLeastMaximum(int field) { switch (field) { case WEEK_OF_YEAR : return 52; case DAY_OF_MONTH : return 28; case DAY_OF_YEAR : return 365; case DAY_OF_WEEK_IN_MONTH : case WEEK_OF_MONTH : return 4; default : return maximums[field]; } } | 34,683 |
private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | 34,684 |
private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | 34,685 |
private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | 34,686 |
private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | private int getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = (... | 34,687 |
private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | 34,688 |
private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | 34,689 |
private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | 34,690 |
private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | private long getLinearTime(int year, int dayOfYear, int millis) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. // We shift right by 2 instead of dividing by 4, to get correct // results for negative years (and this is even more efficient). int julianDay = ((year... | 34,691 |
public int getMaximum(int field) { return maximums[field]; } | public int getMaximum(int field) { return maximums[field]; } | 34,692 |
public int getMinimum(int field) { return minimums[field]; } | public int getMinimum(int field) { return minimums[field]; } | 34,693 |
private int getWeekDay(int year, int dayOfYear) { int day = (int) (getLinearTime(year, dayOfYear, 0) / (24 * 60 * 60 * 1000L)); // The epoch was a thursday. int weekday = (day + THURSDAY) % 7; if (weekday <= 0) weekday += 7; return weekday; } | private int getWeekDay(int year, int dayOfYear) { int day = (int) (getLinearTime(year, dayOfYear, 0) / (24 * 60 * 60 * 1000L)); // The epoch was a thursday. int weekday = (day + THURSDAY) % 7; if (weekday <= 0) weekday += 7; return weekday; } | 34,694 |
public boolean isLeapYear(int year) { if ((year & 3) != 0) // Only years divisible by 4 can be leap years return false; // compute the linear day of the 29. February of that year. // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. int julianDay = (((year - 1) * (3... | public boolean isLeapYear(int year) { if ((year & 3) != 0) // Only years divisible by 4 can be leap years return false; // compute the linear day of the 29. February of that year. // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. int julianDay = (((year - 1) * (3... | 34,695 |
public boolean isLeapYear(int year) { if ((year & 3) != 0) // Only years divisible by 4 can be leap years return false; // compute the linear day of the 29. February of that year. // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. int julianDay = (((year - 1) * (3... | public boolean isLeapYear(int year) { if ((year & 3) != 0) // Only years divisible by 4 can be leap years return false; // compute the linear day of the 29. February of that year. // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. int julianDay = (((year - 1) * (3... | 34,696 |
public void roll(int field, boolean up) { roll(field, up ? 1 : -1); } | public void roll(int field, boolean up) { roll(field, up ? 1 : -1); } | 34,697 |
public void setGregorianChange(Date date) { gregorianCutover = date.getTime(); } | public void setGregorianChange(Date date) { gregorianCutover = date.getTime(); } | 34,698 |
public static TypeCode type() { recordTypeCode r = new recordTypeCode(TCKind.tk_alias); r.setName("PolicyErrorCode"); r.setId(id()); r.setContentType(new primitiveTypeCode(TCKind.tk_short)); return r; } | public static TypeCode type() { RecordTypeCode r = new RecordTypeCode(TCKind.tk_alias); r.setName("PolicyErrorCode"); r.setId(id()); r.setContentType(new primitiveTypeCode(TCKind.tk_short)); return r; } | 34,699 |
public static TypeCode type() { recordTypeCode r = new recordTypeCode(TCKind.tk_alias); r.setName("PolicyErrorCode"); r.setId(id()); r.setContentType(new primitiveTypeCode(TCKind.tk_short)); return r; } | public static TypeCode type() { recordTypeCode r = new recordTypeCode(TCKind.tk_alias); r.setName("PolicyErrorCode"); r.setId(id()); r.setContentType(new PrimitiveTypeCode(TCKind.tk_short)); return r; } | 34,700 |
public MenuItem() { } | public MenuItem() { } | 34,701 |
public synchronized void addActionListener(ActionListener listener) { action_listeners = AWTEventMulticaster.add(action_listeners, listener); enableEvents(AWTEvent.ACTION_EVENT_MASK); } | public synchronized void addActionListener(ActionListener listener) { action_listeners = AWTEventMulticaster.add(action_listeners, listener); enableEvents(AWTEvent.ACTION_EVENT_MASK); } | 34,702 |
public synchronized void addActionListener(ActionListener listener) { action_listeners = AWTEventMulticaster.add(action_listeners, listener); enableEvents(AWTEvent.ACTION_EVENT_MASK); } | public synchronized void addActionListener(ActionListener listener) { action_listeners = AWTEventMulticaster.add(action_listeners, listener); enableEvents(AWTEvent.ACTION_EVENT_MASK); } | 34,703 |
public void addNotify() { if (peer != null) peer = getToolkit().createMenuItem(this); } | public void addNotify() { if (peer != null) peer = getToolkit().createMenuItem(this); } | 34,704 |
public void deleteShortcut() { shortcut = null; } | public void deleteShortcut() { shortcut = null; } | 34,705 |
public void deleteShortcut() { shortcut = null; } | public void deleteShortcut() { shortcut = null; } | 34,706 |
public void disable() { setEnabled(false); } | public void disable() { setEnabled(false); } | 34,707 |
protected final void disableEvents(long events) { eventMask &= ~events; } | protected final void disableEvents(long events) { eventMask &= ~events; } | 34,708 |
protected final void disableEvents(long events) { eventMask &= ~events; } | protected final void disableEvents(long events) { eventMask &= ~events; } | 34,709 |
void dispatchEventImpl(AWTEvent e) { if (e.id <= ActionEvent.ACTION_LAST && e.id >= ActionEvent.ACTION_FIRST && (action_listeners != null || (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0)) processEvent(e); } | void dispatchEventImpl(AWTEvent e) { if (e.id <= ActionEvent.ACTION_LAST && e.id >= ActionEvent.ACTION_FIRST && (action_listeners != null || (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0)) processEvent(e); } | 34,710 |
void dispatchEventImpl(AWTEvent e) { if (e.id <= ActionEvent.ACTION_LAST && e.id >= ActionEvent.ACTION_FIRST && (action_listeners != null || (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0)) processEvent(e); } | void dispatchEventImpl(AWTEvent e) { if (e.id <= ActionEvent.ACTION_LAST && e.id >= ActionEvent.ACTION_FIRST && (action_listeners != null || (eventMask & AWTEvent.ACTION_EVENT_MASK) != 0)) processEvent(e); } | 34,711 |
public void enable(boolean enabled) { setEnabled(enabled); } | public void enable(boolean enabled) { setEnabled(enabled); } | 34,712 |
protected final void enableEvents(long events) { eventMask |= events; // TODO: see comment in Component.enableEvents(). } | protected final void enableEvents(long events) { eventMask |= events; // TODO: see comment in Component.enableEvents(). } | 34,713 |
protected final void enableEvents(long events) { eventMask |= events; // TODO: see comment in Component.enableEvents(). } | protected final void enableEvents(long events) { eventMask |= events; // TODO: see comment in Component.enableEvents(). } | 34,714 |
public String getActionCommand() { return (actionCommand); } | public String getActionCommand() { return (actionCommand); } | 34,715 |
public synchronized ActionListener[] getActionListeners() { return (ActionListener[]) AWTEventMulticaster.getListeners(action_listeners, ActionListener.class); } | public synchronized ActionListener[] getActionListeners() { return (ActionListener[]) AWTEventMulticaster.getListeners(action_listeners, ActionListener.class); } | 34,716 |
public String getLabel() { return (label); } | public String getLabel() { return (label); } | 34,717 |
public EventListener[] getListeners(Class listenerType) { if (listenerType == ActionListener.class) return getActionListeners(); return (EventListener[]) Array.newInstance(listenerType, 0); } | public EventListener[] getListeners(Class listenerType) { if (listenerType == ActionListener.class) return getActionListeners(); return (EventListener[]) Array.newInstance(listenerType, 0); } | 34,718 |
public MenuShortcut getShortcut() { return (shortcut); } | public MenuShortcut getShortcut() { return (shortcut); } | 34,719 |
public boolean isEnabled() { return (enabled); } | public boolean isEnabled() { return (enabled); } | 34,720 |
public String paramString() { return ("label=" + label + ",enabled=" + enabled + ",actionCommand=" + actionCommand + "," + super.paramString()); } | public String paramString() { return ("label=" + label + ",enabled=" + enabled + ",actionCommand=" + actionCommand + "," + super.paramString()); } | 34,721 |
protected void processActionEvent(ActionEvent event) { if (action_listeners != null) action_listeners.actionPerformed(event); } | protected void processActionEvent(ActionEvent event) { if (action_listeners != null) action_listeners.actionPerformed(event); } | 34,722 |
protected void processActionEvent(ActionEvent event) { if (action_listeners != null) action_listeners.actionPerformed(event); } | protected void processActionEvent(ActionEvent event) { if (action_listeners != null) action_listeners.actionPerformed(event); } | 34,723 |
protected void processEvent(AWTEvent event) { if (event instanceof ActionEvent) processActionEvent((ActionEvent) event); } | protected void processEvent(AWTEvent event) { if (event instanceof ActionEvent) processActionEvent((ActionEvent) event); } | 34,724 |
protected void processEvent(AWTEvent event) { if (event instanceof ActionEvent) processActionEvent((ActionEvent) event); } | protected void processEvent(AWTEvent event) { if (event instanceof ActionEvent) processActionEvent((ActionEvent) event); } | 34,725 |
public synchronized void removeActionListener(ActionListener l) { action_listeners = AWTEventMulticaster.remove(action_listeners, l); } | public synchronized void removeActionListener(ActionListener l) { action_listeners = AWTEventMulticaster.remove(action_listeners, l); } | 34,726 |
public synchronized void removeActionListener(ActionListener l) { action_listeners = AWTEventMulticaster.remove(action_listeners, l); } | public synchronized void removeActionListener(ActionListener l) { action_listeners = AWTEventMulticaster.remove(action_listeners, l); } | 34,727 |
public void setActionCommand(String actionCommand) { this.actionCommand = actionCommand; } | public void setActionCommand(String actionCommand) { this.actionCommand = actionCommand; } | 34,728 |
public void setActionCommand(String actionCommand) { this.actionCommand = actionCommand; } | public void setActionCommand(String actionCommand) { this.actionCommand = actionCommand; } | 34,729 |
public synchronized void setEnabled(boolean enabled) { if (enabled == this.enabled) return; this.enabled = enabled; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setEnabled(enabled); } } | public synchronized void setEnabled(boolean enabled) { if (enabled == this.enabled) return; this.enabled = enabled; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setEnabled(enabled); } } | 34,730 |
public synchronized void setLabel(String label) { this.label = label; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setLabel(label); } } | public synchronized void setLabel(String label) { this.label = label; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setLabel(label); } } | 34,731 |
public synchronized void setLabel(String label) { this.label = label; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setLabel(label); } } | public synchronized void setLabel(String label) { this.label = label; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setLabel(label); } } | 34,732 |
public synchronized void setLabel(String label) { this.label = label; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setLabel(label); } } | public synchronized void setLabel(String label) { this.label = label; if (peer != null) { MenuItemPeer mp = (MenuItemPeer) peer; mp.setLabel(label); } } | 34,733 |
public void setShortcut(MenuShortcut shortcut) { this.shortcut = shortcut; } | public void setShortcut(MenuShortcut shortcut) { this.shortcut = shortcut; } | 34,735 |
public void setShortcut(MenuShortcut shortcut) { this.shortcut = shortcut; } | public void setShortcut(MenuShortcut shortcut) { this.shortcut = shortcut; } | 34,736 |
protected final VmThreadQueueEntry addToQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry, boolean ignorePriority) { entry.setQueue(this); if (queue == null) { return entry; } else if (ignorePriority) { VmThreadQueueEntry t = queue; while (t.ne... | protected final VmThreadQueueEntry addToQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry, boolean ignorePriority) { entry.setQueue(this); if (queue == null) { return entry; } else if (ignorePriority) { VmThreadQueueEntry t = queue; while (t.ne... | 34,737 |
protected final VmThreadQueueEntry addToQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry, boolean ignorePriority) { entry.setQueue(this); if (queue == null) { return entry; } else if (ignorePriority) { VmThreadQueueEntry t = queue; while (t.ne... | protected final VmThreadQueueEntry addToQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry, boolean ignorePriority) { entry.setQueue(this); if (queue == null) { return entry; } else if (ignorePriority) { VmThreadQueueEntry t = queue; while (t.ne... | 34,738 |
protected final VmThreadQueueEntry removeFromQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry) { if (queue == null) { return queue; } else if (entry == null) { return queue; } else if (queue == entry) { VmThreadQueueEntry result = entry.next; ... | static VmThreadQueueEntry removeFromQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry) { if (queue == null) { return queue; } else if (entry == null) { return queue; } else if (queue == entry) { VmThreadQueueEntry result = entry.next; ... | 34,739 |
protected final VmThreadQueueEntry removeFromQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry) { if (queue == null) { return queue; } else if (entry == null) { return queue; } else if (queue == entry) { VmThreadQueueEntry result = entry.next; ... | protected final VmThreadQueueEntry removeFromQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry) { if (queue == null) { return queue; } else if (entry == null) { return queue; } else if (queue == entry) { VmThreadQueueEntry result = entry.next; ... | 34,740 |
protected final VmThreadQueueEntry removeFromQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry) { if (queue == null) { return queue; } else if (entry == null) { return queue; } else if (queue == entry) { VmThreadQueueEntry result = entry.next; ... | protected final VmThreadQueueEntry removeFromQueue(VmThreadQueueEntry queue, VmThreadQueueEntry entry) { if (queue == null) { return queue; } else if (entry == null) { return queue; } else if (queue == entry) { VmThreadQueueEntry result = entry.next; ... | 34,741 |
public void repaint(long tm, int x, int y, int width, int height) {} | public void repaint(long tm, int x, int y, int width, int height) {} | 34,742 |
public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | 34,743 |
public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | 34,744 |
public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | 34,745 |
public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | 34,746 |
public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | 34,747 |
public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catc... | 34,748 |
public static boolean getLogTimers() { return verbose; } | public static boolean getLogTimers() { return logTimers; } | 34,749 |
public void setInitialDelay(int initialDelay) { init_delay = initialDelay; } | public void setInitialDelay(int i) { init_delay = initialDelay; } | 34,750 |
public void setInitialDelay(int initialDelay) { init_delay = initialDelay; } | public void setInitialDelay(int initialDelay) { initialDelay = i; } | 34,751 |
public static void setLogTimers(boolean flag) { verbose = flag; } | public static void setLogTimers(boolean lt) { verbose = flag; } | 34,752 |
public static void setLogTimers(boolean flag) { verbose = flag; } | public static void setLogTimers(boolean flag) { logTimers = lt; } | 34,753 |
public PseudoInstructions(final Map labels) { super(labels); } | public PseudoInstructions(final Map labels) { super(labels); } | 34,754 |
public X86Support(Assembler assembler, List instructions, Map labels) { this.modules = new ArrayList(); this.assembler = assembler; this.instructions = instructions; this.labels = labels; modules.add(new X86Core(labels)); modules.add(assembler.getPseudo()); } | public X86Support(Assembler assembler, List instructions, Map labels, Map constants) { this.modules = new ArrayList(); this.assembler = assembler; this.instructions = instructions; this.labels = labels; modules.add(new X86Core(labels)); modules.add(assembler.getPseudo()); ... | 34,755 |
public X86Support(Assembler assembler, List instructions, Map labels) { this.modules = new ArrayList(); this.assembler = assembler; this.instructions = instructions; this.labels = labels; modules.add(new X86Core(labels)); modules.add(assembler.getPseudo()); } | public X86Support(Assembler assembler, List instructions, Map labels) { this.modules = new ArrayList(); this.assembler = assembler; this.instructions = instructions; this.labels = labels; modules.add(new X86Core(labels, constants)); modules.add(assembler.getPseudo()); } | 34,756 |
protected Flags runDiff(SourceFile vmFile, SourceFile cpFile, String diffFileName, Map<String, String> packageDiffs) throws IOException, InterruptedException { final String[] cmd = { "diff", //"-b", // Ignore white space change "-E", // Ignore changes due ... | protected Flags runDiff(SourceFile vmFile, SourceFile cpFile, String diffFileName, Map<String, String> packageDiffs) throws IOException, InterruptedException { final String[] cmd = { "diff", //"-b", // Ignore white space change "-E", // Ignore changes due ... | 34,757 |
public void mouseWheelMoved(MouseWheelEvent event) { // TODO: Implement this properly. } | public void mouseWheelMoved(MouseWheelEvent e) { // TODO: Implement this properly. } | 34,758 |
public void mouseWheelMoved(MouseWheelEvent event) { // TODO: Implement this properly. } | if (scrollpane.getViewport().getComponentCount() == 0) return; Component target = scrollpane.getViewport().getComponent(0); JScrollBar bar = scrollpane.getVerticalScrollBar(); Scrollable scrollable = (target instanceof Scrollable) ? (Scrollable) target : null; boolean tracksHeight = scrollable != null && scrollable.g... | 34,759 |
protected void installListeners(JScrollPane sp) { if (spPropertyChangeListener == null) spPropertyChangeListener = createPropertyChangeListener(); sp.addPropertyChangeListener(spPropertyChangeListener); if (hsbChangeListener == null) hsbChangeListener = createHSBChangeListener(); sp.getHorizont... | protected void installListeners(JScrollPane sp) { if (spPropertyChangeListener == null) spPropertyChangeListener = createPropertyChangeListener(); sp.addPropertyChangeListener(spPropertyChangeListener); if (hsbChangeListener == null) hsbChangeListener = createHSBChangeListener(); sp.getHorizont... | 34,760 |
protected void installListeners(JScrollPane sp) { if (spPropertyChangeListener == null) spPropertyChangeListener = createPropertyChangeListener(); sp.addPropertyChangeListener(spPropertyChangeListener); if (hsbChangeListener == null) hsbChangeListener = createHSBChangeListener(); sp.getHorizont... | protected void installListeners(JScrollPane sp) { if (spPropertyChangeListener == null) spPropertyChangeListener = createPropertyChangeListener(); sp.addPropertyChangeListener(spPropertyChangeListener); if (hsbChangeListener == null) hsbChangeListener = createHSBChangeListener(); sp.getHorizont... | 34,761 |
protected void uninstallListeners(JComponent c) { JScrollPane sp = (JScrollPane) c; sp.removePropertyChangeListener(spPropertyChangeListener); sp.getHorizontalScrollBar().getModel() .removeChangeListener(hsbChangeListener); sp.getVerticalScrollBar().getModel() ... | protected void uninstallListeners(JComponent c) { JScrollPane sp = (JScrollPane) c; sp.removePropertyChangeListener(spPropertyChangeListener); sp.getHorizontalScrollBar().getModel() .removeChangeListener(hsbChangeListener); sp.getVerticalScrollBar().getModel() ... | 34,762 |
public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED & COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED & COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED | COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED & COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | 34,763 |
public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED & COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED & COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED & COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED | COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | 34,764 |
public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED & COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED & COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED & COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED & COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | 34,765 |
public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED & COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED & COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED & COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED & COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else ... | 34,766 |
public void addImage(Image image, int id) { MediaEntry e = new MediaEntry(); e.id = id; e.image = image; e.next = head; head = e; // Start tracking image status. target.checkImage(image, e); } | public void addImage(Image image, int id) { MediaEntry e = new MediaEntry(); e.id = id; e.image = image; e.next = head; head = e; // Start tracking image status. int flags = target.checkImage(image, e); e.imageUpdate(image, flags, -1, -1, -1, -1); } | 34,767 |
public CloneNotSupportedException() { super(); } | public CloneNotSupportedException() { super(); } | 34,768 |
public int hashCode() { return super.hashCode(); } | public final int hashCode() { return super.hashCode(); } | 34,769 |
public Object nextElement() throws NoSuchElementException { return nextToken(); } | public Object nextElement() throws NoSuchElementException { return nextToken(); } | 34,770 |
public void activateFrame(JInternalFrame frame) { // TODO } // activateFrame() | public void activateFrame(JInternalFrame frame) { // TODO } // activateFrame() | 34,771 |
public void beginDraggingFrame(JComponent component) { // TODO } // beginDraggingFrame() | public void beginDraggingFrame(JComponent component) { // TODO } // beginDraggingFrame() | 34,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.