将FPGA代码和实际的数字电路对应起来。 always @ (negedge clk_ref_200) begin if(ddr3_init_done) //DDR3 没起来的时候,计数器开始计数。 ddr_init_cnt<=28'b0; else ddr_init_cnt<=ddr_init_c...
分类:
其他好文 时间:
2016-02-16 13:22:58
阅读次数:
218
数组排序 var arr = [1,6,3,5,7,2]; arr.sort(function(a,b){ return a-b; }); console.log(arr); arguments 参数存储对象 function ref(value){ return value; } console.
分类:
Web程序 时间:
2016-02-15 16:20:26
阅读次数:
127
如果地址栏输入了不带后缀或者action为后缀, 不存在的页面跳转到error.jsp: struts.xml配置" <package name="default" namespace="/" extends="struts-default"> <default-action-ref name="e
分类:
其他好文 时间:
2016-02-15 12:05:03
阅读次数:
146
基类virtual func返回类型为某个类(class Super)的ptr或ref,子类重写的virtual func返回类型可改为该类子类(class Sub : public Super)的ptr或ref。 class Base { public: virtual Base* clone()
分类:
其他好文 时间:
2016-02-12 23:21:43
阅读次数:
385
Code to be refacted: const AddTodo = (props, { store }) => { let input; return ( <div> <input ref={node => { input = node; }} /> <button onClick={() =
分类:
其他好文 时间:
2016-02-12 06:07:44
阅读次数:
304
从简单的例子开始.假设我们要交换两个整形变量的值,在C/C++中怎么做呢?我们来看多种方式,哪种能够做到.void call_by_ref(int &p,int &q) { // 可以交换的例子
int t = p;
p = q;
q = t;
}
void call_by_val_ptr(int * p,int * q) { // 不能交换的例子
int *...
分类:
其他好文 时间:
2016-02-11 12:20:49
阅读次数:
280
pickle是一个可以将任意一个对象存储在硬盘文件中的工具。 ref:https://docs.python.org/2/library/pickle.html 常用的用法就两个。。。dump(写入文件)和load(从文件中读) demo: 1 __author__ = 'IBM' 2 import
分类:
编程语言 时间:
2016-02-10 15:24:44
阅读次数:
195
一开始我是根据Django1.8.2开发文档http://python.usyiyi.cn/django/index.htmlhttp://python.usyiyi.cn/django/ref/contrib/admin/index.html进行实验,后来有读者说旧的教程坑比较多所以我现在以官方文档https://docs.djangoproject.com/en/dev/topics/db/models/为主,进行..
分类:
其他好文 时间:
2016-02-10 06:42:51
阅读次数:
281
前两篇文章中,我们已经了解了如何使用Spring 配置简单属性值(使用value 属性)和引用其他Bean 的属性(使用ref 属性)。但是value 和ref 仅在Bean 的属性值是单个值的情况下才有用。当Bean 的属性值是集合,Spring
该如何配置呢?
当配置集合类型的Bean属性时,Spring 提供了4 种类型的集合配置元素。
...
分类:
编程语言 时间:
2016-02-04 13:26:27
阅读次数:
307
1 * 1、创建文本框 2 3 DATA: g_container TYPE REF TO cl_gui_custom_container, 4 g_editor TYPE REF TO cl_gui_textedit. 5 6 IF g_container IS INITIAL. 7 8 "创建
分类:
其他好文 时间:
2016-02-01 18:08:26
阅读次数:
165