Displaying 3 results from an estimated 3 matches for "newtop".
Did you mean:
newton
2007 Jan 24
0
NewTopic - Asterisk and Cisco AS5300 via E1/PRI
Hi,
I had previously posted about connecting an AS5300 to * via SIP/H323. I got it to work via SIP, but
only 1 call at a time would work, and if a user from the * side hung up, the cisco would'nt catch
the hangup.
I an now trying to hook up to the cisco via E1, with a Sangoma A101 card in my * box. I would like
it such that I call from * via E1/PRI to the cisco, and call out via R2 to
2005 Dec 16
12
validates_presence_of not working
Hi,
I''m new to ruby and rails. I just created a simple update page and the
update works fine if all form fields are filled in. However there is one
field that should never be allowed to be blank. So I put this in my
model:
class Topic < ActiveRecord::Base
validates_presence_of :dr_title
validates_length_of :dr_title, :minimum => 1
So, when I submit the form with a blank
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...eateSub(SP, Size);
+
+ // Align the SP value to satisfy the AllocaInst, type and stack alignments
+ unsigned Align = std::max(
+ std::max((unsigned)DL->getPrefTypeAlignment(Ty), AI->getAlignment()),
+ (unsigned) StackAlignment);
+
+ assert(isPowerOf2_32(Align));
+ Value *NewTop = IRB.CreateIntToPtr(
+ IRB.CreateAnd(SP, ConstantInt::get(IntPtrTy, ~uint64_t(Align-1))),
+ StackPtrTy);
+
+ // Save the stack pointer
+ IRB.CreateStore(NewTop, UnsafeStackPtr);
+ if (DynamicTop) {
+ IRB.CreateStore(NewTop, DynamicTop);
+ }
+
+ Value *NewAI = IRB....