search for: option1

Displaying 20 results from an estimated 51 matches for "option1".

Did you mean: option
2013 May 07
1
[LLVMdev] CommandLine: using cl::Positional with enum
....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, only the three next commands are possible:myTool option1myTool option2 arg1 arg2 myTool option3 arg1and I don't want a different order is possible, for instance, this is not permitted:myTool arg2 option2 arg1So, I thought about using an enum for this first argument:enum OptLevel{option1, option2, option3};cl::opt<OptLevel> OptionsLevel(cl::P...
2017 May 07
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...tio ring has descriptors with a 64 bit address and 32 bit > size. > > If size < 4g is not a significant limitation, why not just use that to pass > address/size in a standard s/g list, possibly using INDIRECT? OK, I see your point, thanks. Post the two options here for an analysis: Option1 (what we have now): struct virtio_balloon_page_chunk { __le64 chunk_num; struct virtio_balloon_page_chunk_entry entry[]; }; Option2: struct virtio_balloon_page_chunk { __le64 chunk_num; struct scatterlist entry[]; }; I don't have an issue to change it to Option2...
2017 May 07
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...tio ring has descriptors with a 64 bit address and 32 bit > size. > > If size < 4g is not a significant limitation, why not just use that to pass > address/size in a standard s/g list, possibly using INDIRECT? OK, I see your point, thanks. Post the two options here for an analysis: Option1 (what we have now): struct virtio_balloon_page_chunk { __le64 chunk_num; struct virtio_balloon_page_chunk_entry entry[]; }; Option2: struct virtio_balloon_page_chunk { __le64 chunk_num; struct scatterlist entry[]; }; I don't have an issue to change it to Option2...
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 you tell, parsing the arguments by myself and extending the help like you propose. > > I don'...
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> | ( <option2> arg1 arg2) | ( <option3> arg1 ) The problem is clear: i...
2013 May 12
0
[LLVMdev] CommandLine: using cl::Positional with enum
...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 really really want is the same except I don't want the "--" prefix is > present in any of the arguments. > > ./prog <option1> | ( <option2> arg1 arg2) | ( <option3> arg1 ) &...
2013 May 14
0
[LLVMdev] CommandLine: using cl::Positional with enum
...t;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 really really want is the same except I don't want the "--" prefix is >> present in any of the arguments. >> >> ./prog <option1> | ( <option2> arg1 arg2) | ( &l...
2013 May 08
0
[LLVMdev] CommandLine: using cl::Positional with enum
...sible 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. In my case, only the three next commands are possible: myTool option1 myTool option2 arg1 arg2 myTool option3 arg1 and I don't want a different order is possible, for instance, this is not permitted: myTool arg2 option2 arg1 So, I thought about using an enum for this first argument: enum OptLevel{ option1, option2, option3 }; cl::opt<OptLevel> Option...
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 <- lmer(resp ~ sex + option1 + option2 + (1|id), data=abort,family=binomial, method = c("Laplace")) a3 <- lmer(resp ~ sex + option1 + option2 + (1|id), data=abort,family=binomial, method = c("PQL&...
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 by the caller at the first menu as an extension. When I run asterisk and call in and enter a number for my option, I am not passed on, rather I just loop through. Is the...
2006 Jan 12
9
windows print migrator + "add printer command"
...ful exampel of using the "add printer command" with cups so that the windows print migrator could be utilised. Seeing as Jerry as spent time on this it would be a shame not to know how to use it. ;-) I'm guessing that it would be along the lines of: add printer command = lpadmin option1 option2 && cupsaddsmb option1 but am currently unsure how to proceed. Can someone hit me with a clue by four? cheers geoff
2012 Feb 02
3
MVC questions with rails
2017 May 08
0
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
...bit address and 32 bit > > size. > > > > If size < 4g is not a significant limitation, why not just use that to pass > > address/size in a standard s/g list, possibly using INDIRECT? > > OK, I see your point, thanks. Post the two options here for an analysis: > Option1 (what we have now): > struct virtio_balloon_page_chunk { > __le64 chunk_num; > struct virtio_balloon_page_chunk_entry entry[]; > }; > Option2: > struct virtio_balloon_page_chunk { > __le64 chunk_num; > struct scatterlist entry[]; > }; This...
2017 Apr 27
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
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 requesting. Oh, just some trivial things (e.g. use a field in the header, hdr->chunks to indicate the number of chunks in the payload) that wasn't confirmed.
2017 Apr 27
2
[virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS
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 requesting. Oh, just some trivial things (e.g. use a field in the header, hdr->chunks to indicate the number of chunks in the payload) that wasn't confirmed.
2011 Feb 10
0
Chi square test of proprotions in 2 groups of different sizes
...f the groups are different. Any hint is greatly appreciated. Thank you! Dimitri G1counts <- matrix(c(54,76,125), ncol = 1) G2counts <- matrix(c(14,19,35), ncol = 1) counts<-cbind(G1counts,G2counts) colnames(counts)<-c("Group1","Group2"); rownames(counts)<-c("Option1","Option2","Option3") N1=255 N2=68 Ns=c(N1,N2) prop1<-G1counts/N1 prop2<-G2counts/N2 prop<-cbind(prop1,prop2) colnames(prop)<-c("Group1","Group2"); rownames(prop)<-c("Option1","Option2","Option3") (Ns);(cou...
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 m...
2020 Nov 06
2
[RFC] FileCheck: (dis)allowing unused prefixes
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: some command --option1 \ ## Comment # CHECK: check something # RUN: --option2 And you'd end up with "some command --option1 --option2" being run. It's rather surprising behaviour, and not one I'd generally recommend exercising, but maybe in this context it would be okay? On Fri, 6 Nov 2020 at...
2020 Nov 09
5
[RFC] FileCheck: (dis)allowing unused prefixes
...lt; > 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: some command --option1 \ >> ## Comment >> # CHECK: check something >> # RUN: --option2 >> >> And you'd end up with "some command --option1 --option2" being run. It's >> rather surprising behaviour, and not one I'd generally recommend >> exercising, but m...