Commit graph

15 commits

Author SHA1 Message Date
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
Renamed from include/loki/SmallObj.cpp (Browse further)