bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private static int getTextAlign(Context c, LineBox line) { if (c.getCurrentStyle().isIdent(CSSName.TEXT_ALIGN, IdentValue.LEFT)) return 0; int leftover = line.getParent().contentWidth - line.contentWidth; if (c.getCurrentStyle().isIdent(CSSName.TEXT_ALIGN, IdentValue.RIGHT)) { //Uu.p...
private static int getTextAlign(Context c, LineBox line) { if (c.getCurrentStyle().isIdent(CSSName.TEXT_ALIGN, IdentValue.LEFT)) return 0; int leftover = line.getParent().contentWidth - line.contentWidth; if (c.getCurrentStyle().isIdent(CSSName.TEXT_ALIGN, IdentValue.RIGHT)) { //Uu.p...
43,623
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex...
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = ib.getStyle().getCalculatedStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) {...
43,624
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex...
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex...
43,625
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex...
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex...
43,626
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
43,628
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
43,629
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
43,630
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ...
43,631
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
43,632
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
43,633
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
43,634
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
43,635
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
43,636
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
static int paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, boolean restyle, LinkedList pushedStyles, LinkedList decorations, int padX) { //Uu.p("paint inline: " + ib); restyle = restyle || ib.restyle;//cascade it down ib.restyle = false;//reset if (ib.pushstyles != nul...
43,637
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such { //Uu.p("painting box: " + box); LinkedList decorations = c.getDecorations(); //doesn't work here because blocks may be in...
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such { //Uu.p("painting box: " + box); LinkedList decorations = c.getDecorations(); //doesn't work here because blocks may be in...
43,638
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
43,639
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
43,640
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
43,641
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
static void paintLine(Context c, LineBox line, boolean restyle, LinkedList decorations) { //Uu.p("painting line: " + line); // get Xx and y if (!line.textAligned) { line.x += getTextAlign(c, line); line.textAligned = true; } int lx = line.x; //Uu.p("ge...
43,642
public static void paintText(Context c, int ix, int iy, InlineTextBox inline, LineMetrics lm) { String text = inline.getSubstring(); Graphics g = c.getGraphics(); //adjust font for current settings Font oldfont = c.getGraphics().getFont(); c.getGraphics().setFont(c.getCurrentFont(...
public static void paintText(Context c, int ix, int iy, InlineTextBox inline, LineMetrics lm) { String text = inline.getSubstring(); Graphics g = c.getGraphics(); //adjust font for current settings Font oldfont = c.getGraphics().getFont(); c.getGraphics().setFont(inline.getStyle()...
43,643
public static void paintText(Context c, int ix, int iy, InlineTextBox inline, LineMetrics lm) { String text = inline.getSubstring(); Graphics g = c.getGraphics(); //adjust font for current settings Font oldfont = c.getGraphics().getFont(); c.getGraphics().setFont(c.getCurrentFont(...
public static void paintText(Context c, int ix, int iy, InlineTextBox inline, LineMetrics lm) { String text = inline.getSubstring(); Graphics g = c.getGraphics(); //adjust font for current settings Font oldfont = c.getGraphics().getFont(); c.getGraphics().setFont(c.getCurrentFont(...
43,644
public void setUp() throws Exception { super.setUp(); tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager()); tl.start(); ms = new PersistentMessageStore("persistent-message-store", tl); tr = new TransactionRepository(tl); channel = new DurableSubscription("client...
public void setUp() throws Exception { super.setUp(); tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager()); tl.start(); ms = new PersistentMessageStore("persistent-message-store", tl); tr = new TransactionRepository(tl); channel = new DurableSubscription("client...
43,645
public void setUp() throws Exception { super.setUp(); InitialContext ic = new InitialContext(); tr = new TransactionRepository(); ic.close(); msPersistenceManagerDelegate = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager()); ((JDBCPersistenceManag...
public void setUp() throws Exception { super.setUp(); InitialContext ic = new InitialContext(); tr = new TransactionRepository(); ic.close(); msPersistenceManagerDelegate = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager()); ((JDBCPersistenceManag...
43,646
public JDBCTransactionLog(DataSource ds, TransactionManager tm) throws Exception { this.ds = ds; this.tm = tm; bytesStoredAs = BYTES_AS_BYTES; sqlProperties = new Properties(); }
public JDBCTransactionLog() throws Exception { this.ds = ds; this.tm = tm; bytesStoredAs = BYTES_AS_BYTES; sqlProperties = new Properties(); }
43,647
public JDBCTransactionLog(DataSource ds, TransactionManager tm) throws Exception { this.ds = ds; this.tm = tm; bytesStoredAs = BYTES_AS_BYTES; sqlProperties = new Properties(); }
public JDBCTransactionLog(DataSource ds, TransactionManager tm) throws Exception { this.ds = ds; this.tm = tm; bytesStoredAs = BYTES_AS_BYTES; sqlProperties = new Properties(); }
43,648
public DurableSubscription(String clientID, String subName, Topic topic, String selector, MessageStoreDelegate ms, TransactionLogDelegate tl) { super(clientID + "." + subName, topic, selector, ms, tl); this.subName = subName; }
public DurableSubscription(String clientID, String subName, Topic topic, String selector, MessageStoreDelegate ms, TransactionLogDelegate tl) { super(clientID + "." + subName, topic, selector, noLocal, ms, tl); this.subName = subName; }
43,649
final boolean writeMouseCommand(int cmd) { // First clear the mouse channel, otherwise we might read // old data back mouseChannel.clear(); // Transmit the command writeController(CCMD_WRITE_MOUSE); writeData(cmd); int data; try { data = mouseChannel.read(50); } catch (IOException ex) { log.debug("IOExcep...
final boolean writeMouseCommand(int cmd) { // First clear the mouse channel, otherwise we might read // old data back mouseChannel.clear(); // Transmit the command writeController(CCMD_WRITE_MOUSE); writeData(cmd); int data; try { data = mouseChannel.read(50); } catch (IOException ex) { log.debug("IOExcep...
43,651
public int read(long timeout) throws IOException, TimeoutException, InterruptedException { if (!isOpen()) { throw new ClosedChannelException(); } return queue.pop(timeout) & 0xFF; }
public int read(long timeout) throws IOException, TimeoutException, InterruptedException { if (!isOpen()) { throw new ClosedChannelException(); } return queue.pop(timeout) & 0xFF; }
43,652
public int read(long timeout) throws IOException, TimeoutException, InterruptedException { if (!isOpen()) { throw new ClosedChannelException(); } return queue.pop(timeout) & 0xFF; }
public int read(long timeout) throws IOException, TimeoutException, InterruptedException { if (!isOpen()) { throw new ClosedChannelException(); } return queue.pop(timeout) & 0xFF; }
43,653
final int getMode() { writeController(CCMD_READ_MODE); return readData(); }
final int getMode() { writeController(CCMD_READ_MODE); return readData(); }
43,654
final boolean writeMouseCommands(int[] cmds) { boolean ok = true; for (int i = 0; i < cmds.length; i++) { ok &= writeMouseCommand(cmds[i]); } return ok; }
final boolean writeMouseCommands(int[] cmds) { boolean ok = true; for (int i = 0; i < cmds.length; i++) { ok &= writeMouseCommand(cmds[i]); } return ok; }
43,655
protected synchronized void startDevice() throws DriverException { final Device dev = getDevice(); log.info("Starting " + dev.getId()); channel = getChannel(); interpreter = createInterpreter(); // start the deamon anyway, so we can register a mouse later daemon = new PointerDaemon(dev.getId() + "-daemon"); dae...
protected synchronized void startDevice() throws DriverException { final Device dev = getDevice(); log.info("Starting " + dev.getId()); channel = getChannel(); interpreter = createInterpreter(); // start the deamon anyway, so we can register a mouse later daemon = new PointerDaemon(dev.getId() + "-daemon"); dae...
43,656
private final void processQueues() { int status; while (((status = readStatus()) & AUX_STAT_OBF) != 0) { final int data = readData(); // determine which driver shall handle the scancode final PS2ByteChannel channel; if ((status & STAT_MOUSE_OBF) != 0) { channel = mouseChannel; } else { channel = kbCh...
private final void processQueues() { int status; while (((status = readStatus()) & AUX_STAT_OBF) != 0) { final int data = readData(); // determine which driver shall handle the scancode final PS2ByteChannel channel; if ((status & STAT_MOUSE_OBF) != 0) { channel = mouseChannel; } else { channel = kbCh...
43,657
public List getSecurityPermissions(long id) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); ...
public List getSecurityPermissions(long id) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); ...
43,659
public void installDefaults(AbstractButton b) { super.installDefaults(b); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); focusColor = defaults.getColor(getPropertyPrefix() + "focus"); selectColor = defaults.getColor(getPropertyPrefix() + "select"); disabledTextColor = defaults.getColor(getP...
public void installDefaults(AbstractButton b) { super.installDefaults(b); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); focusColor = defaults.getColor(getPropertyPrefix() + "focus"); selectColor = defaults.getColor(getPropertyPrefix() + "select"); disabledTextColor = defaults.getColor(getP...
43,660
public void valueChanged(ListSelectionEvent e) { // TODO: Implement this properly. }
int index1 = e.getFirstIndex(); int index2 = e.getLastIndex(); Rectangle damaged = getCellBounds(list, index1, index2); list.repaint(damaged); int index1 = e.getFirstIndex(); int index2 = e.getLastIndex(); Rectangle damaged = getCellBounds(list, index1, index2); list.repaint(damaged); int index1 = e.getFirstIndex(); in...
43,661
protected int convertYToRow(int y0) { for (int row = 0; row < cellHeights.length; ++row) { int h = getRowHeight(row); if (y0 < h) return row; y0 -= h; } return -1; }
protected int convertYToRow(int y0) { for (int row = 0; row < cellHeights.length; ++row) { h += cellHeights[row]; if (y0 < h) return row; y0 -= h; } return -1; }
43,662
protected int convertYToRow(int y0) { for (int row = 0; row < cellHeights.length; ++row) { int h = getRowHeight(row); if (y0 < h) return row; y0 -= h; } return -1; }
protected int convertYToRow(int y0) { for (int row = 0; row < cellHeights.length; ++row) { int h = getRowHeight(row); if (y0 < h) return row; y0 -= h; } return -1; }
43,663
protected int convertYToRow(int y0) { for (int row = 0; row < cellHeights.length; ++row) { int h = getRowHeight(row); if (y0 < h) return row; y0 -= h; } return -1; }
protected int convertYToRow(int y0) { for (int row = 0; row < cellHeights.length; ++row) { int h = getRowHeight(row); if (y0 < h) return row; y0 -= h; } } } return index; }
43,664
protected int getRowHeight(int row) { if (row < 0 || row >= cellHeights.length) return -1; else if (cellHeight != -1) return cellHeight; else return cellHeights[row]; }
protected int getRowHeight(int row) { if (row < 0 || row >= cellHeights.length) return -1; else if (cellHeight != -1) return cellHeight; else return cellHeights[row]; }
43,665
protected int getRowHeight(int row) { if (row < 0 || row >= cellHeights.length) return -1; else if (cellHeight != -1) return cellHeight; else return cellHeights[row]; }
protected int getRowHeight(int row) { if (row < 0 || row >= cellHeights.length) return -1; else if (cellHeight != -1) return cellHeight; else height = cellHeights[row]; } return height; }
43,666
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap focusInputMap = (InputMap)defaults.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap ...
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap focusInputMap = (InputMap)defaults.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap ...
43,667
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap focusInputMap = (InputMap)defaults.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap ...
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap focusInputMap = (InputMap)defaults.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap ...
43,668
protected void installListeners() { if (focusListener == null) focusListener = createFocusListener(); list.addFocusListener(focusListener); if (listDataListener == null) listDataListener = createListDataListener(); list.getModel().addListDataListener(listDataListener); if (listSelectionListe...
protected void installListeners() { if (focusListener == null) focusListener = createFocusListener(); list.addFocusListener(focusListener); if (listDataListener == null) listDataListener = createListDataListener(); list.getModel().addListDataListener(listDataListener); if (listSelectionListe...
43,669
public int locationToIndex(JList list, Point location) { int layoutOrientation = list.getLayoutOrientation(); int index = -1; switch (layoutOrientation) { case JList.VERTICAL: index = convertYToRow(location.y); break; case JList.HORIZONTAL_WRAP: // determine visible rows ...
public int locationToIndex(JList list, Point location) { int layoutOrientation = list.getLayoutOrientation(); int index = -1; switch (layoutOrientation) { case JList.VERTICAL: index = convertYToRow(location.y); break; case JList.HORIZONTAL_WRAP: // determine visible rows ...
43,670
public void paint(Graphics g, JComponent c) { int nrows = list.getModel().getSize(); if (nrows == 0) return; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLe...
public void paint(Graphics g, JComponent c) { int nrows = list.getModel().getSize(); if (nrows == 0) return; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLe...
43,671
public void paint(Graphics g, JComponent c) { int nrows = list.getModel().getSize(); if (nrows == 0) return; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLe...
public void paint(Graphics g, JComponent c) { int nrows = list.getModel().getSize(); if (nrows == 0) return; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLe...
43,672
protected void paintCell(Graphics g, int row, Rectangle bounds, ListCellRenderer rend, ListModel data, ListSelectionModel sel, int lead) { boolean isSel = list.isSelectedIndex(row); boolean hasFocus = (list.getLeadSelectionIndex() == row) && BasicListUI.this.list.hasFocus(); ...
protected void paintCell(Graphics g, int row, Rectangle bounds, ListCellRenderer rend, ListModel data, ListSelectionModel sel, int lead){boolean isSel = list.isSelectedIndex(row);boolean hasFocus = (list.getLeadSelectionIndex() == row) && BasicListUI.this.list.hasFocus();Component comp = rend.getListCellRendererCompone...
43,673
protected void uninstallDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); list.setForeground(null); list.setBackground(null); list.setSelectionForeground(null); list.setSelectionBackground(null); }
protected void uninstallDefaults() { list.setForeground(null); list.setBackground(null); list.setSelectionForeground(null); list.setSelectionBackground(null); }
43,674
protected void updateLayoutState() { int nrows = list.getModel().getSize(); cellHeight = -1; cellWidth = -1; if (cellHeights == null || cellHeights.length != nrows) cellHeights = new int[nrows]; if (list.getFixedCellHeight() == -1 || list.getFixedCellWidth() == -1) { ListCellRenderer ...
protected void updateLayoutState() { int nrows = list.getModel().getSize(); cellHeight = -1; cellWidth = -1; if (cellHeights == null || cellHeights.length != nrows) cellHeights = new int[nrows]; ListCellRenderer rend = list.getCellRenderer(); int fixedCellHeight = list.getFixedCellHeight(); if (...
43,675
protected void updateLayoutState() { int nrows = list.getModel().getSize(); cellHeight = -1; cellWidth = -1; if (cellHeights == null || cellHeights.length != nrows) cellHeights = new int[nrows]; if (list.getFixedCellHeight() == -1 || list.getFixedCellWidth() == -1) { ListCellRenderer ...
protected void updateLayoutState() { int nrows = list.getModel().getSize(); cellHeight = -1; cellWidth = -1; if (cellHeights == null || cellHeights.length != nrows) cellHeights = new int[nrows]; if (list.getFixedCellHeight() == -1 || list.getFixedCellWidth() == -1) { ListCellRenderer ...
43,676
protected void updateLayoutState() { int nrows = list.getModel().getSize(); cellHeight = -1; cellWidth = -1; if (cellHeights == null || cellHeights.length != nrows) cellHeights = new int[nrows]; if (list.getFixedCellHeight() == -1 || list.getFixedCellWidth() == -1) { ListCellRenderer ...
protected void updateLayoutState() { int nrows = list.getModel().getSize(); cellHeight = -1; cellWidth = -1; if (cellHeights == null || cellHeights.length != nrows) cellHeights = new int[nrows]; if (list.getFixedCellHeight() == -1 || list.getFixedCellWidth() == -1) { ListCellRenderer ...
43,677
public int getSelectionMode() { return mode; }
public int getSelectionMode() { return mode; }
43,678
public InputMapUIResource() { // TODO } // InputMapUIResource()
public InputMapUIResource() { // TODO } // InputMapUIResource()
43,679
public InMemoryMessageStore(Serializable storeID, boolean acceptReliableMessages) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messageRefs = new ConcurrentReaderHashMap(); messages = new ConcurrentReaderHashMap(); log.debug(this + " initialized"); }
public InMemoryMessageStore(Serializable storeID) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messageRefs = new ConcurrentReaderHashMap(); messages = new ConcurrentReaderHashMap(); log.debug(this + " initialized"); }
43,680
public InMemoryMessageStore(Serializable storeID, boolean acceptReliableMessages) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messageRefs = new ConcurrentReaderHashMap(); messages = new ConcurrentReaderHashMap(); log.debug(this + " initialized"); }
public InMemoryMessageStore(Serializable storeID, boolean acceptReliableMessages) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messageRefs = new ConcurrentReaderHashMap(); messages = new ConcurrentReaderHashMap(); log.debug(this + " initialized"); }
43,681
protected MessageReference createReference(Routable r) { Object id = r.getMessageID(); messages.remove(id); // TODO Why? MessageReference ref = new WeakMessageReference((Message)r, this); messageRefs.put(id, new WeakReference(ref)); messages.put(id, r); if (log.isTraceEnabled()) { log...
protected MessageReference createReference(Message m) { Object id = r.getMessageID(); messages.remove(id); // TODO Why? MessageReference ref = new WeakMessageReference((Message)r, this); messageRefs.put(id, new WeakReference(ref)); messages.put(id, r); if (log.isTraceEnabled()) { log....
43,682
protected MessageReference createReference(Routable r) { Object id = r.getMessageID(); messages.remove(id); // TODO Why? MessageReference ref = new WeakMessageReference((Message)r, this); messageRefs.put(id, new WeakReference(ref)); messages.put(id, r); if (log.isTraceEnabled()) { log...
protected MessageReference createReference(Routable r) { Object id = r.getMessageID(); messages.remove(id); // TODO Why? MessageReference ref = new WeakMessageReference((Message)r, this); messageRefs.put(id, new WeakReference(ref)); messages.put(id, r); if (log.isTraceEnabled()) { log...
43,683
public MessageReference getReference(Serializable messageID) { WeakReference ref = (WeakReference)messageRefs.get(messageID); MessageReference mref = ref == null ? null : (MessageReference)ref.get(); if (log.isTraceEnabled()) { log.trace("getting reference for message ID: " + messageID + " from memo...
public MessageReference getReference(Serializable messageID) { WeakReference ref = (WeakReference)messageRefs.get(messageID); MessageReference mref = ref == null ? null : (MessageReference)ref.get(); if (log.isTraceEnabled()) { log.trace("getting reference for message ID: " + messageID + " from memo...
43,684
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
43,686
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messageRefs.remove(ref...
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messageRefs.remove(ref...
43,687
public WeakMessageReference(Message m, InMemoryMessageStore ms) { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next...
public WeakMessageReference() { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next(); putHeader(name, m.getH...
43,688
public WeakMessageReference(Message m, InMemoryMessageStore ms) { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next...
public WeakMessageReference(Message m, InMemoryMessageStore ms) { this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms); for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next...
43,689
public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model); getGraphLayoutCache().setFactory(new WorkflowCellViewFactory()); getGraphLayoutCache().setSelectsAllInsertedCells(false); ToolTipManager.sharedInstance().registerComponent(this); ...
public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model); getGraphLayoutCache().setFactory(new WorkflowCellViewFactory()); getGraphLayoutCache().setSelectsAllInsertedCells(false); ToolTipManager.sharedInstance().registerComponent(this); ...
43,690
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou...
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = CellFactory.createStep((WorkflowDescriptor)descriptor.getParent(), descriptor, getWorkflowGraphModel(), null); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { ...
43,691
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou...
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou...
43,692
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou...
public void addStepDescriptor(StepDescriptor descriptor) { StepCell step = new StepCell(descriptor); if(layout != null) { double[] bounds = layout.getBounds(step.getId(), "StepCell"); if(bounds != null) { Rectangle2D rect = new Rectangle(); rect.setRect(bounds[0], bounds[1], bou...
43,693
public void close() throws NamingException;
public void close() throws NamingException;
43,694
public boolean hasMore() throws NamingException;
public boolean hasMore() throws NamingException;
43,695
public Object next() throws NamingException;
public Object next() throws NamingException;
43,696
public BasicAttribute (String id, Object value) { this (id, value, false); }
private BasicAttribute () { this (id, value, false); }
43,697
public BasicAttribute (String id, Object value) { this (id, value, false); }
public BasicAttribute (String id, Object value) { }
43,698
public Object clone();
public Object clone();
43,699
public boolean isCaseIgnored();
public boolean isCaseIgnored();
43,700
public int size();
public int size();
43,701
public NamingEnumeration getAll();
public NamingEnumeration getAll();
43,702
public NamingEnumeration getIDs();
public NamingEnumeration getIDs();
43,703
public Attribute put(Attribute attr);
public Attribute put(Attribute attr);
43,704
public JBossObjectMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders...
public JBossObjectMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders...
43,705
public JBossBytesMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ...
public JBossBytesMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ...
43,706
public JBossStreamMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ...
public JBossStreamMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ...
43,707
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
43,708
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
43,709
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
43,710
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
protected MemoryMapEntry[] createMemoryMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); final MemoryMapEntry[] map = new MemoryMapEntry[cnt]; Address mmap = UnsafeX86.getMultibootMMap(); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIn...
43,711
protected VmMultiMediaSupport createMultiMediaSupport() { final X86CpuID id = (X86CpuID)VmProcessor.current().getCPUID(); if (id.hasMMX()) { return new MMXMultiMediaSupport(); } else { return super.createMultiMediaSupport(); } }
protected VmMultiMediaSupport createMultiMediaSupport() { final X86CpuID id = (X86CpuID) VmProcessor.current().getCPUID(); if (id.hasMMX()) { return new MMXMultiMediaSupport(); } else { return super.createMultiMediaSupport(); } }
43,712
public abstract VmProcessor createProcessor(int id, VmSharedStatics sharedStatics, VmIsolatedStatics isolatedStatics, VmScheduler scheduler);
public abstract VmProcessor createProcessor(int id, VmSharedStatics sharedStatics, VmIsolatedStatics isolatedStatics, VmScheduler scheduler);
43,713
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
43,714
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
43,715
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
43,716
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
protected final void dumpMultibootMMap() { final int cnt = UnsafeX86.getMultibootMMapLength(); Address mmap = UnsafeX86.getMultibootMMap(); Unsafe.debug("Memory map\n"); for (int i = 0; i < cnt; i++) { long base = mmap.loadLong(Offset.fromIntZeroExtend(MBMMAP_BASEADDR)...
43,717
public String getFullName() { if (getReferenceSize() == 4) { return getName() + "-32"; } else { return getName() + "-64"; } }
public String getFullName() { if (getReferenceSize() == 4) { return getName() + "-32"; } else { return getName() + "-64"; } }
43,718
public final X86Constants.Mode getMode() { if (getReferenceSize() == 4) { return X86Constants.Mode.CODE32; } else { return X86Constants.Mode.CODE64; } }
public final X86Constants.Mode getMode() { if (getReferenceSize() == 4) { return X86Constants.Mode.CODE32; } else { return X86Constants.Mode.CODE64; } }
43,719
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM...
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM...
43,720
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM...
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM...
43,721
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM...
final X86CpuID cpuId = (X86CpuID) cpu.getCPUID(); final HashMap<Integer, MPProcessorEntry> physCpus = new HashMap<Integer, MPProcessorEntry>(); final X86CpuID cpuId = (X86CpuID) cpu.getCPUID(); final HashMap<Integer, MPProcessorEntry> physCpus = new HashMap<Integer, MPProcessorEntry>(); final X86CpuID cpuId = (X86Cp...
43,722
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM...
protected final void initializeProcessors(ResourceManager rm) { final String cmdLine = VmSystem.getCmdLine(); if (cmdLine.indexOf("mp=no") >= 0) { return; } // final MPFloatingPointerStructure mp = MPFloatingPointerStructure.find( rm, ResourceOwner.SYSTEM...
43,723
final void setApic(LocalAPIC apic) { this.apic = apic; }
final void setApic(LocalAPIC apic) { this.localAPIC = apic; }
43,725
public static MPFloatingPointerStructure find(ResourceManager rm, ResourceOwner owner) { MPFloatingPointerStructure mp; mp = find(rm, owner, 639 * 1024, 640 * 1024); if (mp == null) { mp = find(rm, owner, 0xF0000, 0xFFFFF); } if (mp == null) { return null; ...
public static MPFloatingPointerStructure find(ResourceManager rm, ResourceOwner owner) { MPFloatingPointerStructure mp; mp = find(rm, owner, 639 * 1024, 640 * 1024); if (mp == null) { mp = find(rm, owner, 0xF0000, 0xFFFFF); } if (mp == null) { return null; ...
43,726
public String toString() { return "MP 1." + getSpecRevision() + ", ConfigTableAt 0x" + NumberUtils.hex(mem.getInt(0x04)); }
public String toString() { return "MP 1." + getSpecRevision() + ", config-type 0x" + NumberUtils.hex(getSystemConfigurationType(), 2) + ", IMCR " + (isIMCRPresent() ? "present" : "not present") + ", ConfigTableAt 0x" + NumberUtils.hex(mem.getInt(0x04)); }
43,727