Displaying 17 results from an estimated 17 matches for "formatstr".
Did you mean:
format_str
2001 Feb 16
2
print.matrix segfaults if rowlab vector too short (PR#850)
print.matrix(x) segfaults if the vector supplied to 'rowlab' is
*shorter* than nrow(x):
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 2.1
year 2001
month 01
day 15
language R
[installed from RPM]
> x<-1:4
> dim(x)<-c(2,2)
> x
[,1] [,2]
[1,] 1 3
[2,] 2 4
2010 Aug 06
1
Latex errors when checking package
...read again>
relax
l.7 \begin{document}
! Font T1/ptm/m/n/24.88=ptmr8t at 24.88pt not loadable: Metric (TFM) file
not f
ound.
<to be read again>
(and similar ones)
l.18 ...ian Hennig \email{chrish at stats.ucl.ac.uk}}
! \textfont 0 is undefined (character h).
\Url at FormatString ...\Url at String \UrlRight \m at th $
l.41 ...http://www.homepages.ucl.ac.uk/~ucakche/}}
! \textfont 0 is undefined (character t).
\Url at FormatString ...\Url at String \UrlRight \m at th $
l.41 ...http://www.homepages.ucl.ac.uk/~ucakche/}}
! \textfont 0 is undefined (character t).
\Url at...
2017 May 29
2
Print 128 bit value at runtime using printf
...;;
}
// if any of the 6 floating point types
else if(val->getType()->isFloatingPointTy())
{
tempString = tempString + "%+f,";
//Apparently this is needed by printf,otehrwise prints 0.000
val = convertType(val,Type::getDoubleTy(TheContext));
}
argsValueVector.push_back(val);
++i;
}
formatString = formatString + tempString + "\n" ;
// For something like printf , insert a format string at the beginning.
if( F->isVarArg() )
{
// every string is declared as a "global constant" at the top of the module.
Value* val=Builder.CreateGlobalStringPtr(formatString,"st...
2011 Nov 03
2
Problem with R CMD check and the inconsolata font business.
...errors found:
> ! Font T1/fi4/m/n/10=ec-inconsolata at 10.0pt not loadable: Metric
> (TFM) file n
> ot found.
> <to be read again>
> relax
> l.19 ...lf Turner }\email{r.turner at auckland.ac.nz}
> ! \textfont 0 is undefined (character h).
> \Url at FormatString ...\Url at String \UrlRight \m at th $
>
> l.26 ...\AsIs{}\url{http://www.math.unb.ca/~rolf/}
> \AsIs{}
> ! \textfont 0 is undefined (character t).
> \Url at FormatString ...\Url at String \UrlRight \m at th $
>
> l.26 ...\As...
2012 Jun 18
0
[LLVMdev] Which pass converts call printf to puts?
Hi Thomson,
the new call to puts() is inserted right away, whereas the old call to
printf() is removed a bit later in SimplifyLibCalls::runOnFunction(). If
you browse the code a bit and backtrack the call stack to see what
happens with the return value of PrintFOpt::OptimizeFixedFormatString(),
you will stumble upon this segment in SimplifyLibCalls.cpp:1703ff.:
// Try to optimize this call.
Value *Result = LCO->OptimizeCall(CI, TD, TLI, Builder);
if (Result == 0) continue;
DEBUG(dbgs() << "SimplifyLibCalls simplified: " << *CI;
dbgs() << "...
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format specification
...h. =20
--- sprintf.c (revision 46944)
+++ sprintf.c (working copy)
@@ -103,7 +103,7 @@
else {
/* recognise selected types from Table B-1 of K&R */
/* This is MBCS-OK, as we are in a format spec */
- chunk =3D strcspn(formatString + cur + 1,
"aAdisfeEgGxX%") + 2;
+ chunk =3D strcspn(formatString + cur + 1,
"aAdisSfeEgGxX%") + 2;
if (cur + chunk > n)
error(_("unrecognised format at end of
string"));
The resulting error messages...
2016 Oct 12
5
RFC: General purpose type-safe formatting library
You get compile time checking automatically when we can use c++14 though.
If you use it with a string literal, you'll get compile time checking,
otherwise you won't.
Here's a different example though. Suppose you're writing a tool which
prints formatted output, and the field width is specified by the user. Now
you NEED to build the format string at runtime, there's no other
2012 Jun 17
5
[LLVMdev] Which pass converts call printf to puts?
I found that LLVM optimized the IR by replacing printf with puts. I
wondered which pass did this optimization? And is it common that puts is
faster (and some other metric) than printf?
--
Thanks
Thomson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120617/08aa6c45/attachment.html>
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format
...revision 46944)
> +++ sprintf.c (working copy)
> @@ -103,7 +103,7 @@
> else {
> /* recognise selected types from Table B-1 of K&R */
> /* This is MBCS-OK, as we are in a format spec */
> - chunk = strcspn(formatString + cur + 1,
> "aAdisfeEgGxX%") + 2;
> + chunk = strcspn(formatString + cur + 1,
> "aAdisSfeEgGxX%") + 2;
> if (cur + chunk > n)
> error(_("unrecognised format at end of
> string"));
>...
2012 Jun 18
1
[LLVMdev] Which pass converts call printf to puts?
This makes sense now. So if the instruction doesn't make any assignment, it
would be unnecessary to replace any operand reference and the same
instruction(CI) would be returned from the inner function to avoid this
replacement, is this right?
Thanks,
-Thomson
On Mon, Jun 18, 2012 at 8:09 PM, Christoph Erhardt <christoph at sicherha.de>wrote:
> Hi Thomson,
>
> > Could you
2002 Oct 05
2
ogg123 remote interface
...s.h ogg123/status.h
--- ogg123.orig/status.h Wed Dec 19 03:52:54 2001
+++ ogg123/status.h Sat Oct 5 13:48:31 2002
@@ -23,7 +23,7 @@
#include "transport.h"
#include "format.h"
-typedef struct {
+typedef struct stat_format_t {
int verbosity;
char enabled;
const char *formatstr;
diff -urN -X diff.ignore ogg123.orig/transport.h ogg123/transport.h
--- ogg123.orig/transport.h Wed Dec 19 03:52:54 2001
+++ ogg123/transport.h Sat Oct 5 14:24:27 2002
@@ -42,10 +42,12 @@
void *private;
} data_source_t;
+struct stat_format_t;
+
typedef struct transport_t {
char *name;...
2012 Jun 18
2
[LLVMdev] Which pass converts call printf to puts?
...omson,
>
> the new call to puts() is inserted right away, whereas the old call to
> printf() is removed a bit later in SimplifyLibCalls::runOnFunction(). If
> you browse the code a bit and backtrack the call stack to see what
> happens with the return value of PrintFOpt::OptimizeFixedFormatString(),
> you will stumble upon this segment in SimplifyLibCalls.cpp:1703ff.:
>
> // Try to optimize this call.
> Value *Result = LCO->OptimizeCall(CI, TD, TLI, Builder);
> if (Result == 0) continue;
>
> DEBUG(dbgs() << "SimplifyLibCalls simplified: " <<...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...+
+
/*
Constructors
*/
@@ -74,6 +89,27 @@ package org.ovirt.charts {
var i:int;
var yLabelPercentWidth:int = 8;
+ var myDate:Date = new Date();
+ myDate.setTime(startTime * 1000);
+ var dateFormat:DateFormatter = new DateFormatter();
+ dateFormat.formatString = "JJ:NN DD-MMM-YYYY";
+
+ navBar = new HBox();
+ navBar.setStyle("horizontalGap","1");
+ navBar.height = 20;
+ navBar.percentWidth = 100;
+ navBar.setVisible(true);
+ var navBarLabel:Label = new Label();
+ navBarLabel.text = "...
2005 Aug 03
24
patch for Icon
...int desiredWidth = -1, int desiredHeight = -1);
So I wrapped this in a #ifdef __WXGTK__ #else #endif
I also had to change:
wxLogWarning(wxConvUTF8.cMB2WC(StringValuePtr(str)));
I don''t know about other systems but on Windows wxLogWarning and
wxLogStatus only take const char *formatString and that is what the
docs show also.
Kevin the refactored install works great also.
I will be out of town for 5 days starting tomorrow so if you need any
clarification email me back quick.
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge...
1998 Mar 23
4
Placement of attributes
In preparing data sets for the lme library, I bring the data into R,
convert it to the groupedData class, which is an extension of the
data.frame class, and use "dump" to create an R-readable version.
To cut down on the size of these files I convert the row.names
attribute from expressions like c("1", "2", ..., "54") to 1:54.
I have run into a curious
2015 Jul 22
2
[LLVMdev] (no subject)
Hello,
I have tried a lot fix this error but am not able to can you please
find me a solution am trying to compile the SAFECode in Cygwin Environment
to work for windows.
used make -j4 command to make the files in cygwin i have got this error
make[5]: Leaving directory
'/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include'
/usr/bin/cp: cannot stat
2010 Mar 05
0
Wine release 1.1.40
...rounding.
oleaut32: Reorder some code to make it easier to read and look like the block above.
oleaut32/tests: Add some tests.
oleaut32: Fix fractional calculation.
oleaut32: Fix localized date parsing.
oleaut32: Fix localized date and time parsing.
oleaut32: Fix FormatString (valgrind).
Arjun Comar (1):
cmd: Fix cmd to take /? as a help parameter.
Aurimas Fi?eras (1):
wordpad: Update Lithuanian translation.
Austin English (2):
ntdll: Add initial support for OpenBSD to fill_cpu_info.
urlmon: Add a stub for AsyncInstallDistributionUnit.
Cha...