similar to: [RFC] function to parse string to argc/argv pair

Displaying 20 results from an estimated 100 matches similar to: "[RFC] function to parse string to argc/argv pair"

2010 Sep 09
0
calling Rf_initEmbeddedR error
Hi all, I have a problem of Rf_initEmbeddedR function. I've tried with: try { int Argc1 = 1; char *Argv1[] = {"Rtest_1"}; int Argc2 = 1; char *Argv2[] = {"Rtest_2"}; // Init R(first) Rf_initEmbeddedR(Argc1, Argv1); // R package load SEXP e = R_NilValue; SEXP r = R_NilValue; PROTECT(e =
2008 Oct 27
0
NEW: COM32 module to alias (Revised)
From: Gene Cumm <gene.cumm at gmail.com> alias.c: A simple COM32 module that allows the creation of an alias within the config for SYSLINUX and variants. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- Revised based on previous discussion on this list <syslinux at zytor.com> to change the command line string size and account for the possibility of overflowing the
2008 Oct 22
1
NEW: COM32 module to alias
From: Gene Cumm <gene.cumm at gmail.com> alias.c: A simple COM32 module that allows the creation of an alias within the config for SYSLINUX, etc. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- If, for example, you had two labels that only differed by the length of the label (a short name) or additional APPENDd parameters, this would reduce the amount of copies of the same
2009 Feb 22
2
NEW: COM32 module to run another command, optionally clearing the screen
From: Gene Cumm <gene.cumm at gmail.com> run.c: A simple COM32 module that will optionally clear the screen (using newlines) then run a command. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- This is based on my alias COM32 module that I submitted back in October, with some improvements to clean up debugging code and optionally clear the screen. LABEL et KERNEL run.c32
2009 Feb 15
2
COM32 module: Read-Only shell
Well, here's the read-only shell (rosh) that I've been working on. It's functional but still quite rough. My primary intention of posting it at this time is such that people have an easy way to demonstrate to themselves that the library calls I made work. This should apply as a patch to the head of the "dir" branch and the patch for c_cflag/c_lflag. The patch is only
2009 Nov 11
0
Passing MULTIPLE arguments from php file to r scripts
Hi friends, Again i don't know how to pass multiple arguments from php file to r scripts. Please have a look at this link ; it gives a very simple explanation of passing variables from a PHP page to r scipts.Because i have done the same thing.
2010 Jun 27
1
[PATCH] ROSH: Upgraded
Without further adieu, I would like to announce that I've finally pushed ROSH, the Read-Only SHell, finally to the point of being reasonably usable. From: Gene Cumm <gene.cumm at gmail.com> Patch ROSH for Syslinux-4 and make it much more usable. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c index 511fdff..bf1176f
2019 May 29
1
How to improve the performance with unix_convert ?
Dear all: I used samba version 4.8.6 .I want to creat and write file in a dir,but the dir have a lots file ,may be 200000+.The creat or write will be slowly more than 1s. I watched the code ,the operation will be running the unix_convert .the function is time-consuming . if I modify the code get_real_filename_full_scan in the filename.c .the client will be failed to find some file .but the write
2013 Feb 25
0
[syslinux:elflink] com32: Add com32_cmdline() which returns argv[ 1..argc-1]
On 02/23/2013 04:30 AM, syslinux-bot for Matt Fleming wrote: > Commit-ID: 41c29c26d70fde563d7c255872bbadad87a39dfa > Gitweb: http://www.syslinux.org/commit/41c29c26d70fde563d7c255872bbadad87a39dfa > Author: Matt Fleming <matt.fleming at intel.com> > AuthorDate: Fri, 22 Feb 2013 15:13:38 +0000 > Committer: Matt Fleming <matt.fleming at intel.com> >
2017 Oct 27
1
[Bug 13104] New: NULL deref do_server_sender when argc=0
https://bugzilla.samba.org/show_bug.cgi?id=13104 Bug ID: 13104 Summary: NULL deref do_server_sender when argc=0 Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter:
2008 Dec 10
1
Linking a library with init(argc,argv) function
Hi, I would like to embed the LibMesh library in R. I have already linked C++ code and build libraries as it is explained in the R-extension manual with trivial examples : dyn.load(paste("/home/default/LibFooR",.Platform$dynlib.ext,sep="")) I am facing a difficulty with loading a library depending on a library (libMesh) which needs an initialization function
2009 Mar 07
3
rosh patch V2
Here is a second version of my patch from last night. It uses the provided ctype function isspace and does the same readdir(). I remove the rosh_issp() function. I admit to being a bit liberal with my use of braces and spaces. We all of the habit of knowing we can invent a more perfect wheel. Let me know if you have any questions. Keith -------------- next part -------------- A non-text
2016 Apr 18
0
[PATCH v4 28/37] clk: hold information about the current cstate status
Signed-off-by: Karol Herbst <nouveau at karolherbst.de> --- drm/nouveau/include/nvkm/subdev/clk.h | 5 +++++ drm/nouveau/nvkm/subdev/clk/base.c | 32 +++++++++++++++++++++++++------- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/drm/nouveau/include/nvkm/subdev/clk.h b/drm/nouveau/include/nvkm/subdev/clk.h index 4fb2c1b..6deda96 100644 ---
2017 Sep 15
0
[RFC PATCH 07/29] clk: Hold information about the current cstate status
Later we will have situations where the expected and the current state isn't the same. Signed-off-by: Karol Herbst <karolherbst at gmail.com> Reviewed-by: Martin Peres <martin.peres at free.fr> --- drm/nouveau/include/nvkm/subdev/clk.h | 2 ++ drm/nouveau/nvkm/subdev/clk/base.c | 32 +++++++++++++++++++++++++------- 2 files changed, 27 insertions(+), 7 deletions(-) diff
2017 Mar 05
0
[PATCH 5/9] clk: We should pass the pstate id around not the index in the list
This makes the code easier, because we can compare the id with pstate->pstate and safe us the trouble iterating over the entire pstate list to match the index. Signed-off-by: Karol Herbst <karolherbst at gmail.com> Reviewed-by: Martin Peres <martin.peres at free.fr> --- drm/nouveau/nouveau_debugfs.c | 6 +-- drm/nouveau/nvkm/subdev/clk/base.c | 78
2017 Sep 15
0
[RFC PATCH 08/29] clk: We should pass the pstate id around not the index in the list
This makes the code easier, because we can compare the id with pstate->pstate and saves us from the trouble of iterating over the pstates to match the index. v2: reword commit message Signed-off-by: Karol Herbst <karolherbst at gmail.com> Reviewed-by: Martin Peres <martin.peres at free.fr> --- drm/nouveau/nouveau_debugfs.c | 6 +-- drm/nouveau/nvkm/subdev/clk/base.c | 78
2015 May 02
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
+update diff 2015-05-02 7:38 GMT+03:00 Yaron Keren <yaron.keren at gmail.com>: > I outlined (is that the right > word?) raw_char_ostream::grow, raw_char_ostream::write (both) into > raw_ostream.cpp with less than 10% difference in performance. > > Profiling reveals that the real culprit is the code line > > OS.reserve(OS.size() + 64); > > called from
2016 Apr 18
0
[PATCH v4 29/37] clk: we should pass the pstate id around not the index in the list
this makes the code easier, because we can compare the id with pstate->pstate and safe us the trouble iterating over the entire pstate list Signed-off-by: Karol Herbst <nouveau at karolherbst.de> --- drm/nouveau/nouveau_debugfs.c | 6 ++--- drm/nouveau/nvkm/subdev/clk/base.c | 49 +++++++++++--------------------------- 2 files changed, 17 insertions(+), 38 deletions(-) diff --git
2017 Oct 08
1
[RFC PATCH 08/29] clk: We should pass the pstate id around not the index in the list
On 2017-09-15 — 17:11, Karol Herbst wrote: > This makes the code easier, because we can compare the id with > pstate->pstate and saves us from the trouble of iterating over the pstates > to match the index. I don’t remember whether I have already done this comment before, but I am not sure where your iterating over the pstates savings are, as in this patch at least, you iterate as
2014 May 17
0
[PATCH] clk: allow config option to enable reclocking
On 17 May 2014 02:43, "Ilia Mirkin" <imirkin at alum.mit.edu> wrote: > > Adds a NvReclock boolean option to allow the user to enable (or disable) > reclocking. All chipsets default to off, except NVAA/NVAC, which are > reportedly complete. Hey Ilia, I think I've expressed my thoughts on this previously via IRC, but let me stick them here too so there's a record