摘要: #ifndef MD5_H #define MD5_H #include #include /* Type define */ typedef unsigned char byte; typedef unsigned long ulong; using std::string; using std::ifstream; /* MD5... 阅读全文
posted @ 2017-09-23 20:54 never_comparison 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 #!/bin/bash for ((i= 1;i < 3;i= i+1))do echo $i; echo "$i";done while [ $i -lt 6 ]do i=$(( $i+1 )) echo $idone#set + Hecho "hello world !"print 阅读全文
posted @ 2017-07-24 09:15 never_comparison 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 缺省条件下,c++都是以pass by value形式传递函数参数的,而值传递的参数,编译器知道这个参数收到保护,不会修改其值,实际上修改的都是通过拷贝构造函数另外创建的参数副本,当函数返回时还要调用相应的析构函数析构参数副本,这可能使得pass by value方式传递参数变成低效率的操作,不仅仅 阅读全文
posted @ 2017-07-12 01:18 never_comparison 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 当operator new申请一个内存失败的时候,它会进行如下的处理步骤: 1、如果存在客户指定的处理函数,则调用处理函数(new_handler),如果不存在则抛出一个异常。 2、继续申请内存分配请求。 3、判断申请内存是否成功,如果成功则返回内存指针,如果失败转向处理步骤1 为了自定义这个“用以 阅读全文
posted @ 2017-07-12 00:26 never_comparison 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 转自 https://www.qcloud.com/community/article/111 由于HTTP 1自身的局限性,它不能很好的为用户提供性能良好的WEB服务。于1999年6月正式发布了HTTP1.1标准REC2616,它厘清了之前版本中很多有歧义的地方,而且还新增了很多重要的优化,如持久 阅读全文
posted @ 2017-07-10 13:42 never_comparison 阅读(236) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #define MSGLINE 5000 #define OUTSIZE 1024 /* hexadecimal lookup table */ stati... 阅读全文
posted @ 2017-07-10 10:51 never_comparison 阅读(134) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #include "sqlite3.h" void getDiskFile(MYSQL *con, char *rtdir,char* fname,lon... 阅读全文
posted @ 2017-07-10 10:47 never_comparison 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Network Working Group J. Klensin, EditorRequest for Comments: 2821 AT&T LaboratoriesObsoletes: 821, 974, 1869 April 2001Updates: 1123Category: Standar 阅读全文
posted @ 2017-07-10 06:39 never_comparison 阅读(311) 评论(0) 推荐(0) 编辑
摘要: db定义字节类型变量,一个字节数据占1个字节单元,读完一个,偏移量加1 dw定义字类型变量,一个字数据占2个字节单元,读完一个,偏移量加2 dd定义双字类型变量,一个双字数据占4个字节单元,读完一个,偏移量加4 汇编程序的框架:.386.model flat, stdcall.data.codest 阅读全文
posted @ 2017-07-10 06:36 never_comparison 阅读(212) 评论(0) 推荐(0) 编辑
摘要: This problem is notoriously hard to implement due to all the corner cases. Most implementations consider odd-lengthed and even-lengthed arrays as two different cases and treat them separately. As a m... 阅读全文
posted @ 2017-07-10 06:33 never_comparison 阅读(153) 评论(0) 推荐(0) 编辑