Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Prog2
/
szorgalmi_feladatok
/
stringpool
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
7e8d2adf
authored
Dec 01, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugix
parent
f72e805e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
test.cpp
+2
-1
No files found.
test.cpp
View file @
7e8d2adf
...
...
@@ -198,9 +198,10 @@ int main() {
pool
.
release
(
pool
.
acquire
(
5
));
EXPECT_EQ
(
1
,
pool
.
free_size
());
EXPECT_EQ
(
1
,
pool
.
size
());
pool
.
release
(
pool
.
acquire
(
15
)
);
RString
&
tmp
=
pool
.
acquire
(
15
);
pool
.
release
(
pool
.
acquire
(
20
));
pool
.
release
(
pool
.
acquire
(
25
));
pool
.
release
(
tmp
);
EXPECT_EQ
(
4
,
pool
.
free_size
());
EXPECT_EQ
(
4
,
pool
.
size
());
RString
&
ref
=
pool
.
acquire
(
15
);
...
...
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