Displaying 20 results from an estimated 19395 matches for "args".
Did you mean:
arg
2012 Oct 15
1
[QEMU PATCH v4] create struct for machine initialization arguments
...const char *boot_device,
- const char *kernel_filename,
- const char *kernel_cmdline,
- const char *initrd_filename,
- const char *cpu_model)
+static void clipper_init(QEMUMachineInitArgs *args)
{
+ ram_addr_t ram_size = args->ram_size;
+ const char *cpu_model = args->cpu_model;
+ const char *kernel_filename = args->kernel_filename;
+ const char *kernel_cmdline = args->kernel_cmdline;
+ const char *initrd_filename = args->initrd_filename;
CPUAlpha...
2015 Aug 31
2
[PATCH 1/2] mllib: add and use set_standard_options
...ot;--version", Arg.Unit print_version_and_exit,
- " " ^ s_"Display version and exit";
- "-x", Arg.Unit set_trace, " " ^ s_"Enable tracing of libguestfs calls";
] in
let customize_argspec, get_customize_ops = Customize_cmdline.argspec () in
let customize_argspec =
List.map (fun (spec, _, _) -> spec) customize_argspec in
let argspec = argspec @ customize_argspec in
- let argspec =
- let cmp (arg1, _, _) (arg2, _, _) =
- let arg1 = skip_dashes arg1 and arg2 =...
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,
2018 Apr 06
0
[nbdkit PATCH 2/2] python: Simplify calling into plugin
...ng 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 worry
about python 2 String vs. python 3 Unicode.
Similarly, PyObject_CallFunctionObjArgs is nicer when we
already have PyObjects for all parameters (including in py_open(),
where we can't use a Py_BuildValue() string for converting a
C int into Py_True or Py_False, but can easily avoid the tuple
wrapper).
py_zero() is not converted, as it will be changed differently
to make 'm...
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[2...
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,
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 <proc...
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_grub...
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
=================================================================
"If there is no struggle,
there is no progress."
Frederick Douglass
=================================================================
Release Announcements
=====================
This is the latest stable release of Samba 3.4.
Major enhancements in Samba 3.4.4 include:
o Fix interdomain trust
2010 Jan 07
2
[Announce] Samba 3.4.4 Available for Download
=================================================================
"If there is no struggle,
there is no progress."
Frederick Douglass
=================================================================
Release Announcements
=====================
This is the latest stable release of Samba 3.4.
Major enhancements in Samba 3.4.4 include:
o Fix interdomain trust
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 NBD...
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_blk...
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
...$(top_builddir)/mllib/fsync.cmo \
$(top_builddir)/mllib/planner.cmo \
diff --git a/builder/cmdline.ml b/builder/cmdline.ml
index eee8367..7a59ac2 100644
--- a/builder/cmdline.ml
+++ b/builder/cmdline.ml
@@ -119,54 +119,47 @@ let parse_cmdline () =
let warn_if_partition = ref true in
let argspec = [
- "--arch", Arg.Set_string arch, "arch" ^ " " ^ s_"Set the output architecture";
- "--attach", Arg.String attach_disk, "iso" ^ " " ^ s_"Attach data disk/ISO during install";
- "--attach...
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...top_builddir)/mllib/planner.cmo \
> diff --git a/builder/cmdline.ml b/builder/cmdline.ml
> index eee8367..7a59ac2 100644
> --- a/builder/cmdline.ml
> +++ b/builder/cmdline.ml
> @@ -119,54 +119,47 @@ let parse_cmdline () =
> let warn_if_partition = ref true in
>
> let argspec = [
> - "--arch", Arg.Set_string arch, "arch" ^ " " ^ s_"Set the output architecture";
> - "--attach", Arg.String attach_disk, "iso" ^ " " ^ s_"Attach data disk/ISO during install";
> -...
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 = imap...
2005 Nov 21
1
[PATCH] 64 bit clean compilation patches
Hello All,
Attached is a patch against the portable openssh sources found at
openssh at anoncvs.at.openbsd.org:/cvs. The majority of the size of the
patch comes 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
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] <...
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...