├── .gitattributes ├── .gitignore ├── README.md ├── READ_ME.txt ├── baseinfo ├── asciilogo.h └── version.h ├── data ├── aof.c ├── config.c ├── config.h ├── db.c ├── multi.c ├── rdb.c ├── rdb.h └── replication.c ├── event ├── ae.c ├── ae.h ├── ae_epoll.c ├── ae_evport.c ├── ae_kqueue.c └── ae_select.c ├── main ├── redis-cli.c ├── redis.c └── redis.h ├── net ├── anet.c ├── anet.h └── networking.c ├── struct ├── adlist.c ├── adlist.h ├── dict.c ├── dict.h ├── sds.c ├── sds.h ├── sparkline.c ├── sparkline.h ├── t_hash.c ├── t_list.c ├── t_set.c ├── t_string.c ├── t_zset.c ├── ziplist.c ├── ziplist.h ├── zipmap.c └── zipmap.h ├── test ├── memtest.c ├── redis-benchmark.c ├── redis-check-aof.c ├── redis-check-dump.c └── testhelp.h ├── tool ├── bitops.c ├── crc64.c ├── crc64.h ├── debug.c ├── endianconv.c ├── endianconv.h ├── help.h ├── lzf.h ├── lzfP.h ├── lzf_c.c ├── lzf_d.c ├── rand.c ├── rand.h ├── release.c ├── sha1.c ├── sha1.h ├── util.c └── util.h └── wrapper ├── bio.c ├── bio.h ├── latency.c ├── latency.h ├── notify.c ├── object.c ├── pubsub.c ├── rio.c ├── rio.h ├── slowlog.c ├── slowlog.h ├── zmalloc.c └── zmalloc.h /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/README.md -------------------------------------------------------------------------------- /READ_ME.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/READ_ME.txt -------------------------------------------------------------------------------- /baseinfo/asciilogo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/baseinfo/asciilogo.h -------------------------------------------------------------------------------- /baseinfo/version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/baseinfo/version.h -------------------------------------------------------------------------------- /data/aof.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/aof.c -------------------------------------------------------------------------------- /data/config.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/config.c -------------------------------------------------------------------------------- /data/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/config.h -------------------------------------------------------------------------------- /data/db.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/db.c -------------------------------------------------------------------------------- /data/multi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/multi.c -------------------------------------------------------------------------------- /data/rdb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/rdb.c -------------------------------------------------------------------------------- /data/rdb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/rdb.h -------------------------------------------------------------------------------- /data/replication.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/data/replication.c -------------------------------------------------------------------------------- /event/ae.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/event/ae.c -------------------------------------------------------------------------------- /event/ae.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/event/ae.h -------------------------------------------------------------------------------- /event/ae_epoll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/event/ae_epoll.c -------------------------------------------------------------------------------- /event/ae_evport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/event/ae_evport.c -------------------------------------------------------------------------------- /event/ae_kqueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/event/ae_kqueue.c -------------------------------------------------------------------------------- /event/ae_select.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/event/ae_select.c -------------------------------------------------------------------------------- /main/redis-cli.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/main/redis-cli.c -------------------------------------------------------------------------------- /main/redis.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/main/redis.c -------------------------------------------------------------------------------- /main/redis.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/main/redis.h -------------------------------------------------------------------------------- /net/anet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/net/anet.c -------------------------------------------------------------------------------- /net/anet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/net/anet.h -------------------------------------------------------------------------------- /net/networking.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/net/networking.c -------------------------------------------------------------------------------- /struct/adlist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/adlist.c -------------------------------------------------------------------------------- /struct/adlist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/adlist.h -------------------------------------------------------------------------------- /struct/dict.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/dict.c -------------------------------------------------------------------------------- /struct/dict.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/dict.h -------------------------------------------------------------------------------- /struct/sds.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/sds.c -------------------------------------------------------------------------------- /struct/sds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/sds.h -------------------------------------------------------------------------------- /struct/sparkline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/sparkline.c -------------------------------------------------------------------------------- /struct/sparkline.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/sparkline.h -------------------------------------------------------------------------------- /struct/t_hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/t_hash.c -------------------------------------------------------------------------------- /struct/t_list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/t_list.c -------------------------------------------------------------------------------- /struct/t_set.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/t_set.c -------------------------------------------------------------------------------- /struct/t_string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/t_string.c -------------------------------------------------------------------------------- /struct/t_zset.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/t_zset.c -------------------------------------------------------------------------------- /struct/ziplist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/ziplist.c -------------------------------------------------------------------------------- /struct/ziplist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/ziplist.h -------------------------------------------------------------------------------- /struct/zipmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/zipmap.c -------------------------------------------------------------------------------- /struct/zipmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/struct/zipmap.h -------------------------------------------------------------------------------- /test/memtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/test/memtest.c -------------------------------------------------------------------------------- /test/redis-benchmark.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/test/redis-benchmark.c -------------------------------------------------------------------------------- /test/redis-check-aof.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/test/redis-check-aof.c -------------------------------------------------------------------------------- /test/redis-check-dump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/test/redis-check-dump.c -------------------------------------------------------------------------------- /test/testhelp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/test/testhelp.h -------------------------------------------------------------------------------- /tool/bitops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/bitops.c -------------------------------------------------------------------------------- /tool/crc64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/crc64.c -------------------------------------------------------------------------------- /tool/crc64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/crc64.h -------------------------------------------------------------------------------- /tool/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/debug.c -------------------------------------------------------------------------------- /tool/endianconv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/endianconv.c -------------------------------------------------------------------------------- /tool/endianconv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/endianconv.h -------------------------------------------------------------------------------- /tool/help.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/help.h -------------------------------------------------------------------------------- /tool/lzf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/lzf.h -------------------------------------------------------------------------------- /tool/lzfP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/lzfP.h -------------------------------------------------------------------------------- /tool/lzf_c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/lzf_c.c -------------------------------------------------------------------------------- /tool/lzf_d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/lzf_d.c -------------------------------------------------------------------------------- /tool/rand.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/rand.c -------------------------------------------------------------------------------- /tool/rand.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/rand.h -------------------------------------------------------------------------------- /tool/release.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/release.c -------------------------------------------------------------------------------- /tool/sha1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/sha1.c -------------------------------------------------------------------------------- /tool/sha1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/sha1.h -------------------------------------------------------------------------------- /tool/util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/util.c -------------------------------------------------------------------------------- /tool/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/tool/util.h -------------------------------------------------------------------------------- /wrapper/bio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/bio.c -------------------------------------------------------------------------------- /wrapper/bio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/bio.h -------------------------------------------------------------------------------- /wrapper/latency.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/latency.c -------------------------------------------------------------------------------- /wrapper/latency.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/latency.h -------------------------------------------------------------------------------- /wrapper/notify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/notify.c -------------------------------------------------------------------------------- /wrapper/object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/object.c -------------------------------------------------------------------------------- /wrapper/pubsub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/pubsub.c -------------------------------------------------------------------------------- /wrapper/rio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/rio.c -------------------------------------------------------------------------------- /wrapper/rio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/rio.h -------------------------------------------------------------------------------- /wrapper/slowlog.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/slowlog.c -------------------------------------------------------------------------------- /wrapper/slowlog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/slowlog.h -------------------------------------------------------------------------------- /wrapper/zmalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/zmalloc.c -------------------------------------------------------------------------------- /wrapper/zmalloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linyiqun/Redis-Code/HEAD/wrapper/zmalloc.h --------------------------------------------------------------------------------