Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
SWIFT
SWIFTsim
Commits
2ce3b1fc
Commit
2ce3b1fc
authored
9 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
const.
parent
13bd253f
No related branches found
No related tags found
2 merge requests
!136
Master
,
!117
Engine exchange strays
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/proxy.c
+3
-3
3 additions, 3 deletions
src/proxy.c
src/proxy.h
+3
-3
3 additions, 3 deletions
src/proxy.h
with
6 additions
and
6 deletions
src/proxy.c
+
3
−
3
View file @
2ce3b1fc
...
...
@@ -309,8 +309,8 @@ void proxy_parts_exch2(struct proxy *p) {
* @param N The number of parts.
*/
void
proxy_parts_load
(
struct
proxy
*
p
,
struct
part
*
parts
,
struct
x
part
*
x
parts
,
int
N
)
{
void
proxy_parts_load
(
struct
proxy
*
p
,
const
struct
part
*
parts
,
const
struct
xpart
*
xparts
,
int
N
)
{
/* Is there enough space in the buffer? */
if
(
p
->
nr_parts_out
+
N
>
p
->
size_parts_out
)
{
...
...
@@ -348,7 +348,7 @@ void proxy_parts_load(struct proxy *p, struct part *parts, struct xpart *xparts,
* @param N The number of parts.
*/
void
proxy_gparts_load
(
struct
proxy
*
p
,
struct
gpart
*
gparts
,
int
N
)
{
void
proxy_gparts_load
(
struct
proxy
*
p
,
const
struct
gpart
*
gparts
,
int
N
)
{
/* Is there enough space in the buffer? */
if
(
p
->
nr_gparts_out
+
N
>
p
->
size_gparts_out
)
{
...
...
This diff is collapsed.
Click to expand it.
src/proxy.h
+
3
−
3
View file @
2ce3b1fc
...
...
@@ -76,9 +76,9 @@ struct proxy {
/* Function prototypes. */
void
proxy_init
(
struct
proxy
*
p
,
int
mynodeID
,
int
nodeID
);
void
proxy_parts_load
(
struct
proxy
*
p
,
struct
part
*
parts
,
struct
x
part
*
x
parts
,
int
N
);
void
proxy_gparts_load
(
struct
proxy
*
p
,
struct
gpart
*
gparts
,
int
N
);
void
proxy_parts_load
(
struct
proxy
*
p
,
const
struct
part
*
parts
,
const
struct
xpart
*
xparts
,
int
N
);
void
proxy_gparts_load
(
struct
proxy
*
p
,
const
struct
gpart
*
gparts
,
int
N
);
void
proxy_parts_exch1
(
struct
proxy
*
p
);
void
proxy_parts_exch2
(
struct
proxy
*
p
);
void
proxy_addcell_in
(
struct
proxy
*
p
,
struct
cell
*
c
);
...
...
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