bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private void generatePackageList() throws IOException { File file = new File(outputDir, "frame-packages.html"); PrintStream out = null; try { out = new PrintStream(new FileOutputStream(file)); out.println("<html>"); out.println("<head>"); out.println("<title>Coverage Report</title>"); out .println("<... | private void generatePackageList() throws IOException { File file = new File(outputDir, "frame-packages.html"); PrintStream out = null; try { out = new PrintStream(new FileOutputStream(file)); out.println("<html>"); out.println("<head>"); out.println("<title>Coverage Report</title>"); out .println("<... | 3,236,813 |
private void generateSourceFile(Clazz clazz) throws IOException { String filename = clazz.getLongName() + ".html"; File file = new File(outputDir, filename); PrintStream out = null; try { out = new PrintStream(new FileOutputStream(file)); out.println("<html>"); out.println("<head>"); out.println("<title>C... | private void generateSourceFile(Clazz clazz) throws IOException { String filename = clazz.getLongName() + ".html"; File file = new File(outputDir, filename); PrintStream out = null; try { out = new PrintStream(new FileOutputStream(file)); out.println("<html>"); out.println("<head>"); out.println("<title>C... | 3,236,814 |
private String generateTableRowForPackage(Package pkg) { StringBuffer ret = new StringBuffer(); String url1 = "frame-summary-" + pkg.getName() + ".html"; String url2 = "frame-classes-" + pkg.getName() + ".html"; double lineCoverage = pkg.getLineCoverageRate(); double branchCoverage = pkg.getBranchCoverageRate(); ... | private String generateTableRowForPackage(Package pkg) { StringBuffer ret = new StringBuffer(); String url1 = "frame-summary-" + pkg.getName() + ".html"; String url2 = "frame-classes-" + pkg.getName() + ".html"; double lineCoverage = pkg.getLineCoverageRate(); double branchCoverage = pkg.getBranchCoverageRate(); ... | 3,236,815 |
public synchronized Collection getChainExecutions() { // if we're done, go for it. if (chainExecutions != null) { return chainExecutions.getExecutions(); } if (gettingExecutions == false) { long start = System.currentTimeMillis(); gettingExecutions = true; retrieveChainExecutions(); gettingExecutions... | public synchronized Collection getChainExecutions() { // if we're done, go for it. if (chainExecutions != null) { return chainExecutions.getExecutions(); } if (gettingExecutions == false) { long start = System.currentTimeMillis(); gettingExecutions = true; retrieveChainExecutions(); gettingExecutions... | 3,236,816 |
public synchronized Collection getChainExecutions() { // if we're done, go for it. if (chainExecutions != null) { return chainExecutions.getExecutions(); } if (gettingExecutions == false) { long start = System.currentTimeMillis(); gettingExecutions = true; retrieveChainExecutions(); gettingExecutions... | public synchronized Collection getChainExecutions() { // if we're done, go for it. if (chainExecutions != null) { return chainExecutions.getExecutions(); } if (gettingExecutions == false) { long start = System.currentTimeMillis(); gettingExecutions = true; retrieveChainExecutions(); gettingExecutions... | 3,236,817 |
public synchronized Collection getChains() { Collection res = null; // if we're done, go for it. if (chainHash != null && chainHash.size() > 0) { res = chainHash.values(); } else { if (gettingChains == false) { long start = System.currentTimeMillis(); gettingChains = true; retrieveChains(); gett... | public synchronized Collection getChains() { Collection res = null; // if we're done, go for it. if (chainHash != null && chainHash.size() > 0) { res = chainHash.values(); } else { if (gettingChains == false) { long start = System.currentTimeMillis(); gettingChains = true; retrieveChains(); gett... | 3,236,818 |
public synchronized Collection getChains() { Collection res = null; // if we're done, go for it. if (chainHash != null && chainHash.size() > 0) { res = chainHash.values(); } else { if (gettingChains == false) { long start = System.currentTimeMillis(); gettingChains = true; retrieveChains(); gett... | public synchronized Collection getChains() { Collection res = null; // if we're done, go for it. if (chainHash != null && chainHash.size() > 0) { res = chainHash.values(); } else { if (gettingChains == false) { long start = System.currentTimeMillis(); gettingChains = true; retrieveChains(); gett... | 3,236,819 |
public List childNodes() { return Collections.EMPTY_LIST; } | public List childNodes() { return EMPTY_LIST; } | 3,236,820 |
private void init(ViewerCtrl control, int maxT, int maxZ, MovieSettings settings) { int max = maxT; int s = settings.getStartT(), e = settings.getEndT(); if (maxT == 0) { s = settings.getStartZ(); e = settings.getEndZ(); max = maxZ; ... | private void init(ViewerCtrl control, int maxT, int maxZ, MovieSettings settings) { int max = maxT; int s = settings.getStartT(), e = settings.getEndT(); if (maxT == 0) { s = settings.getStartZ(); e = settings.getEndZ(); max = maxZ; ... | 3,236,821 |
public void processPacket(final Packet packet) { SwingUtilities.invokeLater(new Runnable() { public void run() { final Message message = (Message)packet; boolean broadcast = message.getProperty("broadcast") != null; if ((broadcast || message.getType() =... | public void processPacket(final Packet packet) { SwingUtilities.invokeLater(new Runnable() { public void run() { final Message message = (Message)packet; boolean broadcast = message.getProperty("broadcast") != null; if ((broadcast || (message.getType() ... | 3,236,822 |
public void run() { final Message message = (Message)packet; boolean broadcast = message.getProperty("broadcast") != null; if ((broadcast || message.getType() == Message.Type.NORMAL) && message.getBody() != null) { showAlert((Message)packet); ... | public void run() { final Message message = (Message)packet; boolean broadcast = message.getProperty("broadcast") != null; if ((broadcast || (message.getType() == Message.Type.NORMAL) || message.getType() == Message.Type.HEADLINE) && message.getBody() != null) { ... | 3,236,823 |
public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile() .getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "--f... | public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile() .getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "--f... | 3,236,824 |
public void finished() { if (data != null) { searchResults.showUsersFound(data); } else { JOptionPane.showMessageDialog(searchResults, Res.getString("message.no.results.found"), Res.getString("title.notification"), JOptionPan... | publicvoidfinished(){if(data!=null){searchResults.showUsersFound(data);}else{JOptionPane.showMessageDialog(searchResults,Res.getString("message.no.results.found"),Res.getString("title.notification"),JOptionPane.ERROR_MESSAGE);}} | 3,236,825 |
public byte[] calculateMessageDigest() { errorIfNotLoaded(); try { return buffer.calculateMessageDigest(); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } } | public byte[] calculateMessageDigest() { errorIfNotLoaded(); try { return buffer.calculateMessageDigest(); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } } | 3,236,826 |
public byte[] calculateMessageDigest() { errorIfNotLoaded(); try { return buffer.calculateMessageDigest(); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } } | public byte[] calculateMessageDigest() { errorIfNotLoaded(); try { return buffer.calculateMessageDigest(); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } } | 3,236,827 |
public byte[] getPlane(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); MappedByteBuffer plane; try { plane = buffer.getPlane(arg0, arg1, arg2); } catch (Exception e) { throw new RuntimeException(e); } return bufferAsByteArrayWithExceptionIfNull( plane ); ... | public byte[] getPlane(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); MappedByteBuffer plane; try { plane = buffer.getPlane(arg0, arg1, arg2); } catch (Exception e) { throw new RuntimeException(e); } return bufferAsByteArrayWithExceptionIfNull( plane ); ... | 3,236,829 |
public byte[] getPlane(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); MappedByteBuffer plane; try { plane = buffer.getPlane(arg0, arg1, arg2); } catch (Exception e) { throw new RuntimeException(e); } return bufferAsByteArrayWithExceptionIfNull( plane ); ... | public byte[] getPlane(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); MappedByteBuffer plane; try { plane = buffer.getPlane(arg0, arg1, arg2); } catch (Exception e) { throw new RuntimeException(e); } return bufferAsByteArrayWithExceptionIfNull( plane ); ... | 3,236,830 |
public byte[] getPlane(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); MappedByteBuffer plane; try { plane = buffer.getPlane(arg0, arg1, arg2); } catch (Exception e) { throw new RuntimeException(e); } return bufferAsByteArrayWithExceptionIfNull( plane ); ... | public byte[] getPlane(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); MappedByteBuffer plane; try { plane = buffer.getPlane(arg0, arg1, arg2); } catch (Exception e) { throw new RuntimeException(e); } return bufferAsByteArrayWithExceptionIfNull(plane); } | 3,236,831 |
public Long getPlaneOffset(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); try { return buffer.getPlaneOffset(arg0, arg1, arg2); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException... | public Long getPlaneOffset(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); try { return buffer.getPlaneOffset(arg0, arg1, arg2); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | 3,236,832 |
public Long getPlaneOffset(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); try { return buffer.getPlaneOffset(arg0, arg1, arg2); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException... | public Long getPlaneOffset(Integer arg0, Integer arg1, Integer arg2) { errorIfNotLoaded(); try { return buffer.getPlaneOffset(arg0, arg1, arg2); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException... | 3,236,833 |
public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ... | public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region = null; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimple... | 3,236,835 |
public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ... | public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ex... | 3,236,836 |
public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ... | public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ... | 3,236,837 |
public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ... | public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented ... | 3,236,838 |
public byte[] getRow(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); MappedByteBuffer row; try { row = buffer.getRow(arg0, arg1, arg2, arg3); } catch (IOException e) { e.printStackTrace(); throw new R... | public byte[] getRow(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); MappedByteBuffer row = null; try { row = buffer.getRow(arg0, arg1, arg2, arg3); } catch (IOException e) { e.printStackTrace(); thro... | 3,236,839 |
public byte[] getRow(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); MappedByteBuffer row; try { row = buffer.getRow(arg0, arg1, arg2, arg3); } catch (IOException e) { e.printStackTrace(); throw new R... | public byte[] getRow(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); MappedByteBuffer row; try { row = buffer.getRow(arg0, arg1, arg2, arg3); } catch (Exception e) { e.printStackTrace(); throw new Run... | 3,236,840 |
public byte[] getRow(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); MappedByteBuffer row; try { row = buffer.getRow(arg0, arg1, arg2, arg3); } catch (IOException e) { e.printStackTrace(); throw new R... | public byte[] getRow(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); MappedByteBuffer row; try { row = buffer.getRow(arg0, arg1, arg2, arg3); } catch (IOException e) { e.printStackTrace(); throw new R... | 3,236,841 |
public Long getRowOffset(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { return buffer.getRowOffset(arg0, arg1, arg2, arg3); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new ... | public Long getRowOffset(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { return buffer.getRowOffset(arg0, arg1, arg2, arg3); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Uni... | 3,236,842 |
public Long getRowOffset(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { return buffer.getRowOffset(arg0, arg1, arg2, arg3); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new ... | public Long getRowOffset(Integer arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { return buffer.getRowOffset(arg0, arg1, arg2, arg3); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new ... | 3,236,843 |
public byte[] getStack(Integer arg0, Integer arg1) { errorIfNotLoaded(); MappedByteBuffer stack; try { stack = buffer.getStack(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented e... | public byte[] getStack(Integer arg0, Integer arg1) { errorIfNotLoaded(); MappedByteBuffer stack = null; try { stack = buffer.getStack(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplem... | 3,236,845 |
public byte[] getStack(Integer arg0, Integer arg1) { errorIfNotLoaded(); MappedByteBuffer stack; try { stack = buffer.getStack(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented e... | public byte[] getStack(Integer arg0, Integer arg1) { errorIfNotLoaded(); MappedByteBuffer stack; try { stack = buffer.getStack(arg0, arg1); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exc... | 3,236,846 |
public byte[] getStack(Integer arg0, Integer arg1) { errorIfNotLoaded(); MappedByteBuffer stack; try { stack = buffer.getStack(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented e... | public byte[] getStack(Integer arg0, Integer arg1) { errorIfNotLoaded(); MappedByteBuffer stack; try { stack = buffer.getStack(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented e... | 3,236,847 |
public Long getStackOffset(Integer arg0, Integer arg1) { errorIfNotLoaded(); try { return buffer.getStackOffset(arg0, arg1); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exce... | public Long getStackOffset(Integer arg0, Integer arg1) { errorIfNotLoaded(); try { return buffer.getStackOffset(arg0, arg1); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } ... | 3,236,848 |
public Long getStackOffset(Integer arg0, Integer arg1) { errorIfNotLoaded(); try { return buffer.getStackOffset(arg0, arg1); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exce... | public Long getStackOffset(Integer arg0, Integer arg1) { errorIfNotLoaded(); try { return buffer.getStackOffset(arg0, arg1); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exce... | 3,236,849 |
public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint; try { timepoint = buffer.getTimepoint(arg0); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint = null; try { timepoint = buffer.getTimepoint(arg0); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemente... | 3,236,851 |
public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint; try { timepoint = buffer.getTimepoint(arg0); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint; try { timepoint = buffer.getTimepoint(arg0); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excepti... | 3,236,852 |
public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint; try { timepoint = buffer.getTimepoint(arg0); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint; try { timepoint = buffer.getTimepoint(arg0); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | 3,236,853 |
public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint; try { timepoint = buffer.getTimepoint(arg0); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | public byte[] getTimepoint(Integer arg0) { errorIfNotLoaded(); MappedByteBuffer timepoint; try { timepoint = buffer.getTimepoint(arg0); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | 3,236,854 |
public Long getTimepointOffset(Integer arg0) { errorIfNotLoaded(); try { return buffer.getTimepointOffset(arg0); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); ... | public Long getTimepointOffset(Integer arg0) { errorIfNotLoaded(); try { return buffer.getTimepointOffset(arg0); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } } | 3,236,855 |
public Long getTimepointOffset(Integer arg0) { errorIfNotLoaded(); try { return buffer.getTimepointOffset(arg0); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); ... | public Long getTimepointOffset(Integer arg0) { errorIfNotLoaded(); try { return buffer.getTimepointOffset(arg0); } catch (DimensionsOutOfBoundsException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); ... | 3,236,856 |
public void setPlane(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setPlane(arg0, arg1, arg2, arg3); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimp... | public void setPlane(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setPlane(arg0, arg1, arg2, arg3); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | 3,236,858 |
public void setPlane(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setPlane(arg0, arg1, arg2, arg3); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimp... | public void setPlane(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setPlane(arg0, arg1, arg2, arg3); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimp... | 3,236,859 |
public void setRegion(Integer arg0, Long arg1, byte[] arg2) { errorIfNotLoaded(); try { buffer.setRegion(arg0, arg1, arg2); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception.")... | public void setRegion(Integer arg0, Long arg1, byte[] arg2) { errorIfNotLoaded(); try { buffer.setRegion(arg0, arg1, arg2); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } cat... | 3,236,860 |
public void setRegion(Integer arg0, Long arg1, byte[] arg2) { errorIfNotLoaded(); try { buffer.setRegion(arg0, arg1, arg2); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception.")... | public void setRegion(Integer arg0, Long arg1, byte[] arg2) { errorIfNotLoaded(); try { buffer.setRegion(arg0, arg1, arg2); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception.")... | 3,236,861 |
public void setRow(byte[] arg0, Integer arg1, Integer arg2, Integer arg3, Integer arg4) { errorIfNotLoaded(); // FIXME buffer.setRow(arg0, arg1, arg2, arg3, arg4); throw new RuntimeException("Not implemented yet."); } | public void setRow(byte[] arg0, Integer arg1, Integer arg2, Integer arg3, Integer arg4) { errorIfNotLoaded(); // FIXME buffer.setRow(arg0, arg1, arg2, arg3, arg4); try { ByteBuffer buf = ByteBuffer.wrap(arg0); buffer.setRow(buf, arg1, arg2, arg3, arg4); } catch (Exception e) { handleE... | 3,236,862 |
public void setStack(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setStack(arg0, arg1, arg2, arg3); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimp... | public void setStack(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setStack(arg0, arg1, arg2, arg3); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented excep... | 3,236,863 |
public void setStack(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setStack(arg0, arg1, arg2, arg3); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimp... | public void setStack(byte[] arg0, Integer arg1, Integer arg2, Integer arg3) { errorIfNotLoaded(); try { buffer.setStack(arg0, arg1, arg2, arg3); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimp... | 3,236,864 |
public void setTimepoint(byte[] arg0, Integer arg1) { errorIfNotLoaded(); try { buffer.setTimepoint(arg0, arg1); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } ... | public void setTimepoint(byte[] arg0, Integer arg1) { errorIfNotLoaded(); try { buffer.setTimepoint(arg0, arg1); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } catch (IOExcep... | 3,236,865 |
public void setTimepoint(byte[] arg0, Integer arg1) { errorIfNotLoaded(); try { buffer.setTimepoint(arg0, arg1); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } ... | public void setTimepoint(byte[] arg0, Integer arg1) { errorIfNotLoaded(); try { buffer.setTimepoint(arg0, arg1); } catch (BufferOverflowException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } ... | 3,236,866 |
private void handleDisplayViewerRelatedAgents(DisplayViewerRelatedAgent response) { if (response.isOnOff()) presentation.deIconify(); else { if (presentation != null) removePresentation(); } } | private void handleDisplayViewerRelatedAgents(DisplayViewerRelatedAgent response) { if (response.isOnOff()) presentation.deIconify(); else { if (presentation != null) removePresentation(); } } | 3,236,867 |
private void buildTreeNode(TreeImageDisplay parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } ... | private void buildTreeNode(TreeImageDisplay parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } ... | 3,236,869 |
private void buildTreeNode(TreeImageDisplay parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } ... | private void buildTreeNode(TreeImageDisplay parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } ... | 3,236,870 |
private void buildTreeNode(TreeImageDisplay parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } ... | private void buildTreeNode(TreeImageDisplay parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } ... | 3,236,871 |
void clearTree() { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.removeAllChildrenDisplay(); buildEmptyNode(root); dtm.reload(); collapsePath(root); ... | void clearTree() { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.removeAllChildrenDisplay(); buildEmptyNode(root); dtm.reload(); collapsePath(root); ... | 3,236,872 |
private void loadGoIntoTree() { DefaultTreeModel dtm = (DefaultTreeModel) goIntoTree.getModel(); DefaultMutableTreeNode r = (DefaultMutableTreeNode) dtm.getRoot(); TreeImageDisplay d = model.getLastSelectedDisplay(); r.removeAllChildren(); TreeImageDisplay copy = d.copy(); ... | private void loadGoIntoTree() { DefaultTreeModel dtm = (DefaultTreeModel) goIntoTree.getModel(); DefaultMutableTreeNode r = (DefaultMutableTreeNode) dtm.getRoot(); TreeImageDisplay d = model.getLastSelectedDisplay(); r.removeAllChildren(); TreeImageDisplay copy = d.copy(); ... | 3,236,873 |
void removeNodes(List nodes, TreeImageDisplay parentDisplay) { if (parentDisplay == null) parentDisplay = getTreeRoot(); Iterator i = nodes.iterator(); TreeImageDisplay node; TreeImageDisplay parent; DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); whil... | voidremoveNodes(Listnodes,TreeImageDisplayparentDisplay){if(parentDisplay==null)parentDisplay=getTreeRoot();Iteratori=nodes.iterator();TreeImageDisplaynode;TreeImageDisplayparent;DefaultTreeModeldtm=(DefaultTreeModel)treeDisplay.getModel();while(i.hasNext()){node=(TreeImageDisplay)i.next();parent=node.getParentDisplay(... | 3,236,874 |
void selectFoundNode(TreeImageDisplay node) { TreePath path = new TreePath(node.getPath()); treeDisplay.setSelectionPath(path); TreeCellRenderer renderer = (TreeCellRenderer) treeDisplay.getCellRenderer(); //treeDisplay.requestFocus(); renderer.getTreeCellRendererCom... | void selectFoundNode(TreeImageDisplay node) { TreePath path = new TreePath(node.getPath()); treeDisplay.setSelectionPath(path); TreeCellRenderer renderer = (TreeCellRenderer) treeDisplay.getCellRenderer(); //treeDisplay.requestFocus(); renderer.getTreeCellRendererCom... | 3,236,875 |
void setLeavesViews(Set nodes, TreeImageSet parent) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); parent.removeAllChildren(); parent.setChildrenLoaded(Boolean.TRUE); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext())... | void setLeavesViews(Set nodes, TreeImageSet parent) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); parent.removeAllChildren(); parent.setChildrenLoaded(Boolean.TRUE); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext())... | 3,236,876 |
void setSortedNodes(List nodes, TreeImageDisplay parentNode) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); parentNode.removeAllChildren(); Iterator i = nodes.iterator(); boolean b = (parentNode.equals(dtm.getRoot())); TreeImageDisplay child; while ... | void setSortedNodes(List nodes, TreeImageDisplay parentNode) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); parentNode.removeAllChildren(); Iterator i = nodes.iterator(); boolean b = (parentNode.equals(dtm.getRoot())); TreeImageDisplay child; while ... | 3,236,877 |
void setSortedNodes(List nodes, TreeImageDisplay parentNode) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); parentNode.removeAllChildren(); Iterator i = nodes.iterator(); boolean b = (parentNode.equals(dtm.getRoot())); TreeImageDisplay child; while ... | void setSortedNodes(List nodes, TreeImageDisplay parentNode) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); parentNode.removeAllChildren(); Iterator i = nodes.iterator(); boolean b = (parentNode.equals(dtm.getRoot())); TreeImageDisplay child; while ... | 3,236,878 |
void setViews(Set nodes) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); root.setExpanded(true); dtm.reload(); if (nodes.s... | voidsetViews(Setnodes){DefaultTreeModeldtm=(DefaultTreeModel)treeDisplay.getModel();TreeImageDisplayroot=(TreeImageDisplay)dtm.getRoot();root.removeAllChildren();root.setChildrenLoaded(Boolean.TRUE);root.setExpanded(true);dtm.reload();if(nodes.size()!=0){Iteratori=nodes.iterator();while(i.hasNext())root.addChildDisplay... | 3,236,879 |
void setViews(Set nodes) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); root.setExpanded(true); dtm.reload(); if (nodes.s... | voidsetViews(Setnodes){DefaultTreeModeldtm=(DefaultTreeModel)treeDisplay.getModel();TreeImageDisplayroot=(TreeImageDisplay)dtm.getRoot();root.removeAllChildren();root.setChildrenLoaded(Boolean.TRUE);root.setExpanded(true);dtm.reload();if(nodes.size()!=0){Iteratori=nodes.iterator();while(i.hasNext())root.addChildDisplay... | 3,236,880 |
void setViews(Set nodes) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); root.setExpanded(true); dtm.reload(); if (nodes.s... | voidsetViews(Setnodes){DefaultTreeModeldtm=(DefaultTreeModel)treeDisplay.getModel();TreeImageDisplayroot=(TreeImageDisplay)dtm.getRoot();root.removeAllChildren();root.setChildrenLoaded(Boolean.TRUE);root.setExpanded(true);dtm.reload();if(nodes.size()!=0){Iteratori=nodes.iterator();while(i.hasNext())root.addChildDisplay... | 3,236,881 |
void setViews(Set nodes) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); root.setExpanded(true); dtm.reload(); if (nodes.s... | void setViews(Set nodes) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); root.setExpanded(true); dtm.reload(); if (nodes.s... | 3,236,882 |
void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); ... | void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); Set children = root.getChildrenDisplay(); root.removeAllChildren()... | 3,236,883 |
void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); ... | void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); ... | 3,236,884 |
void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); ... | voidsortNodes(inttype){sorter.setByDate(type==Browser.SORT_NODES_BY_DATE);DefaultTreeModeldtm=(DefaultTreeModel)treeDisplay.getModel();TreeImageDisplayroot=(TreeImageDisplay)dtm.getRoot();booleanreload=false;Setchildren=root.getChildrenDisplay();root.removeAllChildren();dtm.reload(root);if(children.size()!=0){buildTree... | 3,236,885 |
void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); ... | void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); ... | 3,236,886 |
public void actionPerformed(ActionEvent e) { int index = Integer.parseInt(e.getActionCommand()); try { switch (index) { case SAVE: mng.saveResult(); break; case GRAPHIC: showGraphicSelection(); break; case... | public void actionPerformed(ActionEvent e) { int index = Integer.parseInt(e.getActionCommand()); try { switch (index) { case SAVE: mng.saveResult(); break; case GRAPHIC: mng.showGraphicSelection(); break; ... | 3,236,887 |
public List childNodes() { return Collections.EMPTY_LIST; } | public List childNodes() { return EMPTY_LIST; } | 3,236,888 |
public int m_search(RubyObject target, int pos) {// RubyString str = RubyString.m_as_str(target); String str = ((RubyString)target).getValue(); if (pos >= str.length()) { return -1; } recompileIfNeeded(); RubyMatchData result = (RubyMatchData)matcher.search(getRu... | public int m_search(RubyObject target, int pos) {// RubyString str = RubyString.m_as_str(target); String str = ((RubyString)target).getValue(); if (pos >= str.length()) { return -1; } recompileIfNeeded(); RubyObject result = matcher.search(getRuby(), str, pos);... | 3,236,889 |
public int m_search(RubyObject target, int pos) {// RubyString str = RubyString.m_as_str(target); String str = ((RubyString)target).getValue(); if (pos >= str.length()) { return -1; } recompileIfNeeded(); RubyMatchData result = (RubyMatchData)matcher.search(getRu... | public int m_search(RubyObject target, int pos) {// RubyString str = RubyString.m_as_str(target); String str = ((RubyString)target).getValue(); if (pos >= str.length()) { return -1; } recompileIfNeeded(); RubyMatchData result = (RubyMatchData)matcher.search(getRu... | 3,236,890 |
private void buildPresentation(String imageName) { control = new RenderingAgtCtrl(this); presentation = new RenderingAgtUIF(control, registry, imageName); control.setPresentation(presentation); } | private void buildPresentation() { control = new RenderingAgtCtrl(this); presentation = new RenderingAgtUIF(control, registry, imageName); control.setPresentation(presentation); } | 3,236,891 |
private void buildPresentation(String imageName) { control = new RenderingAgtCtrl(this); presentation = new RenderingAgtUIF(control, registry, imageName); control.setPresentation(presentation); } | private void buildPresentation(String imageName) { control = new RenderingAgtCtrl(this); presentation = new RenderingAgtUIF(control, registry, imageName); control.setPresentation(presentation); } | 3,236,892 |
private void handleDisplayViewerRelatedAgents(DisplayViewerRelatedAgent response) { if (response.isOnOff()) { if (presentation != null) presentation.deIconify(); } else { if (presentation != null) removePresentation(); } ... | private void handleDisplayViewerRelatedAgents(DisplayViewerRelatedAgent response) { if (response.isOnOff()) { if (presentation == null) { initChannelData(); buildPresentation(); } presentation.deIconify(); } else { if (presentati... | 3,236,893 |
private void handleImageLoaded(ImageLoaded response) { LoadImage request = (LoadImage) response.getACT(); renderingControl = response.getProxy(); pxsDims = renderingControl.getPixelsDims(); pxsStats = renderingControl.getPixelsStats(); curImageID = request.getImageID(); ... | private void handleImageLoaded(ImageLoaded response) { LoadImage request = (LoadImage) response.getACT(); renderingControl = response.getProxy(); pxsDims = renderingControl.getPixelsDims(); pxsStats = renderingControl.getPixelsStats(); curImageID = request.getImageID(); ... | 3,236,894 |
private void handleImageLoaded(ImageLoaded response) { LoadImage request = (LoadImage) response.getACT(); renderingControl = response.getProxy(); pxsDims = renderingControl.getPixelsDims(); pxsStats = renderingControl.getPixelsStats(); curImageID = request.getImageID(); ... | private void handleImageLoaded(ImageLoaded response) { LoadImage request = (LoadImage) response.getACT(); renderingControl = response.getProxy(); pxsDims = renderingControl.getPixelsDims(); pxsStats = renderingControl.getPixelsStats(); curImageID = request.getImageID(); ... | 3,236,895 |
private void refreshImage() { RenderImage event = new RenderImage(curPixelsID); registry.getEventBus().post(event); } | private void refreshImage() { RenderImage event = new RenderImage(curPixelsID); registry.getEventBus().post(event); } | 3,236,896 |
private void removePresentation() { control.disposeDialogs(); presentation.dispose(); control = null; presentation = null; } | private void removePresentation() { control.disposeDialogs(); presentation.dispose(); presentation = null; } | 3,236,897 |
public boolean isAutoloadDefined(String id) { return false; } | public boolean isAutoloadDefined(String name) { return false; } | 3,236,899 |
public boolean isClassDefined(String id) { return false; } | public boolean isClassDefined(String id) { return false; } | 3,236,900 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { if (!isBlockGiven()) { throw new RaiseException(this, "LocalJumpError", "yield called out of block"); } RubyVarmap.push(this); pushClass(); RubyBlock tmpBlock = block.getTmp(... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { if (!isBlockGiven()) { throw new RaiseException(this, "LocalJumpError", "yield called out of block"); } RubyVarmap.push(this); pushClass(); RubyBlock tmpBlock = block.getTmp(... | 3,236,901 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { if (!isBlockGiven()) { throw new RaiseException(this, "LocalJumpError", "yield called out of block"); } RubyVarmap.push(this); pushClass(); RubyBlock tmpBlock = block.getTmp(... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { if (!isBlockGiven()) { throw new RaiseException(this, "LocalJumpError", "yield called out of block"); } RubyVarmap.push(this); pushClass(); RubyBlock tmpBlock = block.getTmp(... | 3,236,902 |
public File findFile(File i2find) { RubyArray lLoadPath = (RubyArray) getGlobalVar("$:"); int lPathNb = lLoadPath.getLength(); String l2Find = i2find.getPath(); for (int i = 0; i < lPathNb; i++) { String lCurPath = ((RubyString) lLoadPath.entry(i)).getValue(); File ... | public File findFile(Ruby ruby, File i2find) { RubyArray lLoadPath = (RubyArray) getGlobalVar("$:"); int lPathNb = lLoadPath.getLength(); String l2Find = i2find.getPath(); for (int i = 0; i < lPathNb; i++) { String lCurPath = ((RubyString) lLoadPath.entry(i)).getValue(); ... | 3,236,903 |
public SingletonReference(String name, Set patterns, String objectTypeName) { this.name = name; this.patterns = patterns; this.objectTypeName = objectTypeName; } | public SingletonReference(String name, Set patterns, String objectTypeName) { this.name = name; this.patterns = patterns; this.objectTypeName = objectTypeName; } | 3,236,906 |
public final String getName() { return name; } | public String getName() { return name; } | 3,236,907 |
public synchronized final Object getObject() throws ClassNotFoundException { ServiceContext serviceContext = ServiceContextThreadLocal.get(); if (serviceContext == null) { throw new IllegalStateException("Service context has not been set"); } synchronized (this) { i... | public synchronized final Object getObject() throws ClassNotFoundException { ServiceContext serviceContext = ServiceContextThreadLocal.get(); if (serviceContext == null) { throw new IllegalStateException("Service context has not been set"); } synchronized (this) { i... | 3,236,908 |
public final Class getObjectType() { ServiceContext serviceContext = ServiceContextThreadLocal.get(); if (serviceContext == null) { throw new IllegalStateException("Service context has not been set"); } synchronized (this) { if (objectType == null) { ... | public final Class getObjectType() { ServiceContext serviceContext = ServiceContextThreadLocal.get(); if (serviceContext == null) { throw new IllegalStateException("Service context has not been set"); } synchronized (this) { if (objectType == null) { ... | 3,236,909 |
void createNodes(Set nodes, TreeImageDisplay newNode) { Iterator i = nodes.iterator(); TreeImageDisplay parent; List list; Iterator j; DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); buildEmptyNode(newNode); while (i.hasNext()) { paren... | void createNodes(Set nodes, TreeImageDisplay newNode, TreeImageDisplay parentDisplay) { Iterator i = nodes.iterator(); TreeImageDisplay parent; List list; Iterator j; DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); buildEmptyNode(newNode); while ... | 3,236,910 |
void removeNodes(Set nodes) { Iterator i = nodes.iterator(); TreeImageDisplay node; TreeImageDisplay parent; DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); while (i.hasNext()) { node = (TreeImageDisplay) i.next(); parent = node.getParen... | void removeNodes(Set nodes, TreeImageDisplay parentDisplay) { Iterator i = nodes.iterator(); TreeImageDisplay node; TreeImageDisplay parent; DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); while (i.hasNext()) { node = (TreeImageDisplay) i.next(); ... | 3,236,912 |
public Boolean compare(Object l, Object r) { return (l.equals(r)) ? TRUE : FALSE; } | public Boolean compare(Object l, Object r) { return (!l.equals(r)) ? TRUE : FALSE; } | 3,236,914 |
public static boolean isNumber(Object o) { return ((o instanceof Integer) || o instanceof Long || o instanceof Short || o instanceof Byte); } | public static boolean isNumber(Object o) { return ((o instanceof Integer) || o instanceof Long || o instanceof Short || o instanceof Byte); } | 3,236,915 |
public static void createModuleClass(RubyClass moduleClass) {; Callback op_eqq = CallbackFactory.getMethod(RubyModule.class, "op_eqq", RubyObject.class); Callback op_cmp = CallbackFactory.getMethod(RubyModule.class, "op_cmp", RubyObject.class); Callback op_lt = CallbackFactory.getMethod(RubyMod... | public static void createModuleClass(RubyClass moduleClass) {; Callback op_eqq = CallbackFactory.getMethod(RubyModule.class, "op_eqq", RubyObject.class); Callback op_cmp = CallbackFactory.getMethod(RubyModule.class, "op_cmp", RubyObject.class); Callback op_lt = CallbackFactory.getMethod(RubyMod... | 3,236,916 |
public static void createModuleClass(RubyClass moduleClass) {; Callback op_eqq = CallbackFactory.getMethod(RubyModule.class, "op_eqq", RubyObject.class); Callback op_cmp = CallbackFactory.getMethod(RubyModule.class, "op_cmp", RubyObject.class); Callback op_lt = CallbackFactory.getMethod(RubyMod... | public static void createModuleClass(RubyClass moduleClass) {; Callback op_eqq = CallbackFactory.getMethod(RubyModule.class, "op_eqq", RubyObject.class); Callback op_cmp = CallbackFactory.getMethod(RubyModule.class, "op_cmp", RubyObject.class); Callback op_lt = CallbackFactory.getMethod(RubyMod... | 3,236,917 |
public static void createModuleClass(RubyClass moduleClass) {; Callback op_eqq = CallbackFactory.getMethod(RubyModule.class, "op_eqq", RubyObject.class); Callback op_cmp = CallbackFactory.getMethod(RubyModule.class, "op_cmp", RubyObject.class); Callback op_lt = CallbackFactory.getMethod(RubyMod... | public static void createModuleClass(RubyClass moduleClass) {; Callback op_eqq = CallbackFactory.getMethod(RubyModule.class, "op_eqq", RubyObject.class); Callback op_cmp = CallbackFactory.getMethod(RubyModule.class, "op_cmp", RubyObject.class); Callback op_lt = CallbackFactory.getMethod(RubyMod... | 3,236,918 |
private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.getPathname())) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.leng... | private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.getPathname())) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.leng... | 3,236,919 |
private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ... | private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ... | 3,236,920 |
private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ... | private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ... | 3,236,921 |
private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ... | private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ... | 3,236,922 |
private void addInstrumentationToSingleClass(File file) { logger.debug("Instrumenting class " + file.getAbsolutePath()); InputStream inputStream = null; ClassWriter cw; ClassInstrumenter cv; try { inputStream = new FileInputStream(file); ClassReader cr = new ClassReader(inputStream); cw = new ClassWriter(t... | private void addInstrumentationToSingleClass(File file) { logger.debug("Instrumenting class " + file.getAbsolutePath()); InputStream inputStream = null; ClassWriter cw; ClassInstrumenter cv; try { inputStream = new FileInputStream(file); ClassReader cr = new ClassReader(inputStream); cw = new ClassWriter(t... | 3,236,923 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.