search for: arg

Displaying 20 results from an estimated 19291 matches for "arg".

Did you mean: are
2012 Oct 15
1
[QEMU PATCH v4] create struct for machine initialization arguments
This should help us to: - More easily add or remove machine initialization arguments without having to change every single machine init function; - More easily make mechanical changes involving the machine init functions in the future; - Let machine initialization forward the init arguments to other functions more easily. This change was half-mechanical process: first...
2015 Aug 31
2
[PATCH 1/2] mllib: add and use set_standard_options
...line.ml | 14 +++----------- 10 files changed, 39 insertions(+), 105 deletions(-) diff --git a/builder/cmdline.ml b/builder/cmdline.ml index 49435ae..1537208 100644 --- a/builder/cmdline.ml +++ b/builder/cmdline.ml @@ -126,8 +126,6 @@ let parse_cmdline () = "--long", Arg.Unit list_set_long, " " ^ s_"Shortcut for --list-format short"; "--list-format", Arg.String list_set_format, "short|long|json" ^ " " ^ s_"Set the format for --list (default: short)"; -...
2005 Jun 09
1
single assignment affecting multiple sub-structures (PR#7924)
I'm trying to create a language structure that is a call to a function with a number of arguments that is only known at run time. I do this by using repeated indices to expand out a call with a single argument. However, when I change one of the arguments, all are changed. I don't see the same behavior when I initially create a call with multiple arguments. Even more strangely, c...
2018 Apr 06
0
[nbdkit PATCH 2/2] python: Simplify calling into plugin
PyObject_CallObject is powerful, but awkward - we have to wrap all arguments into a temporary tuple before using it. Let python do more of the work by using PyObject_CallFunction anywhere that all arguments can be described by a Py_BuildValue() format string, instead of creating one-shot arguments ourselves. In fact, for our py_config(), this makes it easier to not w...
2008 Dec 01
7
DIF content is invalid?
What''s going on? # dtrace -s iotime_all.d 100 dtrace: failed to enable ''iotime_all.d'': DIF program content is invalid The errant script.... #pragma D option quiet BEGIN { stime = timestamp; io_count = 0; } io:::start /args[2]->fi_pathname != "<none>"/ { start[pid, args[2]->fi_pathname, args[0]->b_edev, args[0]->b_blkno, args[0]->b_bcount] = timestamp; self->pid = pid; self->name = args[2]->fi_pathname; self->size = args[0]->b_bcount; } io:::start /args[...
2008 Jun 04
0
3.0.3pre2 compile warnings under cygwin
Under cygwin 1.5.25 we get the following compile warnings flist.c: In function `output_flist': flist.c:2648: warning: unsigned int format, uint32_t arg (arg 4) flist.c:2648: warning: unsigned int format, uint32_t arg (arg 4) flist.c:2655: warning: unsigned int format, uint32_t arg (arg 5) flist.c:2655: warning: unsigned int format, uint32_t arg (arg 5) flist.c:2659: warning: int format, int32_t arg (arg 4) flist.c:2659: warning: int format, int32_...
2003 May 20
1
Calling R in BATCH mode from C programm
Hello R-people, I have the following problem : In order to run R script from DOS prompt in BATCH mode and pass it some parameters I do the following : Rterm --slave --no-save --no-restore <args.R> args.out ARG1=1 ARG2=2 It works fine : the result is that the script args.R is isexecuted. Sys.getenv() sees the arguments ARG1 and ARG2, and the R creates output file args.out Now I want to be able to call the same command from C application : #include <conio.h> #include <pro...
2012 Sep 06
4
[PATCH] pygrub: always append --args
# HG changeset patch # User Olaf Hering <olaf@aepfle.de> # Date 1346945306 -7200 # Node ID 8a2eef481d3ab3ca5692dd0083c95cf314fe1da3 # Parent 19d367bf07b7687b831c212a57a70e73ea14d3b7 pygrub: always append --args If a bootloader entry in menu.lst has no additional kernel command line options listed and the domU.cfg has ''bootargs="--args=something"'' the additional arguments from the config file are not passed to the kernel. The reason for that incorrect behaviour is that run_gru...
2018 Apr 06
6
[nbdkit PATCH 0/2] Python cleanups
I noticed these while working on adding fua support into python, these are independent enough to push now (and I'll have to rebase my 'optional may_trim' patch on top of this). Eric Blake (2): python: Use Py_XDEFREF() python: Simplify calling into plugin plugins/python/python.c | 106 ++++++++---------------------------------------- 1 file changed, 18 insertions(+), 88
2010 Jan 07
2
[Announce] Samba 3.4.4 Available for Download
...multiple LDAP servers in "idmap backend" and "idmap alloc backend". o Jeremy Allison <jra at samba.org> * BUG 6828: Fix infinite timeout when byte lock held outside of samba. * BUG 6837: Fix "Too many open files" message when trying to access a large number of files with Windows 7. * BUG 6841: Fix "map acl inherit = yes". * BUG 6867: Fix listing of directories with a lot of files. * BUG 6875: Fix DOS attributes on OS/2 clients. * BUG 6880: Fix listing of workgroup servers in libsmbclient. * BUG 6898: Samba d...
2010 Jan 07
2
[Announce] Samba 3.4.4 Available for Download
...multiple LDAP servers in "idmap backend" and "idmap alloc backend". o Jeremy Allison <jra at samba.org> * BUG 6828: Fix infinite timeout when byte lock held outside of samba. * BUG 6837: Fix "Too many open files" message when trying to access a large number of files with Windows 7. * BUG 6841: Fix "map acl inherit = yes". * BUG 6867: Fix listing of directories with a lot of files. * BUG 6875: Fix DOS attributes on OS/2 clients. * BUG 6880: Fix listing of workgroup servers in libsmbclient. * BUG 6898: Samba d...
2019 Aug 09
0
[PATCH libnbd 2/2] generator: Change handling of Flags to be a true optional argument.
In libguestfs generator we have the concept of optargs which is different from plain arguments. These are mapped to optional arguments in languages that support them such as Python. This commit adds a new concept of optargs. At the moment it is simply limited to handling the optional (in some bindings) flags parameter which is used to handle the NB...
2007 Jun 11
1
2 iosnoop scripts: different results
...0.307 Here is the script: #!/usr/sbin/dtrace -qs #pragma D option dynvarsize=16m BEGIN { printf("%16s %5s %32s %7s %10s %2s %7s\n", "COMMAND", "PID", "FILE", "SIZE", "DEVICE", "RW", "MS"); } io:::start { start[args[0]->b_edev, args[0]->b_blkno] = timestamp; command[args[0]->b_edev, args[0]->b_blkno] = execname; mypid[args[0]->b_edev, args[0]->b_blkno] = pid; } io:::done /start[args[0]->b_edev, args[0]->b_blkno]/ { elapsed = timestamp - start[args[0]->b_edev, args[0]->b_bl...
2006 Aug 24
3
A new QueueWorker class
...otherwise the about same as normal If it''s a big loop, you probably want to use terminate?() on each iteration and update @progress. Use suicide() at the end to make room for the next child. Options: (probably in your backgroundrb.yml) autostart: :queue_key: class: queue_worker args: :num_child_workers: 2 :child_class: :cost_calculator_worker :reQ_on_finish: true :singleton: true :queue_key can be changed to what you want, but it is the permanent key of the QueueWorker :num_child_workers: is up to you! :child_class: your worker class you want as child...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
Add a new Getopt module to mllib, to parse command line arguments with handlers close to the ones used with Arg, but using getopt(3) (actually getopt_long_only) to do the real parsing. This allow us to provide options for OCaml tools with a syntax similar to the C tools, and use the additional features getopt offers and Arg does not. Do a single-step conv...
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
On Fri, Jun 24, 2016 at 05:42:37PM +0200, Pino Toscano wrote: > Add a new Getopt module to mllib, to parse command line arguments with > handlers close to the ones used with Arg, but using getopt(3) (actually > getopt_long_only) to do the real parsing. This allow us to provide > options for OCaml tools with a syntax similar to the C tools, and use > the additional features getopt offers and Arg does not. &g...
2016 Dec 06
2
2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
Hi, On 06-Dec-16 10:10, Aki Tuomi wrote: > Alternatively if you could try and print the args array in cmd_search? > > f 14 > p args[0] > p args[1] > ... > until NULL My hand got sore at first 100 and they are below. I will mail you the binary and core in seperate mail. (gdb) f 14 #14 0x08058219 in cmd_search (cmd=0x85e1800) at cmd-search.c:42 42 ret = ima...
2005 Nov 21
1
[PATCH] 64 bit clean compilation patches
...es from changes to the build system to supply the required format specifications if they are not provided by the OS. These patches remove the following warnings found during a 64-bit compile: hostfile.c: In function `extract_salt': hostfile.c:92: warning: unsigned int format, different type arg (arg 2) progressmeter.c: In function `format_rate': progressmeter.c:91: warning: long long int format, off_t arg (arg 4) progressmeter.c:91: warning: long long int format, off_t arg (arg 5) progressmeter.c:91: warning: long long int format, off_t arg (arg 4) progressmeter.c:91: warning: long lo...
2005 Nov 23
4
x[1,], x[1,,], x[1,,,], ...
...gt;=1). x <- array(1:24, dim=c(2,2,3,2)) ... x <- array(1:24, dim=c(4,3,2)) i <- 2:3 ndim <- length(dim(x)) if (ndim == 1) y <- x[i] else if (ndim == 2) y <- x[i,] else if (ndim == 3) y <- x[i,,] else ... and so on. My current solution is ndim <- length(dim(x)) args <- rep(",", ndim) args[1] <- "i" args <- paste(args, collapse="") code <- paste("x[", args, "]", sep="") expr <- parse(text=code) y <- eval(expr) ndim <- length(dim(x)) args <- rep(",", ndim) args[1] &lt...
2016 Dec 06
2
2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
...[0x3b71ed] -> > /usr/lib/dovecot/libdovecot.so.0 [0x3b6e0b] -> > /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_map_loo"... > #4 0x003b71ed in i_internal_fatal_handler (ctx=0xbfe82a50, > format=0x527fac "file %s: line %d (%s): assertion failed: (%s)", > args=0xbfe82a74 "?S") at failures.c:670 > status = 0 > #5 0x003b6e0b in i_panic (format=0x527fac "file %s: line %d (%s): > assertion failed: (%s)") at failures.c:275 > ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = > 0x0, timestamp_usecs...