Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
683bf1d7
Unverified
Commit
683bf1d7
authored
Oct 14, 2019
by
Luca Boccassi
Committed by
GitHub
Oct 14, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3713 from mdionisio/useless_ceil
avoid to use std::ceil
parents
c1ff4c2b
f07f47b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
mdionisio.md
RELICENSE/mdionisio.md
+13
-0
decoder_allocators.cpp
src/decoder_allocators.cpp
+1
-5
No files found.
RELICENSE/mdionisio.md
0 → 100644
View file @
683bf1d7
# Permission to Relicense under MPLv2
This is a statement by Thomas M. DuBuisson
that grants permission to relicense its copyrights in the libzmq C++
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2).
A portion of the commits made by the Github handle "mdionisio", with
commit author "Michele Dionisio", are copyright of Michele Dionisio.
This document hereby grants the libzmq project team to relicense libzmq,
including all past, present and future contributions of the author listed above.
Michele Dionisio
2019/07/09
src/decoder_allocators.cpp
View file @
683bf1d7
...
...
@@ -30,8 +30,6 @@
#include "precompiled.hpp"
#include "decoder_allocators.hpp"
#include <cmath>
#include "msg.hpp"
zmq
::
shared_message_memory_allocator
::
shared_message_memory_allocator
(
...
...
@@ -40,9 +38,7 @@ zmq::shared_message_memory_allocator::shared_message_memory_allocator (
_buf_size
(
0
),
_max_size
(
bufsize_
),
_msg_content
(
NULL
),
_max_counters
(
static_cast
<
size_t
>
(
std
::
ceil
(
static_cast
<
double
>
(
_max_size
)
/
static_cast
<
double
>
(
msg_t
::
max_vsm_size
))))
_max_counters
((
_max_size
+
msg_t
::
max_vsm_size
-
1
)
/
msg_t
::
max_vsm_size
)
{
}
...
...
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