Displaying 9 results from an estimated 9 matches similar to: "conditonal "if""
2008 Aug 22
1
[LLVMdev] Conditonal to constant promotion?
Hi,
I tried the memory dependency analysis posted by
Wojciech on the attached test case. The analysis
had to fallback to conservatives answers sometimes,
probably (but not sure) due to the existence of several
select instructions that might prevent the analysis
from correctly find the answer.
In this specific test case, these selects are provably
useless and I am trying to get rid of them
2011 Apr 29
1
Conditonal Rank
Suppose I have data such as
tmp <- data.frame(score = c(1,2,3,4, 4,3,2,1), trial = gl(2,4), Gender = gl(2,2,8, labels=c('M', 'F')))
Now I would like to compute a rank on the variable score conditional on trial and gender. I could do
res <- with(tmp, tapply(score, list(Gender, trial), rank))
res[,1]
res[,2]
and then finagle a way to create a new variable in the dataframe
2010 Mar 04
1
extracting values conditonal on other values
Dear R helpers,
I have a dataframe (test1) containing the time of sunrise and sunset for each day of the year
for 3 years. I have another dataframe (test2) containing measurements that are taken every
15 minutes, 24/7. I would like to extract all rows from test2 that occur between sunrise and
sunset for the appropriate date. Can you suggest a good vectorized way to do this? Keep in
mind
2009 Mar 09
0
[LLVMdev] setting conditons (flags) with arithmetic instructions and conditional branching
Hi all,
I'm pretty new to the community, but I've run into a number of
questions while building a backend for a custom target. I'll keep it
to one topic per thread, though.
My target has arithmetic instructions (add, sub, etc...) which all set
the flags register. There is no explicit comparison instruction for my
target. The conditional branching instructions check the flags
2009 Mar 09
0
[LLVMdev] setting conditons (flags) with arithmetic instructions and conditional branching
Hi all,
I'm pretty new to the community, but I've run into a number of
questions while building a backend for a custom target. I'll keep it
to one topic per thread, though.
My target has arithmetic instructions (add, sub, etc...) which all set
the flags register. There is no explicit comparison instruction for my
target. The conditional branching instructions check the flags
2018 Mar 28
0
[PATCH] drm/nouveau/bios/init: fix spelling mistake: "CONDITON" -> "CONDITION"
From: Colin Ian King <colin.king at canonical.com>
Trivial fix to spelling mistake in warning message text
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2019 May 14
2
[PATCH] drm/nouveau/bios/init: fix spelling mistake "CONDITON" -> "CONDITION"
From: Colin Ian King <colin.king at canonical.com>
There is a spelling mistake in a warning message. Fix it.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2006 May 02
5
listing parents from child conditon
Hi,
How can I grab all parents in a table, depending on a condition in the
children table ?
Fx.
def list
@projects = Project.find(:all)
end
will find all projects in my table. Now let''s say I want show a similar
list, for all open projects.. I define an open project, as all lines
(Line has belongs_to :Project) that do not yet have a closed_at
timestamp set.
So basically, I want
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
Sure I will split it and put it in two patches.
Give me few hours. I need to test those patches.
Sirish
On 4/19/2012 8:40 AM, Tom Stellard wrote:
> On Wed, Apr 18, 2012 at 11:18:05PM -0500, Sirish Pande wrote:
>> Hi,
>>
>> Here's a patch for Hexagon Packetizer for review. This patch does
>> not yield any warnings.
>>
> Would it be possible to split this