Commit Graph

156 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr.
705906ef5e Refactor namespaces 2012-11-13 16:38:48 -08:00
Peter D. Barnes, Jr.
00ae7f99a0 Change clear() to return Hash & instead of Hash * 2012-11-13 16:35:51 -08:00
Peter D. Barnes, Jr.
674f613678 Add Hash::clear() to restore initial internal state of hasher 2012-11-13 16:35:21 -08:00
Peter D. Barnes, Jr.
94d417c60f Refactor to make include order explicit, without guards. 2012-11-13 16:34:34 -08:00
Peter D. Barnes, Jr.
62fd21d15a Fix Hash (Ptr<HashFunc>) implementation, check for null m_impl, add test cases 2012-11-13 16:32:31 -08:00
Peter D. Barnes, Jr.
fe70b486a9 Fix FNV1_32A_INIT, FNV1A_64_INIT defines to include full namespace qualification. 2012-11-13 16:31:48 -08:00
Peter D. Barnes, Jr.
a2019b566f Add FNV1a, manual documentation. 2012-11-13 16:30:38 -08:00
Peter D. Barnes, Jr.
0564f7e024 Use Hash32_t, Hash64_t typedefs to indicate that hashes are opaque. 2012-11-13 16:26:07 -08:00
Peter D. Barnes, Jr.
1b09cf3092 General hash interface, with replaceable hash functions, defaults to murmur3. 2012-11-13 16:24:59 -08:00
Peter D. Barnes, Jr.
4b09ce3268 CommandLine callback example, show user defaults, code cleanup 2013-07-09 13:14:19 -07:00
Vedran Miletić
b5891dce41 Replace <limits.h> include by <climits> 2013-07-06 16:55:33 +02:00
Vedran Miletić
f97431bf10 Clean up core module for building with Clang
This means removing unused private variables in random-variable-stream.{cc,h} and system-thread.h and fixing removing bad static_casts in calendar-scheduler.cc.
2013-07-05 14:35:20 +02:00
Vedran Miletić
b47d4aac23 Add missing limits.h include to nstime.h and print-introspected-doxygen.cc 2013-07-04 15:57:10 +02:00
Peter D. Barnes, Jr.
c35b78f59f Doc tweaks 2013-07-03 15:06:34 -07:00
Peter D. Barnes, Jr.
e3611c4078 Doxygenate todo's 2013-07-03 14:43:10 -07:00
Peter D. Barnes, Jr.
a7d87403f6 Time attributes with enforced bounds.
The following stanza in GetTypeId() will restrict the value to

    -5s  <=  m_timeWithBounds  <= 10s

.AddAttribute ("TestTimeWithBounds", "help text",
               TimeValue (Seconds (-2)),
               MakeTimeAccessor (&AttributeObjectTest::m_timeWithBounds),
               MakeTimeChecker (Seconds (-5), Seconds (10)))
2013-07-03 11:19:21 -07:00
Peter D. Barnes, Jr.
e468df69c9 Repair Time docs mangled by f0be2daaa38f 2013-07-03 10:53:00 -07:00
Peter D. Barnes, Jr.
198d9f8ce9 Automated merge with file:///Users/barnes26/Code/netsim/ns3/repos/ns-3-dev 2013-06-26 17:32:03 -07:00
Peter D. Barnes, Jr.
351249c559 [Coverity] "erase" invalidates iterator 2013-06-26 17:26:56 -07:00
Peter D. Barnes, Jr.
397b75c1b4 Merge 2013-06-26 16:43:20 -07:00
Tom Henderson
eb8227f290 make core/helper directory; move random-stream helper code there 2013-06-18 09:46:32 -07:00
Peter D. Barnes, Jr.
2b4ec72110 CommandLine: correct license.
Sorry Mathieu ;)
2013-06-14 14:01:19 -07:00
Peter D. Barnes, Jr.
744b0617a5 CommandLine: add Usage message, simplify bool args
Accept obvious bool arguments:  --arg --arg=t --arg=true
Get program name from argv[0]
Example program
Doxygenate
2013-06-14 13:54:39 -07:00
Peter D. Barnes, Jr.
433a24d419 [Doxygen] use \deprecated 2013-06-11 17:27:05 -07:00
Peter D. Barnes, Jr.
51550a9e39 doxygenate type-traits 2013-06-11 16:48:13 -07:00
Peter D. Barnes, Jr.
bc13311955 doxygenate simulator group 2013-06-11 16:45:49 -07:00
Peter D. Barnes, Jr.
881223720e doxygenate callbacks 2013-06-11 16:45:01 -07:00
Peter D. Barnes, Jr.
dac21f5413 [Coverity] Not restoring ostream format (STREAM_FORMAT_STATE) 2013-05-28 17:39:46 -07:00
Peter D. Barnes, Jr.
ab03dfed2a [Coverity] Out-of-bounds read (OVERRUN) 2013-05-28 17:29:48 -07:00
Vedran Miletić
c0e64dac61 Fix Bug 1669 - ns-3 should support binding two and three (possibly more) arguments 2013-05-25 18:18:00 +02:00
Peter D. Barnes, Jr.
666bcc699f Merge Coverity fixes 2013-05-22 17:58:58 -07:00
Peter D. Barnes, Jr.
80b15ea83f [Coverity] Unchecked return value (CHECKED_RETURN) 2013-05-15 16:26:46 -04:00
Peter D. Barnes, Jr.
764cedd639 [Coverity] Unchecked dynamic_cast (FORWARD_NULL) 2013-05-15 15:47:58 -04:00
Peter D. Barnes, Jr.
2af3c22d07 [Coverity] Dereference before null check (REVERSE_INULL) 2013-05-15 14:00:06 -04:00
Peter D. Barnes, Jr.
51eb08677b [Coverity] Not restoring ostream format (STREAM_FORMAT_STATE) 2013-05-15 10:09:33 -04:00
Vedran Miletić
53ec6a479e Rename Start and DoStart methods to Initialize and DoInitialize
The goal of this patch is to allows us to differentiate the Start/Stop
functionality present in some classes from Initialize/Dispose functionality.
2013-04-19 22:39:55 +02:00
Vedran Miletić
6919cef0b3 Backed out changeset e1e45baa7046, adding comment to log.cc to prevent confusion 2013-04-13 14:33:02 +02:00
Vedran Miletić
e5cd4dbd4e Remove extra whitespace in some LogLevel labels 2013-04-13 13:44:13 +02:00
Mitch Watrous
bf393eb7d7 Bug 1563 - reduce valgrind test scope 2013-04-01 11:34:43 -07:00
Nicola Baldo
b69928a648 bug 1563: get rid of default argument value in AddTestCase 2013-03-22 13:14:38 +01:00
Mitch Watrous
ae7af15b04 Allow three speeds of test cases to be skipped 2013-03-19 13:14:12 -07:00
Tom Henderson
5d2eb34994 bug 1603: fix logging in static function 2013-03-17 22:10:16 -07:00
Mitch Watrous
602ad906c4 Fix typo 2013-03-14 16:20:54 -07:00
Mitch Watrous
e040356d56 Allow very slow test cases to be skipped 2013-03-14 14:54:45 -07:00
Tom Henderson
5aca64e824 remove logging from Time operators 2012-12-16 17:02:18 -08:00
Tom Henderson
f1734920c9 bug 954: back out changesets 1a2abe07b53d, 8934b7c0c1cb, and 8ef8d8bae350 2012-12-15 23:02:03 -08:00
Tom Henderson
5bceaed171 turn down logging verbosity 2012-12-15 11:32:58 -08:00
Mitch Watrous
51b1212de9 Remove more log messages from operators and copy constructors 2012-12-14 14:07:33 -08:00
Tom Henderson
53931dd4ca bug 1549: remove logging statements causing stack overflows 2012-12-12 22:43:49 -08:00
Mathieu Lacage
6fae6e5605 try to nail down some of the subtler aspects of calling Time::SetResolution 2012-12-12 04:50:46 -05:00