[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Why does the xorg server consumes so much memory?
From:       "Pat Kane" <pekane52 () gmail ! com>
Date:       2007-04-29 23:25:02
Message-ID: b3998a500704291625k20b3e8o234dd3b7bfb47366 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


That is probably why they invented the "%#" construct, from TFM:

       #      The  value  should be converted to an ''alternate form''.  For
o
              conversions, the first character of the output  string  is
made
              zero (by prefixing a 0 if it was not zero already).  For x and
X
              conversions, a non-zero result has the string '0x' (or '0X'
for
              X  conversions) prepended to it.  For a, A, e, E, f, F, g, and
G
              conversions, the result will always  contain  a  decimal
point,
              even  if  no digits follow it (normally, a decimal point
appears
              in the results of those conversions only if  a  digit
follows).
              For g and G conversions, trailing zeros are not removed from
the
              result as they would otherwise be.  For other  conversions,
the
              result is undefined.

aye should be 0x..


Argv,
Pat
---

[Attachment #5 (text/html)]

That is probably why they invented the &quot;%#&quot; construct, from \
TFM:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
The&nbsp; value&nbsp; should be converted to an ''alternate form''.&nbsp; For \
o<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
conversions, the first character of the output&nbsp; string&nbsp; is&nbsp; made \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
zero (by prefixing a 0 if it was not zero already).&nbsp; For x and \
X<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
conversions, a non-zero result has the string '0x' (or '0X'&nbsp; \
for<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
X&nbsp; conversions) prepended to it.&nbsp; For a, A, e, E, f, F, g, and G \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
conversions, the result will always&nbsp; contain&nbsp; a&nbsp; decimal&nbsp; \
point,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
even&nbsp; if&nbsp; no digits follow it (normally, a decimal point \
appears<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
in the results of those conversions only if&nbsp; a&nbsp; digit&nbsp; follows). \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
For g and G conversions, trailing zeros are not removed from \
the<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
result as they would otherwise be.&nbsp; For other&nbsp; conversions,&nbsp; \
the<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
result is undefined.<br><br><div><blockquote class="gmail_quote" style="border-left: \
1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> aye \
should be 0x..&nbsp;</blockquote><br></div>Argv,<br>Pat<br>---<br><br>



_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic