Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
ba3c32a8
Commit
ba3c32a8
authored
Nov 18, 2019
by
Andris Mednis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling: implementation
parent
b8bea6dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
examples/broker/simple_broker.cpp
examples/broker/simple_broker.cpp
+1
-1
libcaf_core/test/request_timeout.cpp
libcaf_core/test/request_timeout.cpp
+3
-3
No files found.
examples/broker/simple_broker.cpp
View file @
ba3c32a8
...
@@ -103,7 +103,7 @@ void read_int(const void* data, uint64_t& storage) {
...
@@ -103,7 +103,7 @@ void read_int(const void* data, uint64_t& storage) {
storage
=
first
|
(
static_cast
<
uint64_t
>
(
second
)
<<
sizeof
(
uint32_t
));
storage
=
first
|
(
static_cast
<
uint64_t
>
(
second
)
<<
sizeof
(
uint32_t
));
}
}
// implemenation of our broker
// implemen
t
ation of our broker
behavior
broker_impl
(
broker
*
self
,
connection_handle
hdl
,
const
actor
&
buddy
)
{
behavior
broker_impl
(
broker
*
self
,
connection_handle
hdl
,
const
actor
&
buddy
)
{
// we assume io_fsm manages a broker with exactly one connection,
// we assume io_fsm manages a broker with exactly one connection,
// i.e., the connection ponted to by `hdl`
// i.e., the connection ponted to by `hdl`
...
...
libcaf_core/test/request_timeout.cpp
View file @
ba3c32a8
...
@@ -273,7 +273,7 @@ CAF_TEST(single_timeout) {
...
@@ -273,7 +273,7 @@ CAF_TEST(single_timeout) {
{
ping_single3
,
"ping_single3"
}};
{
ping_single3
,
"ping_single3"
}};
for
(
auto
f
:
fs
)
{
for
(
auto
f
:
fs
)
{
bool
had_timeout
=
false
;
bool
had_timeout
=
false
;
CAF_MESSAGE
(
"test implemenation "
<<
f
.
second
);
CAF_MESSAGE
(
"test implemen
t
ation "
<<
f
.
second
);
auto
testee
=
sys
.
spawn
(
f
.
first
,
&
had_timeout
,
auto
testee
=
sys
.
spawn
(
f
.
first
,
&
had_timeout
,
sys
.
spawn
<
lazy_init
>
(
pong
));
sys
.
spawn
<
lazy_init
>
(
pong
));
CAF_REQUIRE_EQUAL
(
sched
.
jobs
.
size
(),
1u
);
CAF_REQUIRE_EQUAL
(
sched
.
jobs
.
size
(),
1u
);
...
@@ -296,7 +296,7 @@ CAF_TEST(nested_timeout) {
...
@@ -296,7 +296,7 @@ CAF_TEST(nested_timeout) {
{
ping_nested3
,
"ping_nested3"
}};
{
ping_nested3
,
"ping_nested3"
}};
for
(
auto
f
:
fs
)
{
for
(
auto
f
:
fs
)
{
bool
had_timeout
=
false
;
bool
had_timeout
=
false
;
CAF_MESSAGE
(
"test implemenation "
<<
f
.
second
);
CAF_MESSAGE
(
"test implemen
t
ation "
<<
f
.
second
);
auto
testee
=
sys
.
spawn
(
f
.
first
,
&
had_timeout
,
auto
testee
=
sys
.
spawn
(
f
.
first
,
&
had_timeout
,
sys
.
spawn
<
lazy_init
>
(
pong
));
sys
.
spawn
<
lazy_init
>
(
pong
));
CAF_REQUIRE_EQUAL
(
sched
.
jobs
.
size
(),
1u
);
CAF_REQUIRE_EQUAL
(
sched
.
jobs
.
size
(),
1u
);
...
@@ -325,7 +325,7 @@ CAF_TEST(multiplexed_timeout) {
...
@@ -325,7 +325,7 @@ CAF_TEST(multiplexed_timeout) {
{
ping_multiplexed3
,
"ping_multiplexed3"
}};
{
ping_multiplexed3
,
"ping_multiplexed3"
}};
for
(
auto
f
:
fs
)
{
for
(
auto
f
:
fs
)
{
bool
had_timeout
=
false
;
bool
had_timeout
=
false
;
CAF_MESSAGE
(
"test implemenation "
<<
f
.
second
);
CAF_MESSAGE
(
"test implemen
t
ation "
<<
f
.
second
);
auto
testee
=
sys
.
spawn
(
f
.
first
,
&
had_timeout
,
auto
testee
=
sys
.
spawn
(
f
.
first
,
&
had_timeout
,
sys
.
spawn
<
lazy_init
>
(
pong
));
sys
.
spawn
<
lazy_init
>
(
pong
));
CAF_REQUIRE_EQUAL
(
sched
.
jobs
.
size
(),
1u
);
CAF_REQUIRE_EQUAL
(
sched
.
jobs
.
size
(),
1u
);
...
...
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