bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
3,234,850
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
3,234,851
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
3,234,852
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
3,234,853
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
public Set findPDIHierarchies(final Set arg0) { // CONTRACT if (null == arg0 || arg0.size()==0) { return new HashSet(); } HibernateTemplate ht = new HibernateTemplate(sessions); return (Set) ht.execute(new HibernateCallback() { public Object doInHibernate(Session session...
3,234,854
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,855
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,856
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,857
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,858
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,859
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,860
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,861
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,862
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
public Object doInHibernate(Session session) throws HibernateException { newCache(); //QUERY Query q = session.getNamedQuery("findPDI"); q.setParameterList("img_list", arg0, new IntegerType()); List result = q.list...
3,234,863
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! CategoryGroupData.class.equals(arg0) && ! CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or...
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (!CategoryGroupData.class.equals(arg0) && !CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or C...
3,234,864
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! CategoryGroupData.class.equals(arg0) && ! CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or...
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! CategoryGroupData.class.equals(arg0) && ! CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or...
3,234,865
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! CategoryGroupData.class.equals(arg0) && ! CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or...
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! CategoryGroupData.class.equals(arg0) && ! CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or...
3,234,866
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! CategoryGroupData.class.equals(arg0) && ! CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or...
public DataObject loadCGCIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! CategoryGroupData.class.equals(arg0) && ! CategoryData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadCGCIHierarchy() must be CategoryGroupData or...
3,234,867
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("CGCI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(CategoryData....
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("CGCI_by_" + arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(CategoryDat...
3,234,868
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("CGCI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(CategoryData....
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("CGCI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(CategoryData....
3,234,869
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("CGCI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(CategoryData....
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("CGCI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(CategoryData....
3,234,870
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (!ProjectData.class.equals(arg0) && !DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData."); ...
3,234,871
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
3,234,872
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
3,234,873
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
3,234,874
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
public DataObject loadPDIHierarchy(final Class arg0, final int arg1) { // CONTRACT if (! ProjectData.class.equals(arg0) && ! DatasetData.class.equals(arg0)) { throw new IllegalArgumentException( "Class parameter for loadPDIHierarchy() must be ProjectData or DatasetData.")...
3,234,875
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("PDI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(DatasetData.cl...
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("PDI_by_" + arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(DatasetData....
3,234,876
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("PDI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(DatasetData.cl...
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("PDI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(DatasetData.cl...
3,234,877
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("PDI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(DatasetData.cl...
public Object doInHibernate(Session session) throws HibernateException { newCache(); Query q = session.getNamedQuery("PDI_by_"+arg0.getName()); q.setLong("id", arg1); DataObject dobj; if (arg0.equals(DatasetData.cl...
3,234,878
void toCache(Object key, Object value) { // FIXME Why are there NULLs in the Cache!!!! ((Map) cache.get()).put(key, value); // TODO return either original value or a new one -- tough. Not when all inherit from a single DataObject!!?? }
void toCache(Object key, Object value) { // FIXME Why are there NULLs in the Cache!!!! ((Map) cache.get()).put(key, value); // TODO return either original value or a new one -- tough. Not when all inherit from a single DataObject!!??...
3,234,879
public void addGroups(Experimenter user, ExperimenterGroup[] groups) { // TODO Auto-generated method stub }
if (user == null) return; if (groups == null) return; Experimenter foundUser = iQuery.get(Experimenter.class,user.getId()); for (ExperimenterGroup group : groups) { ExperimenterGroup foundGroup = iQuery.get(ExperimenterGroup.class, group.getId()); foundUser.linkExperimenterGroup(foundGroup); } iUpdate.flush(); if (use...
3,234,881
public void close() throws IOException { channel.close(); }
public void close() throws IOException { if (channel != null) channel.close(); }
3,234,883
public LexerSource(String sourceName, Reader reader) { this.sourceName = sourceName; this.reader = reader; this.positionFactory = new SourcePositionFactory(); }
public LexerSource(String sourceName, Reader reader) { this.sourceName = sourceName; this.reader = reader; this.positionFactory = new SourcePositionFactory(this); }
3,234,884
private String generateHtmlizedJavaSource(SourceFileData sourceFileData) { File sourceFile = null; try { sourceFile = finder.getFileForSource(sourceFileData.getName()); } catch (IOException e) { return "<p>Unable to locate " + sourceFileData.getName() + ". Have you specified the source directory?</p>"; ...
private String generateHtmlizedJavaSource(SourceFileData sourceFileData) { File sourceFile = null; try { sourceFile = finder.getFileForSource(sourceFileData.getName()); } catch (IOException e) { return "<p>Unable to locate " + sourceFileData.getName() + ". Have you specified the source directory?</p>"; ...
3,234,885
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
3,234,886
private void generatePackageList() throws IOException { File file = new File(destinationDir, "frame-packages.html"); PrintStream out = null; try { out = new PrintStream(new FileOutputStream(file)); out .println("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\""); out .println(" ...
private void generatePackageList() throws IOException { File file = new File(destinationDir, "frame-packages.html"); PrintStream out = null; try { out = new PrintStream(new FileOutputStream(file)); out .println("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\""); out .println(" ...
3,234,887
private void generateSourceFile(SourceFileData sourceFileData) throws IOException { if (!sourceFileData.containsInstrumentationInfo()) { LOGGER.info("Data file does not contain instrumentation " + "information for the file " + sourceFileData.getName() + ". Ensure this class was instrumented, and this " ...
private void generateSourceFile(SourceFileData sourceFileData) throws IOException { if (!sourceFileData.containsInstrumentationInfo()) { LOGGER.info("Data file does not contain instrumentation " + "information for the file " + sourceFileData.getName() + ". Ensure this class was instrumented, and this " ...
3,234,888
private void generateSourceFileList(PackageData packageData) throws IOException { String filename; Collection sourceFiles; if (packageData == null) { filename = "frame-sourcefiles.html"; sourceFiles = projectData.getSourceFiles(); } else { filename = "frame-sourcefiles-" + packageData.getName() + ".html...
private void generateSourceFileList(PackageData packageData) throws IOException { String filename; Collection sourceFiles; if (packageData == null) { filename = "frame-sourcefiles.html"; sourceFiles = projectData.getSourceFiles(); } else { filename = "frame-sourcefiles-" + packageData.getName() + ".html...
3,234,889
public void setUp() { ruby = Ruby.getDefaultInstance(null); rubyTime = ruby.getClasses().getTimeClass(); RubyObject[] args = new RubyObject[1]; args[0] = new RubyFixnum(ruby, 18000000); nineTeenSeventy = RubyTime.s_at(ruby, rubyTime, args); }
public void setUp() { ruby = Ruby.getDefaultInstance(null); rubyTime = ruby.getClasses().getTimeClass(); RubyObject[] args = new RubyObject[1]; args[0] = RubyFixnum.newFixnum(ruby, 18000000); nineTeenSeventy = RubyTime.s_at(ruby, rubyTime, args); }
3,234,890
public PlayerManager(Player view, ViewerCtrl control, int max, int index, int s, int e) { this.view = view; this.control = control; setIndex(index, max, s, e); movieType = Player.LOOP; registry = control.getRegistry(); pixelsID = control.getCurPixelsID(); playing = fals...
public PlayerManager(Player view, ViewerCtrl control, int max, int index, int s, int e) { this.view = view; this.control = control; setIndex(index, max, s, e); movieType = Player.LOOP; registry = control.getRegistry(); pixelsID = control.getCurPixelsID(); playing = fals...
3,234,891
private void renderImage(int v) { int t = v, z = curValue; if (index == Player.MOVIE_Z) { t = curValue; z = v; control.resetZField(v); } else control.resetTField(v); PlaneDef def = new PlaneDef(PlaneDef.XY, t); def.setZ(z); RenderImage render = new R...
private void renderImage(int v) { int t = v, z = curValue; if (index == Player.MOVIE_Z) { t = curValue; z = v; control.resetZField(v); } else control.resetTField(v); PlaneDef def = new PlaneDef(PlaneDef.XY, t); def.setZ(z); RenderImage render = new R...
3,234,892
public RubyObject call(RubyObject recv, RubyId mid, RubyObject[] args, int scope) { RubyMethodCacheEntry ent = RubyMethodCacheEntry.getEntry(getRuby(), this, mid); RubyModule klass = this; RubyId id = mid; int noex; Node body; if (ent != null) { i...
public RubyObject call(RubyObject recv, RubyId mid, RubyPointer args, int scope) { RubyMethodCacheEntry ent = RubyMethodCacheEntry.getEntry(getRuby(), this, mid); RubyModule klass = this; RubyId id = mid; int noex; Node body; if (ent != null) { if...
3,234,893
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, Node body, boolean noSuper) { // ... getRuby().getRubyFrame().push(); // HACK +++ getRuby().getIter().push(RubyIter.ITER_NOT); // HACK --- getRuby().getRubyFrame().setLast...
public RubyObject call0(RubyObject recv, RubyId id, RubyPointer args, Node body, boolean noSuper) { // ... getRuby().getRubyFrame().push(); // HACK +++ getRuby().getIter().push(RubyIter.ITER_NOT); // HACK --- getRuby().getRubyFrame().setLastF...
3,234,894
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, Node body, boolean noSuper) { // ... getRuby().getRubyFrame().push(); // HACK +++ getRuby().getIter().push(RubyIter.ITER_NOT); // HACK --- getRuby().getRubyFrame().setLast...
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, Node body, boolean noSuper) { // ... if (getRuby().getIter().getIter() == RubyIter.ITER_PRE) { getRuby().getIter().push(RubyIter.ITER_CUR); } else { getRuby().getIter().push(RubyIter.ITER_NOT); } // H...
3,234,895
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, Node body, boolean noSuper) { // ... getRuby().getRubyFrame().push(); // HACK +++ getRuby().getIter().push(RubyIter.ITER_NOT); // HACK --- getRuby().getRubyFrame().setLast...
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, Node body, boolean noSuper) { // ... getRuby().getRubyFrame().push(); // HACK +++ RubyFrame frame = getRuby().getRubyFrame(); frame.push(); frame.setLastFunc(id); frame.setLastClass(noSuper ? nu...
3,234,896
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, Node body, boolean noSuper) { // ... getRuby().getRubyFrame().push(); // HACK +++ getRuby().getIter().push(RubyIter.ITER_NOT); // HACK --- getRuby().getRubyFrame().setLast...
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, Node body, boolean noSuper) { // ... getRuby().getRubyFrame().push(); // HACK +++ getRuby().getIter().push(RubyIter.ITER_NOT); // HACK --- getRuby().getRubyFrame().setLast...
3,234,897
protected void initializeClass() { defineMethod("==", Arity.singleArgument(), "equal"); defineAlias("===", "=="); defineMethod("to_s", Arity.noArguments()); defineMethod("nil?", Arity.noArguments(), "nil_p"); defineMethod("to_a", Arity.noArguments()); defineMethod("h...
protected void initializeClass() { defineMethod("==", Arity.singleArgument(), "equal"); defineAlias("===", "=="); defineMethod("to_s", Arity.noArguments()); defineMethod("nil?", Arity.noArguments(), "nil_p"); defineMethod("to_a", Arity.noArguments()); defineMethod("h...
3,234,899
public AbstractMetaClass(IRuby runtime, RubyClass metaClass, RubyClass superClass, RubyModule parentModule, String name) { super(runtime, metaClass, superClass, parentModule, name); }
public AbstractMetaClass(IRuby runtime, RubyClass metaClass, RubyClass superClass, RubyModule parentModule, String name) { super(runtime, metaClass, superClass, parentModule, name); }
3,234,900
public VALUE rb_ary_initialize(VALUE[] argv, VALUE ary) { return ((RubyArray)ary).m_initialize(argv.length > 0 ? (RubyFixnum)argv[0] : null, argv.length > 1 ? (RubyObject)argv[1] : null); }
public VALUE rb_ary_initialize(VALUE[] argv, VALUE ary) { return ((RubyArray)ary).m_initialize(argv.length > 0 ? (RubyFixnum)argv[0] : null, argv.length > 1 ? (RubyObject)argv[1] : null); }
3,234,901
public VALUE rb_mod_attr(VALUE[] argv, VALUE klass) { return ((RubyModule)klass).m_attr((RubySymbol)argv[0], argv.length > 1 ? (RubyBoolean)argv[1] : ruby.getFalse()); }
public VALUE rb_mod_attr(VALUE[] argv, VALUE klass) { return ((RubyModule)klass).m_attr((RubySymbol)argv[0], (RubyObject[])argv); }
3,234,902
public VALUE rb_module_s_new(VALUE klass) { return RubyModule.m_newModule(ruby, (RubyClass)klass); }
public VALUE rb_module_s_new(VALUE klass) { return RubyModule.m_new(ruby, (RubyObject)klass); }
3,234,903
boolean lookahead_keyword(String keyword) throws ParseException { int n=1; if (getToken(n).kind == WS) ++n; if (getToken(n+1).kind == WORD && getToken(n+1).image.equals(keyword)) return true; else return false; }
boolean lookahead_keyword(String keyword) throws ParseException { int n=1; if (getToken(n).kind == WS) ++n; if (getToken(n+1).kind == WORD && getToken(n+1).image.equals(keyword)) return true; else return false; }
3,234,904
void parse_args(ArgDescriptor[] args, DirectiveArgs da) throws ParseException { try { for (int i=0; i < args.length; ) { ArgDescriptor arg = args[i]; System.out.println("Argument " + i + ": " + arg.type + " " + arg.id); if (arg.type == Directive.ArgType_GROUP) parse_arg_group(args, i, da); ...
void parse_args(ArgDescriptor[] args, DirectiveArgs da) throws ParseException { try { for (int i=0; i < args.length; ) { ArgDescriptor arg = args[i]; if (arg.type == Directive.ArgType_GROUP) parse_arg_group(args, i, da); else if (arg.type == Directive.ArgType_CHOICE) { for (int j...
3,234,905
void parse_args(ArgDescriptor[] args, DirectiveArgs da) throws ParseException { try { for (int i=0; i < args.length; ) { ArgDescriptor arg = args[i]; System.out.println("Argument " + i + ": " + arg.type + " " + arg.id); if (arg.type == Directive.ArgType_GROUP) parse_arg_group(args, i, da); ...
void parse_args(ArgDescriptor[] args, DirectiveArgs da) throws ParseException { try { for (int i=0; i < args.length; ) { ArgDescriptor arg = args[i]; System.out.println("Argument " + i + ": " + arg.type + " " + arg.id); if (arg.type == Directive.ArgType_GROUP) parse_arg_group(args, i, da); ...
3,234,906
DirectiveBuilder parse_directive(String directive) throws ParseException, ParseException { DirectiveBuilder db=null; DirectiveDescriptor descriptor=null; Subdirective subd; try { descriptor = (DirectiveDescriptor) broker.get("org.webmacro.directive.Directive", directi...
DirectiveBuilder parse_directive(String directive) throws ParseException, ParseException { DirectiveBuilder db=null; DirectiveDescriptor descriptor=null; Subdirective subd; try { descriptor = (DirectiveDescriptor) broker.get("org.webmacro.directive.Directive", directi...
3,234,907
DirectiveBuilder parse_directive(String directive) throws ParseException, ParseException { DirectiveBuilder db=null; DirectiveDescriptor descriptor=null; Subdirective subd; try { descriptor = (DirectiveDescriptor) broker.get("org.webmacro.directive.Directive", directi...
DirectiveBuilder parse_directive(String directive) throws ParseException, ParseException { DirectiveBuilder db=null; DirectiveDescriptor descriptor=null; Subdirective subd; try { descriptor = (DirectiveDescriptor) broker.get("org.webmacro.directive.Directive", directi...
3,234,908
public void ReInit(java.io.InputStream dstream, int startline, int startcolumn) { ReInit(dstream, startline, startcolumn, 4096); }
public void ReInit(java.io.InputStream dstream, int startline, int startcolumn) { ReInit(dstream, startline, startcolumn, 4096); }
3,234,909
public void ReInit(java.io.InputStream dstream, int startline, int startcolumn) { ReInit(dstream, startline, startcolumn, 4096); }
public void ReInit(java.io.InputStream dstream, int startline, int startcolumn) { inputStream = dstream; line = startline; column = startcolumn - 1; if (bufA == null || bufA.size != buffersize) bufA = new Buffer(buffersize); if (bufB == null || bufB.size != buffersize) bufB = new Buffer(buffe...
3,234,910
public ASCII_CharStream(java.io.InputStream dstream, int startline, int startcolumn) { this(dstream, startline, startcolumn, 4096); }
public ASCII_CharStream(java.io.InputStream dstream, int startline, int startcolumn) { this(dstream, startline, startcolumn, 4096); }
3,234,911
public ASCII_CharStream(java.io.InputStream dstream, int startline, int startcolumn) { this(dstream, startline, startcolumn, 4096); }
public ASCII_CharStream(java.io.InputStream dstream, int startline, int startcolumn) { ReInit(dstream, startline, startcolumn, buffersize); }
3,234,912
public void addClassMetadata(ClassMetadata classMetadata) { Class type = classMetadata.getType(); GBeanInfo gbeanInfo = getGBeanInfo(type); if (gbeanInfo == null) { return; } classMetadata.put("j2eeType", gbeanInfo.getJ2eeType()); Set attributes = gbeanInfo.getAt...
public void addClassMetadata(ClassMetadata classMetadata) { Class type = classMetadata.getType(); GBeanInfo gbeanInfo = getGBeanInfo(type); if (gbeanInfo == null) { return; } classMetadata.put("j2eeType", gbeanInfo.getJ2eeType()); Set attributes = gbeanInfo.getAt...
3,234,913
public void addClassMetadata(ClassMetadata classMetadata) { Class type = classMetadata.getType(); GBeanInfo gbeanInfo = getGBeanInfo(type); if (gbeanInfo == null) { return; } classMetadata.put("j2eeType", gbeanInfo.getJ2eeType()); Set attributes = gbeanInfo.getAt...
public void addClassMetadata(ClassMetadata classMetadata) { Class type = classMetadata.getType(); GBeanInfo gbeanInfo = getGBeanInfo(type); if (gbeanInfo == null) { return; } classMetadata.put("j2eeType", gbeanInfo.getJ2eeType()); Set attributes = gbeanInfo.getAt...
3,234,914
public void addClassMetadata(ClassMetadata classMetadata) { Class type = classMetadata.getType(); GBeanInfo gbeanInfo = getGBeanInfo(type); if (gbeanInfo == null) { return; } classMetadata.put("j2eeType", gbeanInfo.getJ2eeType()); Set attributes = gbeanInfo.getAt...
public void addClassMetadata(ClassMetadata classMetadata) { Class type = classMetadata.getType(); GBeanInfo gbeanInfo = getGBeanInfo(type); if (gbeanInfo == null) { return; } classMetadata.put("j2eeType", gbeanInfo.getJ2eeType()); Set attributes = gbeanInfo.getAt...
3,234,915
public RubyString name() { return getRuntime().newString(getName()); }
public RubyString name() { return getRuntime().newString(getBaseName() == null ? "" : getName()); }
3,234,917
private BLOCK BEGIN_CALLARGS() { BLOCK tmp_block = ruby_block; if (ruby_iter.iter == ITER_PRE) { ruby_block = ruby_block.prev; } PUSH_ITER(ITER_NOT); return tmp_block; }
private BLOCK BEGIN_CALLARGS() { BLOCK tmp_block = ruby_block; if (rubyIter.getIter() == Iter.ITER_PRE) { ruby_block = ruby_block.prev; } PUSH_ITER(ITER_NOT); return tmp_block; }
3,234,918
private BLOCK BEGIN_CALLARGS() { BLOCK tmp_block = ruby_block; if (ruby_iter.iter == ITER_PRE) { ruby_block = ruby_block.prev; } PUSH_ITER(ITER_NOT); return tmp_block; }
private BLOCK BEGIN_CALLARGS() { BLOCK tmp_block = ruby_block; if (ruby_iter.iter == ITER_PRE) { ruby_block = ruby_block.prev; } rubyIter.push(Iter.ITER_NOT); return tmp_block; }
3,234,919
private void END_CALLARGS(BLOCK tmp_block) { ruby_block = tmp_block; POP_ITER(); }
private void END_CALLARGS(BLOCK tmp_block) { ruby_block = tmp_block; rubyIter.pop(); }
3,234,920
private BLOCK PUSH_BLOCK(NODE v, NODE b, VALUE self) { BLOCK _block = new BLOCK(); // _block.tag = new_blktag(); _block.var = v; _block.body = b; _block.self = self; _block.frame = rubyFrame; _block.klass = ruby_class; // _block.frame.file = ruby_sourcefile; ...
private BLOCK PUSH_BLOCK(NODE v, NODE b, VALUE self) { BLOCK _block = new BLOCK(); // _block.tag = new_blktag(); _block.var = v; _block.body = b; _block.self = self; _block.frame = rubyFrame; _block.klass = ruby_class; // _block.frame.file = ruby_sourcefile; ...
3,234,921
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
3,234,922
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
3,234,923
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
3,234,924
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
3,234,925
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
public RubyObject eval(RubyObject self, NODE n) {if (ruby.rubyScope.getLocalVars() == null) { throw new RuntimeException("BUG: unexpected block argument"); } if (isBlockGiven()) { result = getRuby().getNil(); ruby.rubyScope.setLocalVars(node.nd_cnt(), result); return result; } else { NODE node = n;if (ruby.rubySco...
3,234,926
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
} } } } public} RubyObject} eval(RubyObject} self,} NODE} n)} {} } } } } } } } NODE} node} =} n;} } } } } } } } } } } } } } } } RubyBoolean} cond} =} null;} } } } } } } } RubyObject[]} args} =} null;} } } } } } } } RubyObject} result} =} null;} } } } } } } } //} int} state;} } } } } } } } } } } } } } } } //} RubyOrigin...
3,234,927
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyBoolean cond = null; RubyObject[] args = null; RubyObject result = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { ...
3,234,928
public Frame getRubyFrame() { if (rubyFrame == null) { rubyFrame = new Frame(); } return rubyFrame; }
public Frame getRubyFrame() { if (rubyFrame == null) { rubyFrame = new Frame(ruby); } return rubyFrame; }
3,234,929
public void init() { // FRAME frame = new FRAME(); iter iter = new iter(); int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); ruby_iter = iter; // rb_origenviron = environ; // Init_stack(0); /...
public void init() { // FRAME frame = new FRAME(); int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); ruby_iter = iter; // rb_origenviron = environ; // Init_stack(0); // Init_heap(); ...
3,234,930
public void init() { // FRAME frame = new FRAME(); iter iter = new iter(); int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); ruby_iter = iter; // rb_origenviron = environ; // Init_stack(0); /...
public void init() { // FRAME frame = new FRAME(); iter iter = new iter(); int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); rubyIter = new Iter(); // rb_origenviron = environ; // Init_stack(0); ...
3,234,931
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,932
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,933
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,934
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,935
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,936
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,937
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,938
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,939
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,940
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,941
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject...
3,234,942
public GetMethodBodyResult(RubyModule recvClass, RubyId id, int noex) { this.recvClass = recvClass; this.id = id; this.noex = noex; }
public GetMethodBodyResult(RubyModule recvClass, RubyId id, int noex) { this.recvClass = recvClass; this.id = id; this.noex = noex; }
3,234,943
public Node getBody() { return body; }
public Node getBody() { return body; }
3,234,944
public RubyId getId() { return id; }
public RubyId getId() { return id; }
3,234,945
public int getNoex() { return noex; }
public int getNoex() { return noex; }
3,234,946
public RubyModule getRecvClass() { return recvClass; }
public RubyModule getRecvClass() { return recvClass; }
3,234,947
public void setBody(Node body) { this.body = body; }
public void setBody(Node body) { this.body = body; }
3,234,948
public void setId(RubyId id) { this.id = id; }
public void setId(RubyId id) { this.id = id; }
3,234,949
public void setNoex(int noex) { this.noex = noex; }
public void setNoex(int noex) { this.noex = noex; }
3,234,950
public void setRecvClass(RubyModule recvClass) { this.recvClass = recvClass; }
public void setRecvClass(RubyModule recvClass) { this.recvClass = recvClass; }
3,234,951
public RubyModule(Ruby ruby) { this(ruby, null); }
public RubyModule(Ruby ruby) { this(ruby, null); }
3,234,952
public void addAttribute(RubyId id, boolean read, boolean write, boolean ex) { // RubyInterpreter intrprtr = getRuby().getInterpreter(); int noex = Constants.NOEX_PUBLIC; if (ex) { if (getRuby().getActMethodScope() == Constants.SCOPE_PRIVATE) { noex = Constants.NOEX_PRIVATE; } else if (getRuby().getActMethod...
public void addAttribute(RubyId id, boolean read, boolean write, boolean ex) { // RubyInterpreter intrprtr = getRuby().getInterpreter(); int noex = Constants.NOEX_PUBLIC; if (ex) { if (getRuby().getActMethodScope() == Constants.SCOPE_PRIVATE) { noex = Constants.NOEX_PRIVATE; } else if (getRuby().getActMethod...
3,234,953