Displaying 4 results from an estimated 4 matches for "the_cal".
Did you mean:
the_call
2005 Aug 15
2
randomForest Error passing string argument
I'm attempting to pass a string argument into the function
randomForest but I get an error:
state <- paste(list("fruit ~", "apples+oranges+blueberries",
"data=fruits.data, mtry=2, do.trace=100, na.action=na.omit,
keep.forest=TRUE"), sep= " ", collapse="")
model.rf <- randomForest(state)
Error in if (n==0) stop ("data(x) has 0
2008 May 04
0
[LLVMdev] nonlocal go to -- how?
...into something like:
Translate the goto inso something like
throw appropriate_static_link->LL;
where appropriate static link is whatever is needed to access the proper
variable in the enclosing scope.
Around every call *from* any function that contains a Label, we have code
like:
try(
the_call
}
catch(Label e)
{ if(e.level == LL.level)
goto e.label;
else throw e;
}
Of course this coding requires that you can take addresses of labels and
jump to them later in C++, which as far as I can recall is not one of its
language features.
But LLVM is a lower-level language, so I...
2008 May 04
7
[LLVMdev] nonlocal go to -- how?
The languages I'm faced with compiling in the near future have nonlocal
go to statements and nested procedures.
A procedure gets implemented as a structure containing its entry point
and an environment pointer. It is easy enough to call its entry point
and pass the environment pointer as an extra argument (rather like the
pointer to this or self in object-oriented code). It's no
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...t, db);
+ if (t1 == last || t1 == t)
return first;
- db.names.back().first.append(")");
- first = t;
+ t = t1;
}
+ if (db.names.size() < args_begin)
+ return first;
+ ++t;
+ call_expr* the_call = db.template make<call_expr>(
+ callee, db.names.size() - args_begin,
+ db.template make_array<node*>(
+ db.names.begin() + (long)args_begin,
+ db.names.end()));
+ db.names.erase(db.names.begin() + (long)args_begin, db.names.e...