Displaying 2 results from an estimated 2 matches for "test_cod".
Did you mean:
test_code
2020 Aug 10
2
ORC JIT Weekly #19 -- Relocatable object level mocking with llvm-jitlink.
...he test object(s)
-- All symbols defined by the harness object(s) override (rather than
clashing with) symbols defined in the test object(s).
With these modifications in place we can selectively test functions in an
object file by mocking their callees. For example, suppose we have an
object file, test_code.o, compiled from the following C source (which we do
not have access to):
void irrelevant_function() { irrelevant_external(); }
int function_to_mock(int X) {
return /* some function of X */;
}
static void function_to_test() {
...
int Y = function_to_mock();
printf("Y is %i\n",...
2012 Oct 03
1
Errors when saving output from WinBUGS to R
...(Y20=y,x1=x1, x2=x2, x3=x3, N=N)
inits<- function(){
list(beta0=0, beta1=0, beta2=0, beta3=0)}
parameters <- c("beta0", "beta1", "beta2", "beta3")
#call winbugs using bugs() function
model <- bugs(data, inits, parameters,
model.file="C:/Jinmodel/test_codes/model_poisson.txt", n.chains=1,
n.iter=30, n.burnin=0,n.thin=1, codaPkg=TRUE, DIC=TRUE, debug=TRUE,
bugs.directory="C:/Users/Yiyi/Desktop/winbugs14/WinBUGS14")
###########################################
I can get pretty good traceplots & parameter estimate outputs in WinBUG...