search for: rootp

Displaying 3 results from an estimated 3 matches for "rootp".

Did you mean: root
2019 Aug 12
0
[PATCH libnbd 3/7] ocaml: Remove NBD.Buffer.free function, use a free callback instead.
...d-c.h @@ -107,4 +107,12 @@ struct callback_data { extern char **nbd_internal_ocaml_string_list (value); extern value nbd_internal_ocaml_alloc_int32_array (uint32_t *, size_t); +/* Free a generational global root and its container. */ +static inline void +free_root (void *ptr /* unused */, void *rootp) +{ + caml_remove_generational_global_root ((value *)rootp); + free (rootp); +} + #endif /* LIBNBD_NBD_C_H */ diff --git a/ocaml/tests/test_590_aio_copy.ml b/ocaml/tests/test_590_aio_copy.ml index 290ca93..effc299 100644 --- a/ocaml/tests/test_590_aio_copy.ml +++ b/ocaml/tests/test_590_aio_copy....
2005 May 19
1
R 2.1.0 RH Linux Built from Source Segmentation Fault
...ep s=Mcmc$s # Check beta0 argument # if (missing(beta0)) {beta0=c(rep(0,nvar))} # betadraw=matrix(double(floor(R/keep)*nvar),ncol=nvar) # # compute required quantities for indep candidates # oldbeta=beta0 mhess=diag(nvar) candcov=chol2inv(chol(mhess)) root=s*chol(candcov) priorcov=chol2inv(chol(A)) rootp=chol(priorcov) rootpi=backsolve(rootp,diag(nvar)) # # start main iteration loop # oldlpost=llmnl(y,X,beta0)+lmvn(beta0,betabar,rootpi) naccept=0 for (rep in 1:R) { betac=oldbeta+t(root)%*%rnorm(nvar) clpost=llmnl(y,X,betac)+lmvn(betac,betabar,rootpi) ldiff=clpost-oldlpost al...
2019 Aug 12
14
[PATCH libnbd 0/7] Add free callbacks and remove valid_flag.
As proposed here: https://www.redhat.com/archives/libguestfs/2019-August/msg00130.html I didn't actually read Eric's replies to that yet because I've been concentrating on writing these patches all day. Anyway here they are and I'll look at what Eric said about the proposal next. Rich.