-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
565 lines (384 loc) · 17.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>
Bob Playground
</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="author" content="Bob">
<meta name="description" content="No pain no gain.">
<meta name="description" content="No pain no gain.">
<meta property="og:type" content="website">
<meta property="og:title" content="Bob Playground">
<meta property="og:url" content="https://bobcn.github.io/index.html">
<meta property="og:site_name" content="Bob Playground">
<meta property="og:description" content="No pain no gain.">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Bob Playground">
<meta name="twitter:description" content="No pain no gain.">
<link rel="icon" type="image/x-icon" href="/favicon.png">
<link rel="stylesheet" href="/css/uno.css">
<link rel="stylesheet" href="/css/archive.css">
<link rel="stylesheet" href="/css/china-social-icon.css">
<!-- Start: appended by Bob -->
<link rel="stylesheet" href="/css/prism.css">
<!-- End: appended by Bob -->
</head>
<body>
<span class="mobile btn-mobile-menu">
<i class="icon icon-list btn-mobile-menu__icon"></i>
<i class="icon icon-x-circle btn-mobile-close__icon hidden"></i>
</span>
<header class="panel-cover">
<div class="panel-main">
<div class="panel-main__inner panel-inverted">
<div class="panel-main__content">
<h1 class="panel-cover__title panel-title"><a href="/" title="link to homepage">Bob Playground</a></h1>
<hr class="panel-cover__divider" />
<p class="panel-cover__description">
Welcome to Bob‘s blog.
</p>
<hr class="panel-cover__divider panel-cover__divider--secondary" />
<div class="navigation-wrapper">
<nav class="cover-navigation cover-navigation--primary">
<ul class="navigation">
<li class="navigation__item"><a href="/#blog" title="" class="blog-button">BLOG</a></li>
<li class="navigation__item"><a href="/archive" title="" class="">LIST</a></li>
<li class="navigation__item"><a href="/about" title="" class="">ME</a></li>
</ul>
</nav>
<!-- ----------------------------
To add a new social icon simply duplicate one of the list items from below
and change the class in the <i> tag to match the desired social network
and then add your link to the <a>. Here is a full list of social network
classes that you can use:
icon-social-500px
icon-social-behance
icon-social-delicious
icon-social-designer-news
icon-social-deviant-art
icon-social-digg
icon-social-dribbble
icon-social-facebook
icon-social-flickr
icon-social-forrst
icon-social-foursquare
icon-social-github
icon-social-google-plus
icon-social-hi5
icon-social-instagram
icon-social-lastfm
icon-social-linkedin
icon-social-medium
icon-social-myspace
icon-social-path
icon-social-pinterest
icon-social-rdio
icon-social-reddit
icon-social-skype
icon-social-spotify
icon-social-stack-overflow
icon-social-steam
icon-social-stumbleupon
icon-social-treehouse
icon-social-tumblr
icon-social-twitter
icon-social-vimeo
icon-social-xbox
icon-social-yelp
icon-social-youtube
icon-social-zerply
icon-mail
-------------------------------->
<!-- add social info here -->
<nav class="cover-navigation navigation--social">
<ul class="navigation">
<!-- Github -->
<li class="navigation__item">
<a href="https://github.com/bobcn" title="Huno on GitHub">
<i class='icon icon-social-github'></i>
<span class="label">GitHub</span>
</a>
</li>
<!-- China social icon -->
<!--
<li class="navigation__item">
<a href="" title="">
<i class='icon cs-icon-douban'></i>
<span class="label">Douban</span>
</a>
</li>
<li class="navigation__item">
<a href="" title="">
<i class='icon cs-icon-weibo'></i>
<span class="label">Weibo</span>
</a>
</li>
-->
</ul>
</nav>
</div>
</div>
</div>
<div class="panel-cover--overlay"></div>
</div>
</header>
<div class="content-wrapper">
<div class="content-wrapper__inner entry">
<!-- do nothing -->
<div class="main-post-list">
<ol class="post-list">
<!-- Bob: sort by index for category page -->
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/04/01/ds_ algorithm_ performance/" title="link to 算法的性能分析——空间复杂度与时间复杂度">算法的性能分析——空间复杂度与时间复杂度</a>
</h2>
<div class="excerpt">
<p>
算法(algorithm)是一组完成特定任务的有穷指令序列。可以使用空间复杂性和时间复杂性来评估算法性能。
</p>
</div>
<div class="post-list__meta">
<time datetime="2018-04-01" class="post-list__meta--date date">2018-04-01</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/《数据结构》/">《数据结构》</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/04/01/ds_ algorithm_ performance/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/30/make_y86_cpu_6/" title="link to 实现 Y86 处理器 —— 流水线冒险与异常处理">实现 Y86 处理器 —— 流水线冒险与异常处理</a>
</h2>
<div class="excerpt">
<p>在上一章中,已经介绍了指令相关的两种形式:数据相关和控制相关。</p>
<p>这些相关可能会导致流水线产生计算错误,称为 <em>冒险(hazard)</em>。</p>
<p>与两种指令相关对应,冒险也分为 <em>数据冒险(data hazard)</em> 和 <em>控制冒险(control hazard)</em>。</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-30" class="post-list__meta--date date">2018-03-30</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/《深入理解计算机系统》/">《深入理解计算机系统》</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/30/make_y86_cpu_6/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/30/make_y86_cpu_5/" title="link to 实现 Y86 处理器 —— 流水线实现">实现 Y86 处理器 —— 流水线实现</a>
</h2>
<div class="excerpt">
<p>在 SEQ 的结构中,一条指令必须等到它之前的指令执行完毕,才能被执行。</p>
<p>通过流水线技术,可以增加系统的 <em>吞吐量(throughput)</em>,也就是单位时间内执行的指令数量。</p>
<p>执行一条指令所花费的时间称为 <em>延迟(latency)</em>。</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-30" class="post-list__meta--date date">2018-03-30</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/《深入理解计算机系统》/">《深入理解计算机系统》</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/30/make_y86_cpu_5/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/27/make_y86_cpu_4/" title="link to 实现 Y86 处理器 —— 指令执行分析及顺序实现">实现 Y86 处理器 —— 指令执行分析及顺序实现</a>
</h2>
<div class="excerpt">
<p>我们初步要实现的处理器是顺序的,即完全执行完一条指令才执行下一条指令。</p>
<p>通常,会将不同的指令分解成相同的阶段序列,这样有利于简化处理器设计及充分利用硬件。</p>
<p>下面是各阶段的简略描述:</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-27" class="post-list__meta--date date">2018-03-27</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/《深入理解计算机系统》/">《深入理解计算机系统》</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/27/make_y86_cpu_4/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/27/make_y86_cpu_3/" title="link to 实现 Y86 处理器 —— 指令集体系结构">实现 Y86 处理器 —— 指令集体系结构</a>
</h2>
<div class="excerpt">
<p>指令被编码为由一个或多个字节序列组成的二进制格式。</p>
<p>一个处理器支持的指令和指令的字节级编码称为它的 <em>指令集体系结构(Instruction-Set Architecture, ISA)。</em></p>
<p>定义一个指令集体系结构,包括:</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-27" class="post-list__meta--date date">2018-03-27</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/《深入理解计算机系统》/">《深入理解计算机系统》</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/27/make_y86_cpu_3/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/26/make_y86_cpu_2/" title="link to 实现 Y86 处理器 —— 组合电路">实现 Y86 处理器 —— 组合电路</a>
</h2>
<div class="excerpt">
<p>在硬件设计中,用电子电路来实现对位的运算,以及在各种存储器中存储位。</p>
<p>大多数的现代电路技术都是用信号线上的高低压来表示不同的位值。</p>
<p>在当前的技术中,逻辑 1 使用 1.0 V 左右的高电压表示,而逻辑 0 则是用 0.0 V 左右的低电压表示。</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-26" class="post-list__meta--date date">2018-03-26</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/《深入理解计算机系统》/">《深入理解计算机系统》</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/26/make_y86_cpu_2/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/25/make_y86_cpu_1/" title="link to 实现 Y86 处理器 —— 需要的部件">实现 Y86 处理器 —— 需要的部件</a>
</h2>
<div class="excerpt">
<p>从本篇起,我们将自己实现一个 Y86 处理器。</p>
<p>首先看一下为了实现 Y86 处理器,我们都需要哪些部件。</p>
<p>我们已经知道,CPU 会逐条地执行机器指令。那么 CPU 是如何判断正在执行的指令是否执行完毕,继而可以开始执行下一条指令的呢?</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-25" class="post-list__meta--date date">2018-03-25</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/《深入理解计算机系统》/">《深入理解计算机系统》</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/25/make_y86_cpu_1/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/24/hexo_reset_image_size/" title="link to Hexo 中扩展 Markdown 语法设置图片的大小">Hexo 中扩展 Markdown 语法设置图片的大小</a>
</h2>
<div class="excerpt">
<p>在使用 Hexo 的过程中发现 Markdown 的原生语法貌似没办法设置图片的大小。</p>
<p>在网上搜索了一下,貌似比较好的做法是:</p>
<pre><code class="language-html"><img src="/image/test.jpg" width="50%" height="50%">
</code></pre>
<p>不过我还是想用 Markdown 的原生语法,于是用我抠脚的 JS 写了一个。</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-24" class="post-list__meta--date date">2018-03-24</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/小工具/">小工具</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/24/hexo_reset_image_size/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
<li>
<h2 class="post-list__post-title post-title">
<a href="/2018/03/23/build-blog-by-hexo/" title="link to 使用 Hexo - Huno 搭建个人博客">使用 Hexo - Huno 搭建个人博客</a>
</h2>
<div class="excerpt">
<p><a href="https://hexo.io" target="_blank" rel="noopener">Hexo 官网</a> 提供了详细的文档。</p>
<p>本文就一部分最主要的工作进行了记录。</p>
</div>
<div class="post-list__meta">
<time datetime="2018-03-23" class="post-list__meta--date date">2018-03-23</time>
<!-- Start: appended by Bob -->
<span class="post-list__meta--tags tags">
<font class="categories">
• [
<a class="categories-link" href="/categories/配置环境/">配置环境</a>
]
</font>
</span>
<a class="btn-border-small" href="/2018/03/23/build-blog-by-hexo/">Details-></a>
<!-- End: appended by Bob -->
</div>
<hr class="post-list__divider" />
</li>
</ol>
<hr class="post-list__divider " />
<nav class="pagination" role="navigation">
<span class="pagination__page-number"> 1 / 1</span>
</nav>
</div>
<footer class="footer">
<span class="footer__copyright">© 2014-2015. | 由<a href="https://hexo.io/">Hexo</a>强力驱动 | 主题<a href="https://github.com/someus/huno">Huno</a></span>
</footer>
</div>
</div>
<!-- js files -->
<script src="/js/jquery.min.js"></script>
<script src="/js/main.js"></script>
<script src="/js/scale.fix.js"></script>
<script type="text/javascript" src="http://106.14.137.70:8080/MathJax-2.7.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript">
$(document).ready(function(){
MathJax.Hub.Config({
tex2jax: {inlineMath: [['[latex]','[/latex]'], ['\\(','\\)']]}
});
});
</script>
<!--kill ie6 -->
<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
<!-- Start: appended by Bob -->
<script src="/js/prism.js"></script>
<script src="/js/image_size.js"></script>
<!-- End: appended by Bob -->
</body>
</html>