Commit Graph

786 Commits

Author SHA1 Message Date
Mathieu Lacage
8435bfc4fe add back optimization option 2007-06-07 12:25:40 +02:00
Mathieu Lacage
9cec524f88 rename History::Enable to Packet::EnableMetadata 2007-06-07 12:17:25 +02:00
Mathieu Lacage
fb3786c137 remove dead code 2007-06-07 11:38:06 +02:00
Mathieu Lacage
40e654dd22 store chunkUid and packetUid as fixed-size fields 2007-06-07 11:21:21 +02:00
Mathieu Lacage
d5087e2d90 unconditionally set m_data 2007-06-07 11:00:49 +02:00
Mathieu Lacage
adf49bbc32 fix gcov link 2007-06-07 10:51:25 +02:00
Mathieu Lacage
8361cbab71 try alternative implementation of AddSmall 2007-06-07 10:38:48 +02:00
Mathieu Lacage
49abdbd009 fix Append and optimize GetUleb128Size 2007-06-07 09:38:51 +02:00
Mathieu Lacage
4b95d67bea optimize a bit AddHeader 2007-06-07 09:18:04 +02:00
Mathieu Lacage
a6382422df remove atStart arg to AddBig 2007-06-07 08:13:19 +02:00
Mathieu Lacage
e77c211955 remove ReadSmall and ReadExtra 2007-06-07 07:39:47 +02:00
Mathieu Lacage
8a3e4b7b14 ReadItems does not depend on ReadSmall & ReadExtra 2007-06-07 07:32:10 +02:00
Mathieu Lacage
a0901958a8 make some methods inline 2007-06-06 14:40:48 +02:00
Mathieu Lacage
8e0ccbb45a Update -> UpdateHead + UpdateTail 2007-06-06 14:38:52 +02:00
Mathieu Lacage
1608934b89 simplify a bit the small item logic 2007-06-06 14:32:17 +02:00
Mathieu Lacage
02763bf7cb fix bug introduced in commit 767 2007-06-06 14:19:21 +02:00
Mathieu Lacage
e5b63ce34d add counters 2007-06-06 14:14:22 +02:00
Mathieu Lacage
4ed6463d22 remove Update call from within AddSmall and AddBig 2007-06-06 14:11:22 +02:00
Mathieu Lacage
f348fc4fbc remove useless CanAdd 2007-06-06 13:56:42 +02:00
Mathieu Lacage
07489e7e9c a few micro-optimizations 2007-06-06 13:51:15 +02:00
Mathieu Lacage
eb6eea0f72 make all tests pass 2007-06-06 13:02:00 +02:00
Mathieu Lacage
b0a30b32bb implement ReplaceTail 2007-06-06 12:39:33 +02:00
Mathieu Lacage
2caaf90037 simplify calls to AddBig and AddSmall 2007-06-06 11:30:17 +02:00
Mathieu Lacage
929ea4dab0 share some code, implement AddAtEnd 2007-06-06 11:01:59 +02:00
Mathieu Lacage
5698e745c9 fix a few bugs in ::RemoveAtEnd 2007-06-06 10:04:02 +02:00
Mathieu Lacage
8c03ce9e0c remove data from end of trailer, not start of header 2007-06-06 09:55:01 +02:00
Mathieu Lacage
113e6255ea simplify GetTotalSize 2007-06-06 09:45:23 +02:00
Mathieu Lacage
cbac246ffb fix simple bugs in RemoveAtEnd 2007-06-06 09:43:54 +02:00
Mathieu Lacage
e829515b02 fix fragment printing 2007-06-06 09:23:47 +02:00
Mathieu Lacage
3e511d1457 rewrite PacketHistory::RemoveAtstart 2007-06-06 09:13:21 +02:00
Mathieu Lacage
aabed928b1 make sure that we set the low bit for typeUid when writing a 'big' item 2007-06-06 08:54:11 +02:00
Mathieu Lacage
6816e303ec implement PacketHistory::RemoveAtStart 2007-06-06 08:49:15 +02:00
Mathieu Lacage
1bbf7ce1a2 when doing a copy of a buffer, make sure to clear the prev and next fields 2007-06-05 21:48:26 +02:00
Mathieu Lacage
969ff1267e the mask to filter out the low bit is 0xfe, not 0xfd 2007-06-05 18:28:37 +02:00
Mathieu Lacage
3634046dc7 fix a bunch of buggy asserts 2007-06-05 17:35:22 +02:00
Mathieu Lacage
c3ff0ad584 fix the list iteration logic 2007-06-05 16:40:05 +02:00
Mathieu Lacage
ebfe75384c rename begin to head and end to tail 2007-06-05 16:36:53 +02:00
Mathieu Lacage
bd1dcf3f97 fix field ordering. 2007-06-05 16:33:45 +02:00
Mathieu Lacage
d5e147d400 deal with packet with zero headers correctly 2007-06-05 15:59:07 +02:00
Mathieu Lacage
35dbade0a9 implement PacketHistory::Print 2007-06-05 15:47:29 +02:00
Mathieu Lacage
dc62fabc0b fix addition of a trailer or a header 2007-06-05 14:06:58 +02:00
Mathieu Lacage
47f2db1e23 a new implementation of the PacketHistory API 2007-06-05 13:44:43 +02:00
Mathieu Lacage
62aa29999b remove dead typedef 2007-06-04 09:33:38 +02:00
Mathieu Lacage
a4f727f68d a bunch of optimizations 2007-06-03 20:09:56 +02:00
Mathieu Lacage
a6c8a11881 fix the packet benchmark and enable it 2007-06-02 19:10:35 +02:00
Mathieu Lacage
ce4bcba2e6 Added tag packet-history-working for changeset 0dc81e76166c 2007-06-02 18:36:56 +02:00
Mathieu Lacage
a88ff1f2c4 more tests, fix 2007-06-02 18:32:31 +02:00
Mathieu Lacage
a986e81353 more tests, initial fix. 2007-06-02 18:24:44 +02:00
Mathieu Lacage
b9899de6df more tests 2007-06-02 18:13:19 +02:00
Mathieu Lacage
bebb4eb281 fix build for g++ 4.1 2007-06-02 18:08:04 +02:00