60091bfe56
removed spaces at end of line
2020-04-15 07:53:22 -07:00
Michael Davidsaver
f1553cc90e
Move NOMINMAX to configure/CONFIG_SITE
...
The macro must be defined before MS system headers are
included.
This rev. remove #define NOMINMAX from public headers,
but no public headers use min()/max() and this was
never the correct way to use this macro as by convention
library headers are included after system headers,
which is too late to have an effect.
2018-05-28 11:24:49 -07:00
Michael Davidsaver
787af8de18
BitSet building convenience
...
Allow set()/clear()/flip() to be chained.
Support c++11 initializer lists.
2017-09-07 11:49:07 -05:00
Michael Davidsaver
a3c57a5077
bitSet: add logical_and()/_or()
...
Basic logical operations for tests
where a temporary can be avoided.
2017-04-15 16:19:15 -04:00
Dave Hickin
d9072402db
Update source boilerplate for new LICENSE file
2016-07-22 15:56:43 +01:00
Andrew Johnson
2ee8769752
Prevent redefinition of NOMINMAX
...
While this protection is not strictly necessary here, if someone
does a cut-and-paste into a header file it should be included.
2016-04-06 15:29:30 -05:00
dhickin
bd4b65225c
Merge pull request #28 from mdavidsaver/overhaulbitset
...
bitSet: macros and vector storage
2016-03-17 14:20:20 +00:00
Matej Sekoranja
ae7976fc01
Merge remote-tracking branch 'epics-base/master'
2016-03-06 21:33:43 +01:00
Matej Sekoranja
72f9dc4c7c
win32 compilation fix
2016-03-06 21:29:04 +01:00
Michael Davidsaver
4c32f37ede
bitSet: macros and vector storage
...
use std::vector<uint64> to manage storage.
Make some global variable "constants" into macros.
add swap()
2016-02-18 18:39:32 -05:00
Dave Hickin
faecea39c8
Merge branch 'master' of github.com:msekoranja/pvDataCPP
2016-02-18 15:35:36 +00:00
Michael Davidsaver
d08d5362be
testBitSet: forgot to update test count
2016-02-17 10:53:32 -05:00
Michael Davidsaver
d4292d81f2
BitSet: truncation in or_and
...
For "this |= set1 & set2" the result size
should be "max(this, min(set1, set2))" while
at present it is "min(set1, set2)" resulting
in truncation if the LHS is longer than the
RHS.
2016-02-17 10:17:21 -05:00
Michael Davidsaver
62893e33e9
testBitSet: demo bug in BitSet::or_and
...
Incorrect handling of wordsInUse truncates if
RHS (b1 & b2) is shorter than LHS (b3).
2016-02-17 10:17:16 -05:00
Michael Davidsaver
5b07ecbd01
testBitSet more diag output
2016-02-17 10:17:04 -05:00
Matej Sekoranja
65ff7ab1c3
fixed bitSet serialization
2016-02-12 19:35:44 +01:00
Matej Sekoranja
c6eed12139
String -> std::string, toString methods removed
2014-06-19 14:27:48 +02:00
Matej Sekoranja
9400635fd9
testBitSet: replaced printf with testDiag
2013-11-25 22:07:28 +01:00
Marty Kraimer
4102deceb3
convert all tests to use epicsUnitTest
2013-11-25 15:46:00 -05:00
Marty Kraimer
0f17bd23c7
make bitSet more comnpatible with Java implementation.
2013-10-31 06:03:51 -04:00
Marty Kraimer
5e3311a024
LICENSE, COPYRIGHT, file header
2012-08-22 14:39:19 -04:00
Marty Kraimer
5dcd864c58
more shared_pointer everywhere
2012-07-17 09:23:53 -04:00
Marty Kraimer
619534b984
include files put into include/pv
2011-06-07 08:30:15 -04:00
Michael Davidsaver
277c71c7de
add remaining tests to testAll
2011-02-09 21:08:45 -05:00
Michael Davidsaver
8adb8b7766
rename showConstructDestruct.h to CDRMonitor.h
2011-02-02 10:11:07 -05:00
Michael Davidsaver
103e4bf2cb
switch tests to CDRMonitor
...
Explicit call to epicsExitCallAtExits is needed to
preserve previous order between AtExit cleanup list
and static class destructors.
update llist gold
2011-02-02 10:11:07 -05:00
Marty Kraimer
608d74c400
Fix many memory leaks
2011-01-12 10:28:00 -05:00
Matej Sekoranja
f522fe8e07
StatusCreateFactory moved to misc, bitSet ref. counting added, minor Status mods
2010-12-20 16:17:48 +01:00
Marty Kraimer
ca968cacd0
remove Test from directory names in testApp
2010-12-08 08:30:48 -05:00