[root@localhost ~]# time dd if=/dev/zero bs=1024 count=1000000 of=/1Gb.file记录了1000000+0 的读入记录了1000000+0 的写出1024000000字节(1.0 GB)已复制,11.6493 秒,87.9 MB/秒...
分类:
系统相关 时间:
2014-07-10 12:48:45
阅读次数:
325
一、单表头 1 #region 导出 2 if (this.dgvInfo.Rows.Count > 0) 3 { 4 SaveFileDialog saveFileDialog = new SaveFileDialo...
分类:
其他好文 时间:
2014-07-10 12:12:06
阅读次数:
270
一. 在Ubuntu下最傻瓜的步骤(以下都在root用户下进行操作):1.运行"apt-get install mongo"如果遇到找不到安装包的话运行"apt-get update"2.这时装好以后应该会自动运行mongod程序,通过"pgrep mongo -l"查看进程是否已经启动3.在终端输...
分类:
数据库 时间:
2014-07-10 10:38:21
阅读次数:
364
不上传东西 Request.Files.Count也不为零,所以要在后面再加上一个条件Request.Files[0].ContentLength!=0if (Request.Files.Count != 0 && Request.Files[0].ContentLength!=0)这样当不上传东西...
分类:
Web程序 时间:
2014-07-10 00:21:25
阅读次数:
185
#include#includeusing namespace std;class Queue{public:// T data[maxSize]; int maxSize; int *data; int Front; int rear; int Count; ...
分类:
其他好文 时间:
2014-07-07 21:13:58
阅读次数:
239
一个单词单词字母交换,可得另一个单词,如army->mary,成为兄弟单词。提供一个单词,在字典中找到它的兄弟。描述数据结构和查询过程。#include #include #include using namespace std;void add(unsigned int count[],char ...
分类:
其他好文 时间:
2014-07-07 20:57:31
阅读次数:
244
今天要用到Matlab 中的fscanf函数,上网找了一下终于明白了,现在自己写一下体会:下面是fscanf()的主要应用syntaxA = fscanf(fileID, format)A = fscanf(fileID, format, sizeA)[A, count] = fscanf(...)...
分类:
其他好文 时间:
2014-07-07 20:56:10
阅读次数:
452
(“mongodb://用户名:密码 @地址:端口/默认指定数据库”,参数)$conn = new Mongo();//可以简写为//$conn=new Mongo(); #连接本地主机,默认端口.//$conn=new Mongo(“172.21.15.69″); #连接远程主机//$conn=n...
分类:
数据库 时间:
2014-07-07 19:48:08
阅读次数:
393
Problem Desciption : Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is...
分类:
其他好文 时间:
2014-07-07 19:39:07
阅读次数:
206
1、调用对方接口,设置count,跟踪每次调用次数,看看调用接口总次数是否跟订单数据总量一致。记录错误日志。记录调用失败的订单号。这是从调用方的角度跟踪检测数据。2、将2014年每个月调用方和接收方的数据库中各个状态订单总量进行对比,发现订单量不一致的状态。让接收方将数据库中这些状态的订单号和状态导...
分类:
其他好文 时间:
2014-07-07 17:36:36
阅读次数:
177