Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a ...
分类:
其他好文 时间:
2016-09-15 06:24:37
阅读次数:
140
Concurrent assertion中要求必须有clock,从而保证在每个clock edge都进行触发判断。 assertion与design进行同步执行,concurrent assert只能定义在module中。 每次concurrent assertion条件满足时,都会新开一个thre ...
分类:
其他好文 时间:
2016-09-14 20:29:01
阅读次数:
122
1.时间模块 import time # 调用time.time() # 从1970年1月1日开始算 以秒计算 **********time.clock() # cpu 工作的时间段time.sleep(2) # 暂停时间多少秒 ************print(time.gmtime()) # ...
分类:
其他好文 时间:
2016-09-14 16:26:48
阅读次数:
143
Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a ...
分类:
其他好文 时间:
2016-09-14 07:18:03
阅读次数:
185
我的环境是: XP SP2 . VS2003 最近在一个项目中,程序退出后都出现内存泄漏: 而且每次退出都是一样的.泄漏的内存块都是98500. 解决方法: 1. 在程序开始启动的地方(足够前的地方,只要在泄漏的内存分配的前面)使用代码: _CrtSetBreakAlloc(98500); //98 ...
分类:
其他好文 时间:
2016-09-14 07:15:13
阅读次数:
241
Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a ...
分类:
其他好文 时间:
2016-09-13 22:21:57
阅读次数:
189
Ivan's Car Time limit: 1.5 secondMemory limit: 64 MB The world is in danger! Awful earthquakes are detected all over the world. Houses are destroyed, ...
分类:
其他好文 时间:
2016-09-13 01:29:28
阅读次数:
183
今天看到一转帖如下: Linux Kernel 2.6.28 以上有缺陷,在第208.5天自行重啟 https://access.redhat.com/knowledge/solutions/68466 sched_clock() overflow around 208.5 days in Linu ...
分类:
系统相关 时间:
2016-09-12 18:55:30
阅读次数:
271
早上同事反映数据库不能用。无法正常登录主机。多次尝试后终于登上主机,检查系统日志发现下述错误: BUG: soft lockup - CPU#5 stuck for 17163091988s! 貌似是操作系统的bug. 以下是详细信息: # uname -ra Linux Test-DB01 2.6 ...
分类:
系统相关 时间:
2016-09-12 18:52:11
阅读次数:
244
问题:客户美国服务器时间不对 第一步,先修改硬件时区。 vim /etc/sysconfig/clock将 ZONE="America/New_York" 注释,加多一行 ZONE="Asia/Shanghai" 第二步,修改系统时区 cp /etc/localtime /etc/localtime ...
分类:
Web程序 时间:
2016-09-12 12:28:32
阅读次数:
207