bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
static List checkGettersAndSetters(Method[] methods) { List goodMethods = new ArrayList(); if (null == methods) return goodMethods; for (int i = 0; i < methods.length; i++) { boolean ok = true; Method method = methods[i]; int mod = method.getModifiers...
staticListcheckGettersAndSetters(Method[]methods){ListgoodMethods=newArrayList();if(null==methods)returngoodMethods;for(inti=0;i<methods.length;i++){booleanok=true;Methodmethod=methods[i];intmod=method.getModifiers();if(!Modifier.isPublic(mod)||Modifier.isStatic(mod)){ok=false;}if(method.getName().startsWith("get")){if...
3,234,521
final public Object get(String field) { Object locale = null; try { Field f = Locale.class.getField(field); locale = f.get(null); } catch (Exception ne) { StringTokenizer st = new StringTokenizer(field,"_"); String[] parts = n...
final public Object get(String field) { Object locale = null; try { Field f = Locale.class.getField(field); locale = f.get(null); } catch (Exception ne) { StringTokenizer st = new StringTokenizer(field,"_"); String[] parts = n...
3,234,523
private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.pathname)) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.length; i...
private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.pathname)) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.length; i...
3,234,524
private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.pathname)) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.length; i...
private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.pathname)) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.length; i...
3,234,525
public Node compileFile(String f, RubyObject file, int start) { rs.setLexFileIo(true); rs.setLexInput(file); rs.setLexP(0); rs.setLexPEnd(0); ruby.setSourceLine(start - 1); return yycompile(f, start); }
public Node compileFile(String f, RubyObject file, int start) { /*rs.setLexFileIo(true); rs.setLexInput(file); rs.setLexP(0); rs.setLexPEnd(0); ruby.setSourceLine(start - 1); return yycompile(f, start); }
3,234,526
public Node compileFile(String f, RubyObject file, int start) { rs.setLexFileIo(true); rs.setLexInput(file); rs.setLexP(0); rs.setLexPEnd(0); ruby.setSourceLine(start - 1); return yycompile(f, start); }
public Node compileFile(String f, RubyObject file, int start) { rs.setLexFileIo(true); rs.setLexInput(file); rs.setLexP(0); rs.setLexPEnd(0);*/ ruby.setSourceLine(start - 1); return yycompile(f, start); }
3,234,527
public Node compileString(String f, RubyObject s, int line) { rs.setLexFileIo(false); rs.setLexGetsPtr(0); rs.setLexInput(s); rs.setLexP(0); rs.setLexPEnd(0); ruby.setSourceLine(line - 1); ph.setCompileForEval(ruby.getInEval()); return yycompile(f, line); }
public Node compileString(String f, RubyObject s, int line) { /*rs.setLexFileIo(false); rs.setLexGetsPtr(0); rs.setLexInput(s); rs.setLexP(0); rs.setLexPEnd(0); ruby.setSourceLine(line - 1); ph.setCompileForEval(ruby.getInEval()); return yycompile(f, line); ...
3,234,528
public Node compileString(String f, RubyObject s, int line) { rs.setLexFileIo(false); rs.setLexGetsPtr(0); rs.setLexInput(s); rs.setLexP(0); rs.setLexPEnd(0); ruby.setSourceLine(line - 1); ph.setCompileForEval(ruby.getInEval()); return yycompile(f, line); }
public Node compileString(String f, RubyObject s, int line) { rs.setLexFileIo(false); rs.setLexGetsPtr(0); rs.setLexInput(s); rs.setLexP(0); rs.setLexPEnd(0);*/ ruby.setSourceLine(line - 1); ph.setCompileForEval(ruby.getInEval()); return yycompile(f, line); ...
3,234,529
public URL getTemplate(String name) { if (_templatePrefix == null) return getTemplate(name); else { URL u = getResource(_templatePrefix + name); return (u != null) ? u : getResource(name); } }
public URL getTemplate(String name) { if (_templatePrefix == null) return getResource(name); else { URL u = getResource(_templatePrefix + name); return (u != null) ? u : getResource(name); } }
3,234,531
public TestRuby(String name) { super(name); }
public TestRuby(String name) { super(name); }
3,234,532
private void assertTrue(RubyObject iObj) { assertTrue(iObj.isTrue()); }
private void assertTrue(RubyObject iObj) { assertTrue(iObj.isTrue()); }
3,234,533
public void setUp() { ruby = Ruby.getDefaultInstance(GNURegexpAdapter.class); }
public void setUp() { ruby = Ruby.getDefaultInstance(GNURegexpAdapter.class); }
3,234,534
public void tearDown() { super.tearDown(); }
public void tearDown() { super.tearDown(); }
3,234,535
public void testFindFile() { ArrayList list = new ArrayList(); ruby.initLoad(list); list.clear(); File testFile = new File("fib.rb"); try { ruby.findFile(testFile); fail("should have thrown an exception, the file fib.rb is not in the search path"); } catch (Exception e) { } list.add("./samples"); //now...
public void testFindFile() { ArrayList list = new ArrayList(); ruby.initLoad(list); list.clear(); File testFile = new File("fib.rb"); try { ruby.findFile(testFile); fail("should have thrown an exception, the file fib.rb is not in the search path"); } catch (Exception e) { } list.add("./samples"); //now...
3,234,536
public void testInitLoad() { ArrayList list = new ArrayList(); //check without a RubyHome and with one parameter list.add("toto"); ruby.initLoad(list); //check that the global vars are correctly valuated RubyObject lCol = ruby.getGlobalVar("$:"); RubyObject lI = ruby.getGlobalVar("$-I"); RubyObject lLoad = ruby.get...
public void testInitLoad() { ArrayList list = new ArrayList(); //check without a RubyHome and with one parameter list.add("toto"); ruby.initLoad(list); //check that the global vars are correctly valuated RubyObject lCol = ruby.getGlobalVar("$:"); RubyObject lI = ruby.getGlobalVar("$-I"); RubyObject lLoad = ruby.get...
3,234,537
public void testVarAndMet() { ArrayList list = new ArrayList(); ruby.initLoad(list); eval("load './test/testVariableAndMethod.rb'"); assertEquals("Hello World", eval("puts($a)")); assertEquals("dlroW olleH", eval("puts $b")); assertEquals("Hello World", eval("puts $d.reverse, $c, $e.reverse")); assertEquals("135 ...
public void testVarAndMet() { ArrayList list = new ArrayList(); ruby.initLoad(list); eval("load './test/testVariableAndMethod.rb'"); assertEquals("Hello World", eval("puts($a)")); assertEquals("dlroW olleH", eval("puts $b")); assertEquals("Hello World", eval("puts $d.reverse, $c, $e.reverse")); assertEquals("135 ...
3,234,538
public void write(FastWriter out, Context context) throws ContextException, IOException { boolean done=false; try { if (result instanceof Macro) target.setValue(context, ((Macro) result).evaluate(context)); else target.setValue(context, result); } catch (ContextException e) { ...
public void write(FastWriter out, Context context) throws ContextException, IOException { boolean done=false; try { if (result instanceof Macro) target.setValue(context, ((Macro) result).evaluate(context)); else target.setValue(context, result); } catch (ContextException e) { ...
3,234,539
protected void checkParameters(){ if (defs == null) throw new IllegalStateException( "Query parameter definitions not set."); if (qps == null) throw new IllegalArgumentException( "Null arrays "+ "are not va...
protected void checkParameters(){ if (defs == null) throw new IllegalStateException( "Query parameter definitions not set."); if (qps == null) throw new IllegalArgumentException( "Null arrays "+ "are not va...
3,234,540
private void userMarshal(IRubyObject value) throws IOException { out.write(TYPE_USERDEF); dumpObject(RubySymbol.newSymbol(runtime, value.getMetaClass().getName())); RubyString marshaled = (RubyString) value.callMethod("_dump", runtime.newFixnum(depthLimit)); dumpString(marshaled.getValu...
private void userMarshal(IRubyObject value) throws IOException { out.write(TYPE_USERDEF); dumpObject(RubySymbol.newSymbol(runtime, value.getMetaClass().getName())); RubyString marshaled = (RubyString) value.callMethod("_dump", runtime.newFixnum(depthLimit)); dumpString(marshaled.toStrin...
3,234,541
private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()...
private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()...
3,234,542
private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()...
private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()...
3,234,543
private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()...
private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()...
3,234,544
public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab...
public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab...
3,234,545
public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab...
public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab...
3,234,546
public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab...
public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab...
3,234,547
private void checkNotificationPreferences(final ChatRoom room) { LocalPreferences pref = SettingsManager.getLocalPreferences(); if (pref.getWindowTakesFocus()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); ...
private void checkNotificationPreferences(final ChatRoom room) { LocalPreferences pref = SettingsManager.getLocalPreferences(); if (pref.getWindowTakesFocus()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); ...
3,234,548
public void actionPerformed(ActionEvent actionEvent) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); setSelectedIndex(tabLocation); }
public void actionPerformed(ActionEvent actionEvent) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); if (tabLocation != -1) { setSelectedIndex(tabLocation); } ...
3,234,549
protected void loadServletSettings(String prefix) throws InitException { Properties p = new Properties(); Enumeration e = _servletContext.getInitParameterNames(); String dotPrefix = (prefix == null) ? "" : prefix + "."; while (e.hasMoreElements()) { String key = (String) e.nextEleme...
protected void loadServletSettings(String prefix) throws InitException { Properties p = new Properties(); Enumeration e = _servletContext.getInitParameterNames(); String dotPrefix = (prefix == null) ? "" : prefix + "."; while (e.hasMoreElements()) { String key = (String) e.nextEleme...
3,234,550
protected void loadServletSettings(String prefix) throws InitException { Properties p = new Properties(); Enumeration e = _servletContext.getInitParameterNames(); String dotPrefix = (prefix == null) ? "" : prefix + "."; while (e.hasMoreElements()) { String key = (String) e.nextEleme...
protectedvoidloadServletSettings(Stringprefix)throwsInitException{Propertiesp=newProperties();Enumeratione=_servletContext.getInitParameterNames();StringdotPrefix=(prefix==null)?"":prefix+".";while(e.hasMoreElements()){Stringkey=(String)e.nextElement();if(prefix==null)p.setProperty(key,_servletContext.getInitParameter(...
3,234,551
BufferedImage getZoomedLensImage() { return lens.getZoomedImage(); }
BufferedImage getZoomedLensImage() { return lens.getZoomedImage(); }
3,234,552
void setChannelsSelection() { controlPane.setChannelsSelection(); }
void setChannelsSelection() { controlPane.setChannelsSelection(); }
3,234,553
void setImageZoomFactor(float factor) { lens.setImageZoomFactor(factor); }
void setImageZoomFactor(float factor) { lens.setImageZoomFactor(factor); }
3,234,554
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
3,234,556
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
3,234,557
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
3,234,558
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
void setLensVisible(boolean b) { if (lens==null) lens = new LensComponent(this); if (b) { if (model.getMaxX() < lens.getLensUI().getWidth() || model.getMaxY() < lens.getLensUI().getHeight()) return; if (firstTimeLensShown) ...
3,234,559
void showMenu(int menuID, Component source, Point location) { if (menuID !=ImViewer.COLOR_PICKER_MENU) return; ChannelMetadata[] data = model.getChannelData(); ChannelMetadata d; JPopupMenu menu = new JPopupMenu(); ChannelColorMenuItem item; for (int j = 0; j < data.length; j++) { d = data[j]; ...
void showMenu(int menuID, Component source, Point location) { if (menuID !=ImViewer.COLOR_PICKER_MENU) return; ChannelMetadata[] data = model.getChannelData(); ChannelMetadata d; JPopupMenu menu = new JPopupMenu(); ChannelColorMenuItem item; for (int j = 0; j < data.length; j++) { d = data[j]; ...
3,234,560
void showMenu(int menuID, Component source, Point location) { if (menuID !=ImViewer.COLOR_PICKER_MENU) return; ChannelMetadata[] data = model.getChannelData(); ChannelMetadata d; JPopupMenu menu = new JPopupMenu(); ChannelColorMenuItem item; for (int j = 0; j < data.length; j++) { d = data[j]; ...
voidshowMenu(intmenuID,Componentsource,Pointlocation) { if(menuID!=ImViewer.COLOR_PICKER_MENU)return; ChannelMetadata[]data=model.getChannelData(); ChannelMetadatad; JPopupMenumenu=newJPopupMenu(); ChannelColorMenuItemitem; for(intj=0;j<data.length;j++){ d=data[j]; item=newChannelColorMenuItem( "Wavelength...
3,234,561
private void addInstrumentation(File baseDir, String filename) { logger.debug("filename: " + filename); File file; if (baseDir == null) file = new File(filename); else file = new File(baseDir, filename); addInstrumentation(file); }
private void addInstrumentation(File baseDir, String filename) { logger.debug("filename: " + filename); File file; if (baseDir == null) file = new File(filename); else file = new File(baseDir, filename); addInstrumentation(file); }
3,234,564
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
3,234,565
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
3,234,566
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
3,234,567
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
3,234,568
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat...
3,234,569
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,234,570
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,234,571
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,234,572
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,234,573
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,234,574
private static boolean isArchive(File file) { String name = file.getName(); return name.endsWith(".jar") || name.endsWith(".zip") || name.endsWith(".war") || name.endsWith(".ear") || name.endsWith(".sar"); }
private static boolean isArchive(File file) { String name = file.getName(); return name.endsWith(".jar") || name.endsWith(".zip") || name.endsWith(".war") || name.endsWith(".ear") || name.endsWith(".sar"); }
3,234,575
private static boolean isClass(File file) { return file.getName().endsWith(".class"); }
private static boolean isClass(File file) { return file.getName().endsWith(".class"); }
3,234,576
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,577
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,578
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,579
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,580
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,581
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,582
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,583
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,584
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm...
3,234,585
public RubyObject execute(RubyObject recv, RubyObject args[], Ruby ruby) { for (int i = 0; i < args.length; i++) { if (args[i] != null) { System.out.println(((RubyString)args[i].funcall(ruby.intern("to_s"))).getString()); ...
public RubyObject execute(RubyObject recv, RubyObject args[], Ruby ruby) { for (int i = 0; i < args.length; i++) { if (args[i] != null) { System.out.println(((RubyString)args[i].funcall(ruby.intern("to_s"))).getString()); ...
3,234,586
public void createUsersAndGroups() throws Exception { init(); cname = UUID.randomUUID().toString(); gname = UUID.randomUUID().toString(); // shortcut for root service factory, created in super class r = rootServices; // create the common group common_group.setName(cname); common_group = new ExperimenterGro...
public void createUsersAndGroups() throws Exception { init(); cname = UUID.randomUUID().toString(); gname = UUID.randomUUID().toString(); // shortcut for root service factory, created in super class r = rootServices; // create the common group common_group.setName(cname); common_group = new ExperimenterGro...
3,234,588
public void createUsersAndGroups() throws Exception { init(); cname = UUID.randomUUID().toString(); gname = UUID.randomUUID().toString(); // shortcut for root service factory, created in super class r = rootServices; // create the common group common_group.setName(cname); common_group = new ExperimenterGro...
public void createUsersAndGroups() throws Exception { init(); cname = UUID.randomUUID().toString(); gname = UUID.randomUUID().toString(); // shortcut for root service factory, created in super class r = rootServices; // create the common group common_group.setName(cname); common_group = new ExperimenterGro...
3,234,589
final public Object[] FormalArgList() throws ParseException { ArrayList list=new ArrayList(); Token name; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case WS: switch ((jj_ntk==-1)?jj_ntk():jj_ntk...
final public Object[] FormalArgList() throws ParseException { ArrayList list=new ArrayList(); Token name; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case WS: switch ((jj_ntk==-1)?jj_ntk():jj_ntk...
3,234,590
public void loadDataset(int datasetID) { BrowserManager manager = env.getBrowserManager(); int index; if((index = manager.hasBrowser(datasetID)) != BrowserManager.NOT_FOUND) { manager.setActiveBrowser(index); return; } DataManagementServi...
public void loadDataset(int datasetID) { BrowserManager manager = env.getBrowserManager(); int index; if((index = manager.hasBrowser(datasetID)) != BrowserManager.NOT_FOUND) { manager.setActiveBrowser(index); return; } DataManagementServi...
3,234,591
public void loadDataset(int datasetID) { BrowserManager manager = env.getBrowserManager(); int index; if((index = manager.hasBrowser(datasetID)) != BrowserManager.NOT_FOUND) { manager.setActiveBrowser(index); return; } DataManagementServi...
public void loadDataset(int datasetID) { BrowserManager manager = env.getBrowserManager(); int index; if((index = manager.hasBrowser(datasetID)) != BrowserManager.NOT_FOUND) { manager.setActiveBrowser(index); return; } DataManagementServi...
3,234,592
public void run() { addLoaderThread(controller,this); final List thumbnails = new ArrayList(); int count = 1; int total = refList.size(); PlateLayoutMethod lm = new PlateLayoutMethod(refInfo.getNumRows(), ...
public void run() { addLoaderThread(controller,this); final List thumbnails = new ArrayList(); int count = 1; int total = refList.size(); PlateLayoutMethod lm = new PlateLayoutMethod(refInfo.getNumRows(), ...
3,234,593
public void run() { addLoaderThread(controller,this); final List thumbnails = new ArrayList(); int count = 1; int total = refList.size(); PlateLayoutMethod lm = new PlateLayoutMethod(refInfo.getNumRows(), ...
public void run() { addLoaderThread(controller,this); final List thumbnails = new ArrayList(); int count = 1; int total = refList.size(); PlateLayoutMethod lm = new PlateLayoutMethod(refInfo.getNumRows(), ...
3,234,594
public void run() { Thumbnail[] ts = new Thumbnail[thumbnails.size()]; thumbnails.toArray(ts); model.addThumbnails(ts); status.processSucceeded("All images loaded.")...
public void run() { Thumbnail[] ts = new Thumbnail[thumbnails.size()]; thumbnails.toArray(ts); model.addThumbnails(ts); status.processSucceeded("All images loaded.")...
3,234,595
public void run() { thumbnails.add(t); String message = ProgressMessageFormatter.format("Loaded image %n of %t...", ...
public void run() { thumbnails.add(t); String message = ProgressMessageFormatter.format("Loaded image %n of %t...", ...
3,234,597
public void run() { String message = ProgressMessageFormatter.format("Loaded image %n of %t...", theCount,theTot...
public void run() { String message = ProgressMessageFormatter.format("Loaded image %n of %t...", theCount,theTot...
3,234,598
public void run() { addLoaderThread(controller,this); int count = 1; int total = refList.size(); for(Iterator iter = refList.iterator(); (iter.hasNext() && !kill);) { ImageSummary summary...
public void run() { addLoaderThread(controller,this); int count = 1; int total = refList.size(); for(Iterator iter = refList.iterator(); (iter.hasNext() && !kill);) { ImageSummary summary...
3,234,599
public void run() { addLoaderThread(controller,this); int count = 1; int total = refList.size(); for(Iterator iter = refList.iterator(); (iter.hasNext() && !kill);) { ImageSummary summary...
public void run() { addLoaderThread(controller,this); int count = 1; int total = refList.size(); for(Iterator iter = refList.iterator(); (iter.hasNext() && !kill);) { ImageSummary summary...
3,234,600
public void run() { status.processSucceeded("All images loaded."); }
public void run() { status.processSucceeded("All images loaded."); }
3,234,601
public void run() { model.addThumbnail(t); String message = ProgressMessageFormatter.format("Loaded image %n of %t...", ...
public void run() { model.addThumbnail(t); String message = ProgressMessageFormatter.format("Loaded image %n of %t...", ...
3,234,602
public void setContext(Registry ctx) { this.registry = ctx; this.eventBus = ctx.getEventBus(); this.tf = ctx.getTopFrame(); env.setIconManager(IconManager.getInstance(ctx)); Boolean extractionMode = (Boolean)registry.lookup(THUMBNAIL_MODE_KEY); this.useSe...
public void setContext(Registry ctx) { this.registry = ctx; this.eventBus = ctx.getEventBus(); this.tf = ctx.getTopFrame(); env.setIconManager(IconManager.getInstance(ctx)); Boolean extractionMode = (Boolean)registry.lookup(THUMBNAIL_MODE_KEY); this.useSe...
3,234,603
public void run() { status.setLeftText(message); }
public void run() { try { DataManagementService dms = registry.getDataManagementService(); DatasetData dataset = dms.retrieveDataset(theDataset); model.setDataset(dataset); browser.setBrowserTitle("Image Browser: "+dataset.getName()); loadDataset(theIndex,dataset); } catch(DSAccess...
3,234,604
public IRubyObject initialize(IRubyObject[] args) { this.value = new BigDecimal(args[0].toString()); return this; }
public IRubyObject initialize(IRubyObject[] args) { String ss = args[0].toString(); if(ss.trim().equals("")) { ss = "0"; } this.value = new BigDecimal(ss); return this; }
3,234,608
public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) { Browser browser = model.getSelectedBrowser(); if (browser != null) browser.cancel(); } else if (name.equals(Browser.POPUP_ME...
public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) { Browser browser = model.getSelectedBrowser(); if (browser != null) browser.cancel(); } else if (name.equals(Browser.POPUP_ME...
3,234,610
public RubyObject callIndexed(int index, RubyObject[] args) { switch (index) { case M_INSPECT: return inspect(); case M_TO_S: return to_s(); case M_FROZEN: return frozen(); case M_EQUAL: return equal(args[0]); case M_EQL: ...
public RubyObject callIndexed(int index, RubyObject[] args) { switch (index) { case M_INSPECT: return inspect(); case M_TO_S: return to_s(); case M_FROZEN: return frozen(); case M_EQUAL: return equal(args[0]); case M_EQL: ...
3,234,611
public static RubyClass createArrayClass(Ruby ruby) { RubyClass arrayClass = ruby.defineClass("Array", ruby.getClasses().getObjectClass()); arrayClass.includeModule(ruby.getRubyModule("Enumerable")); arrayClass.defineSingletonMethod("new", CallbackFactory.getOptSingletonMethod(RubyArray.class, "newInstance")); arr...
public static RubyClass createArrayClass(Ruby ruby) { RubyClass arrayClass = ruby.defineClass("Array", ruby.getClasses().getObjectClass()); arrayClass.includeModule(ruby.getRubyModule("Enumerable")); arrayClass.defineSingletonMethod("new", CallbackFactory.getOptSingletonMethod(RubyArray.class, "newInstance")); arr...
3,234,612
public RubyFixnum length() { return new RubyFixnum(getRuby(), getLength()); }
public RubyFixnum length() { return new RubyFixnum(getRuby(), getLength()); }
3,234,613
public static String getVersion() { return "1.1.9.3"; }
public static String getVersion() { return "1.1.9.4"; }
3,234,614
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
3,234,615
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
3,234,616
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
3,234,617
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se...
3,234,618
public RubyObject eval(Ruby ruby, RubyObject self) { while (getConditionNode().eval(ruby, self).isFalse()) { while (true) { try { getBodyNode().eval(ruby, self); break; } catch (RedoException rExcptn) { } catch (Nex...
public RubyObject eval(Ruby ruby, RubyObject self) { while (getConditionNode().eval(ruby, self).isFalse()) { while (true) { try { getBodyNode().eval(ruby, self); break; } catch (RedoException rExcptn) { } catch (Nex...
3,234,620
public RubyObject eval(Ruby ruby, RubyObject self) { while (true) { try { // while (!rb_gets().isNil() false) { // HACK +++ if (true) { // HACK --- try { getBodyNode().eval(ruby, self); ...
public RubyObject eval(Ruby ruby, RubyObject self) { while (true) { try { // while (!rb_gets().isNil() false) { // HACK +++ if (true) { // HACK --- try { getBodyNode().eval(ruby, self); ...
3,234,621
public void mouseDragged(MouseEvent event) { // Return if slider disabled or we're not dragging slider. if (!slider.isEnabled() || !isDragging) return; currentMouseX = event.getX(); currentMouseY = event.getY(); slider.setValueIsAdjusting(true); int thumbMiddle; int thumbPosition; switch (slider....
public void mouseDragged(MouseEvent event) { // Return if slider disabled or we're not dragging slider. if (!slider.isEnabled() || !isDragging) return; currentMouseX = event.getX(); currentMouseY = event.getY(); slider.setValueIsAdjusting(true); int thumbMiddle; int thumbPosition; switch (slider....
3,234,622
public void mousePressed(MouseEvent event) { // Check to see that the slider is enabled before proceeeding. if (!slider.isEnabled()) return; // Get mouse x, y positions. currentMouseX = event.getX(); currentMouseY = event.getY(); // If the slider has {@link #setFocusEnabled} true then // request ...
public void mousePressed(MouseEvent event) { // Check to see that the slider is enabled before proceeeding. if (!slider.isEnabled()) return; // Get mouse x, y positions. currentMouseX = event.getX(); currentMouseY = event.getY(); // If the slider has {@link #setFocusEnabled} true then // request ...
3,234,623
public void mousePressed(MouseEvent event) { // Check to see that the slider is enabled before proceeeding. if (!slider.isEnabled()) return; // Get mouse x, y positions. currentMouseX = event.getX(); currentMouseY = event.getY(); // If the slider has {@link #setFocusEnabled} true then // request ...
public void mousePressed(MouseEvent event) { // Check to see that the slider is enabled before proceeeding. if (!slider.isEnabled()) return; // Get mouse x, y positions. currentMouseX = event.getX(); currentMouseY = event.getY(); // If the slider has {@link #setFocusEnabled} true then // request ...
3,234,624
public void mouseReleased(MouseEvent event) { super.mouseReleased(event); if (showTipLabel && tipDialog != null) { if (tipDialog.isVisible()) tipDialog.setVisible(false); } }
public void mouseReleased(MouseEvent event) { super.mouseReleased(event); if (showTipLabel && tipDialog != null) { if (tipDialog.isVisible()) tipDialog.setVisible(false); } }
3,234,625
protected int compareValue(RubyNumeric other) { if (other instanceof RubyBignum) { return -other.compareValue(this); } else if (other instanceof RubyFloat) { final double otherVal = other.getDoubleValue(); return value > otherVal ? 1 : value < otherVal ? -1 : 0; ...
protected int compareValue(RubyNumeric other) { if (other instanceof RubyBignum) { return -other.compareValue(this); } else if (other instanceof RubyFloat) { final double otherVal = other.getDoubleValue(); return value > otherVal ? 1 : value < otherVal ? -1 : 0; ...
3,234,628
public IRubyObject op_minus(IRubyObject other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_minus(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuntime(), value).op_minus(other); } else ...
public IRubyObject op_minus(IRubyObject other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_minus(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuntime(), value).op_minus(other); } else ...
3,234,629
public IRubyObject op_minus(IRubyObject other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_minus(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuntime(), value).op_minus(other); } else ...
public IRubyObject op_minus(IRubyObject other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_minus(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuntime(), value).op_minus(other); } else ...
3,234,630
public IRubyObject op_pow(IRubyObject other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_pow(other); } else if (other instanceof RubyNumeric) { long longValue = ((RubyNumeric) other).getLongValue(); if (longVal...
public IRubyObject op_pow(IRubyObject other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_pow(other); } else if (other instanceof RubyNumeric) { long longValue = ((RubyNumeric) other).getLongValue(); if (longVal...
3,234,632
private ObjectName createObjectName(String name, String type) { Properties props = new Properties(); if (type != null) { props.put("j2eeType", type); } props.put("name", name); props.put("J2EEApplication", applicationName); props.put("J2EEServer", serverName); ...
private ObjectName createObjectName(String name, String type) { Properties props = new Properties(); if (type != null) { props.put("j2eeType", type); } props.put("name", name); props.put("J2EEApplication", "null"); props.put("J2EEModule", moduleName); props.put("...
3,234,633
private List findTrajectoryEntries(Vector mexes) { SemanticTypesService sts = registry.getSemanticTypesService(); try { List instances = sts.retrieveTrajectoryEntriesByMEXs(mexes); System.err.println("# of trajectories..."+instances.size()); return instances; } catch(DSOutOfServiceException dso) ...
private List findTrajectoryEntries(Vector mexes) { SemanticTypesService sts = registry.getSemanticTypesService(); try { List instances = sts.retrieveTrajectoryEntriesByMEXs(mexes); System.err.println("# of trajectories..."+instances.size()); return instances; } catch(DSOutOfServiceException dso) ...
3,234,634
protected boolean nextArgsFile() { RubyArray args = (RubyArray)getRuntime().getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) getRuntime().getGlobalVariables().get("$stdin"); ((RubyString) getRuntime...
protected boolean nextArgsFile() { RubyArray args = (RubyArray)getRuntime().getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) getRuntime().getGlobalVariables().get("$stdin"); ((RubyString) getRuntime...
3,234,635