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
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
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
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
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
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
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