Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
ed6dc389
Commit
ed6dc389
authored
Nov 29, 2020
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(unet): minor optimizations
parent
f228ac53
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
UNetReceiver.cc
extensions/UNetUDP/UNetReceiver.cc
+0
-0
UNetReceiver.h
extensions/UNetUDP/UNetReceiver.h
+12
-12
No files found.
extensions/UNetUDP/UNetReceiver.cc
View file @
ed6dc389
This diff is collapsed.
Click to expand it.
extensions/UNetUDP/UNetReceiver.h
View file @
ed6dc389
...
@@ -336,18 +336,18 @@ namespace uniset
...
@@ -336,18 +336,18 @@ namespace uniset
CacheVec
cache
;
CacheVec
cache
;
};
};
// ключом является UDPMessage::getDataID()
// ключом является UDPMessage::getDataID()
typedef
std
::
unordered_map
<
long
,
CacheInfo
>
CacheMap
;
typedef
std
::
unordered_map
<
long
,
CacheInfo
>
CacheMap
;
CacheMap
d_icache_map
;
/*!< кэш итераторов для булевых */
CacheMap
d_icache_map
;
/*!< кэш итераторов для булевых */
CacheMap
a_icache_map
;
/*!< кэш итераторов для аналоговых */
CacheMap
a_icache_map
;
/*!< кэш итераторов для аналоговых */
bool
d_cache_init_ok
=
{
false
};
bool
d_cache_init_ok
=
{
false
};
bool
a_cache_init_ok
=
{
false
};
bool
a_cache_init_ok
=
{
false
};
void
ini
tDCache
(
UniSetUDP
::
UDPMessage
&
pack
,
bool
force
=
false
)
noexcept
;
CacheInfo
&
ge
tDCache
(
UniSetUDP
::
UDPMessage
&
pack
,
bool
force
=
false
)
noexcept
;
void
ini
tACache
(
UniSetUDP
::
UDPMessage
&
pack
,
bool
force
=
false
)
noexcept
;
CacheInfo
&
ge
tACache
(
UniSetUDP
::
UDPMessage
&
pack
,
bool
force
=
false
)
noexcept
;
};
};
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
}
// end of namespace uniset
}
// end of namespace uniset
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
#endif // UNetReceiver_H_
#endif // UNetReceiver_H_
...
...
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