Commit Graph

39 Commits

Author SHA1 Message Date
Mathieu Lacage
9bbfa99b4c print some statistics about free list efficiency 2007-09-11 13:47:17 +02:00
Mathieu Lacage
ca342d8de2 fix buggy assert 2007-09-10 18:49:00 +02:00
Mathieu Lacage
0c2dd78f3b update carefully m_maxZeroAreaSize and update correctly m_end and m_zeroAreaEnd in RemoveAtStart 2007-09-10 18:43:29 +02:00
Mathieu Lacage
3c81d0423e it is possible to zeroAreaStart to be bigger than the data buffer size 2007-09-10 17:55:39 +02:00
Mathieu Lacage
3fcc420e08 CreateFullCopy: the data area at the end of the buffer starts at m_zeroAreaStart. AddAtStart: the assert should be used only when the optimization is enabled. 2007-09-10 17:43:33 +02:00
Mathieu Lacage
65c099c02a max zero area start can be bigger than m_end if data is removed from end of buffer 2007-09-10 16:57:25 +02:00
Mathieu Lacage
c197a4a62c add state checking and fix Buffer::CreateFullCopy 2007-09-10 16:55:26 +02:00
Mathieu Lacage
e96365a4bc rewrite the buffer code extensively 2007-09-10 16:45:52 +02:00
Mathieu Lacage
1e865deaaf add Buffer::m_zeroAreaStart 2007-09-10 08:54:11 +02:00
Mathieu Lacage
a0e8906575 make Buffer::m_end really represent the end of the data rather than its size 2007-09-09 21:16:05 +02:00
Mathieu Lacage
f13dc2777d Buffer::m_size -> Buffer::m_end 2007-09-09 10:38:22 +02:00
Mathieu Lacage
0f588a8d97 add testcase 2007-09-07 19:51:46 +02:00
Mathieu Lacage
6ce3443a34 add failing testcase 2007-09-07 19:50:40 +02:00
Mathieu Lacage
1e448915d1 get rid of GetIndex 2007-09-07 19:47:06 +02:00
Mathieu Lacage
a9124f0a4a re-implement all Iterator::Write and Iterator::Read methods 2007-09-07 19:39:47 +02:00
Mathieu Lacage
bd1adba17e rewrite Iterator::WriteU8 2007-09-07 19:22:20 +02:00
Mathieu Lacage
39cb30a4be simplify Iterator::GetDistanceFrom method 2007-09-07 18:49:47 +02:00
Mathieu Lacage
6ced31f8b5 add a m_dataStart member in Buffer::Iterator 2007-09-07 18:45:00 +02:00
Mathieu Lacage
74ceb06336 small typo 2007-09-07 17:39:18 +02:00
Mathieu Lacage
ee35d8ada2 move inline code from header to .cc file prior to rework of Buffer 2007-09-07 08:34:46 +02:00
Mathieu Lacage
6e956f6cc3 add Buffer::CreateFullCopy and make TransformInto private 2007-08-04 09:31:52 +02:00
Mathieu Lacage
56d6ee9a1c fix bug 57 2007-07-23 13:58:53 +02:00
Gustavo J. A. M. Carneiro
b239441ff9 Buffer::Iterator::Write (buffer, size) should have a uint32_t parameter, not
uint16_t, else integer overflow may occur.  Fixes bug #54.
2007-07-19 12:48:22 +01:00
Mathieu Lacage
2964b90925 add testcase, fix bug 2007-06-21 11:07:04 +02:00
Mathieu Lacage
438e58cc1c add test and fix buggy assert 2007-06-01 12:42:29 +02:00
Mathieu Lacage
75c78de2b3 a new testcase with the corresponding bug fix. 2007-04-19 22:29:09 +02:00
Mathieu Lacage
d9318db068 convert use of <cassert> to "ns3/assert.h" 2007-02-16 09:56:21 +01:00
Mathieu Lacage
0fade9d7af fix coding style 2006-11-01 13:11:30 +01:00
Mathieu Lacage
df7747bbe6 fix coding style 2006-10-21 11:35:02 +02:00
Mathieu Lacage
90df8d054b change emacs mode to new NS3 elisp mode 2006-10-20 14:17:03 +02:00
Mathieu Lacage
7f8eb2c50b fix coding style 2006-10-06 13:37:25 +02:00
Mathieu Lacage
9f93b7fb53 fix emacs tab mode (reported by george) 2006-10-02 14:34:53 +02:00
Mathieu Lacage
1a510b4a26 replace pointers with references 2006-09-08 18:45:48 +02:00
Mathieu Lacage
f935fe02bd change indent to be 4 spaces 2006-09-05 13:18:11 +02:00
Mathieu Lacage
e57dd3faa5 variable/method/function coding style update 2006-09-05 13:13:39 +02:00
Mathieu Lacage
778ca40af3 member variables coding style change 2006-09-05 12:54:53 +02:00
Mathieu Lacage
28c0b86278 change yans namespace to ns3 2006-08-29 17:55:34 +02:00
Mathieu Lacage
e54c17ecd7 replace yans include with ns3 include 2006-08-29 17:51:04 +02:00
Mathieu Lacage
5c90e561b4 import from yans 2006-08-29 17:42:13 +02:00