This website works better with JavaScript.
Home
Explore
Help
Sign In
kornerr
/
research-portable-memory
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
d
main
Михаил Капелько
9 months ago
parent
1d5d88e315
commit
a9f19bdf41
2 changed files
with
6 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
language-C++/Memory/src/Memory.Aux.cpp
+2
-2
language-Swift/Memory/src/Memory.Test.swift
+ 4
- 2
language-C++/Memory/src/Memory.Aux.cpp
View File
@@ -7,8 +7,10 @@ std::map<int, int> memory_generateConstPlayfield(
std::map<int, int> idGroups;
int id = 0;
for (int gid = 0; gid < n; ++gid) {
idGroups[id++] = gid;
idGroups[id++] = gid;
idGroups[id] = gid;
id += 1;
idGroups[id] = gid;
id += 1;
}
return idGroups;
}
+ 2
- 2
language-Swift/Memory/src/Memory.Test.swift
View File
@@ -9,6 +9,6 @@ func test_memory_generateConstPlayfield() -> String {
) {
return "OK: memory_generateConstPlayfield"
}
return "ERR: memory_generateConstPlayfield"
;
return "ERR: memory_generateConstPlayfield"
}
Write
Preview
Loading…
Cancel
Save