摘要: https://github.com/huangz1990/redis-3.0-annotated/blob/unstable/src/sds.c#L120 1 /* SDSLib, A C dynamic strings library 2 * 3 * Copyright (c) ... 阅读全文
posted @ 2014-11-21 23:52 Ryan in C++ 阅读(2794) 评论(0) 推荐(0)
摘要: 学习flexible array member是因为阅读Redis源码遇到的,sds.h中一开始就用到了。==============================================================================================在讲述... 阅读全文
posted @ 2014-11-21 21:27 Ryan in C++ 阅读(586) 评论(0) 推荐(0)