Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SaCS
Semester-Projects-Spring22
decentralizepy-sgx
Commits
6ddb21a3
Commit
6ddb21a3
authored
Jun 06, 2022
by
Paul Nadal
💻
Browse files
c++ version
parent
e7f525de
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/decentralizepy/sharing/average.cpp
View file @
6ddb21a3
...
...
@@ -6,7 +6,7 @@ using json = nlohmann::json;
extern
"C"
{
char
*
enclav
e
(
char
*
buffer
)
{
char
*
averag
e
(
char
*
buffer
)
{
const
json
json_object
=
json
::
parse
(
buffer
);
const
int
n_neighbors
=
json_object
[
"n_neighbors"
].
get
<
int
>
();
...
...
src/decentralizepy/sharing/average.o
View file @
6ddb21a3
No preview for this file type
src/decentralizepy/sharing/average.so
View file @
6ddb21a3
No preview for this file type
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment