summaryrefslogtreecommitdiff
path: root/lib/HTree.cc
diff options
context:
space:
mode:
authorPixel <>2001-03-05 01:31:31 +0000
committerPixel <>2001-03-05 01:31:31 +0000
commit04d8a10293bdb5407127dc7693da33e168fa4d5c (patch)
tree565999a7a82585f9f5b310e1706a4107b5bd7331 /lib/HTree.cc
parentdfd868ecf9e37a5e6954a073c3ba43a970f7ca54 (diff)
Changement d'indentation
Diffstat (limited to 'lib/HTree.cc')
-rw-r--r--lib/HTree.cc24
1 files changed, 16 insertions, 8 deletions
diff --git a/lib/HTree.cc b/lib/HTree.cc
index 682ac14..3910ce3 100644
--- a/lib/HTree.cc
+++ b/lib/HTree.cc
@@ -34,7 +34,8 @@ ostream & HTree::Trace(ostream & os, int d)
static int rsize;
static int dsize;
- if (!d) tsize = rsize = dsize = 0;
+ if (!d)
+ tsize = rsize = dsize = 0;
if (objet) {
cmpr[d] = '\0';
@@ -52,14 +53,21 @@ ostream & HTree::Trace(ostream & os, int d)
right->Trace(os, d + 1);
}
}
-
+
if (!d) {
- os << _("Bitstream length : ") << tsize << _(" bits (= ") << ((tsize >> 3) + (tsize & 7 ? 1 : 0)) << _(" bytes)\n");
- os << _("Real size input : ") << (rsize << 3) << _(" bits (= ") << rsize << _(" bytes)\n");
- os << _("Size squeezed by : ") << 100.0 - 100.0 * tsize / (rsize << 3) << _(" percents\n");
- os << _("Dictionnary size : ") << (dsize << 3) << _(" bits (= ") << dsize << _(" bytes)\n");
- os << _("Total bitstream length : ") << tsize + (dsize << 3) << _(" bits (= ") << ((tsize >> 3) + (tsize & 7 ? 1 : 0) + dsize) << _(" bytes)\n");
- os << _("Real gain (4 bytes header) : ") << 100.0 - 100.0 * ((tsize >> 3) + (tsize & 7 ? 1 : 0) + dsize + 4) / rsize << _(" percents\n");
+ os << _("Bitstream length : ") << tsize << _(" bits (= ") << ((tsize >> 3) +
+ (tsize & 7 ? 1 : 0)) <<
+ _(" bytes)\n");
+ os << _("Real size input : ") << (rsize << 3) << _(" bits (= ") << rsize << _(" bytes)\n");
+ os << _("Size squeezed by : ") << 100.0 - 100.0 * tsize / (rsize << 3) << _(" percents\n");
+ os << _("Dictionnary size : ") << (dsize << 3) << _(" bits (= ") << dsize << _(" bytes)\n");
+ os << _("Total bitstream length : ") << tsize + (dsize << 3) << _(" bits (= ") << ((tsize >> 3) +
+ (tsize & 7 ? 1 :
+ 0) +
+ dsize) <<
+ _(" bytes)\n");
+ os << _("Real gain (4 bytes header) : ") << 100.0 - 100.0 * ((tsize >> 3) + (tsize & 7 ? 1 : 0) +
+ dsize + 4) / rsize << _(" percents\n");
}
return os;
}