上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页
  2021年3月16日
摘要: struct hllhdr { char magic[4]; /* "HYLL" */ 4个字符的魔数HYL uint8_t encoding; /* HLL_DENSE or HLL_SPARSE. */ 密集表示 还是稀疏表示 uint8_t notused[3]; /* Reserved fo 阅读全文
posted @ 2021-03-16 19:13 子虚乌有 阅读(173) 评论(0) 推荐(0)
  2021年3月11日
摘要: /* The Redis HyperLogLog implementation is based on the following ideas: Redis的超对数实现是基于以下的想法: * * The use of a 64 bit hash function as proposed in [1] 阅读全文
posted @ 2021-03-11 17:28 子虚乌有 阅读(196) 评论(0) 推荐(0)
摘要: 做了两个周的项目终于主干测试通过, 至于各种意外情况,后面再看看实际情况。一般一个请求处理用到以下几个状态1apply2dealing3failbook4succbook5fail6succ整体过程如下:接受请求的时候,插入一条数据库的记录,此条记录状态为apply,插入记录成功就返回请求成功,然后 阅读全文
posted @ 2021-03-11 16:19 子虚乌有 阅读(106) 评论(0) 推荐(0)
  2021年3月10日
摘要: import osimport shutil dirpath = "D:\\20210309\\t20210310"isExists = os.path.exists(dirpath)if not isExists: os.makedirs(dirpath) print(dirpath+' 创建成功 阅读全文
posted @ 2021-03-10 11:08 子虚乌有 阅读(58) 评论(0) 推荐(0)
  2021年2月9日
摘要: *********************************************************************************************** 获取zset的元素个数 unsigned long zsetLength(const robj *zobj) 阅读全文
posted @ 2021-02-09 17:40 子虚乌有 阅读(204) 评论(0) 推荐(0)
  2021年2月8日
摘要: *********************************************************************************************** 获取压缩链表中节点的数值 double zzlGetScore(unsigned char *sptr) { 阅读全文
posted @ 2021-02-08 17:27 子虚乌有 阅读(215) 评论(0) 推荐(0)
  2021年2月7日
摘要: *********************************************************************************************** /* Struct to hold a inclusive/exclusive range spec by 阅读全文
posted @ 2021-02-07 17:27 子虚乌有 阅读(114) 评论(0) 推荐(0)
  2021年2月5日
摘要: *********************************************************************************************** typedef struct zskiplistNode { sds ele; 元素 double scor 阅读全文
posted @ 2021-02-05 16:05 子虚乌有 阅读(217) 评论(0) 推荐(0)
  2021年2月2日
摘要: PROBABILISTIC ANALYSIS 概率分析 In addition to analyzing the expected performance of skip lists, we can also analyze the probabilistic performance of skip 阅读全文
posted @ 2021-02-02 20:50 子虚乌有 阅读(152) 评论(0) 推荐(0)
摘要: ALTERNATIVE DATA STRUCTURES替代的数据结构 Balanced trees (e.g., AVL trees [Knu73] [Wir76]) and selfadjusting trees [ST85] can be used for the same problems a 阅读全文
posted @ 2021-02-02 11:00 子虚乌有 阅读(123) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页