Displaying 20 results from an estimated 3000 matches similar to: "Splitting C/C++ code into pure and side-effecting code"
2017 Apr 09
2
Splitting C/C++ code into pure and side-effecting code
Hi Suman,
I think you can ascertain pureness automatically leveraging the compiler
instead of manually tagging attribute to each method and call-site. It
would seem like impurity should be a transitive attribute. So this would
conflict with below.
__attribute__((annotate("pure")))
int add(uint32_t a, uint32_t b) { // impure by calling printf...
...
printf("%d + %d =
2015 Sep 17
7
[PATCH 0/2] Fix memory leaks in virtio & remoteproc cores
Hi,
The following patches fix couple of memory leaks in the virtio and
remoteproc cores when using these as modules, and going through a
cycle of insmod and rmmod with at least a device registered with
the corresponding cores in between. I ran into this on our downstream
product kernels on both 3.14 and 4.1 based kernels, and should apply
to the latest kernel as well.
Patches can be picked up
2015 Sep 17
7
[PATCH 0/2] Fix memory leaks in virtio & remoteproc cores
Hi,
The following patches fix couple of memory leaks in the virtio and
remoteproc cores when using these as modules, and going through a
cycle of insmod and rmmod with at least a device registered with
the corresponding cores in between. I ran into this on our downstream
product kernels on both 3.14 and 4.1 based kernels, and should apply
to the latest kernel as well.
Patches can be picked up
2012 Sep 20
0
[LLVMdev] sign extensions, SCEVs, and wrap flags
Hi,
> Sorry, I probably led you astray. No-self-wrap is useful for determining
> trip count, but does not mean that sign/zero extension can be hoisted.
>
> But if you run your analysis after -indvars, the sign-extension should be
> removed if possible. The algorithm walks the derived induction variables
> specifically looking for add nsw/nuw and replacing
2012 Sep 20
3
[LLVMdev] sign extensions, SCEVs, and wrap flags
On Wed, Sep 19, 2012 at 6:30 PM, Andrew Trick <atrick at apple.com> wrote:
>
> On Sep 19, 2012, at 2:18 PM, Preston Briggs <preston.briggs at gmail.com>
> wrote:
>
> On Tue, Sep 18, 2012 at 10:59 PM, Andrew Trick <atrick at apple.com> wrote:
>
>>
>> On Sep 18, 2012, at 8:21 PM, Preston Briggs <preston.briggs at gmail.com>
>> wrote:
2008 Aug 20
4
Conversion - lowercase to Uppercase letters
I would like to know how to convert a string with characters to all
uppercase or all lowercase? If anyone could let me know if there exists a
function in R for the conversion, that will be very helpful.
Regards,
Suman
[[alternative HTML version deleted]]
2009 Oct 19
3
Import SPSS file to R
Hello,
In R, How to read SPSS file and access the data item?
Thank you.
Regards,
Suman Kundu
[[alternative HTML version deleted]]
2007 Jun 27
3
Correlation ratio
Hi,
I wanted to know how to compute the correlation ratio (eta) between two
variables using R. Is there any function to compute the correlation ratio.
Any help will be very much appreciated.
Thanks,
Suman
[[alternative HTML version deleted]]
2009 Jul 08
3
Unix commands on R
I am using R on unix. While in R how do I execute the unix shell commands?
Is there a way to do it? I am executing a function in R and the matrix
resulting from the function has to be passed on as an input to unix command.
Any directions will be helpful.
Thanks,
Suman
[[alternative HTML version deleted]]
2020 Mar 06
1
[PATCH] virtio_ring: Fix mem leak with vring_new_virtqueue()
On 2/25/20 9:13 PM, Jason Wang wrote:
>
> On 2020/2/26 ??12:51, Suman Anna wrote:
>> Hi Jason,
>>
>> On 2/24/20 11:39 PM, Jason Wang wrote:
>>> On 2020/2/25 ??5:26, Suman Anna wrote:
>>>> The functions vring_new_virtqueue() and __vring_new_virtqueue() are
>>>> used
>>>> with split rings, and any allocations within these
2010 Jun 18
2
double integral
Sir,
I want to calculate double integral in R. Is there any function to do this?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 May 31
1
getting the column name of a data frame
Sir,
I want to store the column name of a data frame as a vector and use the
vector to remove a column of the data frame ,if required.
Thanks,
Suman Dhara
[[alternative HTML version deleted]]
2009 Mar 11
2
lsmeans in R
I need help with calculating lsmeans (adjusted means) of different terms in
a linear model including the main effect and the interaction effect terms. I
use lm to run the linear models...I previously noted from literature that
that "effects" package can be used to generate lsmeans. But I tried to use
it but could not figure out which option to use to get means. If anyone can
give an
2010 Jun 04
1
parttioning a matrix corresponding to different levels of y
Sir,
I have a problem regarding partitioning a matrix.I state my problem as
follows:
I have a y vector of length say 1000.Variable y has 4 levels say
0,1,2.Corresponding to each y(response), I have a x-vector(explanatory) as a
row of X matrix.Now, I want to partition the X matrix into 3 submatrices say
x1,x2,x3 corresponding to each level of y.Is there any function to do this
in R or how can I
2010 Jun 06
2
fitting multinomial logistic regression
Sir,
I want to fit a multinomial logistic regression in R.I think mlogit() is the
function for doing this. mlogit () is in packege globaltest.But, I can not
install this package. I use the following:
install.packages("globaltest")
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2015 Sep 17
2
DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)
On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote:
> The virtio core uses a static ida named virtio_index_ida for
> assigning index numbers to virtio devices during registration.
> The ida core may allocate some internal idr cache layers and
> an ida bitmap upon any ida allocation, and all these layers are
> truely freed only upon the ida destruction. The virtio_index_ida
2015 Sep 17
2
DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)
On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote:
> The virtio core uses a static ida named virtio_index_ida for
> assigning index numbers to virtio devices during registration.
> The ida core may allocate some internal idr cache layers and
> an ida bitmap upon any ida allocation, and all these layers are
> truely freed only upon the ida destruction. The virtio_index_ida
2019 Aug 28
2
Conventions: Use of globals and main functions
I appreciate the well-thought-out comments.
To your first point, I am not sure what "glattering" means precisely (a Google search revealed nothing useful), but I assume it means something to the effect of overfilling the main namespace with too many names. Per Norm Matloff's counterpoint in The Art of R Programming regarding this issue, this is mostly avoided by well-defined,
2007 Jan 24
1
ext3 journal from windows
hai
is there any way to view the contents of ext3 journal form windows?
regards
______________________________________
Scanned and protected by Email scanner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20070124/02f1d0a5/attachment.htm>
2010 Jun 10
2
drawing curve
Sir,
I have a problem regarding drawing curve.I pose the problem as follows:
suppose I have two vectors:
x<-c(1:6)
y<-c(.01,.09,.08,.03,.001,.02)
plot(x,y)
It gives me the plotted points.But I want to draw a smooth curve passing
througt these points.
How can I do this?
Thanks & Regards,
Suman Dhara
[[alternative HTML version deleted]]