History log of /haiku/src/kits/support/BlockCache.cpp
Revision Date Author Comments
# e01de522 10-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

More whitespace cleanup all over the place.


# 4ad0585e 17-Dec-2011 Urias McCullough <umccullough@gmail.com>

Partial fix for DEBUG=1 build on a 64bit host

Signed-off-by: Matt Madia <mattmadia@gmail.com>


# 16ce9822 08-Sep-2003 beveloper <beveloper@nowhere.fake>

better handling of low memory situations inside constructor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4568 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 340eed61 06-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Moved definition of _FreeBlock to the source file and enabled its "magic{1,2}" fields on debug only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 369eef13 07-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Check in per Jeremy Rand: Adjusted implementation to behave like that in R5 -- no more tracking of excess blocks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4523 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6cb536dd 04-Sep-2003 haydentech <haydentech@nowhere.fake>

malloc.h is obsolete, use stdlib.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4508 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a54e42d7 30-Aug-2003 beveloper <beveloper@nowhere.fake>

removed debugger call,
added name to BLocker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4416 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b93355ab 28-Aug-2003 beveloper <beveloper@nowhere.fake>

it was missing these two functions...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4397 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6ecb8ce9 28-Aug-2003 beveloper <beveloper@nowhere.fake>

removed stupid type cast


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ad159f43 28-Aug-2003 beveloper <beveloper@nowhere.fake>

cleaned up meaning of first constructor parameter


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4394 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 188ad70f 28-Aug-2003 beveloper <beveloper@nowhere.fake>

Replaced the broken BBufferCache implementation.
According to the BeBook, it is NOT allowed to allocate one large
pool, instead the memory blocks must be allocated individually.
To achieve O(1) for both Save() and Get() function, only one list
of free blocks is maintained.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4392 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c4d270b 26-Aug-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Check in per Jack Burton: Fixed invalid delete[] in destructor.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4391 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17e6de7a 03-Aug-2003 shadow303 <shadow303@nowhere.fake>

gcc 3 fixes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5123fbe5 28-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added the correct file name to the copyright notice


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1732 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c109ab72 28-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1731 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e75560e6 24-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

Initial checkin.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e01de52283efe0bd8fa107bd493df302c070204e 10-Apr-2015 Michael Lotz <mmlr@mlotz.ch>

More whitespace cleanup all over the place.


# 4ad0585ebc10ceffb04684c10385b7f418b0feab 17-Dec-2011 Urias McCullough <umccullough@gmail.com>

Partial fix for DEBUG=1 build on a 64bit host

Signed-off-by: Matt Madia <mattmadia@gmail.com>


# 16ce982290a7103281a47773004f81bc9b0bf618 08-Sep-2003 beveloper <beveloper@nowhere.fake>

better handling of low memory situations inside constructor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4568 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 340eed61d609dc977624c4590dd50909bccef3f6 06-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Moved definition of _FreeBlock to the source file and enabled its "magic{1,2}" fields on debug only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 369eef1343ed20bf2882d8b05d7690539b02e13a 07-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Check in per Jeremy Rand: Adjusted implementation to behave like that in R5 -- no more tracking of excess blocks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4523 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6cb536dd5b3bc9af928849111f8ddabbee4ee251 04-Sep-2003 haydentech <haydentech@nowhere.fake>

malloc.h is obsolete, use stdlib.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4508 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a54e42d79a6579fbf1b877e37f24c12ff03613a5 30-Aug-2003 beveloper <beveloper@nowhere.fake>

removed debugger call,
added name to BLocker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4416 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b93355ab58a8aa010e9309df800b6b2736c2a8c2 28-Aug-2003 beveloper <beveloper@nowhere.fake>

it was missing these two functions...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4397 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6ecb8ce9a03af1431a9be62295953de193e68b0f 28-Aug-2003 beveloper <beveloper@nowhere.fake>

removed stupid type cast


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ad159f4343ea177ae9921251ea7f2c84879e1abb 28-Aug-2003 beveloper <beveloper@nowhere.fake>

cleaned up meaning of first constructor parameter


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4394 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 188ad70f3dbbd6b16b9cfff32af2203021d4c6e5 28-Aug-2003 beveloper <beveloper@nowhere.fake>

Replaced the broken BBufferCache implementation.
According to the BeBook, it is NOT allowed to allocate one large
pool, instead the memory blocks must be allocated individually.
To achieve O(1) for both Save() and Get() function, only one list
of free blocks is maintained.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4392 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c4d270b2583a013698197d81897a5ce3b748ac6 26-Aug-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Check in per Jack Burton: Fixed invalid delete[] in destructor.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4391 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17e6de7a37c5c61f45eb724de108daa70905cb8f 03-Aug-2003 shadow303 <shadow303@nowhere.fake>

gcc 3 fixes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5123fbe5e322df8805e4e49d6705dd6049f47365 28-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added the correct file name to the copyright notice


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1732 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c109ab72ae91a87fdc67499b0089ac0804003065 28-Oct-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Style changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1731 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e75560e6cbd988dc5a4389b35e99268ed8ac03fe 24-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

Initial checkin.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@433 a95241bf-73f2-0310-859d-f6bbb57e9c96