Displaying 11 results from an estimated 11 matches for "xstr".
Did you mean:
str
2009 Nov 10
3
Error: cannot allocate vector of size...
I'm trying to import a table into R the file is about 700MB. Here's my first
try:
> DD<-read.table("01uklicsam-20070301.dat",header=TRUE)
Error: cannot allocate vector of size 15.6 Mb
In addition: Warning messages:
1: In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
Reached total allocation of 1535Mb: see help(memory.size)
2: In scan(file, what,
2008 Sep 24
1
string to numeric question
this seems l ike it shouldn't be that hard but i give up.
if i have a string say, temp<-"01", I want to increase it by 1 so that
it becomes "02". but the following code obviously won't work when the
input string is say "10" because then it gives "011" when I just want
"11". uuugh.
does someone know an easy way ( i guess hard is
2010 Oct 27
1
multiple text or string searches
Dear all,
how can i search multiple text or string patterns in a text file.
i have written the following script but it is for only single searches at a
time.
how can i get multiple searches e.g
"xyz","abc","pqr".....at a time and can save the results to an out file.
script::
x<- "abc"
z<-NULL;for (i in 1:1235){{if
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
...i_padded_finish; \
+ vmi_annotate(VMI_CALL_GetCR0);
+
+#ifndef __ASSEMBLY__
+/*
+ * Several handy macro definitions used to convert the raw assembler
+ * definitions here into quoted strings for use in inline assembler
+ * from C code.
+ *
+ * To convert the value of a defined token to a string, XSTR(x)
+ * To concatenate multiple parameters separated by commas, XCONC()
+ * To convert the value of a defined value with commas, XCSTR()
+ *
+ * These macros are incompatible with -traditional
+ */
+#define MAKESTR(x) #x
+#define XSTR(x) MAKESTR(x)
+#define XCONC(args......
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
...i_padded_finish; \
+ vmi_annotate(VMI_CALL_GetCR0);
+
+#ifndef __ASSEMBLY__
+/*
+ * Several handy macro definitions used to convert the raw assembler
+ * definitions here into quoted strings for use in inline assembler
+ * from C code.
+ *
+ * To convert the value of a defined token to a string, XSTR(x)
+ * To concatenate multiple parameters separated by commas, XCONC()
+ * To convert the value of a defined value with commas, XCSTR()
+ *
+ * These macros are incompatible with -traditional
+ */
+#define MAKESTR(x) #x
+#define XSTR(x) MAKESTR(x)
+#define XCONC(args......
2007 Jun 11
12
Mocking system/`
This drives me insane on a regular basis. How does one mock
system(''blah'') or `blah` ?
Adding expectations on Kernel doesn''t do it. Adding expectations on
Object just makes me sad:
Object.any_instance.expects(:system).with(''ls'')
# => #<Mock:0x12b584e>.system(''ls'') - expected calls: 0, actual calls: 1
And this really
2024 Aug 07
0
Processed: OCaml 5.2.0 uploaded to unstable
...(&) operator)
Severity set to 'serious' from 'important'
> severity 1073911 serious
Bug #1073911 [src:sks] FTBFS with OCaml 5.2.0 (Uses C functions without caml_ prefix)
Severity set to 'serious' from 'important'
> severity 1073914 serious
Bug #1073914 [src:xstr] FTBFS with OCaml 5.2.0 (Uses .[] instead of Bytes.set)
Severity set to 'serious' from 'important'
> severity 1074545 serious
Bug #1074545 [src:caml-crush] FTBFS with OCaml 5.2.0 (Uses C functions without caml_ prefix)
Severity set to 'serious' from 'important'
&g...
2019 Jun 21
9
[libnbd PATCH v2 0/5] nbd_pread_structured
Since v1:
- rebase to applied patches
- split out support for Int in callbacks
- sort of test that callbacks work in OCaml (see comment in patch 5)
- rename API to nbd_pread_structured
- expose error as explicit parameter to callback
Eric Blake (5):
generator: Allow Int in callbacks
states: Wire in a read callback
states: Add nbd_pread_structured API
states: Add tests for
2018 Jul 31
7
[PATCH nbdkit 0/4] Add truncate and map filters.
This patch series proposes two new filters.
* truncate: This can truncate, extend, round up or round down the size
of a plugin/device. A typical usage is to fix the qemu problem that
it can only handle devices which are a multiple of 512-bytes:
nbdkit --filter=truncate random size=500 round-up=512
This will serve a virtual device with size 512 bytes. Reading from
the last 12 bytes will
2019 Jun 18
17
[libnbd PATCH 0/8] Add nbd_pread_callback
I've mentioned this topic before (in fact, the idea of adding
NBD_CMD_FLAG_DF was first mentioned at [1]), but finally finished
enough of an implementation to feel confident in posting it.
I'd still like to add something under examples/ that uses the new API
to implement strict checking of a server's structured replies read
implementation (ensure that a server never sends data after
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...bcrX*$bc1qDX%B9XwA})o6I0R<6lcOs!pvMd>)YKR
zxg#@Sn~I8!Jq$=`Lx5QQ{NG5g*^USpwLZVS{YMl6!zuA%1$822?X@JC^tZRxc$rc?
zxwsiqMa!<$6GYPd>C`XXFX}pa;&9mA)h7uRy<GQBLegOt18$t>VhWVFv|z~qpX^A9
zA9+8Ah5uVn&1D5|mm_?=5oUQG#XF_qt!KwIt@$Ejoy)DhE(LJf@miU{z@NXX@L8Qr
z7^`y{59c_{*!49T^T)D(PU||tm<xstR|PS<VyoCLsM5ShOH$Xtl6y5!-@W3*9!h!O
z{JE`D!ecZwSTOjcMkn<xV*OQm@sAA!^6ez~gK35gX_bI(REpGP2z8ZT=^z<MO#z!2
zTDy{x^U&VU<_`}Fix(XqfDH}GtSB;$aH^xFPh?N^AD#P@m#HKyZ`DEU`%SOcd`*yh
zar0{@{P0QJ4*C+r6)YAkW}xNNUxpVZa=;OIG7|{`Wca_y;0-e}8CHgM`Mk|GSMM?8
z@S+kCAqo8wdr26o%2AH92}yTU@Fzaf*Gz!?wA=WZLDv+0#&...