Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whitespace cleanup #2

Merged
merged 2 commits into from
Nov 12, 2019

Conversation

Karsten1987
Copy link
Contributor

@Karsten1987 Karsten1987 commented Oct 25, 2019

fixes #5

as per title. There are a bunch of trailing whitespaces in iceoryx at the moment.

Signed-off-by: Knese Karsten karsten.knese@us.bosch.com

Signed-off-by: Knese Karsten <karsten.knese@us.bosch.com>
@mossmaurice
Copy link
Contributor

Hi,

thanks for this PR! Especially trailing white spaces are a pain. Could you create an issue and link it with this PR (adding it to the commit message would be great as well) so that one can trace all the changes back to a Github issue?

Cheers!

@dkroenke dkroenke self-requested a review October 26, 2019 17:31
@Karsten1987
Copy link
Contributor Author

@mossmaurice @dkroenke Any update on this?

@@ -29,7 +29,7 @@ using SamplePtr = std::unique_ptr<TopicType, SampleDeleter<TopicType>>;
/// @brief A typed publisher that takes the topic type as template argument
/// A RAII pattern is used with offering the the publisher in c'tor and stop offering in d'tor
/// This class has the limitation that the topic type is a fixed size data structure.
/// I.e. we can get the size of memory to allcoate with the sizeof() operation.
/// I.e. we can get the size of memory to allcoate with the sizeof() operation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*allocate

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in a204c13

@@ -50,8 +50,8 @@ MePooConfig& MePooConfig::setDefaults() noexcept
m_mempoolConfig.push_back({1024 * 1024 * 2, 20});
m_mempoolConfig.push_back({1024 * 1024 * 4, 10});
m_mempoolConfig.push_back({1024 * 1024 * 8, 10});
m_mempoolConfig.push_back({1024 * 1024 * 16, 5});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default mempool configuration reserves nearly 500 megabytes of RAM, with your adaptions it would consume approx. 730 megabytes. Is this intended?

On the side i take the point with me to provide an example with a custom-sized mempool in RouDi for the user.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

legacy changes for presentation.

Signed-off-by: Knese Karsten <karsten.knese@us.bosch.com>
@Karsten1987
Copy link
Contributor Author

Please find the latest commit which addresses your comments.

@mossmaurice mossmaurice merged commit 3c73e0c into eclipse-iceoryx:master Nov 12, 2019
@Karsten1987 Karsten1987 deleted the whitespace_cleanup branch November 12, 2019 18:12
@mossmaurice mossmaurice added the enhancement New feature label Dec 16, 2019
marthtz added a commit to marthtz/iceoryx that referenced this pull request Aug 7, 2020
Signed-off-by: Hintz Martin (CC-AD/ESW1) <martin.hintz@de.bosch.com>
elBoberido added a commit that referenced this pull request Feb 20, 2022
…server-port-to-port-pool-and-port-manager

iox-#27 Add client and server port to PortPool and PortManager  [stacked PR #2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

superfluous whitespaces throughout the codebase
3 participants