Displaying 5 results from an estimated 5 matches for "maniupulation".
Did you mean:
manipulation
2007 Sep 24
3
CallerID problem Asterisk 1.4.2
When receiving inbound calls from a Vonage Softphone extension, I'm unable
to view/maniupulate calledid data. but it shows up in the CDR records and on
called handsets.. any ideas?
exten => asda,n,NoOp(callerID is ${CALLERID})
exten => asda,n,NoOp(CallerID is ${CALLERIDNAME})
exten => asda,n,NoOp(CallerID is ${CALLERIDNUM})
-- Executing [asd at pstn-in:2]
2017 Mar 29
3
Transferring ownership of R-managed buffer
I have a use case where I would like to create an SEXP around an existing
buffer that is managed by R, thus avoiding a copy operation. If I have
something like:
void *p = (void*) RAW(PROTECT(Rf_allocVector(RAWSXP, n)));
... additional maniupulation ...
SEXP x = somefunc(SXPTYPE, n, p); // ????
Is there a "placement" constructor available? (I have arranged for the
corresponding UNPROTECT.) I've looked at and experimented with R_allocator
and allocVector3, but can't quite get it right. I know this is odd, but it
makes sense...
2017 Mar 29
2
Transferring ownership of R-managed buffer
...ocated using R's
allocator and therefore returnable (hypothesis!) to the R interpreter as a
vector (not external pointer) without a copy operation.
>
> If I have
>> something like:
>>
>> void *p = (void*) RAW(PROTECT(Rf_allocVector(RAWSXP, n)));
>> ... additional maniupulation ...
>> SEXP x = somefunc(SXPTYPE, n, p); // ????
>>
>> Is there a "placement" constructor available?
>>
>
> What's a "placement" constructor?
>
Function that constructs an object using previously allocated memory (for
example provided by a...
2017 Mar 29
0
Transferring ownership of R-managed buffer
...create an SEXP around an existing
> buffer that is managed by R, thus avoiding a copy operation.
What to you mean exactly by "an existing buffer managed by R"?
> If I have
> something like:
>
> void *p = (void*) RAW(PROTECT(Rf_allocVector(RAWSXP, n)));
> ... additional maniupulation ...
> SEXP x = somefunc(SXPTYPE, n, p); // ????
>
> Is there a "placement" constructor available?
What's a "placement" constructor?
>(I have arranged for the
> corresponding UNPROTECT.) I've looked at and experimented with R_allocator
> and allocVect...
2017 Mar 29
0
Transferring ownership of R-managed buffer
...fore returnable (hypothesis!) to the R interpreter as a
> vector (not external pointer) without a copy operation.
>
> >
> > If I have
> >> something like:
> >>
> >> void *p = (void*) RAW(PROTECT(Rf_allocVector(RAWSXP, n)));
> >> ... additional maniupulation ...
> >> SEXP x = somefunc(SXPTYPE, n, p); // ????
> >>
> >> Is there a "placement" constructor available?
> >>
> >
> > What's a "placement" constructor?
> >
>
> Function that constructs an object using previously...