search for: tmpvar

Displaying 6 results from an estimated 6 matches for "tmpvar".

Did you mean: tempvar
2004 Jun 25
2
Sweave: R code in self defined TeX-commands
Hi, I need to produce a standard report for several variables in Sweave and thus would need the possibility to define a TeX-command which includes R-code like \newcommand{\meansd}[1]{The mean is \Sexpr{mean(#1)} and the standard deviation is \Sexpr{sd(#1)} . } and then just write \meansd{age} in the latex code to get the whole sentence. The above does not work, since
2009 Jun 20
0
[LLVMdev] How to call C++ code from LLVM
...ned 1 exit status in .bc file i have something like that: ; ModuleID = 'xyz' internal constant [5 x i8] c"ello\00" ; <[5 x i8]*>:0 [#uses=1] declare void @printInt(i32) define i32 @main() { entry: call void @printString(i8* getelementptr ([5 x i8]* @0, i32 0, i32 0)) %tmpvar = alloca i32 ; <i32*> [#uses=2] store i32 0, i32* %tmpvar %tmpvar1 = load i32* %tmpvar ; <i32> [#uses=1] ret i32 %tmpvar1 } ///////////////////////////// Second possibility is try lli :working: but when I try to: LD_LIBRARY_PATH=/home/mylinux/Desktop/test lli prog.bc i have: ERRO...
2009 Jun 19
0
[LLVMdev] How to call C++ code from LLVM
On Thu, Jun 18, 2009 at 3:57 PM, Jules Jacobs<julesjacobs at gmail.com> wrote: > How can I call C++ libraries (LLVM & Qt for example) from a language that's > implemented on top of LLVM? You can call them the same way a C++ file compiled with llvm-g++ would call them. Essentially, it's complicated enough that you probably don't want to do it for any interface of
2009 Jun 18
3
[LLVMdev] How to call C++ code from LLVM
Hi, How can I call C++ libraries (LLVM & Qt for example) from a language that's implemented on top of LLVM? Thanks, Jules -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090619/4621508b/attachment.html>
2003 Apr 20
4
${EPOCH} and ${DATETIME} patch
...Index: pbx.c =================================================================== RCS file: /usr/cvsroot/asterisk/pbx.c,v retrieving revision 1.14 diff -u -r1.14 pbx.c --- pbx.c 19 Apr 2003 02:41:22 -0000 1.14 +++ pbx.c 21 Apr 2003 02:27:43 -0000 @@ -713,6 +713,8 @@ { char *first,*second; char tmpvar[80] = ""; + time_t thistime; + struct tm brokentime; int offset,offset2; struct ast_var_t *variables; char *name, *num; /* for callerid name + num variables */ @@ -807,6 +809,21 @@ } else if (!strcmp(var, "CHANNEL")) { strncpy(workspace, c->name, workspacelen - 1);...
2011 Jul 29
0
HTML sanitization
...he matter worse. Does **anybody have recommendations here?** (In the case where it's running in a modern browser, we could use `DOMParser` as an optimization, but enough people are using markdown-js in Node that I think it doesn't make sense to depend on that.) [jsdom]: https://github.com/tmpvar/jsdom (Elijah Insua's MIT-licensed pure-JS implementation of the W3C DOM) [kn_htmlsafe_htmlSanitize]: http://mod-pubsub.cvs.sourceforge.net/viewvc/mod-pubsub/mod_pubsub/js_pubsub/js/kn_htmlsafe.js?revision=1.2&view=markup (Ben Sittler's 3-clause BSD-licensed whitelisting, but no...