knox revidoval tento gist . Přejít na revizi
1 file changed, 9 insertions
Redis-readme-2.c(vytvořil soubor)
@@ -0,0 +1,9 @@ | |||
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 | + | }; |
Novější
Starší