一、概念 建立时间和保持时间都是针对触发器的特性说的。 时序图如下:建立时间(Tsu:set
up time)
是指在触发器的时钟信号上升沿到来以前,数据稳定不变的时间,如果建立时间不够,数据将不能在这个时钟上升沿被稳定的打入触发器,Tsu就是指这个最小的稳定时间。保持时间(Th:hold...
分类:
其他好文 时间:
2014-05-14 04:04:58
阅读次数:
359
题目链接集合操作附上代码:1 M = int(input())2 m = set(map(int,
raw_input().strip().split()))3 N = int(input())4 n = set(map(int,
raw_input().strip().split()))5 tmp...
分类:
其他好文 时间:
2014-05-14 03:33:12
阅读次数:
289
(mybatis注意各个文件的映射问题)用到的t_user数据库脚本:-- 导出
mybatis 的数据库结构CREATE DATABASE IF NOT EXISTS `mybatis` /*!40100 DEFAULT CHARACTER
SET utf8 */;USE `mybatis`;--...
分类:
其他好文 时间:
2014-05-14 03:19:55
阅读次数:
396
解决方法是将 jre的目录在 window->Preferences 里修改java
installed里的jre目录改为jdk目录即可。原因是在jre目录下不存在tools.jar.
分类:
其他好文 时间:
2014-05-12 22:08:31
阅读次数:
895
C++ 11已将哈希表纳入了标准之列。hashtable是hash_set、hash_map、hash_multiset、hash_multimap的底层机制,即这四种容器中都包含一个hashtable。
解决碰撞问题的办法有许多,线性探测、二次探测、开链等等。SGI STL的hashtable采用的开链方法,每个hash table中的元素用vector承载,每个元素称为桶(bucke...
分类:
其他好文 时间:
2014-05-11 21:07:54
阅读次数:
522
Linuxcomeswithmanytoolstoenableadministratorstoevaluatetheperformanceofasystem.Oneoftheseveryusefultoolsisvmstat.VmstatisavailableonmostunixdistributionsandisincludedbydefaultonmanymodernLinuxdistributions.AswithmostLinuxcommands,builtinhelpisavailableviath..
分类:
系统相关 时间:
2014-05-11 19:39:38
阅读次数:
680
第一次写记录文章,难免有不足之处;欢迎指出。1、新建一个mvc项目如:2、新建一个Test.cs 注意get,set方法不能简写using
System;using System.Collections.Generic;using System.Linq;using
System.Web;names...
分类:
Web程序 时间:
2014-05-11 17:18:55
阅读次数:
517
Given a set ofnon-overlappingintervals, insert
a new interval into the intervals (merge if necessary).You may assume that the
intervals were initially...
分类:
其他好文 时间:
2014-05-11 16:35:35
阅读次数:
224
offset大的时候的比较SELECT * FROM persons LIMIT
200000,10;耗时0.078sSELECT *FROM persons WHERE id>=(SELECT id FROM persons
ORDER BY id LIMIT 200000,1) LIMIT 10...
分类:
数据库 时间:
2014-05-11 16:23:57
阅读次数:
322