以下内容摘自《步步惊心芯——软核处理器内部设计分析》一书
页表一般都很大,并且存放在内存中,所以处理器引入MMU后,读取指令、数据需要访问两次内存:首先通过查询页表得到物理地址,然后访问该物理地址读取指令、数据。为了减少因为MMU导致的处理器性能下降,引入了TLB,TLB是Translation
Lookaside Buffer的简称,可翻译为“地址转换后援缓冲器”,...
分类:
其他好文 时间:
2014-06-05 01:44:03
阅读次数:
314
cocos2dx 3.0 CocoStudio1.4.1
做界面的时候用到了CocoStudio生成的UI.json文件,需要做语言本地化,论坛中有朋友给出了方法:
将本地化的图片设定格式,英文的叫button_store_normal.en.png 中文的叫button_store_normal.zh.png ......
按照这种规则,根据需要的语言来加载不同的图片
我...
分类:
Web程序 时间:
2014-06-03 03:28:59
阅读次数:
281
MeleeWeaponTrail是Unity Asset Store中的一个免费插件。主要是用于显示武器的轨迹。...
分类:
其他好文 时间:
2014-06-02 23:48:49
阅读次数:
363
【题目】原文:1.3 Design an algorithm and write code
to remove the duplicate characters in a string without using any additional
buffer. NOTE: One or two add...
分类:
其他好文 时间:
2014-06-02 21:32:04
阅读次数:
284
EXP/IMP 命令参数[转贴 2009-9-24 14:16:48]字号:大中小一、EXP:
1、完全: EXP SYSTEM/MANAGER BUFFER=64000 FILE=C:\FULL.DMP FULL=Y
如果要执行完全导出,必须具有特殊的权限 2、用户模式: EXP SONIC/SO...
分类:
其他好文 时间:
2014-06-02 06:27:59
阅读次数:
239
【题目】
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 1
\ / / / \ 3 2 1 ...
分类:
其他好文 时间:
2014-06-01 15:34:24
阅读次数:
231
【题目】
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique BST's shown below.
1 3 3 2 1
\ / / / \ ...
分类:
其他好文 时间:
2014-06-01 15:33:45
阅读次数:
297
懒得写了,就直接记录转载一下文章地址吧。
如何为应用定义全局默认字体:http://blogs.msdn.com/b/gautamdh/archive/2014/03/16/how-to-change-default-font-in-windows-store-apps.aspx
分类:
移动开发 时间:
2014-05-31 19:38:05
阅读次数:
316
Sprintf函数声明:int sprintf(char *buffer, const char
*format [, argument1, argument2, …])用途:将一段数据写入以地址buffer开始的字符串缓冲区所属库文件:
参数:(1)buffer,将要写入数据的起始地址;(2)fo...
分类:
编程语言 时间:
2014-05-31 18:30:24
阅读次数:
255