Displaying 10 results from an estimated 10 matches for "strbuf".
Did you mean:
stbuf
2018 Apr 19
3
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
...g is
undertaken may the following small fix (in addition to "(R_xlen_t)nr *
nc") will be sufficient for cases where nr and nc are in int range but
their product can reach long vector limit:
replace
??? tmp = EncodeElement2(x, i + j*nr, quote_col[j], qmethod,
??? ??? ??? ??? ??? &strBuf, sdec);
by
??? tmp = EncodeElement2(VECTOR_ELT(x, (R_xlen_t)i + j*nr), 0,
quote_col[j], qmethod,
??? ??? ??? ??? ??? &strBuf, sdec);
Serguei
2017 Mar 20
2
IO error when writing to disk
...72357)
+++ src/library/utils/src/io.c (copie de travail)
@@ -1120,12 +1120,23 @@
for(int i = 0; i < nr; i++) {
if(i % 1000 == 999) R_CheckUserInterrupt();
if(!isNull(rnames))
- Rconn_printf(con, "%s%s",
- EncodeElement2(rnames, i, quote_rn, qmethod,
- &strBuf, sdec), csep);
+
+ if(Rconn_printf(con, "%s%s", EncodeElement2(rnames, i, quote_rn, qmethod, &strBuf, sdec), csep) < 0) {
+ error(_("IO error, cannot write table."));
+ break;
+ }
+
for(int j = 0; j < nc; j++) {
xj = VECTOR_ELT(x,...
2018 Apr 19
0
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
...llowing small fix (in addition to "(R_xlen_t)nr *
> nc") will be sufficient for cases where nr and nc are in int range but
> their product can reach long vector limit:
>
> replace
> ??? tmp = EncodeElement2(x, i + j*nr, quote_col[j], qmethod,
> ??? ??? ??? ??? ??? &strBuf, sdec);
> by
> ??? tmp = EncodeElement2(VECTOR_ELT(x, (R_xlen_t)i + j*nr), 0,
> quote_col[j], qmethod,
> ??? ??? ??? ??? ??? &strBuf, sdec);
Unfortunately we can't do that, x is a matrix of an atomic vector type.
VECTOR_ELT is taking elements of a generic vector, so it cannot...
2018 Apr 19
2
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
On 18/04/2018 5:08 PM, Tousey, Colton wrote:
> Hello,
>
> I want to report a bug in R that is limiting my capabilities to export a matrix with write.csv or write.table with over 2,147,483,648 elements (C's int limit). I found this bug already reported about before: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17182. However, there appears to be no solution or fixes in upcoming
2018 Apr 19
2
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
Le 19/04/2018 ? 12:15, Tomas Kalibera a ?crit?:
> On 04/19/2018 11:47 AM, Serguei Sokol wrote:
>>
>> replace
>> ??? tmp = EncodeElement2(x, i + j*nr, quote_col[j], qmethod,
>> ??? ??? ??? ??? ??? &strBuf, sdec);
>> by
>> ??? tmp = EncodeElement2(VECTOR_ELT(x, (R_xlen_t)i + j*nr), 0,
>> quote_col[j], qmethod,
>> ??? ??? ??? ??? ??? &strBuf, sdec);
>
> Unfortunately we can't do that, x is a matrix of an atomic vector
> type. VECTOR_ELT is taking elements of...
2016 Jun 02
52
[RFC v3 00/45] dma-mapping: Use unsigned long for dma_attrs
Hi,
This is third approach (complete this time) for replacing struct
dma_attrs with unsigned long.
The main patch (2/45) doing the change is split into many subpatches
for easier review (3-43). They should be squashed together when
applying.
*Important:* Patchset is *only* build tested on allyesconfigs: ARM,
ARM64, i386, x86_64 and powerpc. Please provide reviewes and tests
for other
2017 Oct 30
3
[locking/paravirt] static_key_disable_cpuslocked(): static key 'virt_spin_lock_key+0x0/0x20' used before call to jump_label_init()
...gin_mac80211.so
[ 75.204758]
[ 75.205500] LINK plugin_sched_switch.so
[ 75.205502]
[ 75.206035] LINK plugin_xen.so
[ 75.206037]
[ 75.206665] LINK plugin_function.so
[ 75.206666]
[ 75.207164] CC util/quote.o
[ 75.207165]
[ 75.207681] CC util/strbuf.o
[ 75.207683]
[ 75.208226] LINK plugin_scsi.so
[ 75.208228]
[ 75.208748] LINK plugin_kvm.so
[ 75.208750]
[ 75.209478] CC builtin-buildid-list.o
[ 75.209480]
[ 75.210233] CC builtin-buildid-cache.o
[ 75.210235]
[ 75.210756] CC util/string...
2017 Oct 30
3
[locking/paravirt] static_key_disable_cpuslocked(): static key 'virt_spin_lock_key+0x0/0x20' used before call to jump_label_init()
...gin_mac80211.so
[ 75.204758]
[ 75.205500] LINK plugin_sched_switch.so
[ 75.205502]
[ 75.206035] LINK plugin_xen.so
[ 75.206037]
[ 75.206665] LINK plugin_function.so
[ 75.206666]
[ 75.207164] CC util/quote.o
[ 75.207165]
[ 75.207681] CC util/strbuf.o
[ 75.207683]
[ 75.208226] LINK plugin_scsi.so
[ 75.208228]
[ 75.208748] LINK plugin_kvm.so
[ 75.208750]
[ 75.209478] CC builtin-buildid-list.o
[ 75.209480]
[ 75.210233] CC builtin-buildid-cache.o
[ 75.210235]
[ 75.210756] CC util/string...
2017 Apr 07
34
[RFC 0/3] virtio-iommu: a paravirtualized IOMMU
This is the initial proposal for a paravirtualized IOMMU device using
virtio transport. It contains a description of the device, a Linux driver,
and a toy implementation in kvmtool. With this prototype, you can
translate DMA to guest memory from emulated (virtio), or passed-through
(VFIO) devices.
In its simplest form, implemented here, the device handles map/unmap
requests from the guest. Future
2017 Apr 07
34
[RFC 0/3] virtio-iommu: a paravirtualized IOMMU
This is the initial proposal for a paravirtualized IOMMU device using
virtio transport. It contains a description of the device, a Linux driver,
and a toy implementation in kvmtool. With this prototype, you can
translate DMA to guest memory from emulated (virtio), or passed-through
(VFIO) devices.
In its simplest form, implemented here, the device handles map/unmap
requests from the guest. Future