Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4a15a669
authored
Mar 31, 2015
by
Tobias Fuchs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
containers_cpp: fixed cpplint warnings
parent
9e2febab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
algorithms_cpp/include/embb/algorithms/internal/partition-inl.h
+2
-2
algorithms_cpp/test/partitioner_test.cc
+2
-2
No files found.
algorithms_cpp/include/embb/algorithms/internal/partition-inl.h
View file @
4a15a669
...
@@ -116,8 +116,8 @@ const ChunkDescriptor<RAI>
...
@@ -116,8 +116,8 @@ const ChunkDescriptor<RAI>
if
(
index
<=
bigger_chunk_count_
)
{
if
(
index
<=
bigger_chunk_count_
)
{
prec_elements_count
=
index
*
(
standard_chunk_size_
+
1
);
prec_elements_count
=
index
*
(
standard_chunk_size_
+
1
);
}
else
{
}
else
{
prec_elements_count
=
prec_elements_count
=
(
standard_chunk_size_
+
1
)
*
bigger_chunk_count_
+
(
standard_chunk_size_
+
1
)
*
bigger_chunk_count_
+
(
standard_chunk_size_
*
(
index
-
bigger_chunk_count_
));
(
standard_chunk_size_
*
(
index
-
bigger_chunk_count_
));
}
}
size_t
cur_elements_count
=
(
index
<
bigger_chunk_count_
)
size_t
cur_elements_count
=
(
index
<
bigger_chunk_count_
)
...
...
algorithms_cpp/test/partitioner_test.cc
View file @
4a15a669
...
@@ -133,4 +133,5 @@ void PartitionerTest::TestLargeRange() {
...
@@ -133,4 +133,5 @@ void PartitionerTest::TestLargeRange() {
last_value_prev
=
last_value
;
last_value_prev
=
last_value
;
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment