Displaying 11 results from an estimated 11 matches for "tmpstr".
Did you mean:
tempstr
2013 Jun 16
2
extract all numbers from a string
Hi all,
I have been beating my head against this problem for a bit,
but I can't figure it out.
I have a series of strings of variable length, and each will
have one or more numbers, of varying format. E.g., I might
have:
tmpstr = "The first number is: 32. Another one is: 32.1.
Here's a number in scientific format, 0.3523e10, and
another, 0.3523e-10, and a negative, -313.1"
How could I get R to just give me a list of numerics
containing the numbers therein?
Thanks very much to the regexp wizards!
Cheer...
2003 Sep 01
1
testers needed for CAM INVARIANTS fix
...uct sysctl_ctx_list sysctl_ctx;
struct sysctl_oid *sysctl_tree;
STAILQ_HEAD(, cd_mode_params) mode_queue;
***************
*** 614,619 ****
--- 616,659 ----
}
}
+ static void
+ cdsysctlinit(void *context, int pending)
+ {
+ struct cam_periph *periph;
+ struct cd_softc *softc;
+ char tmpstr[80], tmpstr2[80];
+ int s;
+
+ periph = (struct cam_periph *)context;
+ softc = (struct cd_softc *)periph->softc;
+
+ snprintf(tmpstr, sizeof(tmpstr), "CAM CD unit %d", periph->unit_number);
+ snprintf(tmpstr2, sizeof(tmpstr2), "%d", periph->unit_number);
+
+ s...
2017 Apr 02
2
vfs_shadow_copy2 delimiter not working
...2.c.orig vfs_shadow_copy2.c
--- vfs_shadow_copy2.c.orig 2017-03-31 14:53:38.722560396 +0100
+++ vfs_shadow_copy2.c 2017-04-02 22:13:41.943038415 +0100
@@ -1866,16 +1866,19 @@ static bool shadow_copy2_snapshot_to_gmt
*/
if (priv->snaps->regex != NULL) {
tmpstr = talloc_strdup(talloc_tos(), name);
- /* point "name" to the time format */
+ /* Point "name" at <delimiter><time_format> */
name = strstr(name, priv->config->delimiter);
if (name == NULL) {...
2003 Sep 30
0
VB Code to convert BMP to LSS for splash screens
...SizeImage As Long
iXPelsPerMeter As Long
iYPelsPerMeter As Long
iClrUsed As Long
iClrImportant As Long
End Type
Type lssHeader
magic As Long
iWidth As Integer
iHeight As Integer
colors(1 To 16) As RGBColor3
End Type
Function PadHex(myByte As Byte) As String
Dim tmpStr As String
tmpStr = Hex$(myByte)
If Len(tmpStr) < 2 Then tmpStr = "0" & tmpStr
PadHex = tmpStr
End Function
Sub convertBMPtoLSS()
Dim fileSystem
Dim myBmpHeader As bmpHeader
Dim myBmpPallete(256) As RGBColor4
Dim myBmpData() As Byte
Dim myLssHea...
2017 Apr 19
0
vfs_shadow_copy2 delimiter not working
...t; --- vfs_shadow_copy2.c.orig 2017-03-31 14:53:38.722560396 +0100
> +++ vfs_shadow_copy2.c 2017-04-02 22:13:41.943038415 +0100
> @@ -1866,16 +1866,19 @@ static bool shadow_copy2_snapshot_to_gmt
> */
> if (priv->snaps->regex != NULL) {
> tmpstr = talloc_strdup(talloc_tos(), name);
> - /* point "name" to the time format */
> + /* Point "name" at <delimiter><time_format> */
> name = strstr(name, priv->config->delimiter);
> if (nam...
2008 Jul 07
1
imap and vpopmail: per-domain auth
Hi, i have qmail + vpopmail + dovecot + squirrelmail 0.99.14 on Fedora
Core 4. Qmail includes its own pop3 server, and everybody is able to
access it from outside. Dovecot is used only locally by SquirrelMail -
so everybody can access via webmail.
I'd like to make imap directly available from outside, but only for a
few selected domains (NOT ip addresses!), while leaving everyone able to
2013 Jul 18
15
[PATCH v5 0/5] xen: public interface and foreign struct check changes for arm
I last posted this back in April to critical acclaim (AKA near total
silence).
I''m not sure who looks after tools/include/xen-foreign. I had thought it
was Jan but I think I was confused and was thinking of the semi-related
xen/include/compat stuff. IOW I think nobody felt "responsible".
Unless there''s any objection lets just treat this as coming under tools.
The
2007 Nov 16
8
[PATCH 0/6] Add online resize for ocfs2-tools,take 1
Add online resize in tunefs.ocfs2 so that user can increase
the volume when it is mounted.
1997 Nov 13
0
another buffer overrun in sperl5.003
...ere is a nasty bug in mess() (util.c): it is possible to overflow
its buffer (via sprintf()); mess() tries to detect this situation but
fails to handle the problem properly:
[excerpt from util.c]
if (s - s_start >= sizeof(buf)) { /* Ooops! */
if (usermess)
fputs(SvPVX(tmpstr), stderr);
else
fputs(buf, stderr);
fputs("panic: message overflow - memory corrupted!\n",stderr);
my_exit(1);
}
It does not abort immediately. It prints out an error message and calls
my_exit(1), and this is very bad.
$ perl -v
This is perl, vers...
2002 Feb 25
3
PATCH: Samba/Win2K renaming bug
...));
+
+ check_mangled_cache( mask );
+ }
+ }
has_wild = ms_has_wild(mask);
+ DEBUG(3, ("rename_internals: has_wild %d\n", has_wild));
+
if (!has_wild) {
pstring zdirectory;
pstring znewname;
@@ -3710,10 +3734,16 @@
pstrcpy(newname, tmpstr);
}
- DEBUG(3,("rename_internals: case_sensitive = %d, case_preserve = %d, short case preserve = %d, \
-directory = %s, newname = %s, newname_last_component = %s, is_8_3 = %d\n",
- case_sensitive, case_preserve, short_case_preserve, directory,
- newname, newname_last_compo...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...1, %for.inc.2.i ], [ 1, %for.inc.3.i ], [ 1, %for.inc.4.i ], [ 1, %for.inc.5.i ], [ 1, %for.inc.6.i ]
ret i32 %retval.0
}
define double @_strtold(i8* %s, i8** %se) nounwind {
entry:
%yy.i = alloca [13 x i16], align 2
%xt.i = alloca [13 x i16], align 2
%tt.i = alloca [13 x i16], align 2
%tmpstr.i = alloca [200 x i8], align 1
%rnd = alloca %struct.LDPARMS, align 4
%rlast = getelementptr inbounds %struct.LDPARMS* %rnd, i32 0, i32 0
store i32 -1, i32* %rlast, align 4, !tbaa !3
%rndprc = getelementptr inbounds %struct.LDPARMS* %rnd, i32 0, i32 1
store i32 144, i32* %rndprc, align 4,...