Liskov Substitution Princple, LSPFor every
object "o1" from type "t1", there is object "o2" from type "t2", when all "o2"
is replaced with "o1" in pro...
分类:
其他好文 时间:
2014-06-11 08:52:44
阅读次数:
221
分析Model2系统心得前言:观摩他人的项目,学到一些新的。实践经验呀!!!1、
怎样使用字符串处理类?从页面获取的Form类或者字段取值时使用。2、在验证用户身份时,先推断username,再推断password,能够防止用户输入恒等式后直接登录系统。比如:select
* from tb_use...
分类:
其他好文 时间:
2014-06-11 08:42:42
阅读次数:
223
from
unkonwn1.CLOSED:起始点,在超时或者连接关闭时候进入此状态。2.LISTEN:svr端在等待连接过来时候的状态,svr端为此要调用socket,
bind,listen函数,就能进入此状态。此称为应用程序被动打开(等待客户端来连接)。3.SYN_SENT:客户端发起连接,发送...
分类:
其他好文 时间:
2014-06-10 00:14:59
阅读次数:
253
/** linux/tools/build.c** Copyright (C) 1991,
1992 Linus Torvalds*//** This file builds a disk-image from three different
files:** - bootsect: max 510...
分类:
其他好文 时间:
2014-06-08 08:04:19
阅读次数:
344
USE [master]GOALTER DATABASE DNName SET RECOVERY
SIMPLE WITH NO_WAITGOALTER DATABASE DNName SET RECOVERY SIMPLE --简单模式GOUSE
DNNameGODBCC SHRINKFILE (N...
分类:
数据库 时间:
2014-06-08 07:15:39
阅读次数:
189
附加数据库 Attach database filename as
database_name;主数据库默认为 "Main", 在使用Attach命令时, 不能将database_name指定为main; 当附加多个数据库,
并且存在相同名称的表时, 如果在命令时末指定数据库名(database_n...
分类:
数据库 时间:
2014-06-08 01:34:32
阅读次数:
274
1、选择 customn 更改安装目录2、选择 develop 模式,默认,占用内存较小。
server machine 中等内存 dedicate mysql server machine 专用服务器,最大内存3、选择 multifunction
Database(多功能数据库)默认。4、字符集....
分类:
数据库 时间:
2014-06-08 01:20:53
阅读次数:
289
Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-07 20:22:17
阅读次数:
264
使用boost库时,经常会看到如下的类class A:public
enable_share_from_this在什么情况下要使类A继承enable_share_from_this?使用场合:当类A被share_ptr管理,且在类A的成员函数里需要把当前类对象作为参数传给其他函数时,就需要传递一个指...
分类:
其他好文 时间:
2014-06-07 16:59:55
阅读次数:
234
Given a linked list, remove thenthnode from the
end of list and return its head.For example, Given linked list:
1->2->3->4->5, and n = 2. After re...
分类:
其他好文 时间:
2014-06-07 16:54:26
阅读次数:
221