Displaying 20 results from an estimated 600 matches similar to: "Request--help"
2013 Aug 12
1
[LLVMdev] pbqp register allocator-need help
The simple C code on which im running the allocator is attached.
And these are the set of commands. I dont understand ..guess i might be
doing something very silly.
Please help
*Commands:*
clang -emit-llvm -c test.c -o test.bc
opt -mem2reg test.bc -o testssa.bc
llc -regalloc=pbqp testssa.bc
On Mon, Aug 12, 2013 at 7:59 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
>
2013 Aug 12
0
[LLVMdev] pbqp register allocator-need help
On Sun, Aug 11, 2013 at 12:36 AM, Smriti Jaiswal
<jaiswal.smriti at gmail.com>wrote:
> Hello Sir,
>
> Im trying to test run pbqp register allocator for small C programs.
>
> by
>
> llc -regalloc=pbqp -debug <bitcode of the file>
>
> It is giving me segmentation fault for even very simple programs having
> loops or if statements.
> Please tell me where
2013 Aug 11
2
[LLVMdev] pbqp register allocator-need help
Hello Sir,
Im trying to test run pbqp register allocator for small C programs.
by
llc -regalloc=pbqp -debug <bitcode of the file>
It is giving me segmentation fault for even very simple programs having
loops or if statements.
Please tell me where I'm going wrong.
--
Regards,
Smriti Jaiswal
MTech
Dept of Computer Science and Engg,
IIT Kanpur
-------------- next part --------------
2006 May 03
3
Validations Doubt
Hi to Ruby and Rails group!
I am new to the ROR .
I ahev some doubts
1.Can we write the reguller expressions controller!
2.I have added the some controles in the rhtml file.(with out database
fileds)
I want to wirte the validations for these text fields in the model
Is it Possible?
Give me any reference?
3.In how many ways can we write the validations?
Thanks and Regards,
Kumar
2010 Jul 30
1
Fw: Re: R statical-script for analysis (India)
Nilesh M. Vaghela
Research Scholar
c/o Prof. N. V. Sastry,
Department of Chemistry,
Sardar Patel University
Vallabhvidyanagar-388 120
Gujarat, India
--- On Thu, 29/7/10, Kurt Hornik <Kurt.Hornik@wu.ac.at> wrote:
From: Kurt Hornik <Kurt.Hornik@wu.ac.at>
Subject: Re: R statical-script for analysis (India)
To: "Nilesh Vaghela" <nilesh_spu25@yahoo.in>
Cc:
2017 Dec 14
1
help with recursive function
Your code contains the lines
stopifnot(!(any(data1$norm_sd >= 1)))
if (!(any(data1$norm_sd >= 1))) {
df1 <- dat1
return(df1)
}
stop() "throws an error", causing the current function and all functions in
the call
stack to abort and return nothing. It does not mean to stop now and return
a result.
Does the function give
2017 Jul 21
0
dynamically create columns using a function
Hi,
I don't know about the lazyeval package or what you are trying to do but to
answer the main question "How to create columns dynamically using a
function?" I would do something like that:
# dataset
dem <- structure(list(id = c("L1", "L2", "L3", "M1", "M2", "M3"),
TEST_SET_NAME = c("A",
"A",
2017 Dec 14
0
help with recursive function
Eric: I will try and see if I can figure out the issue by debugging as you suggested. I don?t know why my code after stopifnot is not getting executed where I like the code to run the funlp2 function when the if statement is TRUE but when it is false, I like it to keep running until the stopifnot condition is met.
When the stopifnot condition is met, I like to get the output from if statement
2006 Jan 27
1
chan_bluetooth: successful compile and outbound cell calls: Still tweaking inbound setup. WAS: Cannot compile chan_bluetooth on Asterisk 1.2.1
Editing subject line to reflect current status.
On 1/26/06, Nilesh Londhe <lvnilesh@gmail.com> wrote:
> Since T616 is not answering (and incoming calls are going to Cingular
> voicemail after 30 sec,) I suspect the problem focus area is...
>
> > -- Executing Answer("BLT/T616", "") in new stack
>
> Is
2015 Jun 08
1
chan_mobile and hardphones?
Hi,
I have configured a certified asterisk 13 server with chan_mobile and
res_pjsip. I have a Cisco 7940 hardphone and I use ekiga as softphone
client.
Now the problem is, using the hardphone I'm able to call the softphone
and hear everything properly. But when I call from the hardphone to some
number that has to be dialed via chan_mobile, I'm not able to hear what
the other side says (I
2004 Jul 06
13
OGG/OGM media container
Hi all,
Xiph aims at developing open-standards media formats. Though xiph.org
tells about vorbis/theora/flac/speex, nothing is mentioned about container
to use (that is ogg/ogm). I have a few questions
Is there a difference between ogg and ogm? I guess its only the extension
that is different and everything else is same.
Some tools (like ogmtools) are available to create ogm files. What is
2009 Nov 03
0
[LLVMdev] LLVM + FORTRAN 95
Hi David/Renato,
By AST I mean Abstract Syntax Tree. We are writing an optimization
pass for some FORTRAN95 + MPI code that requires us to analyze the
AST. We thought of 2 ways of doing this:
1. Compile the code using Clang/llvm-gfortran, get the textual AST
dump (somehow), analyze the AST dump using Ruby, modify it and then
feed back the modified AST to LLVM.
2. Do the analysis as an LLVM
2017 Jul 20
2
dynamically create columns using a function
Hi,
I am writing a function to dynamically create column names and fill those columns with some basic calculations. My function "demo_fn" takes argument "blup_datacut" and I like to use the contents of those arguments to dynamically create new columns in my dataset. Please note that I have another function called "calc_gg" within the function "demo_fn".
2017 Dec 14
3
help with recursive function
If you are trying to understand why the "stopifnot" condition is met you
can replace it by something like:
if ( any(dat2$norm_sd >= 1) )
browser()
This will put you in a debugging session where you can examine your
variables, e.g.
> dat$norm_sd
HTH,
Eric
On Thu, Dec 14, 2017 at 5:33 PM, Eric Berger <ericjberger at gmail.com> wrote:
> The message is coming from
2017 Dec 14
0
help with recursive function
The message is coming from your stopifnot() condition being met.
On Thu, Dec 14, 2017 at 5:31 PM, DIGHE, NILESH [AG/2362] <
nilesh.dighe at monsanto.com> wrote:
> Hi, I accidently left out few lines of code from the calclp function.
> Updated function is pasted below.
>
> I am still getting the same error ?Error: !(any(data1$norm_sd >= 1)) is
> not TRUE?
>
>
>
2017 Dec 14
2
help with recursive function
Hi, I accidently left out few lines of code from the calclp function. Updated function is pasted below.
I am still getting the same error ?Error: !(any(data1$norm_sd >= 1)) is not TRUE?
I would appreciate any help.
Nilesh
dput(calclp)
function (dataset)
{
dat1 <- funlp1(dataset)
recursive_funlp <- function(dataset = dat1, func = funlp2) {
dat2 <- dataset %>%
2008 Apr 09
5
Peculiar Hpricot error in Rails app
Hi,
I have been stumped by this error Hpricot is generating in my rails
app. The error looks like this:
$ script/console
Loading development environment (Rails 2.0.2)
>> str = ''<p>lorem ipsum <a href="http://dolor.com/">dolor</a> sit amet.</p>''
=> "<p>lorem ipsum <a href=\"http://dolor.com/\">dolor</a>
2009 Nov 03
2
[LLVMdev] LLVM + FORTRAN 95
Hi all,
I want to compile FORTRAN 95 code with LLVM. More specifically, I
would like to get an AST dump of the program I compile, statically
analyze the AST, make modifcations to the AST and then feed it back to
LLVM. Do you have any hints as to how I should proceed about doing
this. I noticed that clang has an ast-dump option but don't know
whether it supports FORTRAN 95.
I am a LLVM newbie
2013 Feb 05
1
[LLVMdev] How to write plugin in CLANG.
Hi,
I am new to LLVM and CLANG, I want to write plugin for printing detailed
information about source code such as member function, function calls etc.
I have referred PrintFunctionNames.cpp, and on line documentation for it,
still i am confused about implementation of functions
ex:- from CallGraph.cpp i want to use VisitCallExpr(CallExpr *E) and void
CallGraph::print(raw_ostream &OS),
2017 Dec 14
0
help with recursive function
Eric: Thanks for taking time to look into my problem. Despite of making the change you suggested, I am still getting the same error. I am wondering if the logic I am using in the stopifnot and if functions is a problem.
I like the recursive function to stop whenever the norm_sd column has zero values that are above or equal to 1. Below is the calclp function after the changes you suggested.