similar to: [LLVMdev] CommandLine: using cl::Positional with enum

Displaying 20 results from an estimated 900 matches similar to: "[LLVMdev] CommandLine: using cl::Positional with enum"

2013 May 07
1
[LLVMdev] CommandLine: using cl::Positional with enum
Hi,I've been trying to code through CommandLine the options I want my tool accepts, but I find quite impossible to achieve robustly what I need .Look, I want the tool accepts a list of arguments in a particular order. For this goal, I know the cl::Positional flag. But, the problem is that the first argument must be one of a set of options (like a kind of subcommand of the tool). In my case,
2013 May 10
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel, I would like to go deeper with CommandLine and I was asking if you could help me again. Look, following the same example you put in the last message: ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 ) What I really really want is the same except I don't want the "--" prefix is present in any of the arguments. ./prog <option1>
2013 May 08
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel, Just in the moment you replied my message, I was rewriting it as I hadn't noticed it hadn't a correct format. Sorry for that and thanks for answering it anyway. > ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 ) > Yes, that is exactly what I need. It's a pity commandLine doesn't implement that possibility. So I will do what
2013 May 12
0
[LLVMdev] CommandLine: using cl::Positional with enum
On 10 May 2013 09:44, Pedro Delgado Perez <pedro.delgadoperez at mail.uca.es> wrote: > Hi Daniel, > > I would like to go deeper with CommandLine and I was asking if you could > help me again. > > Look, following the same example you put in the last message: > > ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 ) > > What I
2013 May 14
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel, Thanks for your answer. > I am considering fixing the bug in the LLVM CommandLine library but is > going to be a long time before I can look at it. So don't wait for me > to do that. > Ok, ok, but, if you end up fixing this, please keep me post. > If you are really desperate to have the command line options in the > way you want they you may need to implement
2011 Feb 10
0
Chi square test of proprotions in 2 groups of different sizes
Hello! Very sorry for a probably very simple question - I looked but did not find an answer in the archives. I have a table "counts" (below) that shows counts by Option within each of my 2 groups. However, my groups have different sizes (N1=255 and N2=68). Table "prop" shows the resulting proportions within each group. I would like to compare the proportions in 2 groups using
2008 Mar 07
3
parsing /proc/cmdline
Hi - I am not an expert at shell script writing. If /proc/cmdline looks like option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ... How can I get the 192.168.1.8 out of this cmdline. THanks, Jerry
2003 Apr 24
3
Collecting dialed digits
I am trying to set up an auto attendant for the first time, and am having trouble getting to the submenu. My extensions.conf file looks like this: [incoming] exten=> s,1,Background,menu1 exten=> s,2,Wait,20 exten=> s,3,Goto,s|1 exten=> 1,1,Playback,option1 exten=> 2,1,Playback,option2 exten=> 3,1,Playback,option3 It is my understanding that asterisk treats the digits entered
2012 Jan 26
1
Question about puppet module development
Hi all. I want to write module for kerberos configuration. I planned configure realms by using subclasses like in saz-sudo module: ... ### Adding sudoers definition (includes installation of sudo) sudo::conf { ''admins'': priority => 10, content => ''%admins ALL=(ALL) NOPASSWD: ALL'', } ... But this module just createing file in
2011 Nov 01
0
Read/Write textbox in R
I am writing a GUI for my R script. It is a very basic form consisting of textboxes and buttons. I tried to run the following example to learn how to read value currently entered into the textbox: ( it requires tcltk/tcltk2 packages ) # Create the widgets base <- tktoplevel() list <- tklistbox(base, width = 20, height = 5) entry <- tkentry(base) text <-
2005 Apr 18
1
lmer question
Hi -- I'm using lmer for binomial data. I am trying to replicate estimates provided by Agresti (2002, Categorical data analysis, Wiley) using abortion data in table 10.13 (estimates provided in table 12.3 p. 505). I fit the same model using these three commands: a1 <- lmer(resp ~ sex + option1 + option2 + (1|id), data=abort,family=binomial, method = c("AGQ")) a2 <-
2017 May 07
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
On 05/06/2017 06:26 AM, Michael S. Tsirkin wrote: > On Thu, Apr 27, 2017 at 02:31:49PM +0800, Wei Wang wrote: > > On 04/27/2017 07:20 AM, Michael S. Tsirkin wrote: > > > On Wed, Apr 26, 2017 at 11:03:34AM +0000, Wang, Wei W wrote: > > > > Hi Michael, could you please give some feedback? > > > I'm sorry, I'm not sure feedback on what you are
2017 May 07
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
On 05/06/2017 06:26 AM, Michael S. Tsirkin wrote: > On Thu, Apr 27, 2017 at 02:31:49PM +0800, Wei Wang wrote: > > On 04/27/2017 07:20 AM, Michael S. Tsirkin wrote: > > > On Wed, Apr 26, 2017 at 11:03:34AM +0000, Wang, Wei W wrote: > > > > Hi Michael, could you please give some feedback? > > > I'm sorry, I'm not sure feedback on what you are
2017 May 08
0
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
On Sun, May 07, 2017 at 04:19:28AM +0000, Wang, Wei W wrote: > On 05/06/2017 06:26 AM, Michael S. Tsirkin wrote: > > On Thu, Apr 27, 2017 at 02:31:49PM +0800, Wei Wang wrote: > > > On 04/27/2017 07:20 AM, Michael S. Tsirkin wrote: > > > > On Wed, Apr 26, 2017 at 11:03:34AM +0000, Wang, Wei W wrote: > > > > > Hi Michael, could you please give some
2012 Feb 02
3
MVC questions with rails
2015 Sep 18
0
RFC: virtio-peer shared memory based peer communication device
Hello, this is a first RFC for virtio-peer 0.1, which is still very much a work in progress: https://github.com/hw-claudio/virtio-peer/wiki It is also available as PDF there, but the text is reproduced here for commenting: Peer shared memory communication device (virtio-peer) General Overview (I recommend looking at the PDF for some clarifying pictures) The Virtio Peer shared memory
2013 Jun 26
1
[LLVMdev] CommandLine does not work under cygwin
Hi, Recently, I added some command line options to my pass like this: static llvm::cl::opt<MemMod> MemoryModel("mem-mod", llvm::cl::desc("Set the memory model:"), llvm::cl::values( clEnumVal(flat, "flat memory model"), clEnumVal(twodim, "two dimensional memory model"), clEnumValEnd)); This works
2020 Nov 06
0
[RFC] FileCheck: (dis)allowing unused prefixes
Oh! Perfect - thanks! (plus, if it becomes unsupported, there's another nudge to fix :) ) On Fri, Nov 6, 2020 at 7:05 AM James Henderson <jh7370.2008 at my.bristol.ac.uk> wrote: > I recently discovered that multi-line RUN statements can actually be > interrupted with non-RUN lines, without changing the behaviour. In other > words, you can do something like: > > # RUN:
2007 Oct 15
2
[LLVMdev] cl::opt Ideas
I've added some debugging flags to my register allocator here to turn on and off specific debug messages. I did this with llvm::cl::bits which allows me to turn on multiple options. But its kind of ugly because each option is independent as far as llvm is concerned and I have to prefix each option with something like RegallocDebug so users know what it's about. For example:
2013 Jan 05
1
Install package from local zip file
Hello, I just downloaded the MareyMap: an R-based tool and followed the instructions: Option1: Click "Packages-Install package(s) from local zip files", it showed the followed error messages: > utils:::menuInstallLocal() Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open the connection In addition: Warning