Redis-readme-2.c
· 326 B · C
Исходник
struct redisObject {
unsigned type:4;
unsigned encoding:4;
unsigned lru:LRU_BITS; /* LRU time (relative to global lru_clock) or
* LFU data (least significant 8 bits frequency
* and most significant 16 bits access time). */
int refcount;
void *ptr;
};
1 | struct redisObject { |
2 | unsigned type:4; |
3 | unsigned encoding:4; |
4 | unsigned lru:LRU_BITS; /* LRU time (relative to global lru_clock) or |
5 | * LFU data (least significant 8 bits frequency |
6 | * and most significant 16 bits access time). */ |
7 | int refcount; |
8 | void *ptr; |
9 | }; |