rich_sposato
9bd1702def
Added function to trim excess capacity from Chunk container.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@388 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-29 01:54:24 +00:00
rich_sposato
cb2a534d00
Replaced literal constants with class static data members. (for clarity)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@387 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-28 22:34:53 +00:00
syntheticpp
4bdb1d4532
remove warnings when NDEBUG is defined
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@384 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-19 08:05:46 +00:00
syntheticpp
bf9071ebdb
generate library also with the ms toolkit
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@383 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-19 07:54:40 +00:00
rich_sposato
985f330d3d
Added functions to check for corrupted Chunks and FixedAllocators. Made
...
several minor coding changes.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@377 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 22:08:20 +00:00
syntheticpp
d45e0a1b08
new impl for SetLongevity which looks more like c++ and circumvents the usage of the so called (ms) 'deprecated' function copy_backward
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@355 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 15:14:08 +00:00
syntheticpp
7b4424b3fd
more doxygen documentation, modules added
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@348 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 12:43:55 +00:00
syntheticpp
76309d2b5c
more doxygen documentation, modules added
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@347 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 20:01:11 +00:00
rich_sposato
841e406282
Minor changes to documentation comments.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@326 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:50:44 +00:00
rich_sposato
c640203744
Removed unneeded include statements. Changed lines that check for corrupt
...
Chunk. Changed assertions when allocating.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@313 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 18:06:13 +00:00
syntheticpp
d2b327170e
replace tabs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@311 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 13:08:34 +00:00
syntheticpp
0df314b345
remove debug code
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@310 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:44:00 +00:00
syntheticpp
6548c6e1d7
gcc patch
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@305 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:07:23 +00:00
rich_sposato
b53657017a
Added tests for corrupt Chunk. Added cout statements for debugging - and
...
these are inside a #ifdef block.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@303 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-15 00:41:36 +00:00
rich_sposato
c23e9f1e23
Added check for already deleted block. Made Chunk members private.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@302 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 23:16:23 +00:00
rich_sposato
fdd5e4a158
Added another condition to if statement for allocChunk_.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@298 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 22:55:46 +00:00
rich_sposato
a810fb8d0f
Moved emptyChunk_ assignment because code depends upon it. And added if
...
statement before line where allocChunk_ is assigned.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@296 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 22:41:05 +00:00
syntheticpp
bf144a940b
remove some unnecessary code
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@287 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 22:43:00 +00:00
syntheticpp
3156804c37
update build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@285 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 18:14:21 +00:00
syntheticpp
ab34afa8d6
Proposal to solve 'static initialization order fiasco'
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@283 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 17:56:11 +00:00
syntheticpp
dee53adb01
update msvc build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@277 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-29 08:09:17 +00:00
rich_sposato
abe707a047
Moved Chunk out of FixedAllocator class so I could improve efficiency for
...
SmallObjAllocator::Deallocate.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@272 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 00:40:30 +00:00
rich_sposato
e529d13e1b
Changed include path to be direct instead of relying upon project settings.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@271 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 21:38:54 +00:00
syntheticpp
6e99716c13
move macros into LOKI_ namespace
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@269 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 07:33:05 +00:00
syntheticpp
c6e143aba7
add general gcc makefiles
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@257 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:08:48 +00:00
syntheticpp
4043617da0
remove mingw specific makefiles
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@256 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:08:20 +00:00
syntheticpp
9429d59bd4
update include path
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@255 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 16:50:33 +00:00
syntheticpp
202d2cac9d
include as loki/
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@250 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 15:48:29 +00:00
syntheticpp
16ed50847d
gerate lib directory
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@236 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-15 14:48:40 +00:00
syntheticpp
7dac470d9f
add mingw make files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@235 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-15 14:33:27 +00:00
syntheticpp
5c10a8b01c
add mingw make files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@233 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-15 13:52:16 +00:00
syntheticpp
8e64258f52
add buildprocess for msvc also the toolkit (no nmake, no lib)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@231 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-15 12:02:46 +00:00
rich_sposato
c78269f482
Added functions to trim extra memory within allocator. Made a new_handler
...
function for allocator. Added deallocator function for nothrow delete
operator to insure nothing is leaked when constructor throws.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@229 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-09 00:25:00 +00:00
rich_sposato
d740b86c0a
Changed Chunk list to double in size when adding new chunks instead of
...
just incrementing by 1. Changes linear operation into amortized constant
time operation.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@228 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-01 22:15:47 +00:00
syntheticpp
7382c3dde0
replace old implementation with the ingeious from Rich Sposato
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@200 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 13:51:31 +00:00
syntheticpp
784d4d529f
moved source files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@164 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 10:51:17 +00:00