Displaying 13 results from an estimated 13 matches for "ffoo".
Did you mean:
foo
2015 Mar 30
4
[LLVMdev] LTO, Code Generation Options, etc
...code generation.
- Not convinced here of the facility to do so. Could just recompile the
individual bitcode files to get what you want, but there are some users
that are trying to ship bitcode (as crazy as that sounds).
2) How to pass other sorts of options to the backend for code generation
- -ffoo options -fno-foo options. I.e. -fno-inline, etc. I think this is
really pretty important from the user POV. It affects things at a more
global level.
3) The llvm developer debugging story
- It's useful for llvm developers to be able to more accurately debug a set
of IR using bisection or bein...
2016 Feb 23
4
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...e) for the column headers,
and then "deeper down" C code which I did not investigate.
But just looking a bit at such a file() object with writeLines()
seems slightly revealing, as e.g., 'eol' does not seem to
"work" for this encoding:
> fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding = "UTF-16LE")
> writeLines(LETTERS[3:1], ff); writeLines("|", ff); writeLines(">a", ff)
> close(ff)
> file.show(fn)
CBA|>
> file.size(fn)
[1] 5
>
>> The...
2016 Feb 24
2
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...-length input */
> } else
>
>
>>
>> But just looking a bit at such a file() object with writeLines()
>> seems slightly revealing, as e.g., 'eol' does not seem to
>> "work" for this encoding:
>>
>> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding = "UTF-16LE")
>> > writeLines(LETTERS[3:1], ff); writeLines("|", ff); writeLines(">a", ff)
>> > close(ff)
>> > file.show(fn)
>> CBA|>
>> > fi...
2016 Feb 25
2
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...-length input */
> } else
>
>
>>
>> But just looking a bit at such a file() object with writeLines()
>> seems slightly revealing, as e.g., 'eol' does not seem to
>> "work" for this encoding:
>>
>> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding = "UTF-16LE")
>> > writeLines(LETTERS[3:1], ff); writeLines("|", ff); writeLines(">a", ff)
>> > close(ff)
>> > file.show(fn)
>> CBA|>
>> > file.si...
2016 Feb 23
1
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...input */
> } else
>
>
> >
> > But just looking a bit at such a file() object with writeLines()
> > seems slightly revealing, as e.g., 'eol' does not seem to
> > "work" for this encoding:
> >
> > > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding = "UTF-16LE")
> > > writeLines(LETTERS[3:1], ff); writeLines("|", ff); writeLines(">a", ff)
> > > close(ff)
> > > file.show(fn)
> > CBA|>
> > > fi...
2016 Feb 24
2
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...>>>
>>>> But just looking a bit at such a file() object with writeLines()
>>>> seems slightly revealing, as e.g., 'eol' does not seem to
>>>> "work" for this encoding:
>>>>
>>>> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding =
>>>> "UTF-16LE")
>>>> > writeLines(LETTERS[3:1], ff); writeLines("|", ff);
>>>> writeLines(">a", ff)
>>>> > close(ff)
>>>> &g...
2016 Feb 29
1
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...;>>>
>>>> But just looking a bit at such a file() object with writeLines()
>>>> seems slightly revealing, as e.g., 'eol' does not seem to
>>>> "work" for this encoding:
>>>>
>>>> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding = "UTF-16LE")
>>>> > writeLines(LETTERS[3:1], ff); writeLines("|", ff); writeLines(">a", ff)
>>>> > close(ff)
>>>> > file.show(fn)
>>>>...
2016 Feb 24
0
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...se
>>
>>
>>>
>>> But just looking a bit at such a file() object with writeLines()
>>> seems slightly revealing, as e.g., 'eol' does not seem to
>>> "work" for this encoding:
>>>
>>> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding =
>>> "UTF-16LE")
>>> > writeLines(LETTERS[3:1], ff); writeLines("|", ff);
>>> writeLines(">a", ff)
>>> > close(ff)
>>> > file.show(fn)
>&g...
2016 Feb 23
0
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...e iconv signal -1 on
zero-length input */
} else
>
> But just looking a bit at such a file() object with writeLines()
> seems slightly revealing, as e.g., 'eol' does not seem to
> "work" for this encoding:
>
> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding = "UTF-16LE")
> > writeLines(LETTERS[3:1], ff); writeLines("|", ff); writeLines(">a", ff)
> > close(ff)
> > file.show(fn)
> CBA|>
> > file.size(fn)
> [1]...
2015 Apr 01
3
[LLVMdev] LTO, Code Generation Options, etc
...d besides: the frontend needs to know the backend in
order to conform to the ABI, set macros, emit calls to target-specific
intrinsics, etc.
I'll send a review of r233227 in a moment to that effect ;).
> 2) How to pass other sorts of options to the backend for code generation
>
> - -ffoo options -fno-foo options. I.e. -fno-inline, etc. I think this is really pretty important from the user POV. It affects things at a more global level.
This is easy to solve for -fno-inline in particular: we should just
add a function attribute (`noinline`?) that the inliner should treat
as a synony...
2016 Feb 24
0
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...>>> But just looking a bit at such a file() object with writeLines()
>>>>> seems slightly revealing, as e.g., 'eol' does not seem to
>>>>> "work" for this encoding:
>>>>>
>>>>> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding =
>>>>> "UTF-16LE")
>>>>> > writeLines(LETTERS[3:1], ff); writeLines("|", ff);
>>>>> writeLines(">a", ff)
>>>>> > close(ff)
>>...
2016 Feb 25
0
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
...lse
>>
>>
>>>
>>> But just looking a bit at such a file() object with writeLines()
>>> seems slightly revealing, as e.g., 'eol' does not seem to
>>> "work" for this encoding:
>>>
>>> > fn <- tempfile("ffoo"); ff <- file(fn, open="w", encoding = "UTF-16LE")
>>> > writeLines(LETTERS[3:1], ff); writeLines("|", ff); writeLines(">a", ff)
>>> > close(ff)
>>> > file.show(fn)
>>> CBA|>
>>&...
2016 Feb 16
2
iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
If I execute the code from the "?write.table" examples section
x <- data.frame(a = I("a \" quote"), b = pi)
# (ommited code)
write.csv(x, file = "foo.csv", fileEncoding = "UTF-16LE")
the resulting CSV file has a size of 6 bytes which is too short
(truncated):
""",3
The problem seems to be the iconv function: