bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 8,261 |
public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 8,262 |
public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 8,263 |
public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 8,264 |
public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 8,265 |
public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.... | public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.... | 8,266 |
public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.... | public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.... | 8,267 |
public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register... | public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register... | 8,268 |
public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register... | public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register... | 8,269 |
public void actionPerformed(ActionEvent e) { doSpoolStuff(getSpooledFile(row),e.getActionCommand()); } | public void actionPerformed(ActionEvent e) { doSpoolStuff(getSpooledFile(row),e.getActionCommand()); } | 8,272 |
public void run() { status.setText(stat); } | public void run() { status.setText(stat); } | 8,273 |
private static void incorrect_plug_in(Throwable ex) throws NO_IMPLEMENT { NO_IMPLEMENT no = new NO_IMPLEMENT("Incorrect CORBA plug-in"); no.initCause(ex); throw no; } | static void incorrect_plug_in(Throwable ex) throws NO_IMPLEMENT { NO_IMPLEMENT no = new NO_IMPLEMENT("Incorrect CORBA plug-in"); no.initCause(ex); throw no; } | 8,277 |
public static Serializable read(InputStream input) { // Explicitly prevent the stream from closing as we may need // to read the subsequent bytes as well. Stream may be auto-closed // in its finalizer. try { // We may need to jump back if the value is read via value factory. input.mark... | public static Serializable read(InputStream input) { // Explicitly prevent the stream from closing as we may need // to read the subsequent bytes as well. Stream may be auto-closed // in its finalizer. try { // We may need to jump back if the value is read via value factory. input.mark... | 8,278 |
public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 8,279 |
public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 8,280 |
public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 8,281 |
public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 8,282 |
private static void write_instance(OutputStream output, Serializable value, String id ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use // a codebase. ... | private static void write_instance(OutputStream output, Serializable value, String id, Object helper ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use /... | 8,284 |
private static void write_instance(OutputStream output, Serializable value, String id ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use // a codebase. ... | private static void write_instance(OutputStream output, Serializable value, String id ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use // a codebase. ... | 8,285 |
protected String basicXMLWriter ( Writer outputWriter, String indent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ... | protected String basicXMLWriter ( Writer outputWriter, String indent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ... | 8,287 |
public boolean add(Attribute attribute) { return addInternal(attribute, interfaceName); } | public boolean add(Attribute attribute) { return addInternal(attribute, myInterface); } | 8,288 |
public boolean addAll(AttributeSet attributes) { return addAllInternal(attributes, interfaceName); } | public boolean addAll(AttributeSet attributes) { return addAllInternal(attributes, myInterface); } | 8,289 |
private boolean addInternal(Attribute attribute, Class interfaceName) { if (attribute == null) throw new NullPointerException("attribute may not be null"); AttributeSetUtilities.verifyAttributeCategory(interfaceName, this.interfaceName); Object old = attributeMap.put (attribute.getCategory(... | private boolean addInternal(Attribute attribute, Class interfaceName) { if (attribute == null) throw new NullPointerException("attribute may not be null"); AttributeSetUtilities.verifyAttributeCategory(interfaceName, myInterface); Object old = attributeMap.put (attribute.getCategory(), Attr... | 8,290 |
private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | 8,291 |
private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | 8,292 |
private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | 8,293 |
private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | 8,294 |
private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | private void createEmulatorOptionsPanel() { // create emulator options panel emulOptPanel.setLayout(new BorderLayout()); JPanel contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); emulOptPanel.add(contentPane,BorderLayout.NORTH); // setup the ... | 8,295 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model sessions = new JSortTable(ctm); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("connec... | 8,296 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model Action connect = new AbstractAction("connect") { public void actionPerformed(ActionEvent e) { doActionConnect(); } }; // Add enter as def... | 8,297 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,298 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,299 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,300 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,301 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,302 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,303 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,304 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,305 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,306 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,307 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,308 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,309 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,310 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,311 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,312 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,313 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,314 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,315 |
private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | private void createSessionsPanel() { // get an instance of our table model ctm = new ConfigureTableModel(); // create a table using our custom table model sessions = new JSortTable(ctm); // Add enter as default key for connect with this session Action connect = new AbstractAction("conne... | 8,316 |
void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create sessions panel createSessionsPanel(); // create emulator options panel createEmulatorOptionsPanel(); // create the button options ... | void jbInit() throws Exception { // make it non resizable setResizable(false); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create sessions panel createSessionsPanel(); // create emulator options panel createEmulatorOptionsPanel(); // create the button options ... | 8,317 |
public void stateChanged(ChangeEvent e) { JTabbedPane p = (JTabbedPane)e.getSource(); int index = p.getSelectedIndex(); if (!p.getTitleAt(index).equals(LangTool.getString("ss.labelConnections"))) connectButton.setEnabled(false); else connectButton.setEnabled(true); } | public void stateChanged(ChangeEvent e) { JTabbedPane p = (JTabbedPane)e.getSource(); int index = p.getSelectedIndex(); if (!p.getTitleAt(index).equals(LangTool.getString("ss.labelConnections"))) connectButton.setEnabled(false); else connectButton.setEnabled(true); } | 8,318 |
public abstract void startSystemPlugins() throws PluginException; | public abstract void startSystemPlugins(List descriptors) throws PluginException; | 8,319 |
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalTreeUI(); return instance; } | public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalTreeUI instance; if (o == null) { instance = new MetalTreeUI(); return instance; } | 8,320 |
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | 8,322 |
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | 8,323 |
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | 8,324 |
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ... | 8,325 |
void advanceMultipleSelection (ListSelectionModel firstModel, int firstMin, int firstMax, ListSelectionModel secondModel, int secondMin, int secondMax, boolean reverse, boolean eventIsTab) { // If eventIsTab... | void advanceMultipleSelection (ListSelectionModel firstModel, int firstMin, int firstMax, ListSelectionModel secondModel, int secondMin, int secondMax, boolean reverse, boolean eventIsTab) { // If eventIsTab... | 8,327 |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 8,328 |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 8,329 |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 8,330 |
Class generate(ClassLoader loader) { byte[] bytecode = new byte[pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) bytecode[i] = (byte) c[... | Class generate(ClassLoader loader) { byte[] bytecode = new byte[pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) bytecode[i] = (byte) c[... | 8,331 |
public Throwable getException() { return getCause(); } | public Throwable getException() { return getCause(); } | 8,332 |
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); ... | public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); ... | 8,334 |
protected void loadImage(Image image) { try { tracker.addImage(image, id); id++; tracker.waitForID(id - 1); } catch (InterruptedException ex) { ; // ignore this for now } finally { loadStatus = tracker.statusID(id - 1, false); } } | protected void loadImage(Image image) { try { tracker.addImage(image, id) id++ tracker.waitForID(id - 1) } catch (InterruptedException ex) { // ignore this for now } finally { loadStatus = tracker.statusID(id - 1, false) } } | 8,335 |
public void addCSSAttribute(MutableAttributeSet attr, CSS.Attribute key, String value) { attr.addAttribute(key, value); } | public void addCSSAttribute(MutableAttributeSet attr, CSS.Attribute key, String value) { Object val = CSS.getValue(key, value); attr.addAttribute(key, val); } | 8,337 |
public void addRule(String rule) { CssParser cp = new CssParser(); try { cp.parse(base, new StringReader(rule), false, false); } catch (IOException io) { // Do nothing here. } } | public void addRule(String rule) { CssParser cp = new CssParser(); try { cp.parse(base, new StringReader(rule), false, false); } catch (IOException io) { // Do nothing here. } } | 8,338 |
public Color getBackground(AttributeSet a) { return super.getBackground(a); } | public Color getBackground(AttributeSet a) { CSSColor c = (CSSColor) a.getAttribute(CSS.Attribute.BACKGROUND_COLOR); Color color = null; if (c != null) color = c.getValue(); return color; } | 8,339 |
public Font getFont(AttributeSet a) { return super.getFont(a); } | public Font getFont(AttributeSet a) { FontSize size = (FontSize) a.getAttribute(CSS.Attribute.FONT_SIZE); int realSize = 12; if (size != null) realSize = size.getValue(); Object valign = a.getAttribute(CSS.Attribute.VERTICAL_ALIGN); if (valign != null) { String v = valign.toString(); if (v.contains("sup") || v.... | 8,340 |
public Color getForeground(AttributeSet a) { return super.getForeground(a); } | public Color getForeground(AttributeSet a) { CSSColor c = (CSSColor) a.getAttribute(CSS.Attribute.COLOR); Color color = null; if (c != null) color = c.getValue(); return color; } | 8,341 |
public Style getRule(HTML.Tag t, Element e) { // FIXME: Not implemented. return null; } | public Style getRule(HTML.Tag t, Element e) { // FIXME: Not implemented. ArrayList path = new ArrayList(); Element el; AttributeSet atts; for (el = e; el != null; el = el.getParentElement()) path.add(el); StringBuilder selector = new StringBuilder(); int count = path.size(); for (int i = count - 1; i > 0; i... | 8,342 |
public AttributeSet getViewAttributes(View v) { // FIXME: Not implemented. return null; } | public AttributeSet getViewAttributes(View v) { // FIXME: Not implemented. return new ViewAttributeSet(v, this); } | 8,343 |
public void loadRules(Reader in, URL ref) throws IOException { CssParser cp = new CssParser(); cp.parse(ref, in, false, false); } | public void loadRules(Reader in, URL ref) throws IOException { CssParser cp = new CssParser(); cp.parse(ref, in, false, false); } | 8,344 |
public Color stringToColor(String color) { color = color.toLowerCase(); if (color.equals("black") || color.equals("#000000")) return Color.BLACK; else if (color.equals("aqua") || color.equals("#00FFFF")) return new Color(127, 255, 212); else if (color.equals("gray") || color.equals("#808080")) ... | public Color stringToColor(String colorName) { color = color.toLowerCase(); if (color.equals("black") || color.equals("#000000")) return Color.BLACK; else if (color.equals("aqua") || color.equals("#00FFFF")) return new Color(127, 255, 212); else if (color.equals("gray") || color.equals("#808080... | 8,345 |
public Color stringToColor(String color) { color = color.toLowerCase(); if (color.equals("black") || color.equals("#000000")) return Color.BLACK; else if (color.equals("aqua") || color.equals("#00FFFF")) return new Color(127, 255, 212); else if (color.equals("gray") || color.equals("#808080")) ... | public Color stringToColor(String color) { color = color.toLowerCase(); if (color.equals("black") || color.equals("#000000")) return Color.BLACK; else if (color.equals("aqua") || color.equals("#00FFFF")) return new Color(127, 255, 212); else if (color.equals("gray") || color.equals("#808080")) ... | 8,346 |
public AttributeSet translateHTMLToCSS(AttributeSet htmlAttrSet) { // FIXME: Not implemented. return null; } | public AttributeSet translateHTMLToCSS(AttributeSet htmlAttrSet) { // FIXME: Not implemented. AttributeSet cssAttr = htmlAttrSet.copyAttributes(); MutableAttributeSet cssStyle = addStyle(null, null); cssStyle.addAttributes(cssAttr); return cssStyle; } | 8,347 |
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(... | private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(... | 8,348 |
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(... | private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(... | 8,349 |
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(... | private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(... | 8,350 |
public void actionPerformed(ActionEvent ae_) { done(); } | public void actionPerformed( ActionEvent ae_ ) { Thread t = new Thread( new Runnable() { public void run() { done(); } } ); done(); } | 8,351 |
void done() { hide(); Toolkit.getDefaultToolkit().close(); Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell"); } | void done() { hide(); Toolkit.getDefaultToolkit().close(); Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell"); } | 8,352 |
private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob... | private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob... | 8,353 |
private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob... | private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob... | 8,354 |
public static void main(String[] args) { System.err.println("Starting Charva Shell"); CharvaShell testwin = new CharvaShell(); testwin.show(); Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell"); } | public static void main(String[] args) { System.err.println("Starting Charva Shell"); CharvaShell testwin = new CharvaShell(); testwin.show(); Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell"); } | 8,355 |
private void pushURL(boolean isPE, String ename, ExternalIdentifiers ids, Reader reader, InputStream stream, String encoding, boolean doResolve) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) { ... | private void pushURL(boolean isPE, String ename, ExternalIdentifiers ids, Reader reader, InputStream stream, String encoding, boolean doResolve) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) { ... | 8,356 |
public static void showRunScriptDialog(SessionGUI session) { JPanel rsp = new JPanel(); rsp.setLayout(new BorderLayout()); JLabel jl = new JLabel("Enter script to run"); final JTextField rst = new JTextField(); rsp.add(jl,BorderLayout.NORTH); rsp.add(rst,BorderLayout.CENTER); Objec... | public static void showRunScriptDialog(SessionGUI session) { JPanel rsp = new JPanel(); rsp.setLayout(new BorderLayout()); JLabel jl = new JLabel("Enter script to run"); final JTextField rst = new JTextField(); rsp.add(jl,BorderLayout.NORTH); rsp.add(rst,BorderLayout.CENTER); Objec... | 8,357 |
clone(){ return(ci.clone());} | clone(){ return(ci.clone());} | 8,358 |
current(){ return(ci.current());} | current(){ return(ci.current());} | 8,359 |
first(){ return(ci.first());} | first(){ return(ci.first());} | 8,360 |
getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera... | getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera... | 8,361 |
getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C... | getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C... | 8,362 |
getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);} | getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);} | 8,363 |
getBeginIndex(){ return(ci.getBeginIndex());} | getBeginIndex(){ return(ci.getBeginIndex());} | 8,364 |
getEndIndex(){ return(ci.getEndIndex());} | getEndIndex(){ return(ci.getEndIndex());} | 8,365 |
getIndex(){ return(ci.getIndex());} | getIndex(){ return(ci.getIndex());} | 8,366 |
getRunLimit(){ return(getRunLimit(getAttributes().keySet()));} | getRunLimit(){ return(getRunLimit(getAttributes().keySet()));} | 8,367 |
getRunStart(){ return(getRunStart(getAttributes().keySet()));} | getRunStart(){ return(getRunStart(getAttributes().keySet()));} | 8,368 |
last(){ return(ci.last());} | last(){ return(ci.last());} | 8,369 |
next(){ return(ci.next());} | next(){ return(ci.next());} | 8,370 |
previous(){ return(ci.previous());} | previous(){ return(ci.previous());} | 8,371 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.