equal
deleted
inserted
replaced
34 #define TO_NODE_OFFSET(x) ((int)((char *)(x)-(char *)(chunk->data()))) |
34 #define TO_NODE_OFFSET(x) ((int)((char *)(x)-(char *)(chunk->data()))) |
35 #define TO_OFFSET(x) ((int)((char *)(x)-(char *)(chunk->data()))) |
35 #define TO_OFFSET(x) ((int)((char *)(x)-(char *)(chunk->data()))) |
36 |
36 |
37 // this identifier is used to check, if the splay tree is already |
37 // this identifier is used to check, if the splay tree is already |
38 // initialized in given shared chunk |
38 // initialized in given shared chunk |
39 const quintptr INITIALIZED_ALLOCATOR_IDENTIFIER = 0x53504C59; //'SPLY' |
39 const quint32 INITIALIZED_ALLOCATOR_IDENTIFIER = 0x53504C59; //'SPLY' |
40 |
40 |
41 /** |
41 /** |
42 * HbSplayTreeAllocator::initialize |
42 * HbSplayTreeAllocator::initialize |
43 * |
43 * |
44 * Initializes splay tree and internal variables. |
44 * Initializes splay tree and internal variables. |