Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nils-Arne Dreier
dune-common
Commits
a835fbd0
Commit
a835fbd0
authored
16 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
spelling
[[Imported from SVN: r5387]]
parent
97519bfd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/poolallocator.hh
+3
-3
3 additions, 3 deletions
common/poolallocator.hh
with
3 additions
and
3 deletions
common/poolallocator.hh
+
3
−
3
View file @
a835fbd0
...
...
@@ -76,7 +76,7 @@ namespace Dune
* size of a pointer memory is wasted.
* @warning Due to aligned issues at the number of bytes of the
* alignment prerequisite (< 4 bytes) are wasted. This effect
* becomes negl
ect
able for big sizes of chunkSize.
* becomes negl
ig
able for big sizes of chunkSize.
*
* \tparam T The type that is allocated by us.
* \tparam s The size of a memory chunk in bytes.
...
...
@@ -228,7 +228,7 @@ namespace Dune
*
* It uses a pool of memory chunks where the objects will be allocated.
* This means that assuming that N objects fit into memory only every N-th
* re
w
uest for an object will result in memory allocation.
* re
q
uest for an object will result in memory allocation.
*
* @warning It is not suitable
* for the use in standard containers as it cannot allocate
...
...
@@ -251,7 +251,7 @@ namespace Dune
enum
{
/**
* @brief The number of object to fit into one memory chunk
* @brief The number of object
s
to fit into one memory chunk
* allocated.
*/
size
=
s
*
sizeof
(
value_type
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment