Commit Graph

1056 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr.
4eda3b7ea1 Hashed TypeId
Speed LookupByName with std::map, add LookupByHash
Hash chaining, alphabetized
TypeId test suite
2013-07-18 12:01:05 -07:00
Tom Henderson
391d935aee rescan core bindings 2013-07-16 07:14:00 -07:00
Peter D. Barnes, Jr.
f49c7968a5 Change to Time::Min () and Time::Max ()
This avoids a conflict with a (pending) Time::MIN unit.
2013-07-15 15:08:10 -07:00
Peter D. Barnes, Jr.
9ee33b67ca Fix strict aliasing warning. 2013-07-15 14:19:57 -07:00
Peter D. Barnes, Jr.
82e00f603e Tweak Hash docs, fix manual index error 2013-07-11 17:20:11 -07:00
Peter D. Barnes, Jr.
0bdefa312e Hash example program which hashes the dictionary. 2013-07-10 18:22:58 -07:00
Peter D. Barnes, Jr.
8243868539 Remove obsolete typedef. 2012-11-13 16:44:26 -08:00
Peter D. Barnes, Jr.
83ccafd97d Document cached hash state, used for incremental hashing. 2012-11-13 16:42:50 -08:00
Peter D. Barnes, Jr.
4b9a304277 Delete obsolete comment. 2012-11-13 16:42:22 -08:00
Peter D. Barnes, Jr.
efe21f7763 Use uint32/64/_t instead of Hash32/64_t 2012-11-13 16:41:46 -08:00
Peter D. Barnes, Jr.
71f5e2d9ea Document origin of FNV1a code; fix type. 2012-11-13 16:41:15 -08:00
Peter D. Barnes, Jr.
6a6b5699b8 Incremental hashing, fix hash function ptr, additional test cases, check-style. 2012-11-13 16:40:29 -08:00
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
Mitch Watrous
bf886d696f Updatemany modules' Python bindings 2013-07-04 14:27:35 -07: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.
12ea93c5a1 Disambiguate test asserts 2013-07-03 14:45:39 -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
2180f8ad5d move average.h from tools to stats module 2013-06-18 13:42:57 -07:00
Tom Henderson
201f7e084a move event-garbage-collector from tools module to core/helper 2013-06-18 10:05:15 -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.
74542bd5f5 Relabel test classes. 2013-05-29 14:43:59 -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