Displaying 20 results from an estimated 42 matches for "startp".
Did you mean:
start
2012 Feb 07
2
save method (create action) saves twice
...ipts" for 127.0.0.1 at 2012-02-07 19:17:53 +0900
Processing by ScriptsController#create as JS
Parameters: {"utf8"=>"✓",
"authenticity_token"=>"xxx+gv5Cr9GjC0UpqfH89qgnRii4=",
"script"=>{"video_id"=>"1", "startp"=>"0", "endp"=>"20", "text"=>"This
is a test!"}, "commit"=>"save"}
SQL (0.7ms) INSERT INTO "scripts" ("created_at", "endp", "startp",
"text", "updated_at&...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Do not reprocess data when expanding words
...and.c
+++ b/usr/dash/expand.c
@@ -110,10 +110,10 @@ static struct ifsregion *ifslastp;
/* holds expanded arg list */
static struct arglist exparg;
-STATIC void argstr(char *, int);
-STATIC char *exptilde(char *, char *, int);
+static char *argstr(char *p, int flag);
+static char *exptilde(char *startp, int flag);
+static char *expari(char *start, int flag);
STATIC void expbackq(union node *, int);
-STATIC const char *subevalvar(char *, char *, int, int, int, int, int);
STATIC char *evalvar(char *, int);
static size_t strtodest(const char *p, int flags);
static void memtodest(const char *p, s...
2006 May 15
20
[PATCH 0/3] xenoprof fixes
These patches address issues in the kernel part of xenoprof:
* Ill-advised use of on_each_cpu() can lead to sleep with interrupts
disabled.
* Race conditions in active_domains code.
* Cleanup of active_domains code.
Comments welcome.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2004 Dec 13
0
(no subject)
I have installed Parallel R on a LINUX Cluster and I am trying to initiate
the Parallel engine function in pR but I am receiving this error
Error in namespaceExport(ns, exports) : undefined exports: fixPre1.8
> StartPE(2)
chr [1:2] "/usr/local/lib/R/library/base/exec/pRBatch.R" "NULL"
Failed to create scheduler thread.
Failed to create threads.
Error in StartPE(2) : Failed to initialize the parallel engine
In addition: Warning message:
package methods in options("defaultPackages&...
2012 Mar 02
2
Change DB data type and limited decimals
Rails3.1.3
I have db type,
startp:integer
I need to change it to float. More specifically,
1.2, 45.1, 143.8 ...
I have two questions:
1. Is removing and adding the field through migration the only way?
in other words, is there a single command to change the type?
2. Is there anyway to limit the decimal place to only one?...
2002 Oct 30
4
PDF printer using ps2pdf ?
Hi,
Is it possible to set up a printer in samba
that will use ps2pdf converter to create pdf documents when printing on it ?
Best Regards
Steph
2019 Jan 25
0
[klibc:update-dash] [EXPAND] Propagate EXP_QPAT in subevalvar
...);
argstr(p, EXP_TILDE | (subtype != VSASSIGN && subtype != VSQUESTION ?
- (flag & EXP_QUOTED ? EXP_QPAT : EXP_CASE) : 0));
+ (flag & (EXP_QUOTED | EXP_QPAT) ?
+ EXP_QPAT : EXP_CASE) : 0));
STPUTC('\0', expdest);
argbackq = saveargbackq;
startp = stackblock() + startloc;
2019 Jan 25
0
[klibc:update-dash] expand - Fix dangling left square brackets in patterns
...9079b74b..e2d563fe 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -1584,14 +1584,14 @@ pmatch(const char *pattern, const char *string)
p++;
}
found = 0;
- chr = *q++;
+ chr = *q;
if (chr == '\0')
return 0;
c = *p++;
do {
if (!c) {
p = startp;
- c = *p;
+ c = '[';
goto dft;
}
if (c == '[') {
@@ -1618,6 +1618,7 @@ pmatch(const char *pattern, const char *string)
} while ((c = *p++) != ']');
if (found == invert)
return 0;
+ q++;
break;
}
dft: default:
2020 Mar 28
0
[klibc:update-dash] dash: [EXPAND] Propagate EXP_QPAT in subevalvar
...);
argstr(p, EXP_TILDE | (subtype != VSASSIGN && subtype != VSQUESTION ?
- (flag & EXP_QUOTED ? EXP_QPAT : EXP_CASE) : 0));
+ (flag & (EXP_QUOTED | EXP_QPAT) ?
+ EXP_QPAT : EXP_CASE) : 0));
STPUTC('\0', expdest);
argbackq = saveargbackq;
startp = stackblock() + startloc;
2020 Mar 28
0
[klibc:update-dash] dash: expand - Fix dangling left square brackets in patterns
...9079b74b..e2d563fe 100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -1584,14 +1584,14 @@ pmatch(const char *pattern, const char *string)
p++;
}
found = 0;
- chr = *q++;
+ chr = *q;
if (chr == '\0')
return 0;
c = *p++;
do {
if (!c) {
p = startp;
- c = *p;
+ c = '[';
goto dft;
}
if (c == '[') {
@@ -1618,6 +1618,7 @@ pmatch(const char *pattern, const char *string)
} while ((c = *p++) != ']');
if (found == invert)
return 0;
+ q++;
break;
}
dft: default:
2005 Apr 02
2
Building new graphic device drivers with g++
...())NULL_Polygon;
dev->locator = (Rboolean (*)())NULL_Locator;
dev->mode = (void (*)())NULL_Mode;
dev->hold = (void (*)())NULL_Hold;
dev->metricInfo = (void (*)())NULL_MetricInfo;
/*
* Initial graphical settings
*/
dev->startfont = 1;
dev->startps = 10;
dev->startcol = R_RGB(0, 0, 0);
dev->startfill = R_TRANWHITE;
dev->startlty = LTY_SOLID;
dev->startgamma = 1;
/*
* Start device
*/
if(!NULL_Open(dev)) {
return FALSE;
}
/*
* Device physical characteristics
*/
dev-...
2012 Feb 22
3
Parent id for find_or_create method
..._video_id(:video_id =>
@video.id)} %>
renders a partial,
<%= form_for script,
:url=>{:controller=>''scripts'', :action=>''create_or_update''},
:remote => true do |f| %>
<%= f.hidden_field :video_id %>
<%= f.text_field :startp, :readonly => true %>
<%= f.text_field :text %>
<%= f.submit "create_or_update" %>
<% end %>
But this will set "Script id" to be "Video id", which are supposed to be
distinct from each other.
I assume the problem is the way I use "...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Merge syntax/quotes in memtodest with flags
...char *, size_t, const char *, int);
+static size_t strtodest(const char *p, int flags);
+static void memtodest(const char *p, size_t len, int flags);
STATIC ssize_t varvalue(char *, int, int, int);
STATIC void expandmeta(struct strlist *, int);
#ifdef HAVE_GLOB
@@ -359,7 +357,6 @@ exptilde(char *startp, char *p, int flag)
signed char c;
char *name;
const char *home;
- int quotes = flag & QUOTES_ESC;
name = p + 1;
@@ -388,7 +385,7 @@ done:
if (!home)
goto lose;
*p = c;
- strtodest(home, SQSYNTAX, quotes);
+ strtodest(home, flag | EXP_QUOTED);
return (p);
lose:
*p = c;
@...
2017 Apr 27
4
[PATCH 0/4] common: Add a simple mini-library for handling qemu command and config files.
Currently we have an OCaml library for generating the qemu command
line (used only by ‘virt-v2v -o qemu’). However we also generate a
qemu command line in ‘lib/launch-direct.c’, and we might in future
need to generate a ‘-readconfig’-compatible configuration file if we
want to go beyond 10,000 drives for scalability testing.
Therefore this patch series reimplements the qemu command line code as
2019 Jan 25
0
[klibc:update-dash] parser: Add syntax stack for recursive parsing
...*, char *, char *, char *, int , int);
argstr(p, EXP_TILDE | (subtype != VSASSIGN && subtype != VSQUESTION ?
- (flag & (EXP_QUOTED | EXP_QPAT) ?
- EXP_QPAT : EXP_CASE) : 0));
+ EXP_CASE : 0));
STPUTC('\0', expdest);
argbackq = saveargbackq;
startp = stackblock() + startloc;
@@ -1646,7 +1635,6 @@ char *
_rmescapes(char *str, int flag)
{
char *p, *q, *r;
- unsigned inquotes;
int notescaped;
int globbing;
@@ -1676,24 +1664,23 @@ _rmescapes(char *str, int flag)
q = mempcpy(q, str, len);
}
}
- inquotes = 0;
globbing = flag &a...
2020 Mar 28
0
[klibc:update-dash] dash: parser: Add syntax stack for recursive parsing
...*, char *, char *, char *, int , int);
argstr(p, EXP_TILDE | (subtype != VSASSIGN && subtype != VSQUESTION ?
- (flag & (EXP_QUOTED | EXP_QPAT) ?
- EXP_QPAT : EXP_CASE) : 0));
+ EXP_CASE : 0));
STPUTC('\0', expdest);
argbackq = saveargbackq;
startp = stackblock() + startloc;
@@ -1646,7 +1635,6 @@ char *
_rmescapes(char *str, int flag)
{
char *p, *q, *r;
- unsigned inquotes;
int notescaped;
int globbing;
@@ -1676,24 +1664,23 @@ _rmescapes(char *str, int flag)
q = mempcpy(q, str, len);
}
}
- inquotes = 0;
globbing = flag &a...
2013 May 21
1
Lattice, ggplot, and pointsize
Hi!
When inserting R plots into a document using odfWeave, I fought for a
while to get Lattice plots use the same text size as base plots. I
eventually discovered that specifying a point size via e.g.
svg(pointsize=10) has no effect on Lattice plots. One needs to adjust
the size manually via:
trellis.par.set(fontsize=list(text=10, points=8))
This is also developed for both Lattice and ggplot2 by
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...b/src/launch-direct.c
index 2ffbff1..7540c19 100644
--- a/src/launch-direct.c
+++ b/src/launch-direct.c
@@ -156,7 +156,7 @@ add_cmdline_shell_unquoted (guestfs_h *g, struct stringsbuf *sb,
nextp++;
guestfs_int_add_string_nodup (g, sb,
- safe_strndup (g, startp, endp-startp));
+ safe_strndup (g, startp, endp-startp));
options = nextp;
}
@@ -215,10 +215,10 @@ debian_kvm_warning (guestfs_h *g)
* in warnings.
*/
warning (g,
- _("current user is not a member of the KVM group (group ID %d). "
- "This user cannot acc...
2009 Dec 29
0
aMSN segfaults at login after configuring my home network
...nss_status = <value optimized out>
#4 0xb7abd4dd in __gethostbyname2_r (name=0xbfffd654 "messenger.hotmail.com",
af=2, resbuf=0xbfffd47c, buffer=0xbfffd1c0 "\377\002", buflen=512,
result=0xbfffd498, h_errnop=0xbfffd494) at ../nss/getXXbyYY_r.c:253
startp_initialized = true
startp = 0xfa8974b2
start_fct = 0xbe7a5cf
nip = 0x8075720
---Type <return> to continue, or q <return> to quit---
fct = {l = 0xb5e805c0 <_nss_wins_gethostbyname2_r>, ptr = 0xb5e805c0}
no_more = <value optimized out>...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67