Displaying 6 results from an estimated 6 matches for "getnum".
Did you mean:
tgetnum
2009 Jul 15
0
[PATCH] gfxboot: parse TIMEOUT keyword
...alue (0: no timeout)
+ mov eax,[menu_timeout] ; timeout value (0: no timeout)
call far [gfx_bc_input]
ret
@@ -786,6 +785,42 @@ do_default:
.noparm:
ret
+do_timeout:
+ call skipspace
+ jz .eof
+ jc .noparm
+ call ungetc
+ push es
+ push di
+ push cs
+ pop es
+ mov di,NumBuf
+.getnum:
+ cmp di,NumBufEnd
+ jae .loaded
+ call getc
+ stosb
+ cmp al,'-'
+ jnb .getnum
+ call ungetc
+ dec di
+.loaded:
+ mov byte [di],0
+ pop di
+ pop es
+ push cs
+ pop ds
+ mov si,NumBuf
+ push ebx
+ call parseint
+ jc .err
+ mov [menu_timeout],ebx
+.err:
+ pop ebx
+.eof:
+...
2004 Feb 20
1
[LLVMdev] Changes in MachineInstruction/Peephole Optimizer?
...ailing in the LLVM cvs
version, but not in LLVM 1.1. The generated code fails a check in the
x86 peephole optimizer:
llc: PeepholeOptimizer.cpp:128: bool
<unnamed>::PH::PeepholeOptimize(llvm::Machi
neBasicBlock&, llvm::ilist_iterator<llvm::MachineInstr>&): Assertion
`MI->getNum
Operands() == 2 && "These should all have 2 operands!"' failed.
I've tracked it down to a difference between LLVM cvs and LLVM 1.1 in
PeepholeOptimizer.cpp:
In LLVM 1.1, PeepholeOptimizer.cpp: line 70:
case X86::ADDri16: case X86::ADDri32:
case X86::SUBri16: ca...
2010 Mar 13
0
PBX_DUNDI question
...r 1 is not valid for DUNDi
query results for ID 879!*
though it should return some results , it failed in getting those .
foloowing is my DIALPLAN
exten => s,n,Set(ID=${DUNDIQUERY(${NUMBER},priv,b)})
exten => s,n,NoOp(DUNDI-QUERY-ID [ ${ID} ])
exten => s,n,Set(NUM=${DUNDIRESULT(${ID},getnum)})
exten => s,n,NoOp(There are [ ${NUM} ] dundi results)
regards
Dhaval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100313/49b4372b/attachment.htm
2009 Jul 03
0
e164.org and tollfree ENUM records
...numbering schemes that the poviders use.
I've been using the following [enum] template in my outbound route for quite
some time with great success until recently.
[enum](!)
exten => _X.,n,Set(ARRAY(i,id)=1,${ENUMQUERY(+${EXTEN},ALL,e164.org)})
exten => _X.,n,Set(max=${ENUMRESULT(${id},getnum)})
exten => _X.,n,While($["${i}" <= "${max}"])
exten => _X.,n,Set(uri=${ENUMRESULT(${id},${i})})
exten => _X.,n,Exec(${IF($["${uri:0:3}" =
"sip"]?Dial(SIP/${uri:4},40,KL(7200000:120000)T):NoOp(ENUM URI is not of type
SIP))})
exten => _X.,n,Ex...
2010 Mar 03
0
CALLERID(num) not working
...03-02 13:31:36.130] -- Executing [myextn:2222222222:1111111111:30 at context:4] Set("IAX2/trunk-12353", "CALLERID(num)=2222222222") in new stack
[2010-03-02 13:31:36.130] -- Executing [myextn:2222222222:1111111111:30 at context:5] Goto("IAX2/trunk-12353", "GetNum") in new stack
[2010-03-02 13:31:36.131] -- Goto (context,myextn:2222222222:1111111111:30,7)
[2010-03-02 13:31:36.131] -- Executing [myextn:2222222222:1111111111:30 at context:7] Set("IAX2/trunk-12353", "MyNumber=1111111111") in new stack
[2010-03-02 13:31:36.131]...
2013 Jun 16
2
extract all numbers from a string
Hi all,
I have been beating my head against this problem for a bit,
but I can't figure it out.
I have a series of strings of variable length, and each will
have one or more numbers, of varying format. E.g., I might
have:
tmpstr = "The first number is: 32. Another one is: 32.1.
Here's a number in scientific format, 0.3523e10, and
another, 0.3523e-10, and a negative,