search for: dothis

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

2012 May 29
1
(no subject)
...ts sent to a php script and I want users to be able to send to that script via any number of different names (could ultimately be 1000's). I'm thinking that I append/delete from the etc/aliases file and then run #newaliases So that email at domain.com will answer on dummy at domain.com or dothis at domain.com, once the email comes in, I can check the header, get who it was really sent to, do all my checks, perform the necessary action blah blah blah... and be able to do it all on one piece of code (my fantasy LOL). Am I on the right track here or is this simply not going to work? Thanks,...
2008 Mar 05
1
SEXP size management.
Hi, Trying to decrease the size of a SEXP variable without reassigning values individually in a loop. So far, I've tried using Realloc, as the follow source demonstrates: SEXP dothis() { SEXP Rblah; PROTECT(Rblah = NEW_INTEGER(6)); int* blah = INTEGER(Rblah); blah[0] = 1; blah[1] = 2; blah[2] = 3; Realloc(Rblah, 3, INTEGER); UNPROTECT(1); return(Rblah); } According to the documentation, I think that this should work, however it returns an error on compile: "te...
2017 Nov 02
2
Why am I getting FrameIndex:i64<0> when I have no i64's?
...#39;foo.c' source_filename = "foo.c" target datalayout = "E-m:e-p16:16:16-i1:16:16-i8:16:16-i16:16:16-i32:16:16-i64:16:16-S16-n16" target triple = "tms9900" @global_var = common global i16 0, align 2 ; Function Attrs: noinline nounwind optnone define signext i16 @dothis(i16 signext %a) #0 { entry: %a.addr = alloca i16, align 2 store i16 %a, i16* %a.addr, align 2 %0 = load i16, i16* @global_var, align 2 %1 = load i16, i16* %a.addr, align 2 %add = add nsw i16 %0, %1 ret i16 %add } attributes #0 = { noinline nounwind optnone "correctly-rounded-divid...
2007 Jun 07
5
[LLVMdev] libc dependencies, code generation questions
...the documentation and looking at some code generated by llvm-gcc, I have a couple of questions: 1) is there a way to specify ranges in the switch statement? Pascal supports switch statements (called "case" statements there) which look like this: case <expr> of 1..1000000: dothis; 1000001..1000000000: do that; end; Generating a switch statement with 10^9 individual entries is not really feasible in practice. We can of course map all "large" ranges in case statements into equivalent if-statements, but that largely defeats the elegance and ease of use of t...
2011 Oct 07
2
Add SIP diversion header in originate from AMI?
Hello! I want to thank everyone who helped me out with tips for load balancing asterisk machines in a cluster. I have encountered a new problem that is related to SIP diversion headers in the INVITE. I make calls through the manager interface and now want to add a SIP-Diversion header that changes the CallerID of a number that is not available on the trunk, the CallerID to be visible externally
2007 Jun 07
0
[LLVMdev] libc dependencies, code generation questions
...ese kinds of issues (most of the work is done in llvm-convert.cpp). > 1) is there a way to specify ranges in the switch statement? Pascal > supports switch statements (called "case" statements there) which > look like this: > > case <expr> of > 1..1000000: dothis; > 1000001..1000000000: do that; > end; > > Generating a switch statement with 10^9 individual entries is not > really feasible in practice. We can of course map all "large" ranges > in case statements into equivalent if-statements, but that largely > defeat...