#include <map>
Go to the source code of this file.
◆ CACHE_BLOCK_ITEM_ADDR
| #define CACHE_BLOCK_ITEM_ADDR |
( |
|
chan, |
|
|
|
buf, |
|
|
|
block |
|
) |
| (&(buf)->m_firstItem+(((unsigned int)(block)<<chan->m_positionToBlockShiftW)+(buf)->lookup[block].m_offsetW)) |
◆ CACHE_BUFFER_HEADER_SIZE
| #define CACHE_BUFFER_HEADER_SIZE (sizeof(struct CacheBufferHeader)) |
◆ CACHE_CHANNEL_EXTEND_SIZE
| #define CACHE_CHANNEL_EXTEND_SIZE 10 |
◆ CACHE_DEFAULT_BUFFER_SIZE
| #define CACHE_DEFAULT_BUFFER_SIZE 32768 |
◆ CACHE_HEADER
Value:
unsigned int m_firstTimestamp; \
unsigned int m_lastTimestamp; \
\
unsigned int m_lastItemPositionW; \
unsigned int m_firstFreePositionW;\
#define CACHE_LOOKUP_TABLE_SIZE
btAlignedObjectArray< int > m_next
GAttributeReader lookup(const void *owner, const AttributeIDRef &attribute_id)
Definition at line 205 of file Cache.hpp.
◆ CACHE_ITEM_ADDR
| #define CACHE_ITEM_ADDR |
( |
|
buf, |
|
|
|
pos |
|
) |
| (&(buf)->m_firstItem+(pos)) |
◆ CACHE_ITEM_DATA_POINTER
◆ CACHE_ITEM_GAPB
| #define CACHE_ITEM_GAPB |
( |
|
item | ) |
(unsigned int)(((size_t)item+sizeof(CacheItem))&(sizeof(void*)-1)) |
◆ CACHE_ITEM_POSITIONW
| #define CACHE_ITEM_POSITIONW |
( |
|
buf, |
|
|
|
item |
|
) |
| (unsigned int)(item-&buf->m_firstItem) |
◆ CACHE_ITEM_SIZEW
◆ CACHE_LOOKUP_TABLE_SIZE
| #define CACHE_LOOKUP_TABLE_SIZE 128 |
◆ CACHE_MAX_ITEM_SIZE
| #define CACHE_MAX_ITEM_SIZE 0x3FFF0 |
◆ CACHE_NEXT_ITEM
| #define CACHE_NEXT_ITEM |
( |
|
item | ) |
((item)+(item)->m_sizeW) |