上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 125 下一页

2018年7月29日

摘要: 将问题细化 建立简单模型 逐个学习 一些资料 c++区块 英文 https://davenash.com/2017/10/build-a-blockchain-with-c/ 代码 https://github.com/teaandcode/TestChain 中文翻译版 https://blog. 阅读全文
posted @ 2018-07-29 19:54 itdef 阅读(274) 评论(0) 推荐(0)

2018年7月20日

摘要: 解析文本为 XXXX=E:\test\1234 阅读全文
posted @ 2018-07-20 17:57 itdef 阅读(158) 评论(0) 推荐(0)

2018年7月12日

摘要: 显示如下 Contains: trueCount: 2hasPrefix: trueHasSuffix: trueindex: 1Join; a-bRepeat: aaaaaReplace: f00Replace: f0oSplit: [a b c d e]ToLower: testToUpper: 阅读全文
posted @ 2018-07-12 21:54 itdef 阅读(183) 评论(0) 推荐(0)

2018年6月13日

摘要: 最近就是忙工作项目 工作间隙就刷了刷LEETCODE 所以没啥更新 1 // 1111111.cpp: 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include <vector> 6 #include <queue> 7 8 using names 阅读全文
posted @ 2018-06-13 10:20 itdef 阅读(210) 评论(0) 推荐(0)

2018年6月8日

摘要: 1 #include <stdio.h> 2 #include <iostream> 3 4 using namespace std; 5 6 int book[101], sum, n, e[101][101]; 7 8 void dfs(int cur) { 9 int i; 10 std::c 阅读全文
posted @ 2018-06-08 19:21 itdef 阅读(251) 评论(0) 推荐(0)

2018年5月7日

摘要: 学习https://github.com/huoyu820125/SecondPaxos 自己编写网络版本 在学习过程将此代码的线程 锁等改成c++11 就不用包含那么多文件 主要更改如下 1 // MyPaxos.cpp: 定义控制台应用程序的入口点。 2 // 3 4 #include "std 阅读全文
posted @ 2018-05-07 13:45 itdef 阅读(267) 评论(0) 推荐(0)

2018年4月19日

摘要: // MuSkipList.cpp: 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <random> #include <iostream> #include <set> #include <assert.h> using namespace std; 阅读全文
posted @ 2018-04-19 23:44 itdef 阅读(310) 评论(0) 推荐(0)

2018年4月14日

摘要: 在leveldb 学习记录(一) skiplist 已经将skiplist的插入 查找等操作流程用图示说明 这里在介绍 下skiplist的代码 里面有几个模块 template<typename Key, class Comparator>class SkipList {......} class 阅读全文
posted @ 2018-04-14 19:13 itdef 阅读(607) 评论(0) 推荐(0)

2018年4月1日

摘要: 当进行大规模的数据计算时 会将计算拆分进行并行计算以提升效率 我们这里以cpp进行一个并行计算的模拟 并且分析讲解流程 让大家对其有个了解认识 任务以排序和统计单词计数为例 数据排序例子 1 假设我们有许多数字需要排序(1T=1000G的数据),如果由一台执行排序处理,速度会非常缓慢.那么我们如何将 阅读全文
posted @ 2018-04-01 19:03 itdef 阅读(379) 评论(0) 推荐(0)
摘要: 前文: leveldb 学习记录(一) skiplist leveldb 学习记录(二) Slice 存储格式: leveldb数据在内存中以 Memtable存储(核心结构是skiplist 已介绍),当达到一定容量则转换为Immutable Memtable,由后台线程存储进磁盘中.同时另开一个 阅读全文
posted @ 2018-04-01 15:40 itdef 阅读(496) 评论(0) 推荐(0)
上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 125 下一页

导航