Commit Graph

1872 Commits

Author SHA1 Message Date
Eduardo Almeida
0d69659882 core: (fixes #1122) Handle deserializing empty strings in ATTRIBUTE_VALUE_IMPLEMENT
Co-author: AlessioBugetti <alessiobugetti98@gmail.com>
2024-09-03 12:02:46 +00:00
André Apitzsch
2e589e6785 core: Deprecate struct TypeTraits 2024-09-03 01:48:37 +00:00
André Apitzsch
61e310c965 core, test: Use type trait functions from std header 2024-09-03 01:48:37 +00:00
AlessioBugetti
03f04681f5 core: Declare empty constructor as = default in attribute-helper.h 2024-09-02 21:25:06 +00:00
Gabriel Ferreira
4f5b356517 build: Remove NS3_ENABLE_EXAMPLES flag
examples_as_tests_dependencies macro adds examples called by tests as CMake target dependencies
2024-08-30 23:57:28 +00:00
Gabriel Ferreira
c3236a29fc build: Refactor build_lib and static/monolib target setups 2024-08-30 23:57:28 +00:00
Eduardo Almeida
ef83c82e95 core: Add conditional compilation guards to int64x64*.cc files 2024-08-29 23:21:21 +00:00
Eduardo Almeida
c455e4a360 core: Split C++ include guards from int64x64 include logic 2024-08-29 23:21:21 +00:00
Eduardo Almeida
e8ed6a539c Fix Doxygen formatting 2024-08-29 01:03:20 +00:00
Sébastien Deronne
7b0c6c62bc core: Add test for largest extreme value random distribution 2024-08-20 18:04:33 +00:00
Sébastien Deronne
73474d22dc core: Add largest extreme value random distribution 2024-08-20 18:04:33 +00:00
Sébastien Deronne
287ae60ae3 core: Add test for laplacian random distribution 2024-08-20 18:04:33 +00:00
Sébastien Deronne
a9ffe7821e core: Add laplacian random distribution 2024-08-20 18:04:33 +00:00
Sébastien Deronne
13e30c04b5 core: Extend random variable tests to verify calculated mean for Weibull distribution 2024-08-20 18:04:33 +00:00
Sébastien Deronne
c834704d89 core: Add functions to calculate mean for Weibull distribution 2024-08-20 18:04:33 +00:00
Gabriel Ferreira
6729775f0f core: (fixes #1118) Demangle EnumValue typenames for doxygen 2024-08-14 15:48:20 +00:00
Gabriel Ferreira
7a55c57c9a core: Separate C++ demangler from CallbackImplBase 2024-08-14 15:48:20 +00:00
Tolik Zinovyev
92173503ec core: replace #define'd HP_MAX_64 with static constexpr. 2024-06-19 19:59:54 +00:00
Sébastien Deronne
6dfd7f10f0 core: Extend attribute container serialization test for a vector of tuples 2024-06-17 18:13:20 +00:00
Sébastien Deronne
03e3633fc6 core: Fix typo in attribute container test suite 2024-06-17 18:13:20 +00:00
Kakadus1
781f96eb94 core: Replace TYPE_NAME_GET_DEFINE with TYPENAMEGET_DEFINE 2024-06-04 20:43:50 +00:00
André Apitzsch
1e2c304973 core: Add deprecated for ns-3.43 2024-06-04 18:21:11 +00:00
pagmatt
bf97cbf1d3 core: Add Vector dot product 2024-05-24 17:23:26 -07:00
pagmatt
4670d4fd61 core: Add TestVector iterator 2024-05-24 17:23:26 -07:00
Stefano Avallone
34b4cf1a30 wifi: Use custom Shuffle implementation instead of std::shuffle
std::shuffle implementation is not guaranteed to return the same
permutation across different libraries
2024-05-24 13:24:48 +00:00
Stefano Avallone
556e901e92 core: Add a function to shuffle ranges of elements 2024-05-24 13:24:48 +00:00
Tolik Zinovyev
c2480dedde core: simplify code, add asserts, remove undefined behavior around int64x64-128. 2024-05-24 12:22:06 +00:00
Gabriel Ferreira
7711e5290e bindings: Remove CreateObject/GetObject tricks 2024-05-19 10:08:50 +00:00
Gabriel Ferreira
4a0091ba6c bindings: Remove injected namespaces 2024-05-19 10:08:50 +00:00
Gabriel Ferreira
95f959932b core: Additional MatrixArray utilities
New features include determinant, Frobenius norm, identity matrix, matrix page copies and matrix page joining
2024-05-16 23:08:11 -03:00
Gabriel Ferreira
01138ef2d7 (fixes #161) Deprecate EventId::IsRunning() and replace it with EventId::IsPending() 2024-05-14 12:40:54 -03:00
Stefano Avallone
2bddd81ec4 core: Initialize EnumValue::m_value
Avoid UB errors (spotted by sanitizers) such as "runtime error: load of
value 52428820, which is not a valid value for type 'WifiPhyBand'
2024-05-14 06:56:46 +00:00
Tommaso Pecorella
d6f2faebc8 core: add Vector scalar multiplication 2024-05-12 19:57:34 +02:00
Eduardo Almeida
79186a8b8b Fix clang-tidy bugprone-branch-clone warnings 2024-05-11 02:56:07 +01:00
Tom Henderson
ddb530c956 core, tests: Reset default values for every TestCase 2024-05-10 00:39:54 +00:00
Stefano Avallone
5840590ed1 core: Inline AttributeContainerValue::CopyFrom to fix build issue in optimized mode 2024-05-09 10:16:35 +02:00
Stefano Avallone
ae7e7f370f core: Add an assert to trickle timer test to fix build issue in optimized mode 2024-05-08 23:21:55 +02:00
Eduardo Almeida
ea058843e9 core: Add ns-3 version to deprecated message 2024-04-26 18:27:22 +00:00
Gabriel Ferreira
a9fb22a442 core: Move Time::StaticInit call to helper constructor 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
3005ac54ef core: Allow bool<std::string> callback functions 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
36b43d9cbf core: Fix TimerImpl maybe uninitialized issue 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
20d013154d core, wifi: Fix MakeEvent stack overflow 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
150fb0e1ce Enable pedantic checks for C++ conformance 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
b4b1bbd739 core: Add missing <tuple> header 2024-04-21 17:02:07 +00:00
André Apitzsch
78f2c1fe94 core: Remove unused int-to-type.h 2024-03-28 10:13:57 +01:00
André Apitzsch
399ff3cccb core: Move TimerImpl to namespace internal 2024-03-28 10:13:57 +01:00
André Apitzsch
9e25d8ef7e core: Refactor TimerImpl with variadic templates 2024-03-28 09:45:52 +01:00
Tommaso Pecorella
fa5c41b30f core: (fixes #1052) silence maybe-uninitialized warning in gcc 13.1 2024-03-27 00:41:26 +01:00
Tommaso Pecorella
41921f6e81 core: add macro to silence 'maybe uninitialized' warnings 2024-03-27 00:41:26 +01:00
Tommaso Pecorella
2c5a7c4f12 core: remove unnecessary 'using' 2024-03-27 00:41:26 +01:00