最后活跃于 1729596854

knox 修订了这个 Gist 1729596854. 跳至此修订

1 file changed, 9 insertions

Redis-readme-2.c(file created)

@@ -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 + };
更新 更早