search for: ncall

Displaying 14 results from an estimated 14 matches for "ncall".

Did you mean: call
2011 Apr 05
0
[LLVMdev] Transition C->bitcode->assembly->object looses frame pointers
...for (j = 0; j < nptrs; j++) printf("%s\n", strings[j]); free(strings); } static void /* "static" means don't export the symbol... */ myfunc2(void) { myfunc3(); } void myfunc(int ncalls) { if (ncalls > 1) myfunc(ncalls - 1); else myfunc2(); } int main(int argc, char *argv[]) { if (argc != 2) { fprintf(stderr, "%s num-calls\n", argv[0]); exi...
2011 Apr 05
3
[LLVMdev] Transition C->bitcode->assembly->object looses frame pointers
Hi James, We've indeed passed the appropriate (and even excessive) flags to the appropriate pipeline parts, that is: llvm-gcc -O1 -fno-omit-frame-pointers -g $in -emit-llvm -S -o $name.ll llc --disable-fp-elim $name.ll -o $name.S g++ -fno-omit-frame-pointers -c $name.S , but that didn't work Alex On Tue, Apr 5, 2011 at 4:40 PM, James Molloy <James.Molloy at arm.com> wrote:
2006 Jun 06
0
[LLVMdev] Re: global variable
...ow I have successfully inserted the new global variables to the global list, > and inserted the new call instructions to the instruction list. But I don't > know how to associate them together. For example, I have > > GlobalVariable *Gv = new GlobalVariable(...); > Instruction *NCall = new CallInst(...); > How do I assign the value of NCall to Gv? You probably want to pass Gv in as an argument to the call? I don't know what you're trying to do, so I can't help without more details. -Chris -- http://nondot.org/sabre/ http://llvm.org/
2009 Nov 08
1
Summary methods
..., instead of StdError Infit Outfit [1,] -0.380346 0.103002 1.007466 0.9935 I would prefer StdError Infit Outfit V1 -0.380346 0.103002 1.007466 0.9935 This also occurs in my print method print.jml <- function(x, digits = 2, ...){ cat("\nCall:\n", deparse(x$call), "\n\n", sep = "") cat("Coefficients:\n") print.default(format(coef(x), digits = digits), print.gap=2, quote = FALSE) invisible(x) } Which produces > win Call: jml2.default(dat = itemDat[, 1:10]) Coefficients: [...
2018 Jan 26
0
Help in Plotting in "fArma" Package
...an S4 method: showMethods("show", classes="fHURST", includeDefs=TRUE) Function: show (package methods) object="fHURST" function (object) { x = object doplot = TRUE cat("\nTitle:\n ", x at title, "\n", sep = "") cat("\nCall:\n ") cat(paste(deparse(x at call), sep = "\n", collapse = "\n"), "\n", sep = "") ... snipped IAnd not easily susceptible to throwing base graphics parameters at ti since it's all hard-coded. I've suggested to the OP that hacking th...
2018 Jan 26
2
Help in Plotting in "fArma" Package
What Dave said, plus here's a hint. Try this example (which uses base graphics): plot(1:5) plot(1:5, cex.lab=2) Then look at the help page for par help('par') or ?par to search for other graphics parameters (base graphics) you can use to change various things. Success will depend, as Dave indicated, on how the package author handled the plotting options in rsFit(). -Don --
2012 Nov 06
2
Question on callNextMethod
I don't understand why I get the following results. I define two classes 'Base' and 'Derived', the latter of which 'contains' the first. I then define a generic method 'test' and overload it for each of these classes. I call 'callNextMethod()' in the overload for Derived. From the output, it appears that the overload for Base gets called twice. Why is
2010 Jun 10
2
Specifying formula inside a function
Hello, How does one specify a formula to lm inside a function (with variable names not known in advance) and have the formula appear explicitly in the output? For example, f <- function(d) { in.model <- sample(c(0,1), ncol(d)-1, replace=T) current.model <- lm(paste(names(d)[1], "~", paste(names(d[2:ncol(d)])[which(in.model == 1)], collapse= "+")), data=d) #***
2003 Feb 19
1
getting/storing the name of an object passed to a function
...+ 1) p.F.stat <- 1 - pf(x$F.stat, df1 = df1, df2 = df2) inv.mat <- solve(x$V) means.diff <- x$mu1 - x$mu2 lambda <- inv.mat %*% means.diff colnames(lambda) <- "lambda" rownames(lambda) <- colnames(x$V) ## Print the results cat("\nCall: ", deparse(x$call), "\n\n") cat("Pooled Variance-Covariance Matrix:", "\n\n") print.default(x$V, digits = digits) cat("\n") cat("Covariance Matrices:", "\n\n") cat("Group 1:", "\n") print.d...
2012 Aug 23
1
GotoIf redirection to label not working correctly
...internal] exten => _3XX,1,NoOp() same => n,Set(E=${EXTEN}) same => n,Set(${E}_VMCONTEXT=${HOTDESK_INFO(vmcontext,${E})}) same => n,Set(USER_LOCATION=${HOTDESK_USER_STATUS(${E})}) same => n,GotoIf($[${ODBCROWS} < 1]?notloggedin) same => n,Dial(SIP/${USER_LOCATION},20,wWU(blf-begincall^${E}^INUSE)b(blf-begincall^s^1(${E}^RINGING))) same => n,Voicemail(${E}@${${E}_VMCONTEXT},b) same => n,Hangup() same => n(notloggedin),Set(LOGGED_OFF=1) same => n,Voicemail(${E}@${${E}_VMCONTEXT},u) same => n,Hangup() In both Asterisk 10 and Asterisk 11, the GotoIf does not work und...
2005 Jun 26
0
Factor correlations in factanal
...d(varex, "Proportion Var" = vx/p) if(factors > 1) varex <- rbind(varex, "Cumulative Var" = cumsum(vx/p)) } cat("\n") print(round(varex, digits)) invisible(x) } print.factanal <- function(x, digits = 3, ...) { cat("\nCall:\n", deparse(x$call), "\n\n", sep = "") cat("Uniquenesses:\n") print(round(x$uniquenesses, digits), ...) print(x$loadings, digits = digits, ...) # the following lines added by J. Fox, 26 June 2005 if (!is.null(x$rotmat)){ tmat <- sol...
2010 Feb 10
2
Total least squares linear regression
Dear all, After a thorough research, I still find myself unable to find a function that does linear regression of 2 vectors of data using the "total least squares", also called "orthogonal regression" (see : http://en.wikipedia.org/wiki/Total_least_squares) instead of the "ordinary least squares" method. Indeed, the "lm" function has a
1998 May 29
0
aov design questions
...g dimnames(ans$correlation) <- dimnames(z$cov.unscaled) } class(ans) <- "summary.aov" ans } print.summary.aov <- function (x, digits = max(3, .Options$digits - 3), roundfun = round, ...) { cat("\nCall:\n") cat(paste(deparse(x$call), sep = "\n", collapse = "\n"), "\n\n", sep = "") resid <- x$residuals df <- x$df rdf <- df[2] if (rdf > 5) { cat("Residuals:\n")...
2008 Sep 09
1
Addendum to wishlist bug report #10931 (factanal) (PR#12754)
...d(varex, "Proportion Var" = vx/p) if(factors > 1) varex <- rbind(varex, "Cumulative Var" = cumsum(vx/p)) } cat("\n") print(round(varex, digits)) invisible(x) } print.factanal <- function(x, digits = 3, ...) { cat("\nCall:\n", deparse(x$call), "\n\n", sep = "") cat("Uniquenesses:\n") print(round(x$uniquenesses, digits), ...) print(x$loadings, digits = digits, ...) # the following lines added by J. Fox, 26 June 2005 if (!is.nul...