Peter D. Barnes, Jr.
94507fe6f1
bug 954: eliminate valgrind warnings
2013-08-21 15:27:21 -07:00
Peter D. Barnes, Jr.
3fb1d11a1e
[Bug 954] Protect g_markingTimes with a mutex.
2013-08-16 11:10:19 -07:00
Peter D. Barnes, Jr.
eba69d2728
Handle showpos bug in gcc libstc++ 4.2.
2013-08-14 16:55:47 -07:00
Peter D. Barnes, Jr.
39f6b03211
Restore "x.0ns" to result of operator<< (Time)
2013-08-14 16:55:06 -07:00
Peter D. Barnes, Jr.
fbf500f9b0
Fix bug affecting conversion of Time::Min/Time::Max during Time::SetResolution
2013-08-14 16:54:22 -07:00
Peter D. Barnes, Jr.
ffcfd9de72
Trim trailing whitespace, doxygen comments
2013-08-14 16:53:41 -07:00
Peter D. Barnes, Jr.
85e9ba3b48
bug 954: Changing the simulation time resolution does not work well with attributes
...
v.3 Responding to code review comments
https://codereview.appspot.com/6821106/
2013-08-14 16:52:06 -07:00
Tom Henderson
d006cf014f
align command-line test suite to recent changes
2013-08-16 08:28:39 -07:00
Peter D. Barnes, Jr.
8695d856a1
Link to bug num in bug database with \bugid{num}
2013-08-15 12:01:57 -07:00
Peter D. Barnes, Jr.
4a6adc5e51
Make CommandLine print boolean defaults as text.
...
And
- clarify the documentation
- make example arguments more explicit
- make "--boolArg" toggle the value, not set to true (this enables
toggle on default true values)
2013-08-07 10:36:45 -07:00
Peter D. Barnes, Jr.
cb27e3276b
Silence erroneous strict alias warning from a gcc 4.4 bug
...
Casting \c (void*) triggers a strict alias warning bug
in gcc 4.4 (see \bugid{1738}).
In the murmur3 code, data is returned by
\code
void Function (... , void * out)
{
...
*(uint32_t *)out = ...
}
\endcode
which triggers the erroneous warning.
We suppress strict-alias warnings in this compilation unit.
(gcc 4.4 doesn't support the <tt>diagnostic push/pop</tt> pragmas,
so we can't narrow down the suppression any further.)
2013-08-14 12:56:31 -07:00
Alexander Afanasyev
47a985c9ca
[PATCH] core: Extending public interface of CommandLine class
2013-08-13 23:19:31 -07:00
Peter D. Barnes, Jr.
c703785f9e
Restore original casts, see bug 1738
2013-08-02 12:31:16 -07:00
Peter D. Barnes, Jr.
8831c14c0c
Handle showpos bug in gcc libstc++ 4.2.
2013-08-01 16:26:07 -07:00
Vedran Miletić
e1f1e9a1ad
Revert 097891ca7dea (Change upper-bounded TimeChecker to actually do what documentation says) and fix documentation instead
2013-07-26 21:24:35 +02:00
Vedran Miletić
19c09725a9
Change upper-bounded TimeChecker to actually do what documentation says
2013-07-26 14:17:48 +02:00
Peter D. Barnes, Jr.
d14530f0ca
Fix unit conversion of negative Times
...
Thanks to Vedran for finding this.
Example:
Time tneg = Seconds (-1);
NS_LOG_UNCOND ( tneg << ", in s: " << tneg.ToInteger (Time::S));
produces
-1000000000.0ns, in s: 18446744072
Correct result is
-1000000000.0ns, in s: -1
2013-07-25 12:17:08 -07:00
Peter D. Barnes, Jr.
0ae8b1cb8d
[Doxygen] src/core
2013-07-24 17:15:33 -07:00
Peter D. Barnes, Jr.
6385919add
[Doxygen] Organize Core/Random Variables
2013-07-24 17:05:36 -07:00
Peter D. Barnes, Jr.
83e2874283
[Doxygen] Collect Attribute docs into Core/Attributes
2013-07-24 17:03:28 -07:00
Peter D. Barnes, Jr.
53c2bea724
[Doxygen] Move Debugging module to core
2013-07-24 16:42:51 -07:00
Peter D. Barnes, Jr.
3c12e54cb1
[Doxygen] use \internal
2013-07-24 16:31:58 -07:00
Peter D. Barnes, Jr.
77e292a965
Fix output of int64x64_t when value is near min
...
Old:
int64x64_t i = std::numeric_limits<int64_t>::min ();
std::cout << i;
produced:
--9223372036854775808.0
(Note doubled '-' signs)
2013-07-24 11:34:04 -07:00
Peter D. Barnes, Jr.
54f181a609
Label type-id-test-suite TestCases with TestDuration value
2013-07-23 14:08:00 -07:00
Peter D. Barnes, Jr.
8196d37bc1
Fix strict aliasing warning.
2013-07-22 16:13:07 -07:00
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