ooRexx
4.2.0-source
About: ooRexx (Open Object Rexx) is a free implementation of Object Rexx. Object Rexx is an enhancement of the classic Rexx interpreter; a full-featured programming language with a human-oriented syntax. Fossies Dox: ooRexx-4.2.0-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file. 45 #ifndef Included_DeadObject 46 #define Included_DeadObject 63 inline void *
operator new(
size_t size,
void *address) {
return address; };
64 inline void operator delete(
void *,
void *) {;}
140 inline void init(
const char * poolID) {
144 allocationReclaim = 0;
146 allocationMisses = 0;
152 #define ReorderThreshold 100 154 inline void setID(
const char *poolID) { this->
id = poolID; }
181 if (newObject->
isReal()) {
203 if (newLength >= length) {
208 newObject = newObject->
next;
225 if (newLength >= length) {
234 *realLength = newLength;
243 if (tailLength > length)
248 tailObject = nextObject;
254 newObject = newObject->
next;
280 if (newObject != NULL) {
292 inline void logReclaim() { allocationReclaim++; }
293 inline void logHit() { allocationHits++; }
294 inline void logMiss() { allocationMisses; }
295 inline void clearProfile() { allocationCount = 0; allocationReclaim = 0; allocationHits = 0; allocationMisses = 0; }
308 size_t allocationCount;
309 size_t allocationReclaim;
310 size_t allocationHits;
311 size_t allocationMisses;
void addSortedByLocation(DeadObject *obj)
void addSingle(DeadObject *obj)
DeadObject * getFirstSingle()
void checkObjectOverlap(DeadObject *obj)
void init(const char *poolID)
DeadObject * firstBlock()
DeadObject * findBestFit(size_t length)
void setObjectSize(size_t newSize)
DeadObject * findFit(size_t length, size_t *realLength)
void setID(const char *poolID)
void checkObjectGrain(DeadObject *obj)
DeadObject * findSmallestFit(size_t minSize)
DeadObject(size_t objectSize)
void insertAfter(DeadObject *newDead)
void dumpMemoryProfile(FILE *outfile)
void insertBefore(DeadObject *newDead)
void addSortedBySize(DeadObject *obj)
void add(DeadObject *obj)
bool overlaps(DeadObject *o)
void addEyeCatcher(const char *string)
DeadObjectPool(const char *poolID)
DeadObject * findFit(size_t length)